Message ID | 20241212-x1e80100-qcp-dp-v1-1-37cb362a0dfe@linaro.org |
---|---|
State | New |
Headers | show |
Series | Add FSUSB42 USB switch and external DP for Qualcomm X1E80100 QCP | expand |
On Thu, Dec 12, 2024 at 02:08:23PM +0100, Stephan Gerhold wrote: > Add a compatible entry for the onsemi FSUSB42 USB switch, which can be used > for switching orientation of the SBU lines in USB Type-C applications. > > Drivers work as-is with the existing fallback compatible. > > Link to datasheet: https://www.onsemi.com/pdf/datasheet/fsusb42-d.pdf > > Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org> > --- > Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > index 8a5f837eff94b27bbd55bfe45f8d1156e3d183eb..e588514fab2d8c9d0d3717865fe2e733664fc28b 100644 > --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > @@ -20,6 +20,7 @@ properties: > items: > - enum: > - nxp,cbdtu02043 > + - onnn,fsusb42 > - onnn,fsusb43l10x Is it different from onnn,fsusb43l10x? Best regards, Krzysztof
On Fri, Dec 13, 2024 at 12:07:35PM +0100, Krzysztof Kozlowski wrote: > On Thu, Dec 12, 2024 at 02:08:23PM +0100, Stephan Gerhold wrote: > > Add a compatible entry for the onsemi FSUSB42 USB switch, which can be used > > for switching orientation of the SBU lines in USB Type-C applications. > > > > Drivers work as-is with the existing fallback compatible. > > > > Link to datasheet: https://www.onsemi.com/pdf/datasheet/fsusb42-d.pdf > > > > Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org> > > --- > > Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > index 8a5f837eff94b27bbd55bfe45f8d1156e3d183eb..e588514fab2d8c9d0d3717865fe2e733664fc28b 100644 > > --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > @@ -20,6 +20,7 @@ properties: > > items: > > - enum: > > - nxp,cbdtu02043 > > + - onnn,fsusb42 > > - onnn,fsusb43l10x > > Is it different from onnn,fsusb43l10x? > Yes, it's a different chip: https://www.onsemi.com/pdf/datasheet/fsusb42-d.pdf vs https://www.onsemi.com/download/data-sheet/pdf/fsusb43-d.pdf They are probably quite similar, but the fact that the usage/programming model is compatible is already represented by the fallback "gpio-sbu-mux" compatible. So I think my patch adds it correctly? Thanks, Stephan
diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml index 8a5f837eff94b27bbd55bfe45f8d1156e3d183eb..e588514fab2d8c9d0d3717865fe2e733664fc28b 100644 --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml @@ -20,6 +20,7 @@ properties: items: - enum: - nxp,cbdtu02043 + - onnn,fsusb42 - onnn,fsusb43l10x - pericom,pi3usb102 - ti,tmuxhs4212
Add a compatible entry for the onsemi FSUSB42 USB switch, which can be used for switching orientation of the SBU lines in USB Type-C applications. Drivers work as-is with the existing fallback compatible. Link to datasheet: https://www.onsemi.com/pdf/datasheet/fsusb42-d.pdf Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org> --- Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 + 1 file changed, 1 insertion(+)