[PATCH 2/3] arm64: dts: mediatek: mt8173: Fix disp-pwm compatible string
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Jan 9 03:12:40 PST 2025
Il 08/01/25 09:34, Chen-Yu Tsai ha scritto:
> The MT8173 disp-pwm device should have only one compatible string, based
> on the following DT validation error:
>
> arch/arm64/boot/dts/mediatek/mt8173-elm.dtb: pwm at 1401e000: compatible: 'oneOf' conditional failed, one must be fixed:
> ['mediatek,mt8173-disp-pwm', 'mediatek,mt6595-disp-pwm'] is too long
> 'mediatek,mt8173-disp-pwm' is not one of ['mediatek,mt6795-disp-pwm', 'mediatek,mt8167-disp-pwm']
> 'mediatek,mt8173-disp-pwm' is not one of ['mediatek,mt8186-disp-pwm', 'mediatek,mt8188-disp-pwm', 'mediatek,mt8192-disp-pwm', 'mediatek,mt8195-disp-pwm', 'mediatek,mt8365-disp-pwm']
> 'mediatek,mt8173-disp-pwm' was expected
> 'mediatek,mt8183-disp-pwm' was expected
> from schema $id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml#
> arch/arm64/boot/dts/mediatek/mt8173-elm.dtb: pwm at 1401f000: compatible: 'oneOf' conditional failed, one must be fixed:
> ['mediatek,mt8173-disp-pwm', 'mediatek,mt6595-disp-pwm'] is too long
> 'mediatek,mt8173-disp-pwm' is not one of ['mediatek,mt6795-disp-pwm', 'mediatek,mt8167-disp-pwm']
> 'mediatek,mt8173-disp-pwm' is not one of ['mediatek,mt8186-disp-pwm', 'mediatek,mt8188-disp-pwm', 'mediatek,mt8192-disp-pwm', 'mediatek,mt8195-disp-pwm', 'mediatek,mt8365-disp-pwm']
> 'mediatek,mt8173-disp-pwm' was expected
> 'mediatek,mt8183-disp-pwm' was expected
> from schema $id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml#
>
> Drop the extra "mediatek,mt6595-disp-pwm" compatible string.
>
> Fixes: 61aee9342514 ("arm64: dts: mt8173: add MT8173 display PWM driver support node")
> Cc: YH Huang <yh.huang at mediatek.com>
> Cc: <stable at vger.kernel.org> # v4.5+
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list