linux/drivers/platform/x86/intel
Hans de Goede cf5ac2d45f platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode
acpi_get_and_request_gpiod() does not take a gpio_lookup_flags argument
specifying that the pins direction should be initialized to a specific
value.

This means that in some cases the pins might be left in input mode, causing
the gpiod_set() calls made to enable the clk / regulator to not work.

One example of this problem is the clk-enable GPIO for the ov01a1s sensor
on a Dell Latitude 9420 being left in input mode causing the clk to
never get enabled.

Explicitly set the direction of the pins to output to fix this.

Fixes: 5de691bffe ("platform/x86: Add intel_skl_int3472 driver")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Daniel Scally <djrscally@gmail.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20230111201426.947853-1-hdegoede@redhat.com
2023-01-12 20:10:31 +01:00
..
atomisp2
ifs platform/x86/intel/ifs: Add missing kernel-doc entry 2022-12-03 11:16:16 +01:00
int1092
int3472 platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode 2023-01-12 20:10:31 +01:00
pmc platform/x86: intel/pmc/core: Add Meteor Lake mobile support 2023-01-12 19:44:30 +01:00
pmt platform/x86/intel/pmt: Sapphire Rapids PMT errata fix 2022-11-07 12:33:49 +01:00
speed_select_if platform/x86: ISST: Fix typo in comments 2022-11-16 08:48:19 +01:00
telemetry
uncore-frequency platform/x86: intel-uncore-freq: add Emerald Rapids support 2022-11-23 17:00:11 +01:00
wmi platform/x86/intel/wmi: thunderbolt: Use dev_groups callback 2022-09-27 16:01:44 +02:00
Kconfig platform/x86/intel/sdsi: Add Intel On Demand text 2022-11-21 10:55:12 +01:00
Makefile platform/x86: p2sb: Move out of X86_PLATFORM_DEVICES dependency 2022-08-01 16:26:38 +02:00
bxtwc_tmu.c
chtdc_ti_pwrbtn.c
chtwc_int33fe.c platform/x86: intel_cht_int33fe: Fix comment according to the code flow 2022-09-01 14:50:09 +02:00
crystal_cove_charger.c
hid.c platform/x86/intel/hid: Add module-params for 5 button array + SW_TABLET_MODE reporting 2022-11-21 11:17:58 +01:00
int0002_vgpio.c platform/x86: intel_int0002_vgpio: Use generic_handle_irq_safe() 2022-09-19 15:08:38 +02:00
ishtp_eclite.c
mrfld_pwrbtn.c
oaktrail.c platform/x86: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02:00
punit_ipc.c
rst.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
sdsi.c platform/x86/intel/sdsi: Add meter certificate support 2022-11-21 10:55:35 +01:00
smartconnect.c
turbo_max_3.c
vbtn.c
vsec.c platform/x86/intel/vsec: Fix wrong type for local status variables 2022-08-01 16:56:34 +02:00
vsec.h