ACPI: scan: Add Intel CVS ACPI HIDs to acpi_ignore_dep_ids[]
PATCH 1/1 ACPI: scan: Add Intel CVS ACPI HIDs to acpi_ignore_dep_ids[]
Some x86/ACPI laptops with MIPI cameras have a INTC10DE or INTC10E0 ACPI device in the _DEP dependency list of the ACPI devices for the camera- sensors (which have flags.honor_deps set).
These devices are for an Intel Vision CVS chip for which an out of tree driver is available (1).
The camera sensor works fine without a driver being loaded for this ACPI device on the 2 laptops this was tested on:
ThinkPad X1 Carbon Gen 12 (Meteor Lake)
ThinkPad X1 2-in-1 Gen 10 (Arrow Lake)
For now add these HIDs to acpi_ignore_dep_ids[] so that acpi_dev_ready_for_enumeration() will return true once the other _DEP dependencies are met and an i2c_client for the camera sensor will get instantiated.
--- drivers/acpi/scan.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/acpi/scan.c +2 -0
@@ -845,6 +845,8 @@ static bool acpi_info_matches_ids(struct acpi_device_info *info,static const char *const acpi_ignore_dep_ids[] = {"PNP0D80" ,/* Windows-compatible System Power Management Controller */ "INT33BD" ,/* Intel Baytrail Mailbox Device */ +"INTC10DE" ,/* Intel CVS LNL */ +"INTC10E0" ,/* Intel CVS ARL */ "LATT2021" ,/* Lattice FW Update Client Driver */ NULL };
Signature · 1 line
2.51.0
Quoted 30 lines · Hans de Goede
Some x86/ACPI laptops with MIPI cameras have a INTC10DE or INTC10E0 ACPI device in the
_DEPdependency list of the ACPI devices for the camera- sensors (which have flags.honor_deps set).These devices are for an Intel Vision CVS chip for which an out of tree driver is available (1).
The camera sensor works fine without a driver being loaded for this ACPI device on the 2 laptops this was tested on:
ThinkPad X1 Carbon Gen 12 (Meteor Lake)
ThinkPad X1 2-in-1 Gen 10 (Arrow Lake)For now add these HIDs to acpi_ignore_dep_ids[] so that
acpi_dev_ready_for_enumeration()will return true once the other_DEPdependencies are met and ani2c_clientfor the camera sensor will get instantiated.Signed-off-by Hans de Goede <[email protected]>--- drivers/acpi/scan.c | 2 ++ 1 file changed, 2 insertions(+)drivers/acpi/scan.c +0
-0
drivers/acpi/scan.c static bool acpi_info_matches_ids(struct acpi_device_info *info,
Quoted 9 lines
drivers/acpi/scan.c +2
-1@@ -845,6 +845,8 @@ static bool acpi_info_matches_ids(struct acpi_device_info *info,static const char *const acpi_ignore_dep_ids[] = {"PNP0D80" ,/* Windows-compatible System Power Management Controller */ "INT33BD" ,/* Intel Baytrail Mailbox Device */ +"INTC10DE" ,/* Intel CVS LNL */ +"INTC10E0" ,/* Intel CVS ARL */ "LATT2021" ,/* Lattice FW Update Client Driver */ NULL }; --
Applied as 6.18 material, thanks!