[PATCH 0/2] media: hm1092: Intel IPU (ACPI) support on top of v6
From: Jake Steinman
Date: Sat Oct 10 2026 - 01:00:52 EST
Hi Ramshouriesh, Sakari,
These two patches make the HM1092 usable on Intel IPU laptops, where the
sensor is described in ACPI as HIMX1092. They apply on top of
"[PATCH v6 0/2] media: Add Himax HM1092 mono NIR sensor driver".
Patch 1 is for the sensor driver. v6 cannot bind on x86: there is no
ACPI match table, the 19.2 MHz clock these machines supply is rejected,
and the only mode is the 24 MHz one. The patch selects the configuration
from the clock rate and adds the 19.2 MHz / 648x368 / 180.48 MHz one.
The 24 MHz path is functionally unchanged. Ramshouriesh, feel free to
fold it into a v7 if you prefer that to a follow-up.
Patch 2 is independent of the sensor. The IPU7 capture nodes have no
pixel format for MEDIA_BUS_FMT_Y10_1X10, so no monochrome sensor can be
captured, whatever its driver.
Tested together on a Dell XPS 16 DA16260 (Panther Lake), kernel
7.3-rc5, with the ipu-bridge entry that is already in media/next:
intel_ipu7_isys.isys intel_ipu7.isys.40: bind hm1092 17-0024 nlanes is 1 port is 2
link_frequency 180480000
pixel_rate 36096000
exposure min=2 max=719 default=360
Y10 648x368, 1344 bytes per line, 10 frames, 4945920 bytes
Y10P 648x368, 832 bytes per line, 10 frames, 3061760 bytes
exposure 100: mean level 59
exposure 700: mean level 198
Two things worth knowing when reviewing patch 1:
- The 19.2 MHz configuration reads X 0..1293 and Y 0..733, which is the
full 1296x736 array including the dummy border. That is what the
vendor sequence programs, so the crop rectangle reports it as is, and
it lies outside the 1280x720 crop bounds v6 defines. I left the
bounds alone. Say if you would rather have them widened.
- The 24 MHz configuration is compile-tested only here. I have no
devicetree hardware with this sensor.
Regards,
Jake
Jake Steinman (2):
media: i2c: hm1092: Add ACPI enumeration and the 19.2 MHz
configuration
media: staging/ipu7: Add 10-bit greyscale capture formats
drivers/media/i2c/hm1092.c | 363 ++++++++++++++++---
drivers/staging/media/ipu7/ipu7-isys-video.c | 4 +
2 files changed, 321 insertions(+), 46 deletions(-)
--
2.56.0