linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/thunderbolt: Enable NVM upgrade support on Intel Maple Ridge
@ 2024-04-05  4:11 Alex James
  2024-04-08  4:49 ` Mika Westerberg
  0 siblings, 1 reply; 2+ messages in thread
From: Alex James @ 2024-04-05  4:11 UTC (permalink / raw)
  To: linux-usb
  Cc: Andreas Noever, Michael Jamet, Mika Westerberg, Yehezkel Bernat,
	Alex James

Intel Maple Ridge supports NVM firmware upgrade with the same flows used
on previous discrete Thunderbolt contollers from Intel (such as Titan
Ridge). Advertise NVM upgrade support for Maple Ridge in icm_probe() to
expose the corresponding files in /sys/bus/thunderbolt. The NVM firmware
process was successfully tested on a system with a JHL8540 controller
(ASUS ProArt Z790-CREATOR).

Signed-off-by: Alex James <git@alextjam.es>
---
 drivers/thunderbolt/icm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/thunderbolt/icm.c b/drivers/thunderbolt/icm.c
index baf10d099c77..7859bccc592d 100644
--- a/drivers/thunderbolt/icm.c
+++ b/drivers/thunderbolt/icm.c
@@ -2532,6 +2532,7 @@ struct tb *icm_probe(struct tb_nhi *nhi)
 
 	case PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_2C_NHI:
 	case PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_4C_NHI:
+		icm->can_upgrade_nvm = true;
 		icm->is_supported = icm_tgl_is_supported;
 		icm->get_mode = icm_ar_get_mode;
 		icm->driver_ready = icm_tr_driver_ready;
-- 
2.44.0


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

* Re: [PATCH] drivers/thunderbolt: Enable NVM upgrade support on Intel Maple Ridge
  2024-04-05  4:11 [PATCH] drivers/thunderbolt: Enable NVM upgrade support on Intel Maple Ridge Alex James
@ 2024-04-08  4:49 ` Mika Westerberg
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2024-04-08  4:49 UTC (permalink / raw)
  To: Alex James; +Cc: linux-usb, Andreas Noever, Michael Jamet, Yehezkel Bernat

On Thu, Apr 04, 2024 at 11:11:52PM -0500, Alex James wrote:
> Intel Maple Ridge supports NVM firmware upgrade with the same flows used
> on previous discrete Thunderbolt contollers from Intel (such as Titan
> Ridge). Advertise NVM upgrade support for Maple Ridge in icm_probe() to
> expose the corresponding files in /sys/bus/thunderbolt. The NVM firmware
> process was successfully tested on a system with a JHL8540 controller
> (ASUS ProArt Z790-CREATOR).
> 
> Signed-off-by: Alex James <git@alextjam.es>

Applied to thunderbolt.git/next, thanks!

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

end of thread, other threads:[~2024-04-08  4:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-05  4:11 [PATCH] drivers/thunderbolt: Enable NVM upgrade support on Intel Maple Ridge Alex James
2024-04-08  4:49 ` Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).