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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/ti/davinci/psc.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 ] ~

  1 Binding for TI DaVinci Power Sleep Controller (PSC)
  2 
  3 The PSC provides power management, clock gating and reset functionality. It is
  4 primarily used for clocking.
  5 
  6 Required properties:
  7 - compatible: shall be one of:
  8         - "ti,da850-psc0" for PSC0 on DA850/OMAP-L138/AM18XX
  9         - "ti,da850-psc1" for PSC1 on DA850/OMAP-L138/AM18XX
 10 - reg: physical base address and size of the controller's register area
 11 - #clock-cells: from common clock binding; shall be set to 1
 12 - #power-domain-cells: from generic power domain binding; shall be set to 1.
 13 - clocks: phandles to clocks corresponding to the clock-names property
 14 - clock-names: list of parent clock names - depends on compatible value
 15         - for "ti,da850-psc0", shall be "pll0_sysclk1", "pll0_sysclk2",
 16           "pll0_sysclk4", "pll0_sysclk6", "async1"
 17         - for "ti,da850-psc1", shall be "pll0_sysclk2", "pll0_sysclk4", "async3"
 18 
 19 Optional properties:
 20 - #reset-cells: from reset binding; shall be set to 1 - only applicable when
 21   at least one local domain provides a local reset.
 22 
 23 Consumers:
 24 
 25         Clock, power domain and reset consumers shall use the local power domain
 26         module ID (LPSC) as the index corresponding to the clock cell. Refer to
 27         the device-specific datasheet to find these numbers. NB: Most local
 28         domains only provide a clock/power domain and not a reset.
 29 
 30 Examples:
 31 
 32         psc0: clock-controller@10000 {
 33                 compatible = "ti,da850-psc0";
 34                 reg = <0x10000 0x1000>;
 35                 #clock-cells = <1>;
 36                 #power-domain-cells = <1>;
 37                 #reset-cells = <1>;
 38                 clocks = <&pll0_sysclk 1>, <&pll0_sysclk 2>,
 39                          <&pll0_sysclk 4>, <&pll0_sysclk 6>, <&async1_clk>;
 40                 clock_names = "pll0_sysclk1", "pll0_sysclk2",
 41                               "pll0_sysclk4", "pll0_sysclk6", "async1";
 42         };
 43         psc1: clock-controller@227000 {
 44                 compatible = "ti,da850-psc1";
 45                 reg = <0x227000 0x1000>;
 46                 #clock-cells = <1>;
 47                 #power-domain-cells = <1>;
 48                 clocks = <&pll0_sysclk 2>, <&pll0_sysclk 4>, <&async3_clk>;
 49                 clock_names = "pll0_sysclk2", "pll0_sysclk4", "async3";
 50         };
 51 
 52         /* consumer */
 53         dsp: dsp@11800000 {
 54                 compatible = "ti,da850-dsp";
 55                 reg = <0x11800000 0x40000>,
 56                       <0x11e00000 0x8000>,
 57                       <0x11f00000 0x8000>,
 58                       <0x01c14044 0x4>,
 59                       <0x01c14174 0x8>;
 60                 reg-names = "l2sram", "l1pram", "l1dram", "host1cfg", "chipsig";
 61                 interrupt-parent = <&intc>;
 62                 interrupts = <28>;
 63                 clocks = <&psc0 15>;
 64                 power-domains = <&psc0 15>;
 65                 resets = <&psc0 15>;
 66         };
 67 
 68 Also see:
 69 - Documentation/devicetree/bindings/clock/clock-bindings.txt
 70 - Documentation/devicetree/bindings/power/power-domain.yaml
 71 - Documentation/devicetree/bindings/reset/reset.txt

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