From: Kieran Bingham <kbingham@kernel.org>
To: linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: laurent.pinchart@ideasonboard.com,
kieran.bingham@ideasonboard.com, niklas.soderlund@ragnatech.se,
hans.verkuil@cisco.com,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Subject: [PATCH v7 0/3] ADV748x HDMI/Analog video receiver
Date: Thu, 6 Jul 2017 12:01:14 +0100 [thread overview]
Message-ID: <cover.f44897c9f4c2d4555dfa156cc24a755477e409bf.1499336175.git-series.kieran.bingham+renesas@ideasonboard.com> (raw)
From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
This is a driver for the Analog Devices ADV748x device, and follows on from a
previous posting by Niklas Söderlund [0] of an earlier incarnation of this
driver, and earlier versions posted by myself.
ADV748x
=======
The ADV7481 and ADV7482 support two video pipelines which can run independently
of each other, with each pipeline terminating in a CSI-2 output: TXA (4-Lane)
and TXB (1-Lane)
The ADV7480 (Not included here), ADV7481, and ADV7482 are all derivatives,
with the following features
Analog HDMI MHL 4-Lane 1-Lane
In In CSI CSI
ADV7480 X X X
ADV7481 X X X X X
ADV7482 X X X X
Implementation
==============
This driver creates 4 entities. AFE (CVBS/Analog In), HDMI, TXA and TXB. At
probe time, the DT is parsed to identify the endpoints for each of these nodes,
and those are used for async matching of the CSI2 (TXA/TXB) entities in the
master driver. The HDMI and AFE entities are then registered after a successful
registration of both the CSI2 entities.
HDMI is statically linked to the TXA entity, while the AFE is statically linked
to the TXB entity. Routing the AFE through TXA is not supported.
Support for setting the EDID on HDMI is provided
(Known) Future Todo's
=====================
Further potential development areas include:
- ADV7480 Support (No AFE)
- MHL support (Not present on ADV7482)
- CEC Support
- Configurable I2C addressing
- Interrupt handling for format changes and hotplug detect.
However, this driver is functional without the above, and these developments
can be written when required.
References
==========
[0] http://www.mail-archive.com/linux-renesas-soc@vger.kernel.org/msg05196.html
v1/RFC:
- Initial posting
v2:
- Reworked DT parsing and entities
v3:
- Refreshed with lots of fixups from Sakari's review comments
v4:
- Many changes all round, following Laurent's review and extensive development
- Now uses regmap
- AFE port numbering has been changed to match the entity pads
v5:
- DT is now based on the latest salvator-common.dtsi
- Entities are linked with immutable connections
v6:
- EDID support added to HDMI
- AFE no longer autodetects input format by default.
v7:
- Comments from Hans addressed
- AFE now uses FIELD_ALTERNATE
- HDMI interlaced support removed (it's untested)
Kieran Bingham (3):
media: adv748x: Add adv7481, adv7482 bindings
media: i2c: adv748x: add adv748x driver
MAINTAINERS: Add ADV748x driver
Documentation/devicetree/bindings/media/i2c/adv748x.txt | 95 +-
MAINTAINERS | 6 +-
drivers/media/i2c/Kconfig | 12 +-
drivers/media/i2c/Makefile | 1 +-
drivers/media/i2c/adv748x/Makefile | 7 +-
drivers/media/i2c/adv748x/adv748x-afe.c | 552 ++++++-
drivers/media/i2c/adv748x/adv748x-core.c | 832 +++++++++-
drivers/media/i2c/adv748x/adv748x-csi2.c | 327 ++++-
drivers/media/i2c/adv748x/adv748x-hdmi.c | 768 ++++++++-
drivers/media/i2c/adv748x/adv748x.h | 425 +++++-
10 files changed, 3025 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/adv748x.txt
create mode 100644 drivers/media/i2c/adv748x/Makefile
create mode 100644 drivers/media/i2c/adv748x/adv748x-afe.c
create mode 100644 drivers/media/i2c/adv748x/adv748x-core.c
create mode 100644 drivers/media/i2c/adv748x/adv748x-csi2.c
create mode 100644 drivers/media/i2c/adv748x/adv748x-hdmi.c
create mode 100644 drivers/media/i2c/adv748x/adv748x.h
base-commit: 2748e76ddb2967c4030171342ebdd3faa6a5e8e8
--
git-series 0.9.1
next reply other threads:[~2017-07-06 11:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-06 11:01 Kieran Bingham [this message]
2017-07-06 11:01 ` [PATCH v7 1/3] media: adv748x: Add adv7481, adv7482 bindings Kieran Bingham
2017-07-06 11:01 ` Kieran Bingham
2017-07-10 3:52 ` Rob Herring
2017-07-10 3:52 ` Rob Herring
2017-07-06 11:01 ` [PATCH v7 2/3] media: i2c: adv748x: add adv748x driver Kieran Bingham
2017-07-13 6:28 ` Niklas Söderlund
2017-07-14 16:45 ` Kieran Bingham
2017-07-15 13:00 ` Niklas Söderlund
2017-07-18 8:41 ` Sakari Ailus
2017-07-06 11:01 ` [PATCH v7 3/3] MAINTAINERS: Add ADV748x driver Kieran Bingham
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=cover.f44897c9f4c2d4555dfa156cc24a755477e409bf.1499336175.git-series.kieran.bingham+renesas@ideasonboard.com \
--to=kbingham@kernel.org \
--cc=hans.verkuil@cisco.com \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=niklas.soderlund@ragnatech.se \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.