linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/5] drm/xe: i2c support
@ 2025-07-01 12:22 Heikki Krogerus
  2025-07-01 12:22 ` [PATCH v6 1/5] i2c: designware: Use polling by default when there is no irq resource Heikki Krogerus
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Heikki Krogerus @ 2025-07-01 12:22 UTC (permalink / raw)
  To: Lucas De Marchi, Thomas Hellström, Rodrigo Vivi
  Cc: Jarkko Nikula, David Airlie, Simona Vetter, Andy Shevchenko,
	Mika Westerberg, Jan Dabros, Andi Shyti, Raag Jadav, Tauro, Riana,
	Adatrao, Srinivasa, Michael J. Ruhl, intel-xe, linux-i2c,
	linux-kernel

Hi,

Changed since v5:
- The modification to the dw_i2c_plat_probe() is split into its own
  patch as proposed by Andi.
- I removed completely the comment from the last patch in the series
  ("drm/xe/xe_i2c: Add support for i2c in survivability mode").

Changed since v4:
- Cleanups requested by Andy.
- Casting the PCI power modes to make sparse happy - Raag.
- Limiting the use of this thing to Battlemage again. But I'm not sure
  if this is the correct thing to do.

Changed since v3:
- Cleanups as requested by Rodrigo.
- The licence is now changed, but still need confirmation for it!

Changed since v2:
- Added dependency on regmap when i2c is enabled.

Changed since v1:
- Now rebased on top of drm-tip.
- No longer ignoring errors from xe_i2c_probe().
- Cleanups pointed out by Lucas.

I've also included followup patches from Raag and Riana to this
series.

Original cover letter:

Some of the future GPUs will provide access to the on-board Synopsys
DesignWare I2C host adapter. The i2c is used to connect various
microcontrollers. The initially supported microcontroller unit is
called Add-In Management Controller (AMC).

Thanks,

Heikki Krogerus (3):
  i2c: designware: Use polling by default when there is no irq resource
  i2c: designware: Add quirk for Intel Xe
  drm/xe: Support for I2C attached MCUs

Raag Jadav (1):
  drm/xe/pm: Wire up suspend/resume for I2C controller

Riana Tauro (1):
  drm/xe/xe_i2c: Add support for i2c in survivability mode

 drivers/gpu/drm/xe/Kconfig                  |   1 +
 drivers/gpu/drm/xe/Makefile                 |   1 +
 drivers/gpu/drm/xe/regs/xe_i2c_regs.h       |  20 ++
 drivers/gpu/drm/xe/regs/xe_irq_regs.h       |   1 +
 drivers/gpu/drm/xe/regs/xe_pmt.h            |   2 +-
 drivers/gpu/drm/xe/regs/xe_regs.h           |   2 +
 drivers/gpu/drm/xe/xe_device.c              |   5 +
 drivers/gpu/drm/xe/xe_device_types.h        |   4 +
 drivers/gpu/drm/xe/xe_i2c.c                 | 329 ++++++++++++++++++++
 drivers/gpu/drm/xe/xe_i2c.h                 |  62 ++++
 drivers/gpu/drm/xe/xe_irq.c                 |   2 +
 drivers/gpu/drm/xe/xe_pm.c                  |   9 +
 drivers/gpu/drm/xe/xe_survivability_mode.c  |  19 +-
 drivers/i2c/busses/i2c-designware-platdrv.c |  18 +-
 14 files changed, 460 insertions(+), 15 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_i2c_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_i2c.c
 create mode 100644 drivers/gpu/drm/xe/xe_i2c.h

-- 
2.47.2


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

end of thread, other threads:[~2025-07-10 14:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-01 12:22 [PATCH v6 0/5] drm/xe: i2c support Heikki Krogerus
2025-07-01 12:22 ` [PATCH v6 1/5] i2c: designware: Use polling by default when there is no irq resource Heikki Krogerus
2025-07-01 12:42   ` Andy Shevchenko
2025-07-01 12:55     ` Heikki Krogerus
2025-07-01 13:50       ` Andy Shevchenko
2025-07-01 16:31   ` Andi Shyti
2025-07-01 12:22 ` [PATCH v6 2/5] i2c: designware: Add quirk for Intel Xe Heikki Krogerus
2025-07-01 16:32   ` Andi Shyti
2025-07-01 12:22 ` [PATCH v6 3/5] drm/xe: Support for I2C attached MCUs Heikki Krogerus
2025-07-01 12:22 ` [PATCH v6 4/5] drm/xe/pm: Wire up suspend/resume for I2C controller Heikki Krogerus
2025-07-01 12:22 ` [PATCH v6 5/5] drm/xe/xe_i2c: Add support for i2c in survivability mode Heikki Krogerus
2025-07-02 17:18 ` [PATCH v6 0/5] drm/xe: i2c support Andi Shyti
2025-07-02 21:52   ` Rodrigo Vivi
2025-07-03 17:41     ` Andi Shyti
2025-07-10 14:22       ` Rodrigo Vivi

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).