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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml

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/ingenic,cgu.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/clock/ingenic,cgu.yaml (Version linux-5.9.16)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/clock/ingen      4 $id: http://devicetree.org/schemas/clock/ingenic,cgu.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Ingenic SoCs CGU                        !!   7 title: Ingenic SoCs CGU devicetree bindings
  8                                                     8 
  9 description: |                                      9 description: |
 10   The CGU in an Ingenic SoC provides all the c     10   The CGU in an Ingenic SoC provides all the clocks generated on-chip. It
 11   typically includes a variety of PLLs, multip     11   typically includes a variety of PLLs, multiplexers, dividers & gates in order
 12   to provide many different clock signals deri     12   to provide many different clock signals derived from only 2 external source
 13   clocks.                                          13   clocks.
 14                                                    14 
 15 maintainers:                                       15 maintainers:
 16   - Paul Cercueil <paul@crapouillou.net>            16   - Paul Cercueil <paul@crapouillou.net>
 17                                                    17 
 18 select:                                            18 select:
 19   properties:                                      19   properties:
 20     compatible:                                    20     compatible:
 21       contains:                                    21       contains:
 22         enum:                                      22         enum:
 23           - ingenic,jz4740-cgu                     23           - ingenic,jz4740-cgu
 24           - ingenic,jz4725b-cgu                    24           - ingenic,jz4725b-cgu
 25           - ingenic,jz4755-cgu                 << 
 26           - ingenic,jz4760-cgu                 << 
 27           - ingenic,jz4760b-cgu                << 
 28           - ingenic,jz4770-cgu                     25           - ingenic,jz4770-cgu
 29           - ingenic,jz4780-cgu                     26           - ingenic,jz4780-cgu
 30           - ingenic,x1000-cgu                      27           - ingenic,x1000-cgu
 31           - ingenic,x1830-cgu                      28           - ingenic,x1830-cgu
 32   required:                                        29   required:
 33     - compatible                                   30     - compatible
 34                                                    31 
 35 properties:                                        32 properties:
 36   $nodename:                                       33   $nodename:
 37     pattern: "^clock-controller@[0-9a-f]+$"        34     pattern: "^clock-controller@[0-9a-f]+$"
 38                                                    35 
 39   "#address-cells":                                36   "#address-cells":
 40     const: 1                                       37     const: 1
 41                                                    38 
 42   "#size-cells":                                   39   "#size-cells":
 43     const: 1                                       40     const: 1
 44                                                    41 
 45   "#clock-cells":                                  42   "#clock-cells":
 46     const: 1                                       43     const: 1
 47                                                    44 
 48   ranges: true                                     45   ranges: true
 49                                                    46 
 50   compatible:                                      47   compatible:
 51     items:                                         48     items:
 52       - enum:                                      49       - enum:
 53           - ingenic,jz4740-cgu                     50           - ingenic,jz4740-cgu
 54           - ingenic,jz4725b-cgu                    51           - ingenic,jz4725b-cgu
 55           - ingenic,jz4755-cgu                 << 
 56           - ingenic,jz4760-cgu                 << 
 57           - ingenic,jz4760b-cgu                << 
 58           - ingenic,jz4770-cgu                     52           - ingenic,jz4770-cgu
 59           - ingenic,jz4780-cgu                     53           - ingenic,jz4780-cgu
 60           - ingenic,x1000-cgu                      54           - ingenic,x1000-cgu
 61           - ingenic,x1830-cgu                      55           - ingenic,x1830-cgu
 62       - const: simple-mfd                          56       - const: simple-mfd
 63     minItems: 1                                    57     minItems: 1
 64                                                    58 
 65   reg:                                             59   reg:
 66     maxItems: 1                                    60     maxItems: 1
 67                                                    61 
 68   clocks:                                          62   clocks:
 69     items:                                         63     items:
 70       - description: External oscillator clock     64       - description: External oscillator clock
 71       - description: Internal 32 kHz RTC clock     65       - description: Internal 32 kHz RTC clock
 72                                                    66 
 73   clock-names:                                     67   clock-names:
 74     items:                                         68     items:
 75       - const: ext                                 69       - const: ext
 76       - enum:                                      70       - enum:
 77           - rtc                                    71           - rtc
 78           - osc32k # Different name, same cloc     72           - osc32k # Different name, same clock
 79                                                    73 
 80   assigned-clocks:                                 74   assigned-clocks:
 81     minItems: 1                                    75     minItems: 1
 82     maxItems: 64                                   76     maxItems: 64
 83                                                    77 
 84   assigned-clock-parents:                          78   assigned-clock-parents:
 85     minItems: 1                                    79     minItems: 1
 86     maxItems: 64                                   80     maxItems: 64
 87                                                    81 
 88   assigned-clock-rates:                            82   assigned-clock-rates:
 89     minItems: 1                                    83     minItems: 1
 90     maxItems: 64                                   84     maxItems: 64
 91                                                    85 
 92 required:                                          86 required:
 93   - "#clock-cells"                                 87   - "#clock-cells"
 94   - compatible                                     88   - compatible
 95   - reg                                            89   - reg
 96   - clocks                                         90   - clocks
 97   - clock-names                                    91   - clock-names
 98                                                    92 
 99 patternProperties:                                 93 patternProperties:
100   "^usb-phy@[a-f0-9]+$":                           94   "^usb-phy@[a-f0-9]+$":
101     $ref: /schemas/phy/ingenic,phy-usb.yaml#   !!  95     allOf: [ $ref: "../usb/ingenic,jz4770-phy.yaml#" ]
102   "^mac-phy-ctrl@[a-f0-9]+$":                  << 
103     $ref: /schemas/net/ingenic,mac.yaml#       << 
104                                                    96 
105 additionalProperties: false                        97 additionalProperties: false
106                                                    98 
107 examples:                                          99 examples:
108   - |                                             100   - |
109     #include <dt-bindings/clock/ingenic,jz4770 !! 101     #include <dt-bindings/clock/jz4770-cgu.h>
110     cgu: clock-controller@10000000 {              102     cgu: clock-controller@10000000 {
111       compatible = "ingenic,jz4770-cgu", "simp    103       compatible = "ingenic,jz4770-cgu", "simple-mfd";
112       reg = <0x10000000 0x100>;                   104       reg = <0x10000000 0x100>;
113       #address-cells = <1>;                       105       #address-cells = <1>;
114       #size-cells = <1>;                          106       #size-cells = <1>;
115       ranges = <0x0 0x10000000 0x100>;            107       ranges = <0x0 0x10000000 0x100>;
116                                                   108 
117       clocks = <&ext>, <&osc32k>;                 109       clocks = <&ext>, <&osc32k>;
118       clock-names = "ext", "osc32k";              110       clock-names = "ext", "osc32k";
119                                                   111 
120       #clock-cells = <1>;                         112       #clock-cells = <1>;
121                                                   113 
122       otg_phy: usb-phy@3c {                       114       otg_phy: usb-phy@3c {
123         compatible = "ingenic,jz4770-phy";        115         compatible = "ingenic,jz4770-phy";
124         reg = <0x3c 0x10>;                        116         reg = <0x3c 0x10>;
125                                                   117 
126         clocks = <&cgu JZ4770_CLK_OTG_PHY>;       118         clocks = <&cgu JZ4770_CLK_OTG_PHY>;
127                                                   119 
128         vcc-supply = <&ldo5>;                     120         vcc-supply = <&ldo5>;
129                                                   121 
130         #phy-cells = <0>;                         122         #phy-cells = <0>;
131       };                                          123       };
132     };                                            124     };
                                                      

~ [ 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