Re: [PATCH v2 3/3] drm/xe/mcu_i2c: Take over control of the controller enabling
From: Raag Jadav
Date: Tue Jun 30 2026 - 04:46:48 EST
On Thu, Jun 25, 2026 at 02:59:39PM +0200, Heikki Krogerus wrote:
> 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.
I don't have enough context here, so I'll leave this one to the
maintainers.
Raag