linux/drivers/gpu
Heikki Krogerus 76cc14e2fa
drm/xe/i2c: Keep the i2c controller always enabled
Some platforms make an assumption that the i2c controller's
enabled state indicates also the power state of the
controller. This can create a problem when the controller is
in disabled state, because the hardware may assume
incorrectly that it is then also in low-power state.

To fix this, the controller is kept enabled by taking over
the IC_ENABLE register. The controller has to be disabled
when the configuration is updated and when the target
address or the slave address are assigned, so disabling it
when IC_CON, IC_TAR or IC_SAR registers are programmed, and
then re-enabling it again.

Fixes: f0e53aadd7 ("drm/xe: Support for I2C attached MCUs")
Cc: stable@vger.kernel.org
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20260811121008.1493015-4-heikki.krogerus@linux.intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2026-08-24 23:58:27 -04:00
..
drm drm/xe/i2c: Keep the i2c controller always enabled 2026-08-24 23:58:27 -04:00
host1x gpu: host1x: Add Tegra264 support 2026-07-16 20:31:33 +02:00
ipu-v3
nova-core
tests drm/tests/gpu_buddy: add a new test case for buffer clearance during resume 2026-07-21 17:24:37 +05:30
trace
vga
buddy.c
Kconfig
Makefile