linux/drivers/platform/x86/intel/int3472
Hans de Goede 8cf0e541c1 platform/x86: int3472/discrete: Move GPIO request to skl_int3472_register_clock()
Move the requesting of the clk-enable GPIO to skl_int3472_register_clock()
(and move the gpiod_put to unregister).

This mirrors the GPIO handling in skl_int3472_register_regulator() and
allows removing skl_int3472_map_gpio_to_clk() from discrete.c.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20230127203729.10205-5-hdegoede@redhat.com
2023-02-03 10:22:35 +01:00
..
clk_and_regulator.c platform/x86: int3472/discrete: Move GPIO request to skl_int3472_register_clock() 2023-02-03 10:22:35 +01: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: Move GPIO request to skl_int3472_register_clock() 2023-02-03 10:22:35 +01:00
discrete.c platform/x86: int3472/discrete: Move GPIO request to skl_int3472_register_clock() 2023-02-03 10:22:35 +01:00
Kconfig
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 board data for Surface Go2 IR camera 2022-09-24 19:12:32 +02:00
tps68470.c More ACPI updates for 6.1-rc1 2022-10-10 13:28:06 -07:00
tps68470.h platform/x86: int3472: Support multiple gpio lookups in board data 2022-09-24 19:12:32 +02:00