Skip to content

Commit 18b26b1

Browse files
adalessandrorobherring
authored andcommitted
dt-bindings: soc: mediatek: pwrap: Add power-domains property
Currently, the DT bindings for Mediatek PMIC Wrapper is missing the power-domains property, which is used in the MT8173 E1 evaluation board as it needs USB power domain. Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent d0b5a39 commit 18b26b1

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ properties:
9898
- const: pwrap
9999
- const: pwrap-bridge
100100

101+
power-domains:
102+
maxItems: 1
103+
101104
pmic:
102105
type: object
103106

@@ -126,6 +129,18 @@ allOf:
126129
clock-names:
127130
minItems: 4
128131

132+
- if:
133+
properties:
134+
compatible:
135+
contains:
136+
const: mediatek,mt8173-pwrap
137+
then:
138+
properties:
139+
power-domains: true
140+
else:
141+
properties:
142+
power-domains: false
143+
129144
additionalProperties: false
130145

131146
examples:

0 commit comments

Comments
 (0)