mbox series

[v4,0/3] media: i2c: isl7998x: Add driver for Intersil ISL7998x

Message ID 20210923105618.365513-1-m.tretter@pengutronix.de (mailing list archive)
Headers show
Series media: i2c: isl7998x: Add driver for Intersil ISL7998x | expand

Message

Michael Tretter Sept. 23, 2021, 10:56 a.m. UTC
Hello,

This is v4 of the series to for adding the isl7998x driver [0]

The isl7998x is an analog video to MIPI CSI-2 or BT.656 converter. The dt
binding describes only the isl79987 chip, which supports MIPI CSI-2. The
driver could be extended to handle isl79988 (for BT.656), too, but this isn't
implemented.

In v4, I added a patch for the imx6-mipi-csi2 to use the
pre_streamon/post_streamoff call to set the MIPI CSI-2 transmitter into LP11
mode, which is required by its startup sequence. The isl7998x implements the
callbacks to power up the decoder.

Furthermore, I updated the driver following the review feedback of v3, rebased
the series on media/master based on 5.15-rc2, and cleaned up the logging. I
tried to fix lines with a length of over 80 characters, but I had to skip a
few locations, where it made things worse. The full changelog is in the
respective patches.

Michael

[0] https://lore.kernel.org/linux-media/20190520201812.7937-1-marex@denx.de/

Changelog:

v4:

- add patch for imx6-mipi-csi2 to request LP-11 mode
- update isl7998x driver with review feedback on v3

v3:

- rename pd-gpios property to powerdown-gpios
- reference graph.yaml for port/ports property
- remove reference to video-interfaces.txt

v2:

- convert dt binding to yaml
- change binding to ISL79987 only
- general driver cleanup
- convert driver to pm_runtime
- use ports in device tree for specifying inputs
- add reset gpio


Marek Vasut (2):
  media: dt-bindings: Add Intersil ISL79987 DT bindings
  media: i2c: isl7998x: Add driver for Intersil ISL7998x

Michael Tretter (1):
  media: imx6-mipi-csi2: use pre_streamon callback to set sensor into
    LP11

 .../bindings/media/i2c/isil,isl79987.yaml     |  100 ++
 MAINTAINERS                                   |    8 +
 drivers/media/i2c/Kconfig                     |    9 +
 drivers/media/i2c/Makefile                    |    1 +
 drivers/media/i2c/isl7998x.c                  | 1416 +++++++++++++++++
 drivers/staging/media/imx/imx6-mipi-csi2.c    |    9 +-
 6 files changed, 1542 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/isil,isl79987.yaml
 create mode 100644 drivers/media/i2c/isl7998x.c