* [PATCH v3 1/2] dt-bindings: usb: gpio-sbu-mux: Add an entry for CBDTU02043 @ 2023-09-27 12:35 Fabio Estevam 2023-09-27 12:35 ` [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required Fabio Estevam 0 siblings, 1 reply; 5+ messages in thread From: Fabio Estevam @ 2023-09-27 12:35 UTC (permalink / raw) To: gregkh Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, andersson, linux-usb, devicetree, jun.li, Fabio Estevam, Conor Dooley From: Fabio Estevam <festevam@denx.de> Add a compatible entry for the NXP CBDTU02043 GPIO-based mux hardware used for connecting, disconnecting and switching orientation of the SBU lines in USB Type-C applications. CBTU02043 datasheet: https://www.nxp.com/docs/en/data-sheet/CBTU02043.pdf Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> --- Changes since v2: - None. Splitted the dt-bindings from the dts changes so that this series can go via the USB tree. Changes since v1: - None. Only collected Conor's Ack. 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 f196beb826d8..b61dcf8b4aad 100644 --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml @@ -19,6 +19,7 @@ properties: compatible: items: - enum: + - nxp,cbdtu02043 - onnn,fsusb43l10x - pericom,pi3usb102 - const: gpio-sbu-mux -- 2.34.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required 2023-09-27 12:35 [PATCH v3 1/2] dt-bindings: usb: gpio-sbu-mux: Add an entry for CBDTU02043 Fabio Estevam @ 2023-09-27 12:35 ` Fabio Estevam 2023-09-28 17:04 ` Conor Dooley 0 siblings, 1 reply; 5+ messages in thread From: Fabio Estevam @ 2023-09-27 12:35 UTC (permalink / raw) To: gregkh Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, andersson, linux-usb, devicetree, jun.li, Fabio Estevam From: Fabio Estevam <festevam@denx.de> On a i.MX8QXP MEK board that has an NXP CBDTU02043 mux, there is no mode-switch, only an orientation switch. Make the 'mode-switch' property a non-required one. Signed-off-by: Fabio Estevam <festevam@denx.de> --- Changes since v2: - Newly introduced. Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml index b61dcf8b4aad..d3b2b666ec2a 100644 --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml @@ -51,7 +51,6 @@ required: - compatible - enable-gpios - select-gpios - - mode-switch - orientation-switch - port -- 2.34.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required 2023-09-27 12:35 ` [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required Fabio Estevam @ 2023-09-28 17:04 ` Conor Dooley 2023-09-29 18:41 ` Fabio Estevam 0 siblings, 1 reply; 5+ messages in thread From: Conor Dooley @ 2023-09-28 17:04 UTC (permalink / raw) To: Fabio Estevam Cc: gregkh, robh+dt, krzysztof.kozlowski+dt, conor+dt, andersson, linux-usb, devicetree, jun.li, Fabio Estevam [-- Attachment #1: Type: text/plain, Size: 1245 bytes --] On Wed, Sep 27, 2023 at 09:35:11AM -0300, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > On a i.MX8QXP MEK board that has an NXP CBDTU02043 mux, there is > no mode-switch, only an orientation switch. > > Make the 'mode-switch' property a non-required one. There seem to be very few compatibles in this file, so I guess everything uses the generic compatible. I'm not expecting you to know why it's like this, but should we add a compatible for this particular mux & only relax the requirement for it specifically? > > Signed-off-by: Fabio Estevam <festevam@denx.de> > --- > Changes since v2: > - Newly introduced. > > Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > index b61dcf8b4aad..d3b2b666ec2a 100644 > --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > @@ -51,7 +51,6 @@ required: > - compatible > - enable-gpios > - select-gpios > - - mode-switch > - orientation-switch > - port > > -- > 2.34.1 > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required 2023-09-28 17:04 ` Conor Dooley @ 2023-09-29 18:41 ` Fabio Estevam 2023-10-09 17:36 ` Conor Dooley 0 siblings, 1 reply; 5+ messages in thread From: Fabio Estevam @ 2023-09-29 18:41 UTC (permalink / raw) To: Conor Dooley Cc: gregkh, robh+dt, krzysztof.kozlowski+dt, conor+dt, andersson, linux-usb, devicetree, jun.li, Fabio Estevam Hi Conor, On Thu, Sep 28, 2023 at 2:04 PM Conor Dooley <conor@kernel.org> wrote: > > On Wed, Sep 27, 2023 at 09:35:11AM -0300, Fabio Estevam wrote: > > From: Fabio Estevam <festevam@denx.de> > > > > On a i.MX8QXP MEK board that has an NXP CBDTU02043 mux, there is > > no mode-switch, only an orientation switch. > > > > Make the 'mode-switch' property a non-required one. > > There seem to be very few compatibles in this file, so I guess > everything uses the generic compatible. I'm not expecting you to know > why it's like this, but should we add a compatible for this particular > mux & only relax the requirement for it specifically? I am not sure. Bjorn, do you have any suggestions, please? > > Signed-off-by: Fabio Estevam <festevam@denx.de> > > --- > > Changes since v2: > > - Newly introduced. > > > > Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > index b61dcf8b4aad..d3b2b666ec2a 100644 > > --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > @@ -51,7 +51,6 @@ required: > > - compatible > > - enable-gpios > > - select-gpios > > - - mode-switch > > - orientation-switch > > - port > > > > -- > > 2.34.1 > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required 2023-09-29 18:41 ` Fabio Estevam @ 2023-10-09 17:36 ` Conor Dooley 0 siblings, 0 replies; 5+ messages in thread From: Conor Dooley @ 2023-10-09 17:36 UTC (permalink / raw) To: Fabio Estevam Cc: gregkh, robh+dt, krzysztof.kozlowski+dt, conor+dt, andersson, linux-usb, devicetree, jun.li, Fabio Estevam [-- Attachment #1: Type: text/plain, Size: 1808 bytes --] On Fri, Sep 29, 2023 at 03:41:58PM -0300, Fabio Estevam wrote: > Hi Conor, > > On Thu, Sep 28, 2023 at 2:04 PM Conor Dooley <conor@kernel.org> wrote: > > > > On Wed, Sep 27, 2023 at 09:35:11AM -0300, Fabio Estevam wrote: > > > From: Fabio Estevam <festevam@denx.de> > > > > > > On a i.MX8QXP MEK board that has an NXP CBDTU02043 mux, there is > > > no mode-switch, only an orientation switch. > > > > > > Make the 'mode-switch' property a non-required one. > > > > There seem to be very few compatibles in this file, so I guess > > everything uses the generic compatible. I'm not expecting you to know > > why it's like this, but should we add a compatible for this particular > > mux & only relax the requirement for it specifically? > > I am not sure. > > Bjorn, do you have any suggestions, please? FWIW, Acked-by: Conor Dooley <conor.dooley@microchip.com> although I do think that adding more compatibles if there is gonna be divergence in capabilities is a good idea.. Cheers, Conor. > > > > Signed-off-by: Fabio Estevam <festevam@denx.de> > > > --- > > > Changes since v2: > > > - Newly introduced. > > > > > > Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 - > > > 1 file changed, 1 deletion(-) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > > index b61dcf8b4aad..d3b2b666ec2a 100644 > > > --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > > +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml > > > @@ -51,7 +51,6 @@ required: > > > - compatible > > > - enable-gpios > > > - select-gpios > > > - - mode-switch > > > - orientation-switch > > > - port > > > > > > -- > > > 2.34.1 > > > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-10-09 17:37 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-09-27 12:35 [PATCH v3 1/2] dt-bindings: usb: gpio-sbu-mux: Add an entry for CBDTU02043 Fabio Estevam 2023-09-27 12:35 ` [PATCH v3 2/2] dt-bindings: usb: gpio-sbu-mux: Make 'mode-switch' not required Fabio Estevam 2023-09-28 17:04 ` Conor Dooley 2023-09-29 18:41 ` Fabio Estevam 2023-10-09 17:36 ` Conor Dooley
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).