devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports
@ 2022-03-11 12:09 Neumann, Bastian
  2022-03-11 13:07 ` Krzysztof Kozlowski
  2022-03-11 14:48 ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Neumann, Bastian @ 2022-03-11 12:09 UTC (permalink / raw)
  To: devicetree@vger.kernel.org
  Cc: Rob Herring, Richard Leitner, linux-usb@vger.kernel.org

This patch adds devicetree documentation for signal boosting properties.

Signed-off-by: Bastian Neumann <bastian.neumann@dentsplysirona.com>
---
 .../devicetree/bindings/usb/usb251xb.txt      | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt
index 1a934eab175e..538ae49fc31d 100644
--- a/Documentation/devicetree/bindings/usb/usb251xb.txt
+++ b/Documentation/devicetree/bindings/usb/usb251xb.txt
@@ -68,6 +68,26 @@ Optional properties :
  - swap-dx-lanes : Specifies the ports which will swap the differential-pair
        (D+/D-), default is not-swapped.

+Electrical signal boosting
+The controller supplies a "boosting" functionality to drive up the USB
+electrical signals. This could result in non-USB compliant parameters
+(one example would be J/K level test). This should be <0x00> unless specific
+implementation issues requiew additional signal boosting to correct for deraded
+USB signaling levels:
+ - <0x00> : Normal electrical drive strength (no boost)
+ - <0x01> : Elevated drive strength low (~4% boost)
+ - <0x02> : Elevated drive strength medium (~8% boost)
+ - <0x03> : Elevated drive strength high (~12% boost)
+
+ - boost-up : USB electrical signaling drive strength boost for upstream port.
+ - boost-1 :  USB electrical signaling drive strength boost for port 1.
+ - boost-2 :  USB electrical signaling drive strength boost for port 2.
+ - boost-3 :  USB electrical signaling drive strength boost for port 3.
+ - boost-4 :  USB electrical signaling drive strength boost for port 4.
+ - boost-5 :  USB electrical signaling drive strength boost for port 5.
+ - boost-6 :  USB electrical signaling drive strength boost for port 6.
+ - boost-7 :  USB electrical signaling drive strength boost for port 7.
+
 Examples:
        usb2512b@2c {
                compatible = "microchip,usb2512b";
@@ -86,4 +106,6 @@ Examples:
                serial = "1234567890A";
                /* correct misplaced usb connectors on port 1,2 */
                swap-dx-lanes = <1 2>;
+               boost-up = <0x00>; /* no boost for upstream port */
+               boost-1 = <0x02>; /* medium boost on port 1 */
        };
--
2.30.2


-----------------------------------------------------------------------------------------------------------
Sirona Dental Systems GmbH
Sitz der Gesellschaft / registered address: Fabrikstraße 31, 64625 Bensheim
Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948
Geschäftsführer / Managing Director: Dr. Cord Stähler, Jan Siefert, Rainer Raschke
Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker

-----------------------------------------------------------------------------------------------------------


Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
bestimmt und kann vertrauliche Informationen beinhalten.
--
This e-mail is intended only for the designated recipient(s). It may
contain confidential or proprietary information.
------------------------------------------------------------------------------------------------------------

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports
  2022-03-11 12:09 [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports Neumann, Bastian
@ 2022-03-11 13:07 ` Krzysztof Kozlowski
  2022-03-11 14:48 ` Rob Herring
  1 sibling, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-11 13:07 UTC (permalink / raw)
  To: Neumann, Bastian, devicetree@vger.kernel.org
  Cc: Rob Herring, Richard Leitner, linux-usb@vger.kernel.org

On 11/03/2022 13:09, Neumann, Bastian wrote:
> This patch adds devicetree documentation for signal boosting properties.
> 
> Signed-off-by: Bastian Neumann <bastian.neumann@dentsplysirona.com>
> ---
>  .../devicetree/bindings/usb/usb251xb.txt      | 22 +++++++++++++++++++

This looks familiar... is it a v2?

>  1 file changed, 22 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt
> index 1a934eab175e..538ae49fc31d 100644
> --- a/Documentation/devicetree/bindings/usb/usb251xb.txt
> +++ b/Documentation/devicetree/bindings/usb/usb251xb.txt
> @@ -68,6 +68,26 @@ Optional properties :
>   - swap-dx-lanes : Specifies the ports which will swap the differential-pair
>         (D+/D-), default is not-swapped.
> 
> +Electrical signal boosting
> +The controller supplies a "boosting" functionality to drive up the USB
> +electrical signals. This could result in non-USB compliant parameters
> +(one example would be J/K level test). This should be <0x00> unless specific
> +implementation issues requiew additional signal boosting to correct for deraded
> +USB signaling levels:
> + - <0x00> : Normal electrical drive strength (no boost)
> + - <0x01> : Elevated drive strength low (~4% boost)
> + - <0x02> : Elevated drive strength medium (~8% boost)
> + - <0x03> : Elevated drive strength high (~12% boost)
> +
> + - boost-up : USB electrical signaling drive strength boost for upstream port.
> + - boost-1 :  USB electrical signaling drive strength boost for port 1.
> + - boost-2 :  USB electrical signaling drive strength boost for port 2.
> + - boost-3 :  USB electrical signaling drive strength boost for port 3.
> + - boost-4 :  USB electrical signaling drive strength boost for port 4.
> + - boost-5 :  USB electrical signaling drive strength boost for port 5.
> + - boost-6 :  USB electrical signaling drive strength boost for port 6.
> + - boost-7 :  USB electrical signaling drive strength boost for port 7.
> +
>  Examples:
>         usb2512b@2c {
>                 compatible = "microchip,usb2512b";
> @@ -86,4 +106,6 @@ Examples:
>                 serial = "1234567890A";
>                 /* correct misplaced usb connectors on port 1,2 */
>                 swap-dx-lanes = <1 2>;
> +               boost-up = <0x00>; /* no boost for upstream port */
> +               boost-1 = <0x02>; /* medium boost on port 1 */
>         };
> --
> 2.30.2
> 
> 
> -----------------------------------------------------------------------------------------------------------
> Sirona Dental Systems GmbH
> Sitz der Gesellschaft / registered address: Fabrikstraße 31, 64625 Bensheim
> Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948
> Geschäftsführer / Managing Director: Dr. Cord Stähler, Jan Siefert, Rainer Raschke
> Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker
> 
> -----------------------------------------------------------------------------------------------------------
> 
> 
> Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
> bestimmt und kann vertrauliche Informationen beinhalten.
> --
> This e-mail is intended only for the designated recipient(s). It may
> contain confidential or proprietary information.

Please drop it. Since  I am not on recipients list one could think I am
not designated recipient. This defeats entire purpose of public discussion.

Instead to public lists emails which are entirely public.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports
  2022-03-11 12:09 [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports Neumann, Bastian
  2022-03-11 13:07 ` Krzysztof Kozlowski
