mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] scripts: imx-usb-loader: add i.MX8MN support
@ 2022-08-05  8:07 Ahmad Fatoum
  2022-08-08 12:46 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-08-05  8:07 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

Add VID/PID for i.MX8MN imx-usb-loader support. Everything else is
equivalent to the i.MX8MP, which also speaks SDPS instead of the older
more complicated SDP.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 scripts/imx/imx-usb-loader.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index 450ee143546d..fcc3ffc5d1b1 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -189,6 +189,14 @@ static const struct mach_id imx_ids[] = {
 		.max_transfer = 1020,
 		.mode = MODE_HID,
 		.hid_endpoint = 1,
+	}, {
+		.vid = 0x1fc9,
+		.pid = 0x013e,
+		.name = "i.MX8MN",
+		.header_type = HDR_MX53,
+		.max_transfer = 1020,
+		.dev_type = MODE_HID,
+		.hid_endpoint = 1,
 	}, {
 		.vid = 0x1fc9,
 		.pid = 0x012b,
-- 
2.30.2




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

* Re: [PATCH] scripts: imx-usb-loader: add i.MX8MN support
  2022-08-05  8:07 [PATCH] scripts: imx-usb-loader: add i.MX8MN support Ahmad Fatoum
@ 2022-08-08 12:46 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-08-08 12:46 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Fri, Aug 05, 2022 at 10:07:54AM +0200, Ahmad Fatoum wrote:
> Add VID/PID for i.MX8MN imx-usb-loader support. Everything else is
> equivalent to the i.MX8MP, which also speaks SDPS instead of the older
> more complicated SDP.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  scripts/imx/imx-usb-loader.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
> index 450ee143546d..fcc3ffc5d1b1 100644
> --- a/scripts/imx/imx-usb-loader.c
> +++ b/scripts/imx/imx-usb-loader.c
> @@ -189,6 +189,14 @@ static const struct mach_id imx_ids[] = {
>  		.max_transfer = 1020,
>  		.mode = MODE_HID,
>  		.hid_endpoint = 1,
> +	}, {
> +		.vid = 0x1fc9,
> +		.pid = 0x013e,
> +		.name = "i.MX8MN",
> +		.header_type = HDR_MX53,
> +		.max_transfer = 1020,
> +		.dev_type = MODE_HID,
> +		.hid_endpoint = 1,
>  	}, {
>  		.vid = 0x1fc9,
>  		.pid = 0x012b,
> -- 
> 2.30.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 |



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

end of thread, other threads:[~2022-08-08 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05  8:07 [PATCH] scripts: imx-usb-loader: add i.MX8MN support Ahmad Fatoum
2022-08-08 12:46 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox