diff options
author | Dinh Nguyen <dinguyen@altera.com> | 2013-06-05 11:02:54 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-06-11 19:35:00 -0400 |
commit | a92b83af289002080d47ff89269047ed84952729 (patch) | |
tree | c5f57f2311e02a6d5552729fa165b9b2f1b3471e /Documentation | |
parent | 3d954cf1518f37edc0d5912d619bd0f644a27d7e (diff) |
ARM: socfpga: dts: Add gate-clock bindings
Add bindings for "socfpga-gate-clk" clocks. These clocks directly feed
the peripherals.
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Reviewed-by: Pavel Machek <pavel@denx.de>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Olof Johansson <olof@lixom.net>
Cc: Pavel Machek <pavel@denx.de>
CC: <linux@arm.linux.org.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/altr_socfpga.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/altr_socfpga.txt b/Documentation/devicetree/bindings/clock/altr_socfpga.txt index bd0c8416a5c8..0045433eae1f 100644 --- a/Documentation/devicetree/bindings/clock/altr_socfpga.txt +++ b/Documentation/devicetree/bindings/clock/altr_socfpga.txt | |||
@@ -9,6 +9,9 @@ Required properties: | |||
9 | "altr,socfpga-pll-clock" - for a PLL clock | 9 | "altr,socfpga-pll-clock" - for a PLL clock |
10 | "altr,socfpga-perip-clock" - The peripheral clock divided from the | 10 | "altr,socfpga-perip-clock" - The peripheral clock divided from the |
11 | PLL clock. | 11 | PLL clock. |
12 | "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and | ||
13 | can get gated. | ||
14 | |||
12 | - reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. | 15 | - reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. |
13 | - clocks : shall be the input parent clock phandle for the clock. This is | 16 | - clocks : shall be the input parent clock phandle for the clock. This is |
14 | either an oscillator or a pll output. | 17 | either an oscillator or a pll output. |
@@ -16,3 +19,7 @@ Required properties: | |||
16 | 19 | ||
17 | Optional properties: | 20 | Optional properties: |
18 | - fixed-divider : If clocks have a fixed divider value, use this property. | 21 | - fixed-divider : If clocks have a fixed divider value, use this property. |
22 | - clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register | ||
23 | and the bit index. | ||
24 | - div-reg : For "socfpga-gate-clk", div-reg contains the divider register, bit shift, | ||
25 | and width. | ||