[PATCH 1/9] dt-bindings: clock: mediatek: Add power-domains property
Julien Massot
julien.massot at collabora.com
Wed Aug 20 06:27:21 PDT 2025
Hi Angelo,
On Mon, 2025-08-04 at 09:59 +0200, AngeloGioacchino Del Regno wrote:
> 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)
>
>
Verified on my side 'mediatek,mt8183-mfgcfg' is the only one with a power-domain
property.
I will add the if/else and disable the power-domains property for other compatible
as suggested.
>
> 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)
Thanks,
Julien
More information about the Linux-mediatek
mailing list