[PATCH 1/9] dt-bindings: clock: mediatek: Add power-domains property

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Aug 4 00:59:39 PDT 2025


Il 01/08/25 13:18, Julien Massot ha scritto:
> 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 property to mfgcfg")
> Signed-off-by: Julien Massot <julien.massot at collabora.com>

Is MT8183 the only one?

if:
   properties:
     compatible:
       contains:
         - const: mediatek,mt8183-mfgcfg
         ^^^^^^^(if it's not just mt8183, this should be an enum)

then:
   properties:
     power-domains: true
else:
   properties:
     power-domains: false

(check if the above is correct, don't blindly trust what I wrote! :P)

after which:

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

(if it's not only mt8183, keep the R-b on this commit regardless)

Cheers,
Angelo

> ---
>   Documentation/devicetree/bindings/clock/mediatek,syscon.yaml | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/clock/mediatek,syscon.yaml b/Documentation/devicetree/bindings/clock/mediatek,syscon.yaml
> index a86a64893c675ac134af609b3a49242565db6ad8..1011bc46cfcb97b90b86019e95a7e4bc8a819342 100644
> --- a/Documentation/devicetree/bindings/clock/mediatek,syscon.yaml
> +++ b/Documentation/devicetree/bindings/clock/mediatek,syscon.yaml
> @@ -76,6 +76,9 @@ properties:
>             - const: mediatek,mt2701-vdecsys
>             - const: syscon
>   
> +  power-domains:
> +    maxItems: 1
> +
>     reg:
>       maxItems: 1
>   
> 





More information about the Linux-mediatek mailing list