Skip to content

Commit 5474d49

Browse files
Rohit AgarwalChun-Kuang Hu
authored andcommitted
dt-bindings: display: mediatek: dpi: Add power domains
Add power domain binding to the mediatek DPI controller for MT8186. Also, add power domain binding for other SoCs like MT6795 and MT8173 that already had power domain property. Signed-off-by: Rohit Agarwal <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: CK Hu <[email protected]> Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent be03b30 commit 5474d49

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ properties:
6262
- const: default
6363
- const: sleep
6464

65+
power-domains:
66+
maxItems: 1
67+
6568
port:
6669
$ref: /schemas/graph.yaml#/properties/port
6770
description:
@@ -76,6 +79,20 @@ required:
7679
- clock-names
7780
- port
7881

82+
allOf:
83+
- if:
84+
not:
85+
properties:
86+
compatible:
87+
contains:
88+
enum:
89+
- mediatek,mt6795-dpi
90+
- mediatek,mt8173-dpi
91+
- mediatek,mt8186-dpi
92+
then:
93+
properties:
94+
power-domains: false
95+
7996
additionalProperties: false
8097

8198
examples:

0 commit comments

Comments
 (0)