From: guoniu.zhou@oss.nxp.com
To: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-imx@nxp.com
Cc: mchehab@kernel.org, laurent.pinchart@ideasonboard.com,
alexander.stein@ew.tq-group.com,
krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org,
conor+dt@kernel.org, jacopo.mondi@ideasonboard.com
Subject: [PATCH v2 0/2] media: nxp: add i.MX93 MIPI CSI-2 support
Date: Mon, 10 Jul 2023 14:03:50 +0800 [thread overview]
Message-ID: <20230710060352.584286-1-guoniu.zhou@oss.nxp.com> (raw)
From: "Guoniu.zhou" <guoniu.zhou@nxp.com>
Add MIPI CSI-2 and D-PHY driver support for NXP i.MX93.
Changes in v2:
- Implement test pattern by V4L2_CID_TEST_PATTERN
- Remove fsl,hsfreqrange property and get hsfreqrange by LUT
- Add subdev test pattern event handler callback to pass v4l2-compliance test
- Add spin lock initialization
v4l2-compliance 1.23.0-4996, 64 bits, 64-bit time_t
v4l2-compliance SHA: 9431e4b26b48 2023-02-13 14:51:47
Compliance test for device /dev/v4l-subdev2:
Driver Info:
Driver version : 6.4.0
Capabilities : 0x00000000
Required ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev2 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 2 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev2: 43, Succeeded: 43, Failed: 0, Warnings: 0
Guoniu.zhou (2):
media: dt-bindings: Add binding doc for i.MX93 MIPI CSI-2
media: nxp: add driver for i.MX93 MIPI CSI-2 controller and D-PHY
.../bindings/media/nxp,dwc-mipi-csi2.yaml | 130 ++
MAINTAINERS | 10 +
drivers/media/platform/nxp/Kconfig | 11 +
drivers/media/platform/nxp/Makefile | 3 +
drivers/media/platform/nxp/dwc-mipi-csi2.c | 1354 +++++++++++++++++
drivers/media/platform/nxp/dwc-mipi-csi2.h | 299 ++++
drivers/media/platform/nxp/dwc-mipi-dphy.c | 295 ++++
7 files changed, 2102 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/nxp,dwc-mipi-csi2.yaml
create mode 100644 drivers/media/platform/nxp/dwc-mipi-csi2.c
create mode 100644 drivers/media/platform/nxp/dwc-mipi-csi2.h
create mode 100644 drivers/media/platform/nxp/dwc-mipi-dphy.c
--
2.37.1
next reply other threads:[~2023-07-10 5:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 6:03 guoniu.zhou [this message]
2023-07-10 6:03 ` [PATCH v2 1/2] media: dt-bindings: Add binding doc for i.MX93 MIPI CSI-2 guoniu.zhou
2023-07-10 15:27 ` Rob Herring
2023-09-17 20:46 ` Laurent Pinchart
2023-07-10 6:03 ` [PATCH v2 2/2] media: nxp: add driver for i.MX93 MIPI CSI-2 controller and D-PHY guoniu.zhou
2023-09-13 20:36 ` Sakari Ailus
2023-09-17 21:25 ` Laurent Pinchart
2023-09-21 18:45 ` Niklas Söderlund
2023-09-21 21:38 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230710060352.584286-1-guoniu.zhou@oss.nxp.com \
--to=guoniu.zhou@oss.nxp.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jacopo.mondi@ideasonboard.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-imx@nxp.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).