base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0089-ARM-mvebu-fix-gated-clock-documentation.patch
1 From 67f66e13d8a6da710d6df965021d92261083b584 Mon Sep 17 00:00:00 2001
2 From: Gregory CLEMENT <gregory.clement@free-electrons.com>
3 Date: Wed, 25 Sep 2013 13:24:18 +0200
4 Subject: [PATCH 089/203] ARM: mvebu: fix gated clock documentation
5
6 The gated clock documentation referred only to the Orion SoC whereas
7 it also applied for the Armada 370/XP SoC. This commit updates the
8 introduction text and also the list of the compatible strings.
9
10 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
11 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
12 ---
13  .../devicetree/bindings/clock/mvebu-gated-clock.txt        | 14 ++++++++------
14  1 file changed, 8 insertions(+), 6 deletions(-)
15
16 --- a/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
17 +++ b/Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
18 @@ -1,10 +1,10 @@
19 -* Gated Clock bindings for Marvell Orion SoCs
20 +* Gated Clock bindings for Marvell EBU SoCs
21  
22 -Marvell Dove and Kirkwood allow some peripheral clocks to be gated to save
23 -some power. The clock consumer should specify the desired clock by having
24 -the clock ID in its "clocks" phandle cell. The clock ID is directly mapped to
25 -the corresponding clock gating control bit in HW to ease manual clock lookup
26 -in datasheet.
27 +Marvell Armada 370/XP, Dove and Kirkwood allow some peripheral clocks to be
28 +gated to save some power. The clock consumer should specify the desired clock
29 +by having the clock ID in its "clocks" phandle cell. The clock ID is directly
30 +mapped to the corresponding clock gating control bit in HW to ease manual clock
31 +lookup in datasheet.
32  
33  The following is a list of provided IDs for Armada 370:
34  ID     Clock   Peripheral
35 @@ -94,6 +94,8 @@ ID    Clock   Peripheral
36  
37  Required properties:
38  - compatible : shall be one of the following:
39 +       "marvell,armada-370-gating-clock" - for Armada 370 SoC clock gating
40 +       "marvell,armada-xp-gating-clock" - for Armada XP SoC clock gating
41         "marvell,dove-gating-clock" - for Dove SoC clock gating
42         "marvell,kirkwood-gating-clock" - for Kirkwood SoC clock gating
43  - reg : shall be the register address of the Clock Gating Control register