[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230914154758.1795663-1-tomm.merciai@gmail.com>
Date: Thu, 14 Sep 2023 17:47:52 +0200
From: Tommaso Merciai <tomm.merciai@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: jacopo.mondi@...asonboard.com, laurent.pinchart@...asonboard.com,
linuxfancy@...glegroups.com, hdegoede@...hat.com,
Tommaso Merciai <tomm.merciai@...il.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Martin Hecht <martin.hecht@...et.eu>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
Marco Felsch <m.felsch@...gutronix.de>,
Gerald Loacker <gerald.loacker@...fvision.net>,
Nicholas Roth <nicholas@...hemail.net>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Shawn Tu <shawnx.tu@...el.com>,
Daniel Scally <djrscally@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: [PATCH v8 0/3] media: i2c: Add support for alvium camera
Hi all,
Back on topic :).
This series add support for Allied Vision Alvium camera.
The Alvium camera is shipped with sensor + isp in the same housing.
The camera can be equipped with one out of various sensor and abstract
the user from this. Camera is connected via MIPI CSI-2.
I have rebase v8 on top of media-stage branch [1].
Test was done taking as refence last build tooling from
HVerkuil[2]. Thanks to this tool I'm able to fix the following
warnings:
drivers/media/i2c/alvium-csi2.c:398:18: warning: incorrect type in assignment (different base types)
drivers/media/i2c/alvium-csi2.c:398:18: expected unsigned short [usertype] minor
drivers/media/i2c/alvium-csi2.c:398:18: got restricted __le16 [usertype]
drivers/media/i2c/alvium-csi2.c:399:18: warning: incorrect type in assignment (different base types)
drivers/media/i2c/alvium-csi2.c:399:18: expected unsigned short [usertype] major
drivers/media/i2c/alvium-csi2.c:399:18: got restricted __le16 [usertype]
drivers/media/i2c/alvium-csi2.c:416:21: warning: incorrect type in assignment (different base types)
drivers/media/i2c/alvium-csi2.c:416:21: expected unsigned short [usertype] minor
drivers/media/i2c/alvium-csi2.c:416:21: got restricted __le16 [usertype]
drivers/media/i2c/alvium-csi2.c:417:21: warning: incorrect type in assignment (different base types)
drivers/media/i2c/alvium-csi2.c:417:21: expected unsigned int [usertype] patch
drivers/media/i2c/alvium-csi2.c:417:21: got restricted __le32 [usertype]
drivers/media/usb/siano/smsusb.c:53:38: warning: array of flexible structures
drivers/media/i2c/alvium-csi2.c:2665 alvium_probe() warn: missing error code? 'ret'
drivers/media/i2c/alvium-csi2.c:2671 alvium_probe() warn: ignoring unreachable code.
drivers/media/usb/siano/smsusb.c:53:38: warning: array of flexible structures.
Driver use last v4l2 CCI API.
This driver has been tested on the following scenario:
alvium-csi2 -> imx8mp-evk (isi pixel pipeline)
Thanks & Regards,
Tommaso
[1] - https://git.linuxtv.org/media_stage.git/tree/Documentation/devicetree/bindings/vendor-prefixes.yaml
[2] - https://git.linuxtv.org/hverkuil/build-scripts.git
Tommaso Merciai (3):
dt-bindings: vendor-prefixes: Add prefix alliedvision
media: dt-bindings: alvium: add document YAML binding
media: i2c: Add support for alvium camera
.../media/i2c/alliedvision,alvium-csi2.yaml | 97 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 9 +
drivers/media/i2c/Kconfig | 11 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/alvium-csi2.c | 2761 +++++++++++++++++
drivers/media/i2c/alvium-csi2.h | 474 +++
7 files changed, 3355 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml
create mode 100644 drivers/media/i2c/alvium-csi2.c
create mode 100644 drivers/media/i2c/alvium-csi2.h
--
2.34.1
Powered by blists - more mailing lists