The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/clock/vt8500.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: 45fcac6374eb4265166d6621612e6e89


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.