mbox series

[0/6] media: Centralize MIPI CSI-2 data types in shared header

Message ID 20220123160857.24161-1-laurent.pinchart+renesas@ideasonboard.com (mailing list archive)
Headers show
Series media: Centralize MIPI CSI-2 data types in shared header | expand

Message

Laurent Pinchart Jan. 23, 2022, 4:08 p.m. UTC
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