summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@nxp.com>2020-05-11 12:38:52 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-02 16:35:18 +0800
commit52542ec81847aeae07760c584d764438c352208d (patch)
treef1ef20e9e18d5e73f1437b9a3510098044c385b4 /Documentation/devicetree/bindings/clock
parentafeb66749c40558675c491fe15990e68d68946f3 (diff)
Documentation: bindings: clk: Add bindings for i.MX BLK_CTRL
Document the i.MX BLK_CTRL with its devicetree properties. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
-rw-r--r--Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml55
1 files changed, 55 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml
new file mode 100644
index 000000000000..036d3d37ffc2
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: (GPL-2.0-only)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/fsl,imx-blk-ctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP i.MX BLK_CTRL
+
+description: |
+ i.MX BLK_CTRL is a conglomerate of different GPRs that are
+ dedicated to a specific subsystem. Because it usually contains
+ clocks amongst other things, it needs access to the i.MX clocks
+ API. All the other functionalities it provides can work just fine
+ from the clock subsystem tree.
+
+maintainers:
+ - Abel Vesa <abel.vesa@nxp.com>
+
+properties:
+ reg:
+ maxItems: 1
+
+ compatible:
+ items:
+ - const: fsl,imx8mp-blk-ctrl
+ - const: syscon
+
+ power-domains:
+ maxItems: 1
+
+ '#clock-cells':
+ const: 1
+
+ '#reset-cells':
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - power-domains
+ - '#clock-cells'
+ - '#reset-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ audio-blk-ctrl: blk-ctrl@30e20000 {
+ compatible = "fsl,imx8mp-blk-ctrl", "syscon";
+ reg = <0x30e20000 0x10000>;
+ power-domains = <&audiomix_pd>;
+
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };