mbox series

[GIT,PULL,v2,for,4.20] Big V4L2 fwnode patchset

Message ID 20181001105929.qmgksm4em6gr72t2@valkosipuli.retiisi.org.uk (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,v2,for,4.20] Big V4L2 fwnode patchset | expand

Pull-request

ssh://linuxtv.org/git/sailus/media_tree.git tags/v4l2-fwnode-v3.1-3-sign

Message

Sakari Ailus Oct. 1, 2018, 10:59 a.m. UTC
Hi Mauro,

This set contains the big V4L2 fwnode framework rework, including mine and
Steve's patches. What is now possible includes tonnes of bugs fixed,
default V4L2 fwnode endpoint configuration as well as less manual DT
parsing in the i.MX driver.

Since v1:

- Updated fwnode patches from Steve, to address review comments (most
  importantly author vs. SoB difference).

- Rebase on current media-tree master.

- Added Jacopo's patchset adding default OF configuration for the
  renesas-ceu driver --- dependent on the rest of the set.

Please pull.


The following changes since commit 4158757395b300b6eb308fc20b96d1d231484413:

  media: davinci: Fix implicit enum conversion warning (2018-09-24 09:43:13 -0400)

are available in the git repository at:

  ssh://linuxtv.org/git/sailus/media_tree.git tags/v4l2-fwnode-v3.1-3-sign

for you to fetch changes up to 0159592728d2acd15defca7172d38ad6fb7bbe36:

  media: renesas-ceu: Use default mbus settings (2018-10-01 13:44:06 +0300)

----------------------------------------------------------------
Big v4l2 fwnode set plus Jacopo's renesas-ceu patches

----------------------------------------------------------------
Jacopo Mondi (3):
      dt-bindings: media: renesas-ceu: Refer to video-interfaces.txt
      dt-bindings: media: renesas-ceu: Add more endpoint properties
      media: renesas-ceu: Use default mbus settings

Sakari Ailus (23):
      v4l: fwnode: Add debug prints for V4L2 endpoint property parsing
      v4l: fwnode: Use fwnode_graph_for_each_endpoint
      v4l: fwnode: The CSI-2 clock is continuous if it's not non-continuous
      dt-bindings: media: Specify bus type for MIPI D-PHY, others, explicitly
      v4l: fwnode: Add definitions for CSI-2 D-PHY, parallel and Bt.656 busses
      v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY
      v4l: fwnode: Let the caller provide V4L2 fwnode endpoint
      v4l: fwnode: Detect bus type correctly
      v4l: fwnode: Make use of newly specified bus types
      v4l: fwnode: Read lane inversion information despite lane numbering
      v4l: fwnode: Only assign configuration if there is no error
      v4l: fwnode: Support driver-defined lane mapping defaults
      v4l: fwnode: Support default CSI-2 lane mapping for drivers
      v4l: fwnode: Parse the graph endpoint as last
      v4l: fwnode: Use default parallel flags
      v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero
      v4l: fwnode: Only zero the struct if bus type is set to V4L2_MBUS_UNKNOWN
      v4l: fwnode: Use media bus type for bus parser selection
      v4l: fwnode: Print bus type
      v4l: fwnode: Use V4L2 fwnode endpoint media bus type if set
      v4l: fwnode: Support parsing of CSI-2 C-PHY endpoints
      v4l: fwnode: Update V4L2 fwnode endpoint parsing documentation
      smiapp: Query the V4L2 endpoint for a specific bus type

Steve Longerbeam (17):
      media: v4l2-fwnode: ignore endpoints that have no remote port parent
      media: v4l2: async: Allow searching for asd of any type
      media: v4l2: async: Add v4l2_async_notifier_add_subdev
      media: v4l2: async: Add convenience functions to allocate and add asd's
      media: v4l2-fwnode: Switch to v4l2_async_notifier_add_subdev
      media: v4l2-fwnode: Add a convenience function for registering subdevs with notifiers
      media: platform: video-mux: Register a subdev notifier
      media: imx: csi: Register a subdev notifier
      media: imx: mipi csi-2: Register a subdev notifier
      media: staging/imx: of: Remove recursive graph walk
      media: staging/imx: Loop through all registered subdevs for media links
      media: staging/imx: Rename root notifier
      media: staging/imx: Switch to v4l2_async_notifier_add_*_subdev
      media: staging/imx: TODO: Remove one assumption about OF graph parsing
      media: platform: Switch to v4l2_async_notifier_add_subdev
      media: v4l2: async: Remove notifier subdevs array
      v4l2-subdev.rst: Update doc regarding subdev descriptors

 .../devicetree/bindings/media/renesas,ceu.txt      |  14 +-
 .../devicetree/bindings/media/video-interfaces.txt |   4 +-
 Documentation/media/kapi/v4l2-subdev.rst           |  30 +-
 arch/arm/boot/dts/gr-peach-audiocamerashield.dtsi  |   4 -
 drivers/gpu/ipu-v3/ipu-csi.c                       |   6 +-
 drivers/media/i2c/adv7180.c                        |   2 +-
 drivers/media/i2c/adv7604.c                        |   2 +-
 drivers/media/i2c/mt9v032.c                        |   2 +-
 drivers/media/i2c/ov2659.c                         |  14 +-
 drivers/media/i2c/ov5640.c                         |   6 +-
 drivers/media/i2c/ov5645.c                         |   2 +-
 drivers/media/i2c/ov5647.c                         |   2 +-
 drivers/media/i2c/ov7251.c                         |   4 +-
 drivers/media/i2c/ov7670.c                         |   2 +-
 drivers/media/i2c/s5c73m3/s5c73m3-core.c           |   4 +-
 drivers/media/i2c/s5k5baf.c                        |   6 +-
 drivers/media/i2c/s5k6aa.c                         |   2 +-
 drivers/media/i2c/smiapp/smiapp-core.c             |  34 +-
 drivers/media/i2c/soc_camera/ov5642.c              |   2 +-
 drivers/media/i2c/tc358743.c                       |  28 +-
 drivers/media/i2c/tda1997x.c                       |   2 +-
 drivers/media/i2c/tvp514x.c                        |   2 +-
 drivers/media/i2c/tvp5150.c                        |   2 +-
 drivers/media/i2c/tvp7002.c                        |   2 +-
 drivers/media/pci/intel/ipu3/ipu3-cio2.c           |  16 +-
 drivers/media/platform/Kconfig                     |   1 +
 drivers/media/platform/am437x/am437x-vpfe.c        |  84 +--
 drivers/media/platform/atmel/atmel-isc.c           |  18 +-
 drivers/media/platform/atmel/atmel-isi.c           |  19 +-
 drivers/media/platform/cadence/cdns-csi2rx.c       |  32 +-
 drivers/media/platform/cadence/cdns-csi2tx.c       |   4 +-
 drivers/media/platform/davinci/vpif_capture.c      |  73 ++-
 drivers/media/platform/davinci/vpif_display.c      |  20 +-
 drivers/media/platform/exynos4-is/media-dev.c      |  34 +-
 drivers/media/platform/exynos4-is/media-dev.h      |   1 -
 drivers/media/platform/exynos4-is/mipi-csis.c      |   2 +-
 drivers/media/platform/marvell-ccic/mcam-core.c    |   4 +-
 drivers/media/platform/marvell-ccic/mmp-driver.c   |   2 +-
 drivers/media/platform/omap3isp/isp.c              |   3 +-
 drivers/media/platform/pxa_camera.c                |  29 +-
 drivers/media/platform/qcom/camss/camss.c          |  89 ++-
 drivers/media/platform/qcom/camss/camss.h          |   2 +-
 drivers/media/platform/rcar-vin/rcar-core.c        |   6 +-
 drivers/media/platform/rcar-vin/rcar-csi2.c        |  26 +-
 drivers/media/platform/rcar_drif.c                 |  18 +-
 drivers/media/platform/renesas-ceu.c               |  72 ++-
 drivers/media/platform/soc_camera/soc_camera.c     |  35 +-
 drivers/media/platform/soc_camera/soc_mediabus.c   |   2 +-
 drivers/media/platform/stm32/stm32-dcmi.c          |  28 +-
 drivers/media/platform/ti-vpe/cal.c                |  35 +-
 drivers/media/platform/video-mux.c                 |  36 +-
 drivers/media/platform/xilinx/xilinx-vipp.c        | 173 +++--
 drivers/media/platform/xilinx/xilinx-vipp.h        |   4 -
 drivers/media/v4l2-core/v4l2-async.c               | 268 ++++++--
 drivers/media/v4l2-core/v4l2-fwnode.c              | 701 ++++++++++++++-------
 drivers/staging/media/imx/TODO                     |  29 +-
 drivers/staging/media/imx/imx-media-csi.c          |  67 +-
 drivers/staging/media/imx/imx-media-dev.c          | 145 ++---
 drivers/staging/media/imx/imx-media-internal-sd.c  |   5 +-
 drivers/staging/media/imx/imx-media-of.c           | 106 +---
 drivers/staging/media/imx/imx-media.h              |   6 +-
 drivers/staging/media/imx/imx6-mipi-csi2.c         |  31 +-
 drivers/staging/media/imx074/imx074.c              |   2 +-
 include/media/v4l2-async.h                         | 101 ++-
 include/media/v4l2-fwnode.h                        | 112 +++-
 include/media/v4l2-mediabus.h                      |   8 +-
 66 files changed, 1593 insertions(+), 1034 deletions(-)