diff mbox series

[3/3] dt-bindings: clock: lan966x: Add LAN966X Clock Controller

Message ID 20210902092954.28359-1-kavyasree.kotagiri@microchip.com
State New
Headers show
Series [1/3] dt-bindings: clock: lan966x: Add binding includes for lan966x SoC clock IDs | expand

Commit Message

Kavyasree Kotagiri Sept. 2, 2021, 9:29 a.m. UTC
From: Kavyasree Kotagiri <Kavyasree.Kotagiri@microchip.com>

This adds the DT bindings documentation for lan966x SoC
generic clock controller.

Signed-off-by: Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>
---
 .../bindings/clock/microchip,lan966x-gck.yaml | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml

--
2.17.1

Comments

Rob Herring Sept. 7, 2021, 7 p.m. UTC | #1
On Thu, Sep 02, 2021 at 02:59:54PM +0530, kavyasree.kotagiri@microchip.com wrote:
> From: Kavyasree Kotagiri <Kavyasree.Kotagiri@microchip.com>


Ah, here's the rest. The threading of your series is broken.

> 

> This adds the DT bindings documentation for lan966x SoC

> generic clock controller.

> 

> Signed-off-by: Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>


Please make your author and Sob name and email match.

> ---

>  .../bindings/clock/microchip,lan966x-gck.yaml | 46 +++++++++++++++++++

>  1 file changed, 46 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml

> 

> diff --git a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml

> new file mode 100644

> index 000000000000..0df765f628c4

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml

> @@ -0,0 +1,46 @@

> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

> +%YAML 1.2

> +---

> +$id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml#

> +$schema: http://devicetree.org/meta-schemas/core.yaml#

> +

> +title: Microchip LAN966X Generic Clock Controller

> +

> +maintainers:

> +  - Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>

> +

> +description: |

> +  The LAN966X Generic clock controller contains 3 PLLs - cpu_clk,

> +  ddr_clk and sys_clk. This clock controller generates and supplies

> +  clock to various peripherals within the SoC.

> +

> +properties:

> +  compatible:

> +    const: microchip,lan966x-gck

> +

> +  reg:

> +    maxItems: 1

> +

> +  clocks:

> +    maxItems: 1

> +

> +  '#clock-cells':

> +    const: 1

> +

> +required:

> +  - compatible

> +  - reg

> +  - clocks

> +  - '#clock-cells'

> +

> +additionalProperties: false

> +

> +examples:

> +  - |

> +    clks: clock-controller@e00c00a8 {

> +        compatible = "microchip,lan966x-gck";

> +        #clock-cells = <1>;

> +        clocks = <&cpu_clk>;

> +        reg = <0xe00c00a8 0x38>;


Looks like this is part of some other block?

> +    };

> +...

> --

> 2.17.1

> 

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
new file mode 100644
index 000000000000..0df765f628c4
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
@@ -0,0 +1,46 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip LAN966X Generic Clock Controller
+
+maintainers:
+  - Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>
+
+description: |
+  The LAN966X Generic clock controller contains 3 PLLs - cpu_clk,
+  ddr_clk and sys_clk. This clock controller generates and supplies
+  clock to various peripherals within the SoC.
+
+properties:
+  compatible:
+    const: microchip,lan966x-gck
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+  '#clock-cells':
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - '#clock-cells'
+
+additionalProperties: false
+
+examples:
+  - |
+    clks: clock-controller@e00c00a8 {
+        compatible = "microchip,lan966x-gck";
+        #clock-cells = <1>;
+        clocks = <&cpu_clk>;
+        reg = <0xe00c00a8 0x38>;
+    };
+...