[PATCH v4, 2/6] dt-bindings: pwm: Remove compatible for MediaTek MT8167

Miles Chen miles.chen at mediatek.com
Thu Mar 24 16:48:24 PDT 2022


Hi Xinlei,

> Remove dt-binding documentation of pwm for MediaTek MT8167 SoC.
> I did not find the compatiable corresponding to mt8167 
> in the latest version of the pwm-mtk-disp.c driver file.
> It may be disabled but not updated to the dt_binding file.
> 
> Signed-off-by: Xinlei Lee <xinlei.lee at mediatek.com>
> ---
>  Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> index f844695d605a..f18e8bbd13d2 100644
> --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> @@ -20,9 +20,6 @@ properties:
>            - mediatek,mt2701-disp-pwm
>            - mediatek,mt6595-disp-pwm
>            - mediatek,mt8173-disp-pwm
> -      - items:
> -          - const: mediatek,mt8167-disp-pwm
> -          - const: mediatek,mt8173-disp-pwm

I checked:
grep -e 'mediatek,mt8167-disp-pwm' -e 'mediatek,mt8173-disp-pwm' drivers/ -RnH
drivers/gpu/drm/mediatek/mtk_drm_drv.c:486:     { .compatible = "mediatek,mt8167-disp-pwm",
drivers/gpu/drm/mediatek/mtk_drm_drv.c:488:     { .compatible = "mediatek,mt8173-disp-pwm",

mediatek,mt8167-disp-pwm and mediatek,mt8173-disp-pwm are used in drivers/gpu/drm/mediatek/mtk_drm_drv.c.
(added by commit 58e4c5398200 ("drm/mediatek: Add support for main DDP path on MT8167"))

Is it ok to remove mediatek,mt8167-disp-pwm and mediatek,mt8173-disp-pwm?

Thanks,
Miles
>  
>    reg:
>      maxItems: 1



More information about the linux-arm-kernel mailing list