]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
devicetree: document the BCM63XX gated clock bindings
authorJonas Gorski <jonas.gorski@gmail.com>
Thu, 2 May 2019 12:26:55 +0000 (14:26 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 27 Jun 2019 20:35:39 +0000 (13:35 -0700)
Add binding documentation for the gated clock controller found on MIPS
based BCM63XX SoCs.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt b/Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt
new file mode 100644 (file)
index 0000000..3041657
--- /dev/null
@@ -0,0 +1,22 @@
+Gated Clock Controller Bindings for MIPS based BCM63XX SoCs
+
+Required properties:
+- compatible: must be one of:
+        "brcm,bcm3368-clocks"
+        "brcm,bcm6328-clocks"
+        "brcm,bcm6358-clocks"
+        "brcm,bcm6362-clocks"
+        "brcm,bcm6368-clocks"
+        "brcm,bcm63268-clocks"
+
+- reg: Address and length of the register set
+- #clock-cells: must be <1>
+
+
+Example:
+
+clkctl: clock-controller@10000004 {
+       compatible = "brcm,bcm6328-clocks";
+       reg = <0x10000004 0x4>;
+       #clock-cells = <1>;
+};