@ 2022-03-11 14:48 ` Rob Herring
  2022-03-13 20:00   ` Richard Leitner
  1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2022-03-11 14:48 UTC (permalink / raw)
  To: Neumann, Bastian, Tommaso Merciai
  Cc: devicetree@vger.kernel.org, Richard Leitner,
	linux-usb@vger.kernel.org

On Fri, Mar 11, 2022 at 12:09:42PM +0000, Neumann, Bastian wrote:
> This patch adds devicetree documentation for signal boosting properties.
> 
> Signed-off-by: Bastian Neumann <bastian.neumann@dentsplysirona.com>
> ---
>  .../devicetree/bindings/usb/usb251xb.txt      | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)

A popular feature all the sudden. Which one are we supposed to apply? 
This one or this[1]?

Rob

[1] https://lore.kernel.org/all/20220306184720.5350-1-tomm.merciai@gmail.com/

> 
> diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt
> index 1a934eab175e..538ae49fc31d 100644
> --- a/Documentation/devicetree/bindings/usb/usb251xb.txt
> +++ b/Documentation/devicetree/bindings/usb/usb251xb.txt
> @@ -68,6 +68,26 @@ Optional properties :
>   - swap-dx-lanes : Specifies the ports which will swap the differential-pair
>         (D+/D-), default is not-swapped.
> 
> +Electrical signal boosting
> +The controller supplies a "boosting" functionality to drive up the USB
> +electrical signals. This could result in non-USB compliant parameters
> +(one example would be J/K level test). This should be <0x00> unless specific
> +implementation issues requiew additional signal boosting to correct for deraded
> +USB signaling levels:
> + - <0x00> : Normal electrical drive strength (no boost)
> + - <0x01> : Elevated drive strength low (~4% boost)
> + - <0x02> : Elevated drive strength medium (~8% boost)
> + - <0x03> : Elevated drive strength high (~12% boost)
> +
> + - boost-up : USB electrical signaling drive strength boost for upstream port.
> + - boost-1 :  USB electrical signaling drive strength boost for port 1.
> + - boost-2 :  USB electrical signaling drive strength boost for port 2.
> + - boost-3 :  USB electrical signaling drive strength boost for port 3.
> + - boost-4 :  USB electrical signaling drive strength boost for port 4.
> + - boost-5 :  USB electrical signaling drive strength boost for port 5.
> + - boost-6 :  USB electrical signaling drive strength boost for port 6.
> + - boost-7 :  USB electrical signaling drive strength boost for port 7.
> +
>  Examples:
>         usb2512b@2c {
>                 compatible = "microchip,usb2512b";
> @@ -86,4 +106,6 @@ Examples:
>                 serial = "1234567890A";
>                 /* correct misplaced usb connectors on port 1,2 */
>                 swap-dx-lanes = <1 2>;
> +               boost-up = <0x00>; /* no boost for upstream port */
> +               boost-1 = <0x02>; /* medium boost on port 1 */
>         };
> --
> 2.30.2
> 
> 
> -----------------------------------------------------------------------------------------------------------
> Sirona Dental Systems GmbH
> Sitz der Gesellschaft / registered address: Fabrikstraße 31, 64625 Bensheim
> Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948
> Geschäftsführer / Managing Director: Dr. Cord Stähler, Jan Siefert, Rainer Raschke
> Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker
> 
> -----------------------------------------------------------------------------------------------------------
> 
> 
> Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
> bestimmt und kann vertrauliche Informationen beinhalten.
> --
> This e-mail is intended only for the designated recipient(s). It may
> contain confidential or proprietary information.
> ------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports
  2022-03-11 14:48 ` Rob Herring
@ 2022-03-13 20:00   ` Richard Leitner
  2022-03-14 15:38     ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Leitner @ 2022-03-13 20:00 UTC (permalink / raw)
  To: Rob Herring
  Cc: Neumann, Bastian, Tommaso Merciai, devicetree@vger.kernel.org,
	Richard Leitner, linux-usb@vger.kernel.org

