Commit 739058a9 authored by Moudy Ho's avatar Moudy Ho Committed by AngeloGioacchino Del Regno

dt-bindings: display: mediatek: split: add compatible for MT8195

Add compatible string and GCE property for MT8195 SPLIT, of
which is operated by MDP3.
Signed-off-by: default avatarMoudy Ho <moudy.ho@mediatek.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent fe49f432
...@@ -23,6 +23,7 @@ properties: ...@@ -23,6 +23,7 @@ properties:
oneOf: oneOf:
- enum: - enum:
- mediatek,mt8173-disp-split - mediatek,mt8173-disp-split
- mediatek,mt8195-mdp3-split
- items: - items:
- const: mediatek,mt6795-disp-split - const: mediatek,mt6795-disp-split
- const: mediatek,mt8173-disp-split - const: mediatek,mt8173-disp-split
...@@ -38,6 +39,21 @@ properties: ...@@ -38,6 +39,21 @@ properties:
the power controller specified by phandle. See the power controller specified by phandle. See
Documentation/devicetree/bindings/power/power-domain.yaml for details. Documentation/devicetree/bindings/power/power-domain.yaml for details.
mediatek,gce-client-reg:
description:
The register of display function block to be set by gce. There are 4 arguments,
such as gce node, subsys id, offset and register size. The subsys id that is
mapping to the register of display function blocks is defined in the gce header
include/dt-bindings/gce/<chip>-gce.h of each chips.
$ref: /schemas/types.yaml#/definitions/phandle-array
items:
items:
- description: phandle of GCE
- description: GCE subsys id
- description: register offset
- description: register size
maxItems: 1
clocks: clocks:
items: items:
- description: SPLIT Clock - description: SPLIT Clock
...@@ -48,6 +64,17 @@ required: ...@@ -48,6 +64,17 @@ required:
- power-domains - power-domains
- clocks - clocks
allOf:
- if:
properties:
compatible:
contains:
const: mediatek,mt8195-mdp3-split
then:
required:
- mediatek,gce-client-reg
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment