[PATCH 0/2] Add support for the Sony Exmor-RS IMX300 camera sensor

From: kholk11
Date: Sun Oct 18 2020 - 08:31:15 EST


From: AngeloGioacchino Del Regno <kholk11@xxxxxxxxx>

This patch series adds support for the IMX300 camera sensor, (one of the)
first Exmor-RS Stacked CMOS sensor(s), with support for both of the
supported aspect ratios (4:3 and 16:9).
This driver came out from reverse engineering of so called "userspace
drivers" from Sony Xperia smartphones.

I tried to document all of my findings and giving a sense to the registers
as much as possible, but that was only partially possible and resembles
some names from the IMX219 public datasheet, even though the addresses are
basically completely different.

This camera sensor driver was tested with all the resolutions declared in
it on two phones: Sony Xperia XA2 and XA2 Ultra, on a SDM630 SoC (camss
patches for this SoC will come in a later series) and is working great.

AngeloGioacchino Del Regno (2):
media: i2c: Add driver for the Sony Exmor-RS IMX300 camera sensor
media: dt-bindings: media: i2c: Add IMX300 CMOS sensor binding

.../devicetree/bindings/media/i2c/imx300.yaml | 115 +
MAINTAINERS | 8 +
drivers/media/i2c/Kconfig | 13 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/imx300.c | 3087 +++++++++++++++++
5 files changed, 3224 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/imx300.yaml
create mode 100644 drivers/media/i2c/imx300.c

--
2.28.0