From: Will Whang <will@willwhang.com>
To: Will Whang <will@willwhang.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/4] media: Add Sony IMX585 image sensor support
Date: Sun, 10 Aug 2025 23:09:17 +0100 [thread overview]
Message-ID: <20250810220921.14307-1-will@willwhang.com> (raw)
Hi all,
This is v2 of the IMX585 series. It adds ClearHDR controls, fixes mono
format handling, and ensures HCG can’t be enabled while HDR is active.
Changes in v2:
- Move to V4L2 active State API.
- Shift the I2C registers read/write to v4l2-cci.
- Remove IR Filter switch support.
- Various log/trace noise trimmed or moved to debug print.
- Lock/ignore HCG when HDR is enabled; mark control inactive.
- Using compatible string for mono sensor.
- dt-bindings: drop redundant maxItems/minItems/names,
add "sony,imx585-mono", fix quoted string lint.
Features
==========
* 4-lane or 2-lane MIPI-CSI-2 up to 2079 Mbps/lane
* 4 K @ 60 fps 12-bit linear, 4 K @ 30 fps 16-bit Clear-HDR,
4 K @ 30 fps 12-bit gradient compression Clear-HDR
1080p binning mode, mono hardware variant, HCG support.
* New Sensor Dependent V4L2 controls for
HDR blending, grad-compression, HCG enable and Enable ClearHDR.
* Blacklevel adjustments through V4L2_CID_BRIGHTNESS.
* Multi Camera synchronization mode support.
Testing
==========
- Platform: Raspberry Pi 5, 4 lanes
- Formats: Y12/Y16 (mono), SRGGB12/SRGGB16 (color)
- Verified HDR on/off toggling updates ranges (exposure/gain/HMAX/VMAX)
- HCG is inactive and ignored when HDR=1; active in normal mode
Series layout
=============
1. **dt-bindings: media: Add Sony IMX585 CMOS image sensor**
2. **media: uapi: Add custom IMX585 control IDs**
3. **media: i2c: imx585: Add Sony IMX585 image-sensor driver**
4. **media: docs: Add userspace-API guide for the IMX585 driver**
Link to v1: https://lore.kernel.org/linux-media/20250702063836.3984-1-will@willwhang.com/
Thanks for reviewing!
Signed-off-by: Will Whang <will@willwhang.com>
Will Whang (4):
dt-bindings: media: Add Sony IMX585 CMOS image sensor
media: uapi: Add custom IMX585 control IDs
media: i2c: imx585: Add Sony IMX585 image-sensor driver
media: docs: Add userspace-API guide for the IMX585 driver
.../bindings/media/i2c/sony,imx585.yaml | 116 ++
.../userspace-api/media/drivers/imx585.rst | 122 ++
.../userspace-api/media/drivers/index.rst | 1 +
MAINTAINERS | 9 +
drivers/media/i2c/Kconfig | 9 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/imx585.c | 1768 +++++++++++++++++
include/uapi/linux/imx585.h | 20 +
include/uapi/linux/v4l2-controls.h | 6 +
9 files changed, 2052 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml
create mode 100644 Documentation/userspace-api/media/drivers/imx585.rst
create mode 100644 drivers/media/i2c/imx585.c
create mode 100644 include/uapi/linux/imx585.h
--
2.39.5
next reply other threads:[~2025-08-10 22:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-10 22:09 Will Whang [this message]
2025-08-10 22:09 ` [PATCH v2 1/4] dt-bindings: media: Add Sony IMX585 CMOS image sensor Will Whang
2025-08-11 8:00 ` Krzysztof Kozlowski
2025-08-12 2:47 ` Will Whang
2025-08-12 6:23 ` Krzysztof Kozlowski
2025-08-12 6:31 ` Will Whang
2025-08-12 6:47 ` Krzysztof Kozlowski
2025-08-12 9:55 ` Laurent Pinchart
2025-08-13 4:30 ` Will Whang
2025-08-13 6:00 ` Krzysztof Kozlowski
2025-08-13 6:38 ` Will Whang
2025-08-13 7:34 ` Krzysztof Kozlowski
2025-08-10 22:09 ` [PATCH v2 2/4] media: uapi: Add custom IMX585 control IDs Will Whang
2025-08-10 22:09 ` [PATCH v2 3/4] media: i2c: imx585: Add Sony IMX585 image-sensor driver Will Whang
2025-08-11 8:05 ` Krzysztof Kozlowski
2025-08-11 8:06 ` Krzysztof Kozlowski
2025-08-16 19:44 ` Will Whang
2025-08-17 6:13 ` Krzysztof Kozlowski
2025-08-10 22:09 ` [PATCH v2 4/4] media: docs: Add userspace-API guide for the IMX585 driver Will Whang
2025-08-11 14:17 ` Dave Stevenson
2025-08-12 2:31 ` Will Whang
2025-08-12 11:28 ` Laurent Pinchart
2025-08-13 4:20 ` Will Whang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250810220921.14307-1-will@willwhang.com \
--to=will@willwhang.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sakari.ailus@linux.intel.com \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®