Re: [PATCH v3] platform: int3472: discrete: Support multiple HIDs per GPIO map entry
Sakari Ailus <[email protected]> Tue, 28 Jul 2026 21:06:04 +0300
| Newsgroups | org.kernel.vger.platform-driver-x86,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
Hi Tarang, On Fri, Jul 24, 2026 at 04:23:13PM +0530, Tarang Raval wrote: > Each int3472_gpio_map entry currently maps exactly one ACPI HID to a > GPIO quirk. As more sensors needing the same quirk are identified, this > means adding a full duplicate table entry per HID, differing only in > the HID string, which does not scale. > > Change int3472_gpio_map::hid to a NULL-terminated hids array so a > single entry can match any number of ACPI HIDs, letting new HIDs be > added to the relevant array instead of duplicating quirk entries. > > Suggested-by: Sakari Ailus <[email protected]> > Signed-off-by: Tarang Raval <[email protected]> > Tested-by: Kate Hsuan <[email protected]> > Reviewed-by: Hans de Goede <[email protected]> > Reviewed-by: Daniel Scally <[email protected]> Can you resend this with LMML in Cc:, please? I'll post a patch to add L: LMML to MAINTAINERS for the driver. -- Regards, Sakari Ailus