* [PATCH 0/2] usb: misc: onboard_usb_hub: add gl3510 support
@ 2023-08-08 10:07 Jerome Brunet
2023-08-08 10:07 ` [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Jerome Brunet
2023-08-08 10:07 ` [PATCH 2/2] usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support Jerome Brunet
0 siblings, 2 replies; 6+ messages in thread
From: Jerome Brunet @ 2023-08-08 10:07 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Jerome Brunet, Da Xue, linux-usb, devicetree, linux-kernel
This patchset adds the bindings and driver support to trigger the reset
pin of the Genesys Logic gl3510 usb hub.
Jerome Brunet (2):
dt-bindings: usb: add device for Genesys Logic hub gl3510
usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support
Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 3 ++-
drivers/usb/misc/onboard_usb_hub.h | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
--
2.40.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510
2023-08-08 10:07 [PATCH 0/2] usb: misc: onboard_usb_hub: add gl3510 support Jerome Brunet
@ 2023-08-08 10:07 ` Jerome Brunet
2023-08-08 10:17 ` Krzysztof Kozlowski
2023-08-10 23:17 ` Rob Herring
2023-08-08 10:07 ` [PATCH 2/2] usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support Jerome Brunet
1 sibling, 2 replies; 6+ messages in thread
From: Jerome Brunet @ 2023-08-08 10:07 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Jerome Brunet, Da Xue, linux-usb, devicetree, linux-kernel
Add gl3510 USB 3 root hub device id
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
index cc4cf92b70d1..a7e7142651f8 100644
--- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
+++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Genesys Logic GL850G USB 2.0 hub controller
+title: Genesys Logic USB hub controller
maintainers:
- Icenowy Zheng <uwu@icenowy.me>
@@ -17,6 +17,7 @@ properties:
enum:
- usb5e3,608
- usb5e3,610
+ - usb5e3.626
reg: true
--
2.40.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support
2023-08-08 10:07 [PATCH 0/2] usb: misc: onboard_usb_hub: add gl3510 support Jerome Brunet
2023-08-08 10:07 ` [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Jerome Brunet
@ 2023-08-08 10:07 ` Jerome Brunet
1 sibling, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2023-08-08 10:07 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Jerome Brunet, Da Xue, linux-usb, devicetree, linux-kernel
Add support for the gl3510 4 ports USB3.1 hub. This allows to control its
reset pins with a gpio.
No public documentation is available for this hub. Using the same reset
duration as the gl852g which seems OK.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
drivers/usb/misc/onboard_usb_hub.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h
index aca5f50eb0da..4b94ea375d45 100644
--- a/drivers/usb/misc/onboard_usb_hub.h
+++ b/drivers/usb/misc/onboard_usb_hub.h
@@ -22,6 +22,10 @@ static const struct onboard_hub_pdata ti_tusb8041_data = {
.reset_us = 3000,
};
+static const struct onboard_hub_pdata genesys_gl3510_data = {
+ .reset_us = 50,
+};
+
static const struct onboard_hub_pdata genesys_gl850g_data = {
.reset_us = 3,
};
@@ -41,6 +45,7 @@ static const struct of_device_id onboard_hub_match[] = {
{ .compatible = "usb451,8142", .data = &ti_tusb8041_data, },
{ .compatible = "usb5e3,608", .data = &genesys_gl850g_data, },
{ .compatible = "usb5e3,610", .data = &genesys_gl852g_data, },
+ { .compatible = "usb5e3,626", .data = &genesys_gl3510_data, },
{ .compatible = "usbbda,411", .data = &realtek_rts5411_data, },
{ .compatible = "usbbda,5411", .data = &realtek_rts5411_data, },
{ .compatible = "usbbda,414", .data = &realtek_rts5411_data, },
--
2.40.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510
2023-08-08 10:07 ` [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Jerome Brunet
@ 2023-08-08 10:17 ` Krzysztof Kozlowski
2023-08-10 23:17 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-08 10:17 UTC (permalink / raw)
To: Jerome Brunet, Greg Kroah-Hartman, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Da Xue, linux-usb, devicetree, linux-kernel
On 08/08/2023 12:07, Jerome Brunet wrote:
> Add gl3510 USB 3 root hub device id
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510
2023-08-08 10:07 ` [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Jerome Brunet
2023-08-08 10:17 ` Krzysztof Kozlowski
@ 2023-08-10 23:17 ` Rob Herring
2023-09-11 16:46 ` Jerome Brunet
1 sibling, 1 reply; 6+ messages in thread
From: Rob Herring @ 2023-08-10 23:17 UTC (permalink / raw)
To: Jerome Brunet
Cc: Greg Kroah-Hartman, Krzysztof Kozlowski, Conor Dooley, Da Xue,
linux-usb, devicetree, linux-kernel
On Tue, Aug 08, 2023 at 12:07:45PM +0200, Jerome Brunet wrote:
> Add gl3510 USB 3 root hub device id
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
> index cc4cf92b70d1..a7e7142651f8 100644
> --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
> +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Genesys Logic GL850G USB 2.0 hub controller
> +title: Genesys Logic USB hub controller
>
> maintainers:
> - Icenowy Zheng <uwu@icenowy.me>
> @@ -17,6 +17,7 @@ properties:
> enum:
> - usb5e3,608
> - usb5e3,610
> + - usb5e3.626
Should be a comma, not a period.
>
> reg: true
>
> --
> 2.40.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510
2023-08-10 23:17 ` Rob Herring
@ 2023-09-11 16:46 ` Jerome Brunet
0 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2023-09-11 16:46 UTC (permalink / raw)
To: Rob Herring
Cc: Greg Kroah-Hartman, Krzysztof Kozlowski, Conor Dooley, Da Xue,
linux-usb, devicetree, linux-kernel
On Thu 10 Aug 2023 at 17:17, Rob Herring <robh@kernel.org> wrote:
> On Tue, Aug 08, 2023 at 12:07:45PM +0200, Jerome Brunet wrote:
>> Add gl3510 USB 3 root hub device id
>>
>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>> ---
>> Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
>> index cc4cf92b70d1..a7e7142651f8 100644
>> --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
>> +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
>> @@ -4,7 +4,7 @@
>> $id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
>> $schema: http://devicetree.org/meta-schemas/core.yaml#
>>
>> -title: Genesys Logic GL850G USB 2.0 hub controller
>> +title: Genesys Logic USB hub controller
>>
>> maintainers:
>> - Icenowy Zheng <uwu@icenowy.me>
>> @@ -17,6 +17,7 @@ properties:
>> enum:
>> - usb5e3,608
>> - usb5e3,610
>> + - usb5e3.626
>
> Should be a comma, not a period.
>
Good catch, thanks a lot
>>
>> reg: true
>>
>> --
>> 2.40.1
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-09-11 21:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 10:07 [PATCH 0/2] usb: misc: onboard_usb_hub: add gl3510 support Jerome Brunet
2023-08-08 10:07 ` [PATCH 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Jerome Brunet
2023-08-08 10:17 ` Krzysztof Kozlowski
2023-08-10 23:17 ` Rob Herring
2023-09-11 16:46 ` Jerome Brunet
2023-08-08 10:07 ` [PATCH 2/2] usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support Jerome Brunet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.