[PATCH 2/6] dt-bindings: arm: mt8186: Set #clock-cells as required property
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue May 17 03:15:10 PDT 2022
This is a clock-controller binding, so it needs #clock-cells, or
it would be of no use: add that to the list of required properties.
Fixes: f113a51aa2cf ("dt-bindings: ARM: MediaTek: Add new document bindings of MT8186 clock")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
---
.../devicetree/bindings/arm/mediatek/mediatek,mt8186-clock.yaml | 1 +
.../bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml | 1 +
2 files changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-clock.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-clock.yaml
index 371eace6780b..70d7b393140e 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-clock.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-clock.yaml
@@ -44,6 +44,7 @@ properties:
required:
- compatible
- reg
+ - '#clock-cells'
additionalProperties: false
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml
index 0886e2e335bb..48ebd2112789 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml
@@ -42,6 +42,7 @@ properties:
required:
- compatible
- reg
+ - '#clock-cells'
additionalProperties: false
--
2.35.1
More information about the Linux-mediatek
mailing list