diff options
| author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-09-25 21:18:14 -0400 |
|---|---|---|
| committer | Mike Turquette <mturquette@linaro.org> | 2013-10-07 21:16:30 -0400 |
| commit | 7affe5685c962ed0bc0fadf307400484b2276c89 (patch) | |
| tree | 91022e1e58ea9c7593146e6d053a7ab0cd434303 /Documentation | |
| parent | b9e0d40c0d83805bc6feb86d602e73f2cdcb17f9 (diff) | |
clk: keystone: Add gate control clock driver
Add the driver for the clock gate control which uses PSC (Power Sleep
Controller) IP on Keystone 2 based SOCs. It is responsible for enabling and
disabling of the clocks for different IPs present in the SoC.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/clock/keystone-gate.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/keystone-gate.txt b/Documentation/devicetree/bindings/clock/keystone-gate.txt new file mode 100644 index 000000000000..c5aa187026e3 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/keystone-gate.txt | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | Status: Unstable - ABI compatibility may be broken in the future | ||
| 2 | |||
| 3 | Binding for Keystone gate control driver which uses PSC controller IP. | ||
| 4 | |||
| 5 | This binding uses the common clock binding[1]. | ||
| 6 | |||
| 7 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
| 8 | |||
| 9 | Required properties: | ||
| 10 | - compatible : shall be "ti,keystone,psc-clock". | ||
| 11 | - #clock-cells : from common clock binding; shall be set to 0. | ||
| 12 | - clocks : parent clock phandle | ||
| 13 | - reg : psc control and domain address address space | ||
| 14 | - reg-names : psc control and domain registers | ||
| 15 | - domain-id : psc domain id needed to check the transition state register | ||
| 16 | |||
| 17 | Optional properties: | ||
| 18 | - clock-output-names : From common clock binding to override the | ||
| 19 | default output clock name | ||
| 20 | Example: | ||
| 21 | clkusb: clkusb { | ||
| 22 | #clock-cells = <0>; | ||
| 23 | compatible = "ti,keystone,psc-clock"; | ||
| 24 | clocks = <&chipclk16>; | ||
| 25 | clock-output-names = "usb"; | ||
| 26 | reg = <0x02350008 0xb00>, <0x02350000 0x400>; | ||
| 27 | reg-names = "control", "domain"; | ||
| 28 | domain-id = <0>; | ||
| 29 | }; | ||
