~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/pistachio-clock.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/clock/pistachio-clock.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/clock/pistachio-clock.txt (Version linux-6.10.14)


  1 Imagination Technologies Pistachio SoC clock c      1 Imagination Technologies Pistachio SoC clock controllers
  2 ==============================================      2 ========================================================
  3                                                     3 
  4 Pistachio has four clock controllers (core clo      4 Pistachio has four clock controllers (core clock, peripheral clock, peripheral
  5 general control, and top general control) whic      5 general control, and top general control) which are instantiated individually
  6 from the device-tree.                               6 from the device-tree.
  7                                                     7 
  8 External clocks:                                    8 External clocks:
  9 ----------------                                    9 ----------------
 10                                                    10 
 11 There are three external inputs to the clock c     11 There are three external inputs to the clock controllers which should be
 12 defined with the following clock-output-names:     12 defined with the following clock-output-names:
 13 - "xtal": External 52Mhz oscillator (required)     13 - "xtal": External 52Mhz oscillator (required)
 14 - "audio_clk_in": Alternate audio reference cl     14 - "audio_clk_in": Alternate audio reference clock (optional)
 15 - "enet_clk_in": Alternate ethernet PHY clock      15 - "enet_clk_in": Alternate ethernet PHY clock (optional)
 16                                                    16 
 17 Core clock controller:                             17 Core clock controller:
 18 ----------------------                             18 ----------------------
 19                                                    19 
 20 The core clock controller generates clocks for     20 The core clock controller generates clocks for the CPU, RPU (WiFi + BT
 21 co-processor), audio, and several peripherals.     21 co-processor), audio, and several peripherals.
 22                                                    22 
 23 Required properties:                               23 Required properties:
 24 - compatible: Must be "img,pistachio-clk".         24 - compatible: Must be "img,pistachio-clk".
 25 - reg: Must contain the base address and lengt     25 - reg: Must contain the base address and length of the core clock controller.
 26 - #clock-cells: Must be 1.  The single cell is     26 - #clock-cells: Must be 1.  The single cell is the clock identifier.
 27   See dt-bindings/clock/pistachio-clk.h for th     27   See dt-bindings/clock/pistachio-clk.h for the list of valid identifiers.
 28 - clocks: Must contain an entry for each clock     28 - clocks: Must contain an entry for each clock in clock-names.
 29 - clock-names: Must include "xtal" (see "Exter     29 - clock-names: Must include "xtal" (see "External clocks") and
 30   "audio_clk_in_gate", "enet_clk_in_gate" whic     30   "audio_clk_in_gate", "enet_clk_in_gate" which are generated by the
 31   top-level general control.                       31   top-level general control.
 32                                                    32 
 33 Example:                                           33 Example:
 34         clk_core: clock-controller@18144000 {      34         clk_core: clock-controller@18144000 {
 35                 compatible = "img,pistachio-cl     35                 compatible = "img,pistachio-clk";
 36                 reg = <0x18144000 0x800>;          36                 reg = <0x18144000 0x800>;
 37                 clocks = <&xtal>, <&cr_top EXT     37                 clocks = <&xtal>, <&cr_top EXT_CLK_AUDIO_IN>,
 38                          <&cr_top EXT_CLK_ENET     38                          <&cr_top EXT_CLK_ENET_IN>;
 39                 clock-names = "xtal", "audio_c     39                 clock-names = "xtal", "audio_clk_in_gate", "enet_clk_in_gate";
 40                                                    40 
 41                 #clock-cells = <1>;                41                 #clock-cells = <1>;
 42         };                                         42         };
 43                                                    43 
 44 Peripheral clock controller:                       44 Peripheral clock controller:
 45 ----------------------------                       45 ----------------------------
 46                                                    46 
 47 The peripheral clock controller generates cloc     47 The peripheral clock controller generates clocks for the DDR, ROM, and other
 48 peripherals.  The peripheral system clock ("pe     48 peripherals.  The peripheral system clock ("periph_sys") generated by the core
 49 clock controller is the input clock to the per     49 clock controller is the input clock to the peripheral clock controller.
 50                                                    50 
 51 Required properties:                               51 Required properties:
 52 - compatible: Must be "img,pistachio-periph-cl     52 - compatible: Must be "img,pistachio-periph-clk".
 53 - reg: Must contain the base address and lengt     53 - reg: Must contain the base address and length of the peripheral clock
 54   controller.                                      54   controller.
 55 - #clock-cells: Must be 1.  The single cell is     55 - #clock-cells: Must be 1.  The single cell is the clock identifier.
 56   See dt-bindings/clock/pistachio-clk.h for th     56   See dt-bindings/clock/pistachio-clk.h for the list of valid identifiers.
 57 - clocks: Must contain an entry for each clock     57 - clocks: Must contain an entry for each clock in clock-names.
 58 - clock-names: Must include "periph_sys", the      58 - clock-names: Must include "periph_sys", the peripheral system clock generated
 59   by the core clock controller.                    59   by the core clock controller.
 60                                                    60 
 61 Example:                                           61 Example:
 62         clk_periph: clock-controller@18144800      62         clk_periph: clock-controller@18144800 {
 63                 compatible = "img,pistachio-cl     63                 compatible = "img,pistachio-clk-periph";
 64                 reg = <0x18144800 0x800>;          64                 reg = <0x18144800 0x800>;
 65                 clocks = <&clk_core CLK_PERIPH     65                 clocks = <&clk_core CLK_PERIPH_SYS>;
 66                 clock-names = "periph_sys";        66                 clock-names = "periph_sys";
 67                                                    67 
 68                 #clock-cells = <1>;                68                 #clock-cells = <1>;
 69         };                                         69         };
 70                                                    70 
 71 Peripheral general control:                        71 Peripheral general control:
 72 ---------------------------                        72 ---------------------------
 73                                                    73 
 74 The peripheral general control block generates     74 The peripheral general control block generates system interface clocks and
 75 resets for various peripherals.  It also conta     75 resets for various peripherals.  It also contains miscellaneous peripheral
 76 control registers.  The system clock ("sys") g     76 control registers.  The system clock ("sys") generated by the peripheral clock
 77 controller is the input clock to the system cl     77 controller is the input clock to the system clock controller.
 78                                                    78 
 79 Required properties:                               79 Required properties:
 80 - compatible: Must include "img,pistachio-peri     80 - compatible: Must include "img,pistachio-periph-cr" and "syscon".
 81 - reg: Must contain the base address and lengt     81 - reg: Must contain the base address and length of the peripheral general
 82   control registers.                               82   control registers.
 83 - #clock-cells: Must be 1.  The single cell is     83 - #clock-cells: Must be 1.  The single cell is the clock identifier.
 84   See dt-bindings/clock/pistachio-clk.h for th     84   See dt-bindings/clock/pistachio-clk.h for the list of valid identifiers.
 85 - clocks: Must contain an entry for each clock     85 - clocks: Must contain an entry for each clock in clock-names.
 86 - clock-names: Must include "sys", the system      86 - clock-names: Must include "sys", the system clock generated by the peripheral
 87   clock controller.                                87   clock controller.
 88                                                    88 
 89 Example:                                           89 Example:
 90         cr_periph: syscon@18144800 {               90         cr_periph: syscon@18144800 {
 91                 compatible = "img,pistachio-cr     91                 compatible = "img,pistachio-cr-periph", "syscon";
 92                 reg = <0x18148000 0x1000>;         92                 reg = <0x18148000 0x1000>;
 93                 clocks = <&clock_periph PERIPH     93                 clocks = <&clock_periph PERIPH_CLK_PERIPH_SYS>;
 94                 clock-names = "sys";               94                 clock-names = "sys";
 95                                                    95 
 96                 #clock-cells = <1>;                96                 #clock-cells = <1>;
 97         };                                         97         };
 98                                                    98 
 99 Top-level general control:                         99 Top-level general control:
100 --------------------------                        100 --------------------------
101                                                   101 
102 The top-level general control block contains m    102 The top-level general control block contains miscellaneous control registers and
103 gates for the external clocks "audio_clk_in" a    103 gates for the external clocks "audio_clk_in" and "enet_clk_in".
104                                                   104 
105 Required properties:                              105 Required properties:
106 - compatible: Must include "img,pistachio-cr-t    106 - compatible: Must include "img,pistachio-cr-top" and "syscon".
107 - reg: Must contain the base address and lengt    107 - reg: Must contain the base address and length of the top-level
108   control registers.                              108   control registers.
109 - clocks: Must contain an entry for each clock    109 - clocks: Must contain an entry for each clock in clock-names.
110 - clock-names: Two optional clocks, "audio_clk    110 - clock-names: Two optional clocks, "audio_clk_in" and "enet_clk_in" (see
111   "External clocks").                             111   "External clocks").
112 - #clock-cells: Must be 1.  The single cell is    112 - #clock-cells: Must be 1.  The single cell is the clock identifier.
113   See dt-bindings/clock/pistachio-clk.h for th    113   See dt-bindings/clock/pistachio-clk.h for the list of valid identifiers.
114                                                   114 
115 Example:                                          115 Example:
116         cr_top: syscon@18144800 {                 116         cr_top: syscon@18144800 {
117                 compatible = "img,pistachio-cr    117                 compatible = "img,pistachio-cr-top", "syscon";
118                 reg = <0x18149000 0x200>;         118                 reg = <0x18149000 0x200>;
119                 clocks = <&audio_refclk>, <&ex    119                 clocks = <&audio_refclk>, <&ext_enet_in>;
120                 clock-names = "audio_clk_in",     120                 clock-names = "audio_clk_in", "enet_clk_in";
121                                                   121 
122                 #clock-cells = <1>;               122                 #clock-cells = <1>;
123         };                                        123         };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php