[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <31cd9b95-21e0-44a0-9f60-cf84b2b66e6f@collabora.com>
Date: Thu, 9 Jan 2025 12:12:40 +0100
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: Chen-Yu Tsai <wenst@...omium.org>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org,
YH Huang <yh.huang@...iatek.com>, stable@...r.kernel.org
Subject: Re: [PATCH 2/3] arm64: dts: mediatek: mt8173: Fix disp-pwm compatible
string
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@...1e000: 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@...1f000: 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@...iatek.com>
> Cc: <stable@...r.kernel.org> # v4.5+
> Signed-off-by: Chen-Yu Tsai <wenst@...omium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists