diff options
author | Daniel Tang <dt.tangr@gmail.com> | 2013-05-31 19:27:33 +1000 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-31 12:07:45 -0700 |
commit | 7d1818fa6683daee6f6bf6f420ac850e5fe4e544 (patch) | |
tree | 8b0db48aab131172bc2beecbac2ac0e6dd1595d5 /Documentation | |
parent | c0431037b4492e8c82b50f72ce127b74776433c2 (diff) | |
download | linux-7d1818fa6683daee6f6bf6f420ac850e5fe4e544.tar.gz linux-7d1818fa6683daee6f6bf6f420ac850e5fe4e544.tar.bz2 linux-7d1818fa6683daee6f6bf6f420ac850e5fe4e544.zip |
clk: Add TI-Nspire clock drivers
This patch adds a basic clock driver for the TI-Nspire calculator
series.
Changes from v1:
* Removed filename in header comment
* Removed unnecessary #undef EXTRACT statement
Signed-off-by: Daniel Tang <dt.tangr@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed $SUBJECT and changelog max width]
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/nspire-clock.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/nspire-clock.txt b/Documentation/devicetree/bindings/clock/nspire-clock.txt new file mode 100644 index 000000000000..7c3bc8bb5b9f --- /dev/null +++ b/Documentation/devicetree/bindings/clock/nspire-clock.txt @@ -0,0 +1,24 @@ +TI-NSPIRE Clocks + +Required properties: +- compatible: Valid compatible properties include: + "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model + "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model + "lsi,nspire-cx-clock" for the base clock in the CX model + "lsi,nspire-classic-clock" for the base clock in the older model + +- reg: Physical base address of the controller and length of memory mapped + region. + +Optional: +- clocks: For the "nspire-*-ahb-divider" compatible clocks, this is the parent + clock where it divides the rate from. + +Example: + +ahb_clk { + #clock-cells = <0>; + compatible = "lsi,nspire-cx-clock"; + reg = <0x900B0000 0x4>; + clocks = <&base_clk>; +}; |