[PATCH v3 02/12] dt-bindings: mediatek: display: add definition for mt8195

Fei Shao fshao at chromium.org
Thu Jul 15 23:14:46 PDT 2021


On Fri, Jul 16, 2021 at 1:38 AM jason-jh.lin <jason-jh.lin at mediatek.com> wrote:
>
> Add definition for mt8195 display.
>
> Signed-off-by: jason-jh.lin <jason-jh.lin at mediatek.com>
> ---
>  .../bindings/display/mediatek/mediatek,disp.yaml   | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.yaml
> index 63a6bc975b29..910bb9ce61d6 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.yaml
> @@ -54,6 +54,7 @@ properties:
>        - items:
>            - enum:
>                - mediatek,mt8192-disp-ovl
> +              - mediatek,mt8195-disp-ovl
>            - enum:
>                - mediatek,mt8183-disp-ovl
>
> @@ -82,6 +83,7 @@ properties:
>        - items:
>            - enum:
>                - mediatek,mt8192-disp-rdma
> +              - mediatek,mt8195-disp-rdma

Make mediatek,mt8195-disp-rdma an individual item to align with the dts change.

>            - enum:
>                - mediatek,mt8183-disp-rdma
>
> @@ -95,6 +97,7 @@ properties:
>        - items:
>            - enum:
>                - mediatek,mt8192-disp-ccorr
> +              - mediatek,mt8195-disp-ccorr
>            - enum:
>                - mediatek,mt8183-disp-ccorr
>
> @@ -115,6 +118,7 @@ properties:
>            - enum:
>                - mediatek,mt8183-disp-color
>                - mediatek,mt8192-disp-color
> +              - mediatek,mt8195-disp-color
>            - enum:
>                - mediatek,mt8173-disp-color
>
> @@ -124,6 +128,7 @@ properties:
>        - items:
>            - enum:
>                - mediatek,mt8192-disp-dither
> +              - mediatek,mt8195-disp-dither
>            - enum:
>                - mediatek,mt8183-disp-dither
>
> @@ -135,6 +140,7 @@ properties:
>                - mediatek,mt2712-disp-aal
>                - mediatek,mt8183-disp-aal
>                - mediatek,mt8192-disp-aal
> +              - mediatek,mt8195-disp-aal
>            - enum:
>                - mediatek,mt8173-disp-aal
>
> @@ -146,10 +152,13 @@ properties:
>        - items:
>            - enum:
>                - mediatek,mt8192-disp-gamma
> +              - mediatek,mt8195-disp-gamma
>            - enum:
>                - mediatek,mt8183-disp-gamma
>
>        # MERGE: merge streams from two RDMA sources
> +      - items:
> +          - const: mediatek,mt8195-disp-merge
>
>        # POSTMASK: control round corner for display frame
>        - items:
> @@ -209,6 +218,7 @@ properties:
>            - const: mediatek,mt8183-disp-mutex
>        - items:
>            - const: mediatek,mt8192-disp-mutex
> +          - const: mediatek,mt8195-disp-mutex
>
>        # OD: overdrive
>        - items:
> @@ -234,7 +244,7 @@ properties:
>    mediatek,larb:
>      description: The compatible property should be one of DMA function blocks,
>        such as "mediatek,<chip>-disp-ovl", "mediatek,<chip>-disp-rdma" or
> -      "mediatek,<chip>-disp-wdma". The supported chips are mt2701, mt8167 and mt8173.
> +      "mediatek,<chip>-disp-wdma". The supported chips are mt2701, mt8167, mt8173 and mt8195.
>        Should contain a phandle pointing to the local arbiter device as defined in
>        Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml.
>        It must sort according to the local arbiter index, like larb0, larb1, larb2...
> @@ -245,7 +255,7 @@ properties:
>    iommus:
>      description: The compatible property should be one of DMA function blocks,
>        such as "mediatek,<chip>-disp-ovl", "mediatek,<chip>-disp-rdma" or
> -      "mediatek,<chip>-disp-wdma". The supported chips are mt2701, mt8167 and mt8173.
> +      "mediatek,<chip>-disp-wdma". The supported chips are mt2701, mt8167, mt8173 and mt8195.
>        Should point to the respective IOMMU block with master port as argument, see
>        Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
>
> --
> 2.18.0



More information about the Linux-mediatek mailing list