From 70474e963331ffd08ee6b9e822c1ac37ed3d90eb Mon Sep 17 00:00:00 2001 From: William Wu Date: Wed, 12 Jan 2022 19:18:23 +0800 Subject: [PATCH] dt-bindings: phy: rockchip-inno-usb2: add properties for pipe sel The rk3588 usb otg0/1 controllers depend on the pipe phystatus which from usb3 phy by default. When the usb3 phy is disabled, it needs to select the pipe phystatus from usb grf. This patches add new properties to select pipe phystatus if needed. Signed-off-by: William Wu Change-Id: I50b6c7ece87913af3152204da60727140d82bc3d --- .../bindings/phy/phy-rockchip-inno-usb2.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml index 35b74857a275..7bf6d2cdca07 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml @@ -70,6 +70,13 @@ properties: When set the driver will request its phandle as one companion-grf for some special SoCs (e.g rv1108). + rockchip,usbctrl-grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon managing the 'usb ctrl general register files'. + When set the driver will request its phandle as the + usb controller grf for some SoCs (e.g rk3588). + rockchip,u2phy-tuning: $ref: /schemas/types.yaml#/definitions/flag description: when set, tuning u2phy to improve usb2 SI. @@ -152,6 +159,12 @@ properties: description: when set, check the vbus status from grf con for Type-C interface. It's used when the vbusdet pin is always pulled up. + rockchip,sel-pipe-phystatus: + $ref: /schemas/types.yaml#/definitions/flag + description: when set, select the pipe phy status from grf for usb + controller. It's used when the usb3 phy is disabled, and it needs + to combine with the usbctrl-grf. + required: - "#phy-cells" - interrupts