RFC Lager HDMI support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm: ADV7511 i2c HDMI encoder driverdrivers/ drivers/ drivers/ +2 more | +1749 | 9 replies | |
| 2/10 | drm: Decouple edid parsing from i2c adapterdrivers/ include/ | +13 | 0 replies | |
| 3/10 | ASoC: Add SPDIF DAI formatinclude/ | +1 | 0 replies | |
| 4/10 | i2c: rcar: modify I2C driverdrivers/ include/ | +19 | 4 replies | |
| 5/10 | ARM: shmobile: r8a7790: add I2C setuparch/ arch/ | +31 | 0 replies | |
| 6/10 | ARM: shmobile: r8a7790: add I2C clockarch/ | +11 | 3 replies | |
| 7/10 | ARM: shmobile: r8a7790: i2c pinmuxdrivers/ | +90 | 2 replies | |
| 8/10 | ARM: shmobile: r8a7790: lager: i2c supportarch/ | +32 | 1 reply | |
| 9/10 | drm: rcar-du: support for i2c HDMI encodersdrivers/ drivers/ drivers/ +5 more | +266 | 0 replies | |
| 10/10 | ARM: shmobile: r8a7790: lager: HDMI output via DU and ADV7511arch/ | +24 | 2 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Laurent Pinchart |
|---|---|
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | A-b |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/10] Lager HDMI support
Hi!
This is an attempt to enable the HDMI output on the Lager board. It is not likely to work as is because I do not have physical access to such a board yet, but it builds and runs, and the devices involved (i2c controller, DU, HDMI encoder) respond as expected.
This work depends on two unmerged drivers (r8a7790 i2c controller and ADV7511 HDMI encoder) that I have included in this patch set.
It appears that the DRM i2c slave code assumes that video encoders are always connected to a local dedicated i2c controller that is instantiated by the GPU driver. This is not so on the Lager board which has the HDMI encoder on a general-purpose i2c bus together with other devices. This makes it difficult for the DU driver to get an i2c_client handle to the encoder. I have solved this by forwarding the handle from the adv7511 driver to the DU driver via their platform_data structures. I'd like to hear if there is a more elegant/correct way to deal with this. (There is for DT, but this is the best C version I could come up with.)
The other question I have is what would be a viable strategy to get this whole mess upstream, particularly the adv7511 driver which requires changes to common DRM code...
CU
Uli
Lars-Peter Clausen (1):
ASoC: Add SPDIF DAI format
Nguyen Viet Dung (3):
i2c: rcar: modify I2C driver
ARM: shmobile: r8a7790: add I2C setup
ARM: shmobile: r8a7790: add I2C clock
Ulrich Hecht (6):
drm: ADV7511 i2c HDMI encoder driver
drm: Decouple edid parsing from i2c adapter
ARM: shmobile: r8a7790: i2c pinmux
ARM: shmobile: r8a7790: lager: i2c support
drm: rcar-du: support for i2c HDMI encoders
ARM: shmobile: r8a7790: lager: HDMI output via DU and ADV7511
arch/arm/mach-shmobile/board-lager.c | 56 ++ arch/arm/mach-shmobile/clock-r8a7790.c | 11 + arch/arm/mach-shmobile/include/mach/r8a7790.h | 3 + arch/arm/mach-shmobile/setup-r8a7790.c | 28 + drivers/gpu/drm/Kconfig | 6 + drivers/gpu/drm/drm_edid.c | 18 +- drivers/gpu/drm/i2c/Makefile | 3 + drivers/gpu/drm/i2c/adv7511.h | 455 ++++++++++++ drivers/gpu/drm/i2c/adv7511_audio.c | 304 ++++++++ drivers/gpu/drm/i2c/adv7511_core.c | 981 ++++++++++++++++++++++++++ drivers/gpu/drm/rcar-du/Makefile | 1 + drivers/gpu/drm/rcar-du/rcar_du_drv.c | 7 + drivers/gpu/drm/rcar-du/rcar_du_drv.h | 2 + drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 56 +- drivers/gpu/drm/rcar-du/rcar_du_encoder.h | 6 +- drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c | 165 +++++ drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h | 28 + drivers/i2c/busses/i2c-rcar.c | 17 +- drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 90 +++ include/drm/drm_edid.h | 3 + include/linux/i2c/i2c-rcar.h | 4 + include/linux/platform_data/rcar-du.h | 4 + include/sound/soc-dai.h | 1 + 23 files changed, 2236 insertions(+), 13 deletions(-) create mode 100644 drivers/gpu/drm/i2c/adv7511.h create mode 100644 drivers/gpu/drm/i2c/adv7511_audio.c create mode 100644 drivers/gpu/drm/i2c/adv7511_core.c create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h
Signature · 1 line
1.8.1.4