2024-01-30 07:35:52

by Stefan Eichenberger

[permalink] [raw]
Subject: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement

From: Stefan Eichenberger <[email protected]>

The peer-hub is used to model the relationship between the USB 2 and USB
3 hub. However, it is possible to only connect USB 2 without having
USB 3. Therefore, the peer-hub property should not be marked as required.

Signed-off-by: Stefan Eichenberger <[email protected]>
---
Documentation/devicetree/bindings/usb/microchip,usb5744.yaml | 2 --
1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml
index 6d4cfd943f58..14dbb70b08fa 100644
--- a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml
+++ b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml
@@ -71,8 +71,6 @@ allOf:
i2c-bus: false
else:
$ref: /schemas/usb/usb-device.yaml
- required:
- - peer-hub

additionalProperties: false

--
2.40.1



2024-01-30 08:50:37

by Francesco Dolcini

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement

On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote:
> From: Stefan Eichenberger <[email protected]>
>
> The peer-hub is used to model the relationship between the USB 2 and USB
> 3 hub. However, it is possible to only connect USB 2 without having
> USB 3. Therefore, the peer-hub property should not be marked as required.

This was noticed while adding this HUB in the DTS on a board in which
USB3 is not supported. To some extent this is fix.

> Signed-off-by: Stefan Eichenberger <[email protected]>
Reviewed-by: Francesco Dolcini <[email protected]>

Francesco


2024-01-30 11:31:52

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement



On 1/30/24 08:35, Stefan Eichenberger wrote:
> From: Stefan Eichenberger <[email protected]>
>
> The peer-hub is used to model the relationship between the USB 2 and USB
> 3 hub. However, it is possible to only connect USB 2 without having
> USB 3. Therefore, the peer-hub property should not be marked as required.
>
> Signed-off-by: Stefan Eichenberger <[email protected]>
> ---
> Documentation/devicetree/bindings/usb/microchip,usb5744.yaml | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml
> index 6d4cfd943f58..14dbb70b08fa 100644
> --- a/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml
> +++ b/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml
> @@ -71,8 +71,6 @@ allOf:
> i2c-bus: false
> else:
> $ref: /schemas/usb/usb-device.yaml
> - required:
> - - peer-hub
>
> additionalProperties: false
>

Looks good.

Reviewed-by: Michal Simek <[email protected]>

Thanks,
Michal

2024-01-30 17:59:06

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement

On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote:
> From: Stefan Eichenberger <[email protected]>
>
> The peer-hub is used to model the relationship between the USB 2 and USB
> 3 hub. However, it is possible to only connect USB 2 without having
> USB 3. Therefore, the peer-hub property should not be marked as required.
>
> Signed-off-by: Stefan Eichenberger <[email protected]>

Acked-by: Conor Dooley <[email protected]>

Cheers,
Conor.


Attachments:
(No filename) (511.00 B)
signature.asc (235.00 B)
Download all attachments

2024-02-09 08:17:24

by Stefan Eichenberger

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement

Hi Greg,

On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote:
> From: Stefan Eichenberger <[email protected]>
>
> The peer-hub is used to model the relationship between the USB 2 and USB
> 3 hub. However, it is possible to only connect USB 2 without having
> USB 3. Therefore, the peer-hub property should not be marked as required.

I just wanted to ask if everything is okay with the patch and if its
fine to apply it or if it needs some updates?

Regards,
Stefan

2024-02-09 09:41:05

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement

On Fri, Feb 09, 2024 at 09:17:02AM +0100, Stefan Eichenberger wrote:
> Hi Greg,
>
> On Tue, Jan 30, 2024 at 08:35:05AM +0100, Stefan Eichenberger wrote:
> > From: Stefan Eichenberger <[email protected]>
> >
> > The peer-hub is used to model the relationship between the USB 2 and USB
> > 3 hub. However, it is possible to only connect USB 2 without having
> > USB 3. Therefore, the peer-hub property should not be marked as required.
>
> I just wanted to ask if everything is okay with the patch and if its
> fine to apply it or if it needs some updates?

That was only 10 days ago, please give us a chance to catch up on
reviews.

In the meantime, while waiting, please review other changes on the
lists, that way yours moves higher up in the queue. Any reason why you
can't do that now?

thanks,

greg k-h