From 6d7bf252c8fd73a294310ee4bf5418332f6f0db6 Mon Sep 17 00:00:00 2001 From: Jianwei Zheng Date: Wed, 17 Jul 2024 11:31:30 +0800 Subject: [PATCH] dt-bindings: phy: rockchip-inno-usb2: add gpio-vbus-det and gpio-id-det property This patch adds "rockchip,gpio-vbus-det" and ""rockchip,gpio-id-det" property for otg port when using GPIO for USB vbus and id detection. Change-Id: Id3cb58aea41b6b8807b364db932f42021e2853a8 Signed-off-by: Jianwei Zheng --- .../bindings/phy/phy-rockchip-inno-usb2.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml index 18f9e0ecd9f5..d2f866253f9e 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml @@ -160,6 +160,16 @@ 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,gpio-vbus-det: + $ref: /schemas/types.yaml#/definitions/flag + description: when set, indicates that the otg port will use a gpio + for USB vbus detection. + + rockchip,gpio-id-det: + $ref: /schemas/types.yaml#/definitions/flag + description: when set, indicates that the otg port will use a gpio + for USB id detection. + rockchip,sel-pipe-phystatus: $ref: /schemas/types.yaml#/definitions/flag description: when set, select the pipe phy status from grf for usb