]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: int3472: Export int3472_discrete_parse_crs()
authorHans de Goede <hdegoede@redhat.com>
Wed, 7 May 2025 18:47:34 +0000 (20:47 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 14:36:21 +0000 (17:36 +0300)
commit1cfa1bb9b4033e51d3c3f5ed5bf55475e57cc686
tree99e2e3bb87d420ae060b139e94f4247e0c14db50
parent1e5d088a52c207bcef6a43a6f6ffe162c514ed64
platform/x86: int3472: Export int3472_discrete_parse_crs()

At the moment the atomisp has duplicate code for parsing Intel camera
sensor GPIOS and calling the special 79234640-9e10-4fea-a5c1-b5aa8b19756f
_DSM to get the GPIO type and map it to the sensor.

Export int3472_discrete_parse_crs() so that the atomisp driver can reuse
the INT3472 code for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250507184737.154747-4-hdegoede@redhat.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/int3472/discrete.c
include/linux/platform_data/x86/int3472.h