All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm: Add LVDS decoder bridge
@ 2018-03-08 15:24 Jacopo Mondi
  2018-03-08 15:24 ` [PATCH 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder Jacopo Mondi
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Jacopo Mondi @ 2018-03-08 15:24 UTC (permalink / raw)
  To: architt, a.hajda, Laurent.pinchart, airlied, horms, magnus.damm,
	geert, niklas.soderlund, sergei.shtylyov, robh+dt, mark.rutland
  Cc: Jacopo Mondi, dri-devel, linux-renesas-soc, devicetree, linux-kernel

Hello,
   this small series add a driver for transparent LVDS decoders, as
Thine THC63LVD1024 device.

The R-Car Gen3 V3M Eagle board feature such a converter, that has been so far
not described as part of the display output pipeline. Now that a driver has
been added, the Eagle DTS file has been updated to include the transparent
decoder chip.

So far so good, but currently the current DRM Bridge API do not provide support
to query a mode from another bridge as it is possible to do on panel devices.
In our case the LVDS decoder is connected to the output of R-Car DU lvds encoder
(drivers/gpu/drm/rcar-du/rcar_lvds.c). As its 'mode_set' function shows, LVDS
modes cannot be propagated from bridge to another bridge, but are instead
inferred from the bus_format field of the panel's connector.

It is my intention to propose an API extension to allow formats to be propagated
through bridges, but knowing the DRM/KMS subsystem very superficially I would
appreciate any pointer from more experienced developers.

For Renesas side:
The series is based on Laurent's drm/next/du branch with patches on top for:
- Sergei: Enable PFC, I2c, GPIOs for r8a77970
- Sergei: Add support for r8a77970 in DU and add display device nodes in
  r8a77970 DTSI
- Niklas: Connect DU LVDS output to HDMI bridge adv7511w in Eagle DTS
- Sergei: fix video output on R8A77970

A base branch with these patches applied is available at
git://jmondi.org/linux v3m/v4.16-rc3/base

Tested on Eagle board, making sure DU probes and testing all available output
modes (of which only a few are actually working, I suspect due to faulty mode
propagation through DRM bridges).

Thanks
   j

Jacopo Mondi (3):
  dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder
  drm: bridge: Add LVDS decoder driver
  arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

 .../bindings/display/bridge/thine,thc63lvd1024.txt |  59 +++++
 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts     |  31 ++-
 drivers/gpu/drm/bridge/Kconfig                     |   8 +
 drivers/gpu/drm/bridge/Makefile                    |   1 +
 drivers/gpu/drm/bridge/lvds-decoder.c              | 239 +++++++++++++++++++++
 5 files changed, 336 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.txt
 create mode 100644 drivers/gpu/drm/bridge/lvds-decoder.c

--
2.7.4

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-03-09  9:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 15:24 [PATCH 0/3] drm: Add LVDS decoder bridge Jacopo Mondi
2018-03-08 15:24 ` [PATCH 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder Jacopo Mondi
2018-03-09  8:01   ` Andrzej Hajda
2018-03-09  8:01     ` Andrzej Hajda
2018-03-09  8:53     ` jacopo mondi
2018-03-09  8:53       ` jacopo mondi
2018-03-09  8:10   ` Geert Uytterhoeven
2018-03-09  8:10     ` Geert Uytterhoeven
2018-03-09  9:04     ` jacopo mondi
2018-03-09  9:04       ` jacopo mondi
2018-03-09  9:22       ` Geert Uytterhoeven
2018-03-09  9:22         ` Geert Uytterhoeven
2018-03-09  9:29         ` jacopo mondi
2018-03-09  9:29           ` jacopo mondi
2018-03-08 15:24 ` [PATCH 2/3] drm: bridge: Add LVDS decoder driver Jacopo Mondi
2018-03-08 15:24 ` [PATCH 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle Jacopo Mondi
2018-03-09  8:43   ` Sergei Shtylyov
2018-03-09  8:43     ` Sergei Shtylyov

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.