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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/vt8500.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/vt8500.txt (Architecture i386) and /Documentation/devicetree/bindings/clock/vt8500.txt (Architecture ppc)


  1 Device Tree Clock bindings for arch-vt8500          1 Device Tree Clock bindings for arch-vt8500
  2                                                     2 
  3 This binding uses the common clock binding[1].      3 This binding uses the common clock binding[1].
  4                                                     4 
  5 [1] Documentation/devicetree/bindings/clock/cl      5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  6                                                     6 
  7 Required properties:                                7 Required properties:
  8 - compatible : shall be one of the following:       8 - compatible : shall be one of the following:
  9         "via,vt8500-pll-clock" - for a VT8500/      9         "via,vt8500-pll-clock" - for a VT8500/WM8505 PLL clock
 10         "wm,wm8650-pll-clock" - for a WM8650 P     10         "wm,wm8650-pll-clock" - for a WM8650 PLL clock
 11         "wm,wm8750-pll-clock" - for a WM8750 P     11         "wm,wm8750-pll-clock" - for a WM8750 PLL clock
 12         "wm,wm8850-pll-clock" - for a WM8850 P     12         "wm,wm8850-pll-clock" - for a WM8850 PLL clock
 13         "via,vt8500-device-clock" - for a VT/W     13         "via,vt8500-device-clock" - for a VT/WM device clock
 14                                                    14 
 15 Required properties for PLL clocks:                15 Required properties for PLL clocks:
 16 - reg : shall be the control register offset f     16 - reg : shall be the control register offset from PMC base for the pll clock.
 17 - clocks : shall be the input parent clock pha     17 - clocks : shall be the input parent clock phandle for the clock. This should
 18         be the reference clock.                    18         be the reference clock.
 19 - #clock-cells : from common clock binding; sh     19 - #clock-cells : from common clock binding; shall be set to 0.
 20                                                    20 
 21 Required properties for device clocks:             21 Required properties for device clocks:
 22 - clocks : shall be the input parent clock pha     22 - clocks : shall be the input parent clock phandle for the clock. This should
 23         be a pll output.                           23         be a pll output.
 24 - #clock-cells : from common clock binding; sh     24 - #clock-cells : from common clock binding; shall be set to 0.
 25                                                    25 
 26                                                    26 
 27 Device Clocks                                      27 Device Clocks
 28                                                    28 
 29 Device clocks are required to have one or both     29 Device clocks are required to have one or both of the following sets of
 30 properties:                                        30 properties:
 31                                                    31 
 32                                                    32 
 33 Gated device clocks:                               33 Gated device clocks:
 34                                                    34 
 35 Required properties:                               35 Required properties:
 36 - enable-reg : shall be the register offset fr     36 - enable-reg : shall be the register offset from PMC base for the enable
 37         register.                                  37         register.
 38 - enable-bit : shall be the bit within enable-     38 - enable-bit : shall be the bit within enable-reg to enable/disable the clock.
 39                                                    39 
 40                                                    40 
 41 Divisor device clocks:                             41 Divisor device clocks:
 42                                                    42 
 43 Required property:                                 43 Required property:
 44 - divisor-reg : shall be the register offset f     44 - divisor-reg : shall be the register offset from PMC base for the divisor
 45         register.                                  45         register.
 46 Optional property:                                 46 Optional property:
 47 - divisor-mask : shall be the mask for the div     47 - divisor-mask : shall be the mask for the divisor register. Defaults to 0x1f
 48         if not specified.                          48         if not specified.
 49                                                    49 
 50                                                    50 
 51 For example:                                       51 For example:
 52                                                    52 
 53 ref25: ref25M {                                    53 ref25: ref25M {
 54         #clock-cells = <0>;                        54         #clock-cells = <0>;
 55         compatible = "fixed-clock";                55         compatible = "fixed-clock";
 56         clock-frequency = <25000000>;              56         clock-frequency = <25000000>;
 57 };                                                 57 };
 58                                                    58 
 59 plla: plla {                                       59 plla: plla {
 60         #clock-cells = <0>;                        60         #clock-cells = <0>;
 61         compatible = "wm,wm8650-pll-clock";        61         compatible = "wm,wm8650-pll-clock";
 62         clocks = <&ref25>;                         62         clocks = <&ref25>;
 63         reg = <0x200>;                             63         reg = <0x200>;
 64 };                                                 64 };
 65                                                    65 
 66 sdhc: sdhc {                                       66 sdhc: sdhc {
 67         #clock-cells = <0>;                        67         #clock-cells = <0>;
 68         compatible = "via,vt8500-device-clock"     68         compatible = "via,vt8500-device-clock";
 69         clocks = <&pllb>;                          69         clocks = <&pllb>;
 70         divisor-reg = <0x328>;                     70         divisor-reg = <0x328>;
 71         divisor-mask = <0x3f>;                     71         divisor-mask = <0x3f>;
 72         enable-reg = <0x254>;                      72         enable-reg = <0x254>;
 73         enable-bit = <18>;                         73         enable-bit = <18>;
 74 };                                                 74 };
                                                      

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