Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: mediatek: Add power-domains property

The mt8183-mfgcfg node uses a power domain in its device tree node.
To prevent schema validation warnings, add the optional `power-domains`
property to the binding schema for mediatek syscon clocks.

Fixes: 1781f2c46180 ("arm64: dts: mediatek: mt8183: Add power-domains properity to mfgcfg")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Julien Massot <julien.massot@collabora.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Julien Massot and committed by
Stephen Boyd
ac28c759 7c85e4da

+15
+15
Documentation/devicetree/bindings/clock/mediatek,syscon.yaml
··· 76 76 - const: mediatek,mt2701-vdecsys 77 77 - const: syscon 78 78 79 + power-domains: 80 + maxItems: 1 81 + 79 82 reg: 80 83 maxItems: 1 81 84 ··· 88 85 required: 89 86 - compatible 90 87 - '#clock-cells' 88 + 89 + if: 90 + properties: 91 + compatible: 92 + contains: 93 + const: mediatek,mt8183-mfgcfg 94 + then: 95 + properties: 96 + power-domains: true 97 + else: 98 + properties: 99 + power-domains: false 91 100 92 101 additionalProperties: false 93 102