[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1668963790.git.sathya@samsung.com>
Date: Mon, 21 Nov 2022 00:22:16 +0530
From: Sathyakam M <sathya@...sung.com>
To: sathya@...sung.com
Cc: Kishon Vijay Abraham I <kishon@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Pankaj Kumar Dubey <pankaj.dubey@...sung.com>,
Alim Akhtar <alim.akhtar@...sung.com>,
Aswani Reddy <aswani.reddy@...sung.com>,
Andi Shyti <andi@...zian.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Ming Qian <ming.qian@....com>,
Jacopo Mondi <jacopo@...ndi.org>,
Will Deacon <will@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Marcel Ziswiler <marcel.ziswiler@...adex.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] media: add FSD MIPI-CSI2 Rx controller driver
This patch series adds the V4L2 media driver for
Tesla Full Self Driving (FSD) SoC MIPI-CSI2 Rx controller.
The controller is compliant to MIPI CSI2 v1.3 specification.
It receives images from camera sensors over the D-PHY interface.
The D-PHY interface is compliant to MIPI D-PHY v1.2 specification. It
supports up to maximum of 4 data lanes.
V4L2 user control is provided to set the desired number of data lanes.
Maximum of up to 4 streams can be received simultaneously by one Rx
port. (Each streams identified by designated Virtual Channel
Identifier).
The controller instances consist of port property describing the endpoints.
When combined with remote-endpoint property the driver instantiates
video device nodes using V4L2 async subdev methods.
Streaming formats supported:
- YUV420
- RGB565, RGB666, RGB888
- RAW8, RAW10, RAW12
- JPEG
The driver implementation is verified on FSD evaluation board.
Thanks, Sathyakam
Cc: Sathyakam M <sathya@...sung.com>,Vinod Koul <vkoul@...nel.org>
Cc: Kishon Vijay Abraham I <kishon@...nel.org>,Rob Herring <robh+dt@...nel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: Pankaj Kumar Dubey <pankaj.dubey@...sung.com>,Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: Alim Akhtar <alim.akhtar@...sung.com>,Shashank Prashar <s.prashar@...sung.com>
Cc: Aswani Reddy <aswani.reddy@...sung.com>,Chandrasekar R <rcsekar@...sung.com>
Cc: Andi Shyti <andi@...zian.org>,Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Hans Verkuil <hverkuil-cisco@...all.nl>,Jernej Skrabec <jernej.skrabec@...il.com>
Cc: Ming Qian <ming.qian@....com>,Dmitry Osipenko <digetx@...il.com>
Cc: Jacopo Mondi <jacopo@...ndi.org>,Catalin Marinas <catalin.marinas@....com>
Cc: Will Deacon <will@...nel.org>,Bjorn Andersson <andersson@...nel.org>
Cc: Shawn Guo <shawnguo@...nel.org>,Arnd Bergmann <arnd@...db.de>
Cc: Marcel Ziswiler <marcel.ziswiler@...adex.com>,Mark Brown <broonie@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org,linux-phy@...ts.infradead.org,devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,linux-media@...r.kernel.org
Sathyakam M (5):
dt-bindings: phy: fsd: MIPI CSI2 Rx controller syscon node
media: dt-bindings: fsd: MIPI CSI2 Rx controller device nodes
arm64: dts: fsd: add device tree nodes for MIPI CSI2 Rx controller
media: fsd: add MIPI CSI2 Rx controller driver
arm64: defconfig: enable FSD MIPI CSI2 Rx controller driver
.../bindings/media/tesla-fsd-csis.yaml | 148 +
.../bindings/phy/fsd-csis-syscon.yaml | 48 +
.../media/drivers/fsd-csis-uapi.rst | 78 +
MAINTAINERS | 12 +
arch/arm64/boot/dts/tesla/fsd-evb.dts | 232 ++
arch/arm64/boot/dts/tesla/fsd.dtsi | 162 +
arch/arm64/configs/defconfig | 1 +
drivers/media/platform/Kconfig | 1 +
drivers/media/platform/Makefile | 1 +
drivers/media/platform/fsd/Kconfig | 73 +
drivers/media/platform/fsd/Makefile | 1 +
drivers/media/platform/fsd/fsd-csis.c | 2664 +++++++++++++++++
drivers/media/platform/fsd/fsd-csis.h | 785 +++++
include/uapi/linux/fsd-csis.h | 19 +
include/uapi/linux/v4l2-controls.h | 5 +
15 files changed, 4230 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/tesla-fsd-csis.yaml
create mode 100644 Documentation/devicetree/bindings/phy/fsd-csis-syscon.yaml
create mode 100644 Documentation/userspace-api/media/drivers/fsd-csis-uapi.rst
create mode 100644 drivers/media/platform/fsd/Kconfig
create mode 100644 drivers/media/platform/fsd/Makefile
create mode 100644 drivers/media/platform/fsd/fsd-csis.c
create mode 100644 drivers/media/platform/fsd/fsd-csis.h
create mode 100644 include/uapi/linux/fsd-csis.h
base-commit: 77c51ba552a1c4f73228766e43ae37c4101b3758
--
2.17.1
Powered by blists - more mailing lists