devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor+dt@kernel.org, jacopo.mondi@ideasonboard.com
Subject: [PATCH 0/2] media: nxp: add i.MX93 MIPI CSI-2 support
Date: Mon,  3 Jul 2023 19:37:32 +0800	[thread overview]
Message-ID: <20230703113734.762307-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.

v4l2-compliance 1.23.0-4996, 64bits, 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 (Not Supported)

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 (Not Supported)
	test VIDIOC_QUERYCTRL: OK (Not Supported)
	test VIDIOC_G/S_CTRL: OK (Not Supported)
	test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
	test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
	test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
	Standard Controls: 0 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     |  140 ++
 MAINTAINERS                                   |   10 +
 drivers/media/platform/nxp/Kconfig            |   11 +
 drivers/media/platform/nxp/Makefile           |    3 +
 drivers/media/platform/nxp/dwc-mipi-csi2.c    | 1384 +++++++++++++++++
 drivers/media/platform/nxp/dwc-mipi-csi2.h    |  289 ++++
 drivers/media/platform/nxp/dwc-mipi-dphy.c    |  195 +++
 7 files changed, 2032 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


             reply	other threads:[~2023-07-03 11:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03 11:37 guoniu.zhou [this message]
2023-07-03 11:37 ` [PATCH 1/2] media: dt-bindings: Add binding doc for i.MX93 MIPI CSI-2 guoniu.zhou
2023-07-04  8:38   ` Alexander Stein
2023-07-05  1:36     ` G.N. Zhou (OSS)
2023-07-05 21:23       ` Laurent Pinchart
2023-07-06 10:08         ` G.N. Zhou (OSS)
2023-07-04 16:53   ` Conor Dooley
2023-07-05  1:30     ` G.N. Zhou (OSS)
2023-07-05 21:08       ` Conor Dooley
2023-07-03 11:37 ` [PATCH 2/2] media: nxp: add driver for i.MX93 MIPI CSI-2 controller and D-PHY guoniu.zhou
2023-07-04  9:23   ` Alexander Stein
2023-07-05  3:52     ` G.N. Zhou (OSS)
2023-07-05  6:50       ` Alexander Stein

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=20230703113734.762307-1-guoniu.zhou@oss.nxp.com \
    --to=guoniu.zhou@oss.nxp.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).