linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/23] drm/sun4i: Add A83t LVDS support
@ 2017-10-17  9:06 Maxime Ripard
  2017-10-17  9:06 ` [PATCH 01/23] drm/sun4i: Implement endpoint parsing using kfifo Maxime Ripard
                   ` (23 more replies)
  0 siblings, 24 replies; 58+ messages in thread
From: Maxime Ripard @ 2017-10-17  9:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Here is an attempt at supporting the LVDS output in our DRM driver. This
has been tested on the A83T (with DE2), but since everything is basically
in the TCON, it should also be usable on the older SoCs with minor
modifications.

This was the occasion to refactor a bunch of things. The most notable ones
would be the documentation, and split of the UI layers in the mixer code,
and the switch to kfifo for our endpoint parsing code in the driver that
fixes an issue introduced by the switch to BFS.

Let me know what you think,
Maxime

Maxime Ripard (23):
  drm/sun4i: Implement endpoint parsing using kfifo
  drm/sun4i: Realign Makefile padding and reorder it
  drm/sun4i: tcon: Make tcon_set_mux mode argument const
  drm/sun4i: tcon: Make tcon_get_clk_delay mode argument const
  drm/sun4i: tcon: Don't rely on encoders to enable the TCON
  drm/sun4i: tcon: Don't rely on encoders to set the TCON mode
  drm/sun4i: tcon: Move out the tcon0 common setup
  dt-bindings: panel: lvds: Document power-supply property
  drm/panel: lvds: Add support for the power-supply property
  clk: sunxi-ng: Add A83T display clocks
  drm/sun4i: Rename layers to UI planes
  drm/sun4i: sun8i: properly support UI channels
  drm/sun4i: Reorder and document DE2 mixer registers
  drm/sun4i: Create minimal multipliers and dividers
  drm/sun4i: Add LVDS support
  drm/sun4i: Add A83T support
  arm: dts: sun8i: a83t: Add display pipeline
  arm: dts: sun8i: a83t: Enable the PWM
  arm: dts: sun8i: a83t: Add LVDS pins group
  arm: dts: sun8i: a83t: Add the PWM pin group
  arm: dts: sun8i: a711: Add regulator support
  arm: dts: sun8i: a711: Enable USB OTG
  arm: dts: sun8i: a711: Enable the LCD

 Documentation/devicetree/bindings/display/panel/panel-common.txt |   6 +-
 Documentation/devicetree/bindings/display/panel/panel-lvds.txt   |   1 +-
 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt    |   3 +-
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts                        | 232 +++++++++++++++++++++++++++++++++++++++++++++++++--
 arch/arm/boot/dts/sun8i-a83t.dtsi                                | 100 ++++++++++++++++++++++-
 drivers/clk/sunxi-ng/ccu-sun8i-de2.c                             |  21 +++--
 drivers/gpu/drm/panel/panel-lvds.c                               |  23 +++++-
 drivers/gpu/drm/sun4i/Makefile                                   |  29 +++---
 drivers/gpu/drm/sun4i/sun4i_crtc.c                               |  32 ++++++-
 drivers/gpu/drm/sun4i/sun4i_dotclock.c                           |  10 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c                                |  73 +++-------------
 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c                       |   1 +-
 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c                           |  15 +---
 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c                      |   1 +-
 drivers/gpu/drm/sun4i/sun4i_lvds.c                               | 183 ++++++++++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/sun4i/sun4i_lvds.h                               |  18 ++++-
 drivers/gpu/drm/sun4i/sun4i_rgb.c                                |  29 +------
 drivers/gpu/drm/sun4i/sun4i_tcon.c                               | 326 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 drivers/gpu/drm/sun4i/sun4i_tcon.h                               |  50 +++++++----
 drivers/gpu/drm/sun4i/sun4i_tv.c                                 |  12 +---
 drivers/gpu/drm/sun4i/sun8i_layer.c                              | 134 +------------------------------
 drivers/gpu/drm/sun4i/sun8i_layer.h                              |  36 +--------
 drivers/gpu/drm/sun4i/sun8i_mixer.c                              |  81 ++++++++----------
 drivers/gpu/drm/sun4i/sun8i_mixer.h                              | 101 ++++++++++++----------
 drivers/gpu/drm/sun4i/sun8i_ui.c                                 | 136 ++++++++++++++++++++++++++++++-
 drivers/gpu/drm/sun4i/sun8i_ui.h                                 |  37 ++++++++-
 26 files changed, 1212 insertions(+), 478 deletions(-)
 create mode 100644 drivers/gpu/drm/sun4i/sun4i_lvds.c
 create mode 100644 drivers/gpu/drm/sun4i/sun4i_lvds.h
 delete mode 100644 drivers/gpu/drm/sun4i/sun8i_layer.c
 delete mode 100644 drivers/gpu/drm/sun4i/sun8i_layer.h
 create mode 100644 drivers/gpu/drm/sun4i/sun8i_ui.c
 create mode 100644 drivers/gpu/drm/sun4i/sun8i_ui.h

base-commit: 5ffd95d0dc16c6491631b6ca19403c96fd3db5d5
-- 
git-series 0.9.1

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

end of thread, other threads:[~2017-10-24  2:12 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17  9:06 [PATCH 00/23] drm/sun4i: Add A83t LVDS support Maxime Ripard
2017-10-17  9:06 ` [PATCH 01/23] drm/sun4i: Implement endpoint parsing using kfifo Maxime Ripard
2017-10-17  9:19   ` Chen-Yu Tsai
2017-10-17 14:29     ` Maxime Ripard
2017-10-17  9:06 ` [PATCH 02/23] drm/sun4i: Realign Makefile padding and reorder it Maxime Ripard
2017-10-17  9:14   ` Chen-Yu Tsai
2017-10-17 14:34     ` Maxime Ripard
2017-10-17  9:06 ` [PATCH 03/23] drm/sun4i: tcon: Make tcon_set_mux mode argument const Maxime Ripard
2017-10-17  9:21   ` Chen-Yu Tsai
2017-10-17 14:35     ` Maxime Ripard
2017-10-17  9:06 ` [PATCH 04/23] drm/sun4i: tcon: Make tcon_get_clk_delay " Maxime Ripard
2017-10-17  9:22   ` Chen-Yu Tsai
2017-10-17 14:37     ` Maxime Ripard
2017-10-17  9:06 ` [PATCH 05/23] drm/sun4i: tcon: Don't rely on encoders to enable the TCON Maxime Ripard
2017-10-17  9:28   ` Chen-Yu Tsai
2017-10-17 14:38     ` Maxime Ripard
2017-10-17  9:06 ` [PATCH 06/23] drm/sun4i: tcon: Don't rely on encoders to set the TCON mode Maxime Ripard
2017-10-17  9:56   ` Chen-Yu Tsai
2017-10-17 14:39     ` Maxime Ripard
2017-10-17  9:06 ` [PATCH 07/23] drm/sun4i: tcon: Move out the tcon0 common setup Maxime Ripard
2017-10-17 10:00   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 08/23] dt-bindings: panel: lvds: Document power-supply property Maxime Ripard
2017-10-17 10:01   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 09/23] drm/panel: lvds: Add support for the " Maxime Ripard
2017-10-17 10:02   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 10/23] clk: sunxi-ng: Add A83T display clocks Maxime Ripard
2017-10-17 10:04   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 11/23] drm/sun4i: Rename layers to UI planes Maxime Ripard
2017-10-17 10:09   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 12/23] drm/sun4i: sun8i: properly support UI channels Maxime Ripard
2017-10-17 12:17   ` icenowy at aosc.io
2017-10-17  9:06 ` [PATCH 13/23] drm/sun4i: Reorder and document DE2 mixer registers Maxime Ripard
2017-10-17  9:06 ` [PATCH 14/23] drm/sun4i: Create minimal multipliers and dividers Maxime Ripard
2017-10-17 10:15   ` Chen-Yu Tsai
2017-10-24  2:12   ` [14/23] " Jonathan Liu
2017-10-17  9:06 ` [PATCH 15/23] drm/sun4i: Add LVDS support Maxime Ripard
2017-10-17 11:51   ` Chen-Yu Tsai
2017-10-22 18:52   ` Priit Laes
2017-10-23  2:23   ` [15/23] " Jonathan Liu
2017-10-23 20:17   ` [PATCH 15/23] " Priit Laes
2017-10-17  9:06 ` [PATCH 16/23] drm/sun4i: Add A83T support Maxime Ripard
2017-10-17 10:34   ` Chen-Yu Tsai
2017-10-17 12:28   ` icenowy at aosc.io
2017-10-17  9:06 ` [PATCH 17/23] arm: dts: sun8i: a83t: Add display pipeline Maxime Ripard
2017-10-17 10:48   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 18/23] arm: dts: sun8i: a83t: Enable the PWM Maxime Ripard
2017-10-17 11:57   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 19/23] arm: dts: sun8i: a83t: Add LVDS pins group Maxime Ripard
2017-10-17 10:50   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 20/23] arm: dts: sun8i: a83t: Add the PWM pin group Maxime Ripard
2017-10-17 10:51   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 21/23] arm: dts: sun8i: a711: Add regulator support Maxime Ripard
2017-10-17 12:08   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 22/23] arm: dts: sun8i: a711: Enable USB OTG Maxime Ripard
2017-10-17 10:53   ` Chen-Yu Tsai
2017-10-17  9:06 ` [PATCH 23/23] arm: dts: sun8i: a711: Enable the LCD Maxime Ripard
2017-10-17 12:16   ` Chen-Yu Tsai
2017-10-17 12:16 ` [PATCH 00/23] drm/sun4i: Add A83t LVDS support Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).