linux/drivers/platform/x86/intel/int3472
Tarang Raval edd0dd59ac platform: int3472: discrete: Support multiple HIDs per GPIO map entry
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.

Cc: linux-media@vger.kernel.org
Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io>
Tested-by: Kate Hsuan <hpa@redhat.com>
Reviewed-by: Kate Hsuan <hpa@redhat.com>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
2026-07-30 23:39:31 +03:00
..
clk_and_regulator.c platform/x86: int3472: Fix double free of GPIO device during unregister 2025-10-28 17:06:14 +02:00
common.c platform/x86: int3472: Move common.h to public includes, symbols to INTEL_INT3472 2025-05-08 17:35:28 +03:00
discrete_quirks.c platform/x86: int3472: Move common.h to public includes, symbols to INTEL_INT3472 2025-05-08 17:35:28 +03:00
discrete.c platform: int3472: discrete: Support multiple HIDs per GPIO map entry 2026-07-30 23:39:31 +03:00
Kconfig platform/x86: int3472/discrete: add LEDS_CLASS dependency 2023-02-10 17:08:24 +01:00
led.c platform/x86: int3472: Add support for GPIO type 0x02 (IR flood LED) 2026-04-13 14:09:49 +03:00
Makefile platform/x86: int3472: Rework AVDD second sensor quirk handling 2025-04-24 16:05:34 +03:00
tps68470_board_data.c platform/x86: int3472: Add TPS68470 board data for intel nvl 2026-05-19 23:55:58 +03:00
tps68470.c platform: int3472: Add gpio software node 2026-03-25 18:44:36 +01:00
tps68470.h platform: int3472: Add gpio software node 2026-03-25 18:44:36 +01:00