Re: [PATCH v2 2/3] drm/xe/i2c: Handler for SMBus Alerts

From: Heikki Krogerus

Date: Tue Jun 30 2026 - 06:43:08 EST


On Tue, Jun 30, 2026 at 12:28:08PM +0200, Raag Jadav wrote:
> On Thu, Jun 25, 2026 at 02:59:38PM +0200, Heikki Krogerus wrote:
> > Some devices that are attached to the I2C controller use the
> > SMBus Alert signal for example to inform the host about
> > thermal events, so registering the default SMBus Alert
> > device for them. The alert device makes sure that the alert
> > is processed and passed to the correct I2C client driver.
>
> ...
>
> > +enum XE_I2C_CLIENT {
> > + XE_I2C_CLIENT_AMC,
> > + XE_I2C_CLIENT_ALERT,
>
> Forgot to add, with this I think you can move XE_I2C_MAX_CLIENTS define
> here.

Ah, makes sense. I'll fix that.

Thanks!

--
heikki