media: i2c: Add support for DW9768 VCM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 Latest2 patches 2 repliesIn review
- v92 patches 8 repliesSuperseded
- v82 patches 2 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 | 2 patches | 14 replies | Superseded | |
| v6 | 2 patches | 12 replies | Superseded | |
| v5 | 2 patches | 14 replies | Superseded | |
| v4 | 2 patches | 8 replies | Superseded | |
| v3 | 2 patches | 14 replies | Superseded | |
| v2 | 2 patches | 16 replies | Superseded | |
| v1 | 2 patches | 8 replies | Superseded |
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: dt-bindings: media: i2c: Document DW9768 bindingsDocumentation/ MAINTAINERS | +107 | 0 replies | |
| 2/2 | media: i2c: dw9768: Add DW9768 VCM driverMAINTAINERS drivers/ drivers/ +1 more | +568 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring | Tomasz Figa |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V10 0/2] media: i2c: Add support for DW9768 VCM
Hello,
This series adds DT binding and V4L2 sub-device driver for Dongwoon's DW9768. DW9768 is a 10-bit DAC with 100mA output current sink capability, designed for linear control of voice coil motor(VCM).
This driver creates a V4L2 sub-device and provides control to set the desired focus via II2C serial interface.
It controls the position with 10-bit DAC data D[9:0] and seperates two 8-bit registers to control the VCM position as belows.DAC_MSB: D[9:8](ADDR: 0x03):
+---+---+---+---+---+---+---+---+
|---|---|---|---|---|---|D09|D08|
+---+---+---+---+---+---+---+---+
DAC_LSB: D[7:0](ADDR: 0x04):
+---+---+---+---+---+---+---+---+
|D07|D06|D05|D04|D03|D02|D01|D00|
+---+---+---+---+---+---+---+---+This driver supports:
- set DW9768 to standby mode once suspend and turn it back to active if resume
- set the desired focus via V4L2_CID_FOCUS_ABSOLUTE ctrl
Previous versions of this patch-set can be found here:
v9: https://lore.kernel.org/linux-media/[email protected]/
v8: https://lore.kernel.org/linux-media/[email protected]/
v7: https://lore.kernel.org/linux-media/[email protected]/
v6: https://lore.kernel.org/linux-media/[email protected]/
v5: https://lore.kernel.org/linux-media/[email protected]/
v4: https://lore.kernel.org/linux-media/[email protected]/
v3: https://lore.kernel.org/linux-media/[email protected]/
v2: https://lore.kernel.org/linux-media/[email protected]/
v1: https://lore.kernel.org/linux-media/[email protected]/
Mainly changes of v10 address comments from Sakari, Tomasz, Bingbu. Compared to v9:
- Add reviewed-by for VCM driver
- Re-send plain patch to test if there are still weird trailing whitespaces
Please review.
Thanks.
Dongchun Zhu (2):
media: dt-bindings: media: i2c: Document DW9768 bindings
media: i2c: dw9768: Add DW9768 VCM driver
.../bindings/media/i2c/dongwoon,dw9768.yaml | 100 ++++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 12 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/dw9768.c | 554 +++++++++++++++++++++ 5 files changed, 675 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/dongwoon,dw9768.yaml create mode 100644 drivers/media/i2c/dw9768.c
Signature · 1 line
2.9.2