Skip to content

Commit fd3ac6e

Browse files
sredamien-lemoal
authored andcommitted
dt-bindings: phy: rockchip: rk3588 has two reset lines
The RK3588 has two reset lines for the combphy. One for the APB interface and one for the actual PHY. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
1 parent 85b0e13 commit fd3ac6e

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@ properties:
3131
- const: pipe
3232

3333
resets:
34+
minItems: 1
35+
maxItems: 2
36+
37+
reset-names:
38+
minItems: 1
3439
items:
35-
- description: exclusive PHY reset line
40+
- const: phy
41+
- const: apb
3642

3743
rockchip,enable-ssc:
3844
type: boolean
@@ -78,6 +84,32 @@ required:
7884
- rockchip,pipe-phy-grf
7985
- "#phy-cells"
8086

87+
allOf:
88+
- if:
89+
properties:
90+
compatible:
91+
contains:
92+
const: rockchip,rk3568-naneng-combphy
93+
then:
94+
properties:
95+
resets:
96+
maxItems: 1
97+
reset-names:
98+
maxItems: 1
99+
- if:
100+
properties:
101+
compatible:
102+
contains:
103+
const: rockchip,rk3588-naneng-combphy
104+
then:
105+
properties:
106+
resets:
107+
minItems: 2
108+
reset-names:
109+
minItems: 2
110+
required:
111+
- reset-names
112+
81113
additionalProperties: false
82114

83115
examples:

0 commit comments

Comments
 (0)