mbox series

[v2,0/6] media: adv748x: Implement dynamic routing support

Message ID 20190106155413.30666-1-jacopo+renesas@jmondi.org (mailing list archive)
Headers show
Series media: adv748x: Implement dynamic routing support | expand

Message

Jacopo Mondi Jan. 6, 2019, 3:54 p.m. UTC
Hello,
   second iteration for adv748x dynamic selection of video source.

Please refer to v1 cover letter for more details:
https://patchwork.kernel.org/cover/10723971/

This v2 addresses comments received from Kieran and Laurent, with the most
notable changes in patches 3/6 and 6/6.

Tested on R-Car E3 Ebisu board, where both AFE and HDMI backends share a
single CSI-2 output.

A noted on v1 cover letter, for the series to work on other R-Car SoC the
number of CSI-2 data lanes has to be negotiated, as the AFE->TXA link works
only when up to 2 data lanes are used, while most of Gen 3 SoCs (E3 excluded)
are configured to use 4 data lanes.


The series is based on media tree master with the following series from
Niklas applied on top:
[PATCH v4 0/4] i2c: adv748x: add support for CSI-2 TXA to work in 1-, 2- and 4-lane mode

Branch available for testing at:
git://jmondi.org/linux adv748x_dynamic-routing_v2

Thanks
  j

Jacopo Mondi (6):
  media: adv748x: Add is_txb()
  media: adv748x: Rename reset procedures
  media: adv748x: csi2: Link AFE with TXA and TXB
  media: adv748x: Store the source subdevice in TX
  media: adv748x: Store the TX sink in HDMI/AFE
  media: adv748x: Implement TX link_setup callback

 drivers/media/i2c/adv748x/adv748x-afe.c  |  2 +-
 drivers/media/i2c/adv748x/adv748x-core.c | 83 +++++++++++++++++++-----
 drivers/media/i2c/adv748x/adv748x-csi2.c | 65 ++++++++++++-------
 drivers/media/i2c/adv748x/adv748x-hdmi.c |  2 +-
 drivers/media/i2c/adv748x/adv748x.h      | 13 +++-
 5 files changed, 124 insertions(+), 41 deletions(-)

--
2.20.1