linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-media@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org,
	"Sakari Ailus" <sakari.ailus@iki.fi>,
	"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
	"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
	"Jacopo Mondi" <jacopo@jmondi.org>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Dafna Hirschfeld" <dafna.hirschfeld@collabora.com>,
	"Pratyush Yadav" <p.yadav@ti.com>
Subject: [PATCH 0/6] media: Centralize MIPI CSI-2 data types in shared header
Date: Sun, 23 Jan 2022 18:08:51 +0200	[thread overview]
Message-ID: <20220123160857.24161-1-laurent.pinchart+renesas@ideasonboard.com> (raw)

Hello,

This short patch series is the result of me being fed up with seeing
MIPI CSI-2 data types duplicated through drivers.

Patch 1/6 adds a new shared header to define the data types, and patches
2/6 to 6/6 replace custom macros or hardcoded values in drivers. There
are a few other drivers left that should still be updated, additional
patches are welcome on top of this series :-)

Laurent Pinchart (6):
  media: Define MIPI CSI-2 data types in a shared header file
  media: cadence: cdns-csi2tx: Use mipi-csi2.h
  media: rcar-isp: Use mipi-csi2.h
  media: rcar-csi2: Use mipi-csi2.h
  media: rockchip: rkisp1: Use mipi-csi2.h
  media: xilinx: csi2rxss: Use mipi-csi2.h

 drivers/media/platform/cadence/cdns-csi2tx.c  |   5 +-
 drivers/media/platform/rcar-isp.c             |  32 +++++-
 drivers/media/platform/rcar-vin/rcar-csi2.c   |  57 ++++++++--
 .../platform/rockchip/rkisp1/rkisp1-isp.c     |  34 +++---
 .../platform/rockchip/rkisp1/rkisp1-regs.h    |  11 --
 .../media/platform/xilinx/xilinx-csi2rxss.c   | 106 ++++++++----------
 include/media/mipi-csi2.h                     |  45 ++++++++
 7 files changed, 183 insertions(+), 107 deletions(-)
 create mode 100644 include/media/mipi-csi2.h


base-commit: 68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c
-- 
Regards,

Laurent Pinchart


             reply	other threads:[~2022-01-23 16:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-23 16:08 Laurent Pinchart [this message]
2022-01-23 16:08 ` [PATCH 1/6] media: Define MIPI CSI-2 data types in a shared header file Laurent Pinchart
2022-01-24  9:06   ` Niklas Söderlund
2022-01-24 15:22   ` Pratyush Yadav
2022-01-26 11:50     ` Dave Stevenson
2022-01-26 11:59       ` Laurent Pinchart
2022-01-26  9:47   ` Kieran Bingham
2022-01-26 11:57     ` Laurent Pinchart
2022-01-23 16:08 ` [PATCH 2/6] media: cadence: cdns-csi2tx: Use mipi-csi2.h Laurent Pinchart
2022-04-14 14:42   ` Laurent Pinchart
2022-01-23 16:08 ` [PATCH 3/6] media: rcar-isp: " Laurent Pinchart
2022-01-24  9:07   ` Niklas Söderlund
2022-01-23 16:08 ` [PATCH 4/6] media: rcar-csi2: " Laurent Pinchart
2022-01-24  9:10   ` Niklas Söderlund
2022-01-23 16:08 ` [PATCH 5/6] media: rockchip: rkisp1: " Laurent Pinchart
2022-02-03  9:11   ` Dafna Hirschfeld
2022-01-23 16:08 ` [PATCH 6/6] media: xilinx: csi2rxss: " 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=20220123160857.24161-1-laurent.pinchart+renesas@ideasonboard.com \
    --to=laurent.pinchart+renesas@ideasonboard.com \
    --cc=dafna.hirschfeld@collabora.com \
    --cc=jacopo@jmondi.org \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mripard@kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=p.yadav@ti.com \
    --cc=sakari.ailus@iki.fi \
    /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).