Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Peter Geis <pgwipeout@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215210252.120923-3-pgwipeout@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Peter Geis and committed by
Vinod Koul
8eff5b99 107ba9bf

+40 -4
+40 -4
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml
··· 18 18 - rockchip,rk3328-usb2phy 19 19 - rockchip,rk3366-usb2phy 20 20 - rockchip,rk3399-usb2phy 21 + - rockchip,rk3568-usb2phy 21 22 - rockchip,rv1108-usb2phy 22 23 23 24 reg: ··· 51 50 description: 52 51 Phandle to the extcon device providing the cable state for the otg phy. 53 52 53 + interrupts: 54 + description: Muxed interrupt for both ports 55 + maxItems: 1 56 + 54 57 rockchip,usbgrf: 55 58 $ref: /schemas/types.yaml#/definitions/phandle 56 59 description: ··· 72 67 73 68 interrupts: 74 69 description: host linestate interrupt 70 + maxItems: 1 75 71 76 72 interrupt-names: 77 73 const: linestate ··· 84 78 85 79 required: 86 80 - "#phy-cells" 87 - - interrupts 88 - - interrupt-names 89 81 90 82 otg-port: 91 83 type: object ··· 113 109 114 110 required: 115 111 - "#phy-cells" 116 - - interrupts 117 - - interrupt-names 118 112 119 113 required: 120 114 - compatible ··· 121 119 - "#clock-cells" 122 120 - host-port 123 121 - otg-port 122 + 123 + allOf: 124 + - if: 125 + properties: 126 + compatible: 127 + contains: 128 + const: rockchip,rk3568-usb2phy 129 + 130 + then: 131 + properties: 132 + host-port: 133 + properties: 134 + interrupts: false 135 + 136 + otg-port: 137 + properties: 138 + interrupts: false 139 + 140 + required: 141 + - interrupts 142 + 143 + else: 144 + properties: 145 + interrupts: false 146 + 147 + host-port: 148 + required: 149 + - interrupts 150 + - interrupt-names 151 + 152 + otg-port: 153 + required: 154 + - interrupts 155 + - interrupt-names 124 156 125 157 additionalProperties: false 126 158