From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] usb: misc: onboard_hub: sync compatibles with kernel
Date: Mon, 17 Apr 2023 08:58:50 +0200 [thread overview]
Message-ID: <20230417065850.GH13543@pengutronix.de> (raw)
In-Reply-To: <20230414141703.3112251-1-a.fatoum@pengutronix.de>
On Fri, Apr 14, 2023 at 04:17:03PM +0200, Ahmad Fatoum wrote:
> A couple more USB hub compatibles ave been added to the kernel in the
> meantime, so let's import them.
>
> While at it, make onboard_hub_match static. It's not used anywhere else.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> drivers/usb/misc/onboard_usb_hub.h | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h
> index e90be47b6735..aca5f50eb0da 100644
> --- a/drivers/usb/misc/onboard_usb_hub.h
> +++ b/drivers/usb/misc/onboard_usb_hub.h
> @@ -22,14 +22,31 @@ static const struct onboard_hub_pdata ti_tusb8041_data = {
> .reset_us = 3000,
> };
>
> -const struct of_device_id onboard_hub_match[] = {
> +static const struct onboard_hub_pdata genesys_gl850g_data = {
> + .reset_us = 3,
> +};
> +
> +static const struct onboard_hub_pdata genesys_gl852g_data = {
> + .reset_us = 50,
> +};
> +
> +static const struct onboard_hub_pdata vialab_vl817_data = {
> + .reset_us = 10,
> +};
> +
> +static const struct of_device_id onboard_hub_match[] = {
> { .compatible = "usb424,2514", .data = µchip_usb424_data, },
> + { .compatible = "usb424,2517", .data = µchip_usb424_data, },
> { .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
> { .compatible = "usb451,8142", .data = &ti_tusb8041_data, },
> + { .compatible = "usb5e3,608", .data = &genesys_gl850g_data, },
> + { .compatible = "usb5e3,610", .data = &genesys_gl852g_data, },
> { .compatible = "usbbda,411", .data = &realtek_rts5411_data, },
> { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, },
> { .compatible = "usbbda,414", .data = &realtek_rts5411_data, },
> { .compatible = "usbbda,5414", .data = &realtek_rts5411_data, },
> + { .compatible = "usb2109,817", .data = &vialab_vl817_data, },
> + { .compatible = "usb2109,2817", .data = &vialab_vl817_data, },
> {}
> };
>
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2023-04-17 7:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 14:17 Ahmad Fatoum
2023-04-17 6:58 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230417065850.GH13543@pengutronix.de \
--to=sha@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox