History

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.

Hans de Goede committed 1 year ago

Commit 1cfa1bb1 parent 1e5d0882 files · +13 −5Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/x86/int3472.h+3−0
@@ -147,6 +147,9 @@ int skl_int3472_get_sensor_adev_and_name(struct device *dev, · 146 unmodified lines
147147 struct acpi_device **sensor_adev_ret,
148148 const char **name_ret);
149149
150+int int3472_discrete_parse_crs(struct int3472_discrete_device *int3472);
151+void int3472_discrete_cleanup(struct int3472_discrete_device *int3472);
152+
150153 int skl_int3472_register_gpio_clock(struct int3472_discrete_device *int3472,
151154 struct gpio_desc *gpio);
152155 int skl_int3472_register_dsm_clock(struct int3472_discrete_device *int3472);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t