]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Support for I2C attached MCUs
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 1 Jul 2025 12:22:50 +0000 (15:22 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 10 Jul 2025 14:19:41 +0000 (10:19 -0400)
commitf0e53aadd702c64b2c2090996751c9be043f9e80
treec3cedea5163d3aa36120d000397095d8d94b891d
parentf6a8e9f3de4567c71ef9f5f13719df69a8b96081
drm/xe: Support for I2C attached MCUs

Adding adaption/glue layer where the I2C host adapter
(Synopsys DesignWare I2C adapter) and the I2C clients (the
microcontroller units) are enumerated.

The microcontroller units (MCU) that are attached to the GPU
depend on the OEM. The initially supported MCU will be the
Add-In Management Controller (AMC).

Co-developed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20250701122252.2590230-4-heikki.krogerus@linux.intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[Rodrigo fixed the co-developed tags and SPDX format in the .c file]
drivers/gpu/drm/xe/Kconfig
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/regs/xe_i2c_regs.h [new file with mode: 0644]
drivers/gpu/drm/xe/regs/xe_irq_regs.h
drivers/gpu/drm/xe/regs/xe_pmt.h
drivers/gpu/drm/xe/regs/xe_regs.h
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_i2c.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_i2c.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_irq.c