Commit 8eff5b99 authored by Peter Geis's avatar Peter Geis Committed by Vinod Koul

dt-bindings: phy: phy-rockchip-inno-usb2: add rk3568 documentation

The rk3568 usb2phy node is a standalone node with a single muxed
interrupt.
Add documentation for it to phy-rockchip-inno-usb2.
Signed-off-by: default avatarPeter Geis <pgwipeout@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215210252.120923-3-pgwipeout@gmail.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 107ba9bf
...@@ -18,6 +18,7 @@ properties: ...@@ -18,6 +18,7 @@ properties:
- rockchip,rk3328-usb2phy - rockchip,rk3328-usb2phy
- rockchip,rk3366-usb2phy - rockchip,rk3366-usb2phy
- rockchip,rk3399-usb2phy - rockchip,rk3399-usb2phy
- rockchip,rk3568-usb2phy
- rockchip,rv1108-usb2phy - rockchip,rv1108-usb2phy
reg: reg:
...@@ -50,6 +51,10 @@ properties: ...@@ -50,6 +51,10 @@ properties:
description: description:
Phandle to the extcon device providing the cable state for the otg phy. Phandle to the extcon device providing the cable state for the otg phy.
interrupts:
description: Muxed interrupt for both ports
maxItems: 1
rockchip,usbgrf: rockchip,usbgrf:
$ref: /schemas/types.yaml#/definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
...@@ -67,6 +72,7 @@ properties: ...@@ -67,6 +72,7 @@ properties:
interrupts: interrupts:
description: host linestate interrupt description: host linestate interrupt
maxItems: 1
interrupt-names: interrupt-names:
const: linestate const: linestate
...@@ -78,8 +84,6 @@ properties: ...@@ -78,8 +84,6 @@ properties:
required: required:
- "#phy-cells" - "#phy-cells"
- interrupts
- interrupt-names
otg-port: otg-port:
type: object type: object
...@@ -109,8 +113,6 @@ properties: ...@@ -109,8 +113,6 @@ properties:
required: required:
- "#phy-cells" - "#phy-cells"
- interrupts
- interrupt-names
required: required:
- compatible - compatible
...@@ -120,6 +122,40 @@ required: ...@@ -120,6 +122,40 @@ required:
- host-port - host-port
- otg-port - otg-port
allOf:
- if:
properties:
compatible:
contains:
const: rockchip,rk3568-usb2phy
then:
properties:
host-port:
properties:
interrupts: false
otg-port:
properties:
interrupts: false
required:
- interrupts
else:
properties:
interrupts: false
host-port:
required:
- interrupts
- interrupt-names
otg-port:
required:
- interrupts
- interrupt-names
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment