[PATCH v4 0/2] media: ov8856: run full power sequence on ACPI
Serin Yeh <[email protected]> Thu, 6 Aug 2026 14:17:35 +0800
| Newsgroups | org.kernel.vger.linux-media |
|---|---|
| Message-ID | <[email protected]> |
This series makes the ov8856 driver request its power resources and run
the power on/off sequence on ACPI platforms as well as DT, and fixes an
unrelated debug message.
- Background: power resources on Intel ACPI platforms :
On Intel platforms the sensor is enumerated via ACPI, and an INT3472
"discrete" companion device (the power-logic-control driver under
drivers/platform/x86/intel/int3472) registers the sensor's
reset/powerdown GPIOs and the regulator supply.
These resources are therefore discoverable and usable through the
standard gpiod/regulator lookups at probe time.
- Current symptom :
Previously the driver guarded both the GPIO/regulator acquisition in
ov8856_get_hwcfg() and the whole power on/off sequence with
is_acpi_node() and skipped them on ACPI. As a result the sensor was
never powered or reset by the driver and probe failed when reading
the chip ID in ov8856_identify_module().
Removing those checks makes the ACPI path behave like DT.
- Validation :
Tested on Intel platforms with kernel 6.17 and 7.0.
Changes in v4:
[1/2] media: i2c: ov8856 : remove ACPI node bypass mechanism
- Modified commit log description.
- Added tags : Reviewed-by
[2/2] media: i2c: ov8856: fix debug message to report actual CSI-2 lane
count
- No change
Changes in v3:
Add cover letter to describe details of patches.
[1/2] media: i2c: ov8856 : remove ACPI node bypass mechanism
- Add tags : Fixes and Cc
- Removed a sentence from commit as this change has already been
split out and is covered separately in patch 2/2
[2/2] media: i2c: ov8856: fix debug message to report actual CSI-2 lane
count
- Added tags : Cc
Changes in v2:
[1/2] media: i2c: ov8856 : remove ACPI node bypass mechanism
- No change
[2/2] media: i2c: ov8856: fix debug message to report actual CSI-2 lane
count
- Added tags : Fixes and Reviewed-by
Serin Yeh (2):
media: i2c: ov8856 : remove ACPI node bypass mechanism
media: i2c: ov8856: fix debug message to report actual CSI-2 lane
count
drivers/media/i2c/ov8856.c | 32 ++++++++++++--------------------
1 file changed, 12 insertions(+), 20 deletions(-)
--
2.25.1