Messages in this thread Patch in this message | | | From | Krishna Kurapati <> | Subject | [RFC PATCH 1/2] dt-bindings: connector: Add gpio-usb-c-connector compatible | Date | Fri, 29 Mar 2024 12:49:47 +0530 |
| |
QDU1000 IDP [1] has a Type-c connector and supports USB 3.0. However it relies on usb-conn-gpio driver to read the vbus and id gpio's and provide role switch. However the driver currently has only gpio-b-connector compatible present in ID table. Adding that in DT would mean that the device supports Type-B connector and not Type-c connector.
Add gpio-usb-c-connector compatible to the driver to support such cases.
[1]: https://lore.kernel.org/all/20240319091020.15137-3-quic_kbajaj@quicinc.com/
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> --- Documentation/devicetree/bindings/connector/usb-connector.yaml | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml index fb216ce68bb3..2af27793c639 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml @@ -30,6 +30,9 @@ properties: - const: samsung,usb-connector-11pin - const: usb-b-connector + - items: + - const: gpio-usb-c-connector + reg: maxItems: 1 -- 2.34.1
| |