Re: [v2,4/4] dt-bindings: pwm: Add compatible for MediaTek MT8186

Rob Herring
2022-02-24T21:21:02Z

On Wed, Feb 16, 2022 at 05:32:51PM +0800, xinlei.lee@mediatek.com wrote:
> From: Xinlei Lee <xinlei.lee@mediatek.corp-partner.google.com>
>
> Add dt-binding documentation of pwm for MediaTek MT8186 SoC.
>
> Signed-off-by: Xinlei Lee <xinlei.lee@mediatek.corp-partner.google.com>
> ---
> Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> index 768ab04d3764..1f45b1b8c3d4 100755
> --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> @@ -17,6 +17,7 @@ properties:
> - mediatek,mt6595-disp-pwm
> - mediatek,mt8173-disp-pwm
> - mediatek,mt8183-disp-pwm
> + - mediatek,mt8186-disp-pwm
> - mediatek,mt8192-disp-pwm
> - mediatek,mt8195-disp-pwm

It seems unlikely that every SoC has a different version of h/w for
something as simple as a PWM. There's not an appropriate fallback? The
first version from an SoC that has all the features and would work with
existing driver unchanged?

Rob