[PATCH 0/4][SRU][Noble] handle broken ACPI MIPI DisCo data

You-Sheng Yang vicamo.yang at canonical.com
Tue Jun 25 07:20:29 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2070251

[Impact]

Multiple early IPU6 platforms may not have formal MIPI DisCo data
embedded in ACPI, and they may confuse latter driver and fail device
probing:

  ov01a10 i2c-OVTI01A0:00: can't get clock frequency
  ov01a10 i2c-OVTI01A0:00: failed to check hwcfg: -22
  ov01a10: probe of i2c-OVTI01A0:00 failed with error -22

[Fix]

A few commits from mainline kernel up to v6.10-rc5.

[Test Case]

Camera sensor device should then be probed correctly.

[Where problems could occur]

These fixes are based on MIPI DisCo support that is only available since
v6.8. For older kernels, the ipu6-drivers either has no hwcfg checking
implemented, or patched with DMI info to skip it.

[Other Info]

While the patches are from v6.10-rc5, only Noble and OEM-6.8 will be
nominated for fixing.

Hans de Goede (1):
  ACPI: scan: Ignore camera graph port nodes on all Dell Tiger, Alder
    and Raptor Lake models

Sakari Ailus (3):
  ACPI: utils: Make acpi_handle_path() not static
  ACPI: property: Ignore bad graph port nodes on Dell XPS 9315
  ACPI: property: Polish ignoring bad data nodes

 drivers/acpi/internal.h       |  5 +++
 drivers/acpi/mipi-disco-img.c | 81 +++++++++++++++++++++++++++++++++++
 drivers/acpi/property.c       |  3 ++
 drivers/acpi/utils.c          |  2 +-
 include/linux/acpi.h          |  1 +
 5 files changed, 91 insertions(+), 1 deletion(-)

-- 
2.43.0




More information about the kernel-team mailing list