On Fri, Mar 11, 2022 at 08:48:17AM -0600, Rob Herring wrote:
> On Fri, Mar 11, 2022 at 12:09:42PM +0000, Neumann, Bastian wrote:
> > This patch adds devicetree documentation for signal boosting properties.
> > 
> > Signed-off-by: Bastian Neumann <bastian.neumann@dentsplysirona.com>
> > ---
> >  .../devicetree/bindings/usb/usb251xb.txt      | 22 +++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> 
> A popular feature all the sudden. Which one are we supposed to apply? 
> This one or this[1]?

This seems to be a superset of the previous patchset from Tommaso.
Therefore I'd definitley vote for this one if a v2 of it [2] gets
merged (it was declined by GregKH because of the e-mail signature and
fomatting issues).

Until then I assume [1] should be applied as it represents the current
master state due to
commit 5c2b9c61ae5d (usb: usb251xb: add boost-up property support, 2022-01-28)
being already merged.

regards;rl

[2] https://lore.kernel.org/linux-usb/PH0PR17MB48482AD591AFD471637B16E28E0C9@PH0PR17MB4848.namprd17.prod.outlook.com/
> 
> Rob
> 
> [1] https://lore.kernel.org/all/20220306184720.5350-1-tomm.merciai@gmail.com/
> 
> > 
> > diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt
> > index 1a934eab175e..538ae49fc31d 100644
> > --- a/Documentation/devicetree/bindings/usb/usb251xb.txt
> > +++ b/Documentation/devicetree/bindings/usb/usb251xb.txt
> > @@ -68,6 +68,26 @@ Optional properties :
> >   - swap-dx-lanes : Specifies the ports which will swap the differential-pair
> >         (D+/D-), default is not-swapped.
> > 
> > +Electrical signal boosting
> > +The controller supplies a "boosting" functionality to drive up the USB
> > +electrical signals. This could result in non-USB compliant parameters
> > +(one example would be J/K level test). This should be <0x00> unless specific
> > +implementation issues requiew additional signal boosting to correct for deraded
> > +USB signaling levels:
> > + - <0x00> : Normal electrical drive strength (no boost)
> > + - <0x01> : Elevated drive strength low (~4% boost)
> > + - <0x02> : Elevated drive strength medium (~8% boost)
> > + - <0x03> : Elevated drive strength high (~12% boost)
> > +
> > + - boost-up : USB electrical signaling drive strength boost for upstream port.
> > + - boost-1 :  USB electrical signaling drive strength boost for port 1.
> > + - boost-2 :  USB electrical signaling drive strength boost for port 2.
> > + - boost-3 :  USB electrical signaling drive strength boost for port 3.
> > + - boost-4 :  USB electrical signaling drive strength boost for port 4.
> > + - boost-5 :  USB electrical signaling drive strength boost for port 5.
> > + - boost-6 :  USB electrical signaling drive strength boost for port 6.
> > + - boost-7 :  USB electrical signaling drive strength boost for port 7.
> > +
> >  Examples:
> >         usb2512b@2c {
> >                 compatible = "microchip,usb2512b";
> > @@ -86,4 +106,6 @@ Examples:
> >                 serial = "1234567890A";
> >                 /* correct misplaced usb connectors on port 1,2 */
> >                 swap-dx-lanes = <1 2>;
> > +               boost-up = <0x00>; /* no boost for upstream port */
> > +               boost-1 = <0x02>; /* medium boost on port 1 */
> >         };
> > --
> > 2.30.2
> > 
> > 
> > -----------------------------------------------------------------------------------------------------------
> > Sirona Dental Systems GmbH
> > Sitz der Gesellschaft / registered address: Fabrikstraße 31, 64625 Bensheim
> > Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948
> > Geschäftsführer / Managing Director: Dr. Cord Stähler, Jan Siefert, Rainer Raschke
> > Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker
> > 
> > -----------------------------------------------------------------------------------------------------------
> > 
> > 
> > Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
> > bestimmt und kann vertrauliche Informationen beinhalten.
> > --
> > This e-mail is intended only for the designated recipient(s). It may
> > contain confidential or proprietary information.
> > ------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports
  2022-03-13 20:00   ` Richard Leitner
@ 2022-03-14 15:38     ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2022-03-14 15:38 UTC (permalink / raw)
  To: Richard Leitner
  Cc: Neumann, Bastian, Tommaso Merciai, devicetree@vger.kernel.org,
	Richard Leitner, linux-usb@vger.kernel.org

On Sun, Mar 13, 2022 at 09:00:32PM +0100, Richard Leitner wrote:
> On Fri, Mar 11, 2022 at 08:48:17AM -0600, Rob Herring wrote:
> > On Fri, Mar 11, 2022 at 12:09:42PM +0000, Neumann, Bastian wrote:
> > > This patch adds devicetree documentation for signal boosting properties.
> > > 
> > > Signed-off-by: Bastian Neumann <bastian.neumann@dentsplysirona.com>
> > > ---
> > >  .../devicetree/bindings/usb/usb251xb.txt      | 22 +++++++++++++++++++
> > >  1 file changed, 22 insertions(+)
> > 
> > A popular feature all the sudden. Which one are we supposed to apply? 
> > This one or this[1]?
> 
> This seems to be a superset of the previous patchset from Tommaso.
> Therefore I'd definitley vote for this one if a v2 of it [2] gets
> merged (it was declined by GregKH because of the e-mail signature and
> fomatting issues).
> 
> Until then I assume [1] should be applied as it represents the current
> master state due to
> commit 5c2b9c61ae5d (usb: usb251xb: add boost-up property support, 2022-01-28)
> being already merged.

No, because there are changes requested on [1]. And I guess fixes will 
be needed to the driver too if it already got picked up.

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-14 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11 12:09 [PATCH 2/2] dt-bindings: usb: USB2512x boost value for up- and downstream ports Neumann, Bastian
2022-03-11 13:07 ` Krzysztof Kozlowski
2022-03-11 14:48 ` Rob Herring
2022-03-13 20:00   ` Richard Leitner
2022-03-14 15:38     ` Rob Herring

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).