mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] scripts: imx-usb-loader: add i.MX8MN support
Date: Fri,  5 Aug 2022 10:07:54 +0200	[thread overview]
Message-ID: <20220805080754.1622205-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2022-08-05  8:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05  8:07 Ahmad Fatoum [this message]
2022-08-08 12:46 ` Sascha Hauer

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=20220805080754.1622205-1-a.fatoum@pengutronix.de \
    --to=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