aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-06-16 19:21:29 +0200
committerHans de Goede <hdegoede@redhat.com>2023-06-20 12:39:14 +0200
commitf1a582502cdd8c5931a9c4a14ec239470d3a13fa (patch)
tree902ed22cc7032fb24f78def3d29950300de6688e /lib/crypto/mpi/mpi-mod.c
parentd4381dcf34fcde7b10f0fa9f1195a95db96639fb (diff)
platform/x86: int3472: discrete: Add support for 1 GPIO regulator shared between 2 sensors
On the Lenovo Miix 510-12IKB there is 1 GPIO regulator, with its GPIO listed in the INT3472 device belonging to the OV5648 back sensor. But this regulator also needs to be enabled for the OV2680 front sensor to work. Add support to skl_int3472_register_regulator() to add supply map entries pointing to both sensors based on a DMI quirk table which gives the dev_name part of the supply map for the second sensor (the sensor without the GPIO listed in its matching INT3472 ACPI device). Tested-by: Hao Yao <hao.yao@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230616172132.37859-4-hdegoede@redhat.com
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions