[PATCH v4 0/7] drm/sun4i: Add support for dual-link LVDS on the A20

Maxime Ripard maxime at cerno.tech
Fri Feb 19 13:59:27 UTC 2021


Hi,

This is a fourth attempt at supporting the LVDS dual-link output on the
Allwinner A20.

Let me know what you think,
Maxime

Changes from v3:
  - Reintroduce the endpoint sanity check (and make of_graph_get_port_by_id
    const in the process)
  - Make a few doc fixes
  - Fix device_node leakage
  - Changed allwinner,lvds-companion to more generic link-companion
  - Rebased on 5.11

Changes from v2:
  - Added the DT binding description
  - Split the patch to enable the A20
  - Reworked a bit the error messages

Changes from v1:
  - Reworked the DT bindings
  - Refactored a bit the panel registration in the tcon code.

Maxime Ripard (7):
  of: Make of_graph_get_port_by_id take a const device_node
  drm/of: Change the prototype of drm_of_lvds_get_dual_link_pixel_order
  dt-bindings: display: sun4i: Add LVDS Dual-Link property
  drm/sun4i: tcon: Refactor the LVDS and panel probing
  drm/sun4i: tcon: Support the LVDS Dual-Link
  drm/sun4i: tcon: Enable the A20 dual-link output
  [DO NOT MERGE] ARM: dts: sun7i: Enable LVDS Dual-Link on the
    Cubieboard

 .../display/allwinner,sun4i-a10-tcon.yaml     |   6 +
 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts   |  69 ++++++++
 drivers/gpu/drm/drm_of.c                      | 138 +++++++++++----
 drivers/gpu/drm/rcar-du/rcar_lvds.c           |   8 +-
 drivers/gpu/drm/sun4i/sun4i_tcon.c            | 164 ++++++++++--------
 drivers/gpu/drm/sun4i/sun4i_tcon.h            |   4 +
 drivers/of/property.c                         |   2 +-
 include/drm/drm_of.h                          |  16 +-
 include/linux/of_graph.h                      |   4 +-
 9 files changed, 299 insertions(+), 112 deletions(-)

-- 
2.29.2



More information about the dri-devel mailing list