linux/drivers/platform/x86/intel/int3472
Hans de Goede 899c7b18ef platform/x86: int3472: discrete: Log a warning if the pin-numbers don't match
The INT3472 discrete code assumes that the ACPI GPIO resources are
in the same order as the pin-info _DSM entries.

The returned pin-info includes the pin-number in bits 15-8. Add a check
that this matches with the ACPI GPIO resource pin-number in case
the assumption is not true with some ACPI tables.

Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230616172132.37859-7-hdegoede@redhat.com
2023-06-20 12:39:34 +02:00
..
clk_and_regulator.c platform/x86: int3472: discrete: Add alternative "AVDD" regulator supply name 2023-06-20 12:39:27 +02:00
common.c ACPI: scan: Add acpi_dev_get_next_consumer_dev() 2022-09-24 19:12:32 +02:00
common.h platform/x86: int3472: discrete: Add alternative "AVDD" regulator supply name 2023-06-20 12:39:27 +02:00
discrete.c platform/x86: int3472: discrete: Log a warning if the pin-numbers don't match 2023-06-20 12:39:34 +02:00
Kconfig platform/x86: int3472/discrete: add LEDS_CLASS dependency 2023-02-10 17:08:24 +01:00
led.c platform/x86: int3472/discrete: Create a LED class device for the privacy LED 2023-02-03 10:22:35 +01:00
Makefile platform/x86: int3472/discrete: Create a LED class device for the privacy LED 2023-02-03 10:22:35 +01:00
tps68470_board_data.c platform/x86: int3472: Add GPIOs to Surface Go 3 Board data 2023-03-07 12:08:30 +01:00
tps68470.c platform/x86: int3472: Switch back to use struct i2c_driver's .probe() 2023-06-13 12:32:47 +02:00
tps68470.h platform/x86: int3472: Support multiple gpio lookups in board data 2022-09-24 19:12:32 +02:00