public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Hans de Goede <hansg@kernel.org>
Cc: Israel Cepeda <israel.a.cepeda.lopez@intel.com>,
	Andi Shyti <andi.shyti@kernel.org>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	linux-i2c@vger.kernel.org
Subject: Re: [PATCH 1/2] i2c: usbio: Add ACPI device-id for MTL-CVF devices
Date: Thu, 2 Oct 2025 12:18:25 +0300	[thread overview]
Message-ID: <aN5DYZpX1TbF5aLm@kekkonen.localdomain> (raw)
In-Reply-To: <e6b6d0b3-06a9-4fd6-8dff-7bbe94c76744@kernel.org>

Hi Hans,

On Thu, Oct 02, 2025 at 10:56:47AM +0200, Hans de Goede wrote:
> Hi,
> 
> First of all I messed up the git format-patch command,
> there is no second patch in this series.
> 
> (at least not for the i2c subsystem. There is a similar GPIO
> patch but I send that out separately)
> 
> On 1-Oct-25 11:58 PM, Sakari Ailus wrote:
> > Hi Hans,
> > 
> > On Wed, Oct 01, 2025 at 11:23:10PM +0200, Hans de Goede wrote:
> >> Add "INTC10D2" ACPI device-id for MTL-CVF devices, like the Dell Latitude
> >> 7450.
> >>
> >> Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2368506
> >> Signed-off-by: Hans de Goede <hansg@kernel.org>
> >> ---
> >> Note this applies on top of the addition of the new i2c-usbio driver which
> >> is being merged through gregkh/usb.git usb-next
> >> ---
> >>  drivers/i2c/busses/i2c-usbio.c | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/drivers/i2c/busses/i2c-usbio.c b/drivers/i2c/busses/i2c-usbio.c
> >> index d42f9ab6e9a5..e7799abf6787 100644
> >> --- a/drivers/i2c/busses/i2c-usbio.c
> >> +++ b/drivers/i2c/busses/i2c-usbio.c
> >> @@ -27,6 +27,7 @@ static const struct acpi_device_id usbio_i2c_acpi_hids[] = {
> >>  	{ "INTC1008" }, /* MTL */
> >>  	{ "INTC10B3" }, /* ARL */
> >>  	{ "INTC10B6" }, /* LNL */
> >> +	{ "INTC10D2" }, /* MTL-CVF */
> > 
> > INTC10D2 is apparently already claimed by the LJCA I²C driver. Do you have
> > an actual system that uses USBIO and this HID?
> 
> Yes, see the Closes: tag which points to a bug-report which such a system:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=2368506
> 
> Let me also reply to your other comment here:
> 
> >> INTC10D2 is apparently already claimed by the LJCA I²C driver. Do you have
> >> an actual system that uses USBIO and this HID?
> > 
> > Actually it looks like i2c-ljca.c shouldn't list this HID. The same
> > probably goes for all 10CF--10D3.
> 
> I would not be so sure of this, there are at least some Dell systems
> which use a combination of ljca and Meteor Lake and I believe these
> do use the "INTC10D2" HID with LJCA for the I2C part and the same
> goes for the GPIO / SPI parts.. One example of such a system is
> the Dell Precision 5490.

LJCA on MTL is supposed to be 1008. Do you have the *SDT so we could verify
this?

> 
> The way these Intel uses these HIDs is really weird they seem to
> simply mean "I2C" on *a* USBIO expander with this generation CPU.

I can assure you I have nothing to do with this ACPI ID usage scheme. :-)

> 
> Where there really seems no reason to change the HID for CPU
> generations, where as it would be a good reason to change the HID
> if the actual USBIO expander is different ...

That's indeed supposed to be the case. Also the _HID should always reflect
the actual device and only _CID should indicate it's compatible with
something else. But that BIOS is already out there so there's little that
can be done to it anyway. :-\

-- 
Regards,

Sakari Ailus

  reply	other threads:[~2025-10-02  9:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-01 21:23 [PATCH 1/2] i2c: usbio: Add ACPI device-id for MTL-CVF devices Hans de Goede
2025-10-01 21:58 ` Sakari Ailus
2025-10-01 22:09   ` Sakari Ailus
2025-10-02  8:56   ` Hans de Goede
2025-10-02  9:18     ` Sakari Ailus [this message]
2025-10-02 12:03       ` Hans de Goede
2025-10-02 13:04       ` Hans de Goede
2025-10-02 15:52         ` Cepeda Lopez, Israel A
2025-10-02 17:49           ` Hans de Goede
2025-10-02 18:05             ` Cepeda Lopez, Israel A
2025-10-04 14:03               ` Hans de Goede
2025-10-09  1:50                 ` Cepeda Lopez, Israel A
2025-10-06  6:29         ` Sakari Ailus
2025-10-14 11:58 ` Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aN5DYZpX1TbF5aLm@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=andi.shyti@kernel.org \
    --cc=hansg@kernel.org \
    --cc=israel.a.cepeda.lopez@intel.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox