Re: [PATCH v3] platform: int3472: discrete: Support multiple HIDs per GPIO map entry
From: Sakari Ailus
Date: Tue Jul 28 2026 - 14:22:06 EST
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 <sakari.ailus@xxxxxxxxxxxxxxx>
> Signed-off-by: Tarang Raval <tarang.raval@xxxxxxxxxxxxxxxxx>
> Tested-by: Kate Hsuan <hpa@xxxxxxxxxx>
> Reviewed-by: Hans de Goede <johannes.goede@xxxxxxxxxxxxxxxx>
> Reviewed-by: Daniel Scally <dan.scally@xxxxxxxxxxxxxxxx>
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