Skip to content

Commit e154a33

Browse files
committed
dt-bindings: soc: samsung: exynos-pmu: allow phys as child on Exynos3 and Exynos4
Just like on Exynos5250, Exynos5420 and Exynos5433 the MIPI phy is actually part of the Power Management Unit system controller thus allow it as PMU's child. Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230207192851.549242-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 3ddba33 commit e154a33

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ properties:
4848
- const: syscon
4949
- items:
5050
- enum:
51+
- samsung,exynos3250-pmu
52+
- samsung,exynos4210-pmu
53+
- samsung,exynos4412-pmu
5154
- samsung,exynos5250-pmu
5255
- samsung,exynos5420-pmu
5356
- samsung,exynos5433-pmu
@@ -138,18 +141,34 @@ allOf:
138141
compatible:
139142
contains:
140143
enum:
144+
- samsung,exynos3250-pmu
145+
- samsung,exynos4210-pmu
146+
- samsung,exynos4412-pmu
141147
- samsung,exynos5250-pmu
142148
- samsung,exynos5420-pmu
143149
- samsung,exynos5433-pmu
144150
then:
145151
properties:
146-
dp-phy: true
147152
mipi-phy: true
148153
else:
149154
properties:
150-
dp-phy: false
151155
mipi-phy: false
152156

157+
- if:
158+
properties:
159+
compatible:
160+
contains:
161+
enum:
162+
- samsung,exynos5250-pmu
163+
- samsung,exynos5420-pmu
164+
- samsung,exynos5433-pmu
165+
then:
166+
properties:
167+
dp-phy: true
168+
else:
169+
properties:
170+
dp-phy: false
171+
153172
examples:
154173
- |
155174
#include <dt-bindings/clock/exynos5250.h>

0 commit comments

Comments
 (0)