mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +00:00
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>
This commit is contained in:
parent
85b0e13b19
commit
fd3ac6e804
@ -31,8 +31,14 @@ properties:
|
|||||||
- const: pipe
|
- const: pipe
|
||||||
|
|
||||||
resets:
|
resets:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
reset-names:
|
||||||
|
minItems: 1
|
||||||
items:
|
items:
|
||||||
- description: exclusive PHY reset line
|
- const: phy
|
||||||
|
- const: apb
|
||||||
|
|
||||||
rockchip,enable-ssc:
|
rockchip,enable-ssc:
|
||||||
type: boolean
|
type: boolean
|
||||||
@ -78,6 +84,32 @@ required:
|
|||||||
- rockchip,pipe-phy-grf
|
- rockchip,pipe-phy-grf
|
||||||
- "#phy-cells"
|
- "#phy-cells"
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: rockchip,rk3568-naneng-combphy
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
resets:
|
||||||
|
maxItems: 1
|
||||||
|
reset-names:
|
||||||
|
maxItems: 1
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: rockchip,rk3588-naneng-combphy
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
resets:
|
||||||
|
minItems: 2
|
||||||
|
reset-names:
|
||||||
|
minItems: 2
|
||||||
|
required:
|
||||||
|
- reset-names
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
Loading…
Reference in New Issue
Block a user