[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250430-b4-vd55g1-v7-0-761b72495ac3@foss.st.com>
Date: Wed, 30 Apr 2025 10:24:37 +0200
From: Benjamin Mugnier <benjamin.mugnier@...s.st.com>
To: Benjamin Mugnier <benjamin.mugnier@...s.st.com>,
Sylvain Petinot
<sylvain.petinot@...s.st.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Sakari Ailus
<sakari.ailus@...ux.intel.com>
CC: <linux-media@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Krzysztof Kozlowski
<krzysztof.kozlowski@...aro.org>
Subject: [PATCH v7 0/2] media: Add support for ST VD55G1 camera sensor
Hi,
This serie adds support for the STMicroelectronics VD55G1 camera sensor.
The VD55G1 is a monochrome global shutter camera with a 804x704 maximum
resolution with RAW8 and RAW10 bytes per pixel.
Datasheets and other documentation can be found at st.com [1].
A lot of inspiration was taken from the imx219 and the vd56g3 serie.
It is compatible with libcamera. Tested on Raspberry Pi 4 and 5, with and
without libcamera.
[1] https://www.st.com/en/imaging-and-photonics-solutions/vd55g1.html#documentation
Regards,
Benjamin
---
Changes in v7:
- Fix autosuspend
- Rework active state
- Fix vd55g1_power_off() call order
- Merge vd55g1_check_sensor_revision() in vd55g1_detect()
- Fix mipi_rate semantics
- Add defines for XCLK and MIPI frequency bounds
- Fix data_rate not being u32
- Fix comment case
- Don't grab hblank_ctrl
- Rename vd55g1_lock_ctrls() to vd55g1_grab_ctrls()
- Remove spurious braces in vd55g1_update_expo_cluster()
- Move get_regulators() above probe()
- Add missing 'vd55g1_' prefix to some functions
- Factorize get_*_by_code()
- Refactor ctrl_to_sd() to ctrl_to_vd55g1()
- Simplify i2c_client->dev accesses
- Explicit pattern generator names
- Fix some registers values being defined as struct instead of macros
- Properly indent dynamic registers values
- binding: Split description in 2 paragraphs
- Link to v6: https://lore.kernel.org/r/20250407-b4-vd55g1-v6-0-1850f18b1f24@foss.st.com
Changes in v6:
- Use return 0 whenever possible
- Remove unneeded return values initializations
- Fix traces format
- Fix comment typo
- Link to v5: https://lore.kernel.org/r/20250404-b4-vd55g1-v5-0-98f2f02eec59@foss.st.com
Changes in v5:
- Include missing proprety.h header
- Move link_freq to device structure
- Update get_vblank_limits() prototype
- Add BUILD_BUG_ON() in vd55g1_update_patgen()
- Drop hdl->error check
- Use device_property*() instead of of_property*()
- Drop OF requirement
- Improve runtime pm usage
- Various syntax fixes
- Link to v4: https://lore.kernel.org/r/20250402-b4-vd55g1-v4-0-84b1f54c670c@foss.st.com
Changes in v4:
- Fix data-lanes syntax in binding
- Link to v3: https://lore.kernel.org/r/20250402-b4-vd55g1-v3-0-393985404759@foss.st.com
Changes in v3:
- Add maxItems to data-lanes in binding
- Drop redondant 'binding' in binding commit message
- Link to v2: https://lore.kernel.org/r/20250401-b4-vd55g1-v2-0-0c8ab8a48c55@foss.st.com
Changes in v2:
- Fix device tree binding mistakes
- Drop linux media git from MAINTAINERS file
- Fix coding style mistakes
- Drop vd55g1_err_probe wrapper
- Fix 32bits build
- Fix config symbol help paragraph being too short for checkpatch
- Link to v1: https://lore.kernel.org/r/20250328-b4-vd55g1-v1-0-8d16b4a79f29@foss.st.com
---
Benjamin Mugnier (2):
media: dt-bindings: Add ST VD55G1 camera sensor
media: i2c: Add driver for ST VD55G1 camera sensor
.../devicetree/bindings/media/i2c/st,vd55g1.yaml | 133 ++
MAINTAINERS | 9 +
drivers/media/i2c/Kconfig | 11 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/vd55g1.c | 1965 ++++++++++++++++++++
5 files changed, 2119 insertions(+)
---
base-commit: b2c4bf0c102084e77ed1b12090d77a76469a6814
change-id: 20250225-b4-vd55g1-bdb90dbe39b3
Best regards,
--
Benjamin Mugnier <benjamin.mugnier@...s.st.com>
Powered by blists - more mailing lists