From: Stefan Agner <stefan@agner.ch>
To: dri-devel@lists.freedesktop.org, shawnguo@kernel.org, stefan@agner.ch
Cc: meng.yi@nxp.com, pawel.moll@arm.com, alison.wang@freescale.com,
daniel.vetter@ffwll.ch, mturquette@baylibre.com,
ijc+devicetree@hellion.org.uk, sboyd@codeaurora.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, kernel@pengutronix.de, galak@codeaurora.org,
mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org,
alexander.stein@systec-electronic.com
Subject: [PATCH v2 0/8] add TCON and Vybrid support
Date: Mon, 28 Mar 2016 18:59:54 -0700 [thread overview]
Message-ID: <1459216802-32094-1-git-send-email-stefan@agner.ch> (raw)
This patchset adds the missing pieces to make the Freescale
DCU DRM driver work on Freescale Vybrid.
Foremost, it adds support for the timing controller (TCON)
module. The module is between the Display Controller and the
actual output pins. It allows to alter the timings for RAW
TFT displays, but can also operate in a bypass mode. This
change has only support for the bypass mode.
Earlier variants of the DCU DRM driver configured the TCON
module in bypass mode, however this has been removed and
postponed. The last variant with the TCON code was v9:
https://lkml.org/lkml/2015/7/13/242
The patchset also fixes the DCU related clocks in the Vybrid
clock tree and makes use of the common clock framework for
the pixelclock divider.
Testing on LS1021a welcomeing!
Changes since v1:
- Properly disable clocks on errors
- Create clear seperation of pixel clock and bus clock
- Simplified TCON driver by removing suspend/resume
capabilities (encoder disable/enable makes sure that
TCON bypass gets disabled/reenabled on suspend)
- Use common clock framework to create a divider clock
which represents the DCU internal pixel clock divider
Stefan Agner (8):
ARM: imx: clk-vf610: fix DCU clock tree
ARM: imx: clk-vf610: add TCON ipg clock
drm/fsl-dcu: disable clock on initialization failure and remove
drm/fsl-dcu: add extra clock for pixel clock
drm/fsl-dcu: use common clock framework for pixel clock divider
drm/fsl-dcu: add TCON driver
ARM: dts: vf610: add display nodes
ARM: dts: vf610-colibri: enable display controller
.../devicetree/bindings/display/fsl,dcu.txt | 6 ++
.../devicetree/bindings/display/fsl,tcon.txt | 18 ++++
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 16 +++
arch/arm/boot/dts/vf-colibri.dtsi | 33 +++++++
arch/arm/boot/dts/vfxxx.dtsi | 19 ++++
drivers/clk/imx/clk-vf610.c | 7 +-
drivers/gpu/drm/fsl-dcu/Makefile | 3 +-
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 7 +-
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 73 ++++++++++----
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h | 2 +
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 11 +++
drivers/gpu/drm/fsl-dcu/fsl_tcon.c | 108 +++++++++++++++++++++
drivers/gpu/drm/fsl-dcu/fsl_tcon.h | 33 +++++++
include/dt-bindings/clock/vf610-clock.h | 4 +-
14 files changed, 311 insertions(+), 29 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/fsl,tcon.txt
create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_tcon.c
create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_tcon.h
--
2.7.4
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2016-03-29 1:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 1:59 Stefan Agner [this message]
2016-03-29 1:59 ` [PATCH v2 1/8] ARM: imx: clk-vf610: fix DCU clock tree Stefan Agner
2016-03-29 1:59 ` [PATCH v2 2/8] ARM: imx: clk-vf610: add TCON ipg clock Stefan Agner
[not found] ` <1459216802-32094-1-git-send-email-stefan-XLVq0VzYD2Y@public.gmane.org>
2016-03-29 1:59 ` [PATCH v2 3/8] drm/fsl-dcu: disable clock on initialization failure and remove Stefan Agner
2016-03-29 2:00 ` [PATCH v2 8/8] ARM: dts: vf610-colibri: enable display controller Stefan Agner
2016-03-29 1:59 ` [PATCH v2 4/8] drm/fsl-dcu: add extra clock for pixel clock Stefan Agner
2016-03-31 14:42 ` Rob Herring
2016-03-29 1:59 ` [PATCH v2 5/8] drm/fsl-dcu: use common clock framework for pixel clock divider Stefan Agner
2016-03-29 2:00 ` [PATCH v2 6/8] drm/fsl-dcu: add TCON driver Stefan Agner
2016-03-29 6:45 ` Alexander Stein
2016-03-29 7:11 ` Stefan Agner
2016-03-29 7:26 ` Alexander Stein
2016-03-29 7:39 ` Stefan Agner
[not found] ` <1459216802-32094-7-git-send-email-stefan-XLVq0VzYD2Y@public.gmane.org>
2016-03-31 14:35 ` Rob Herring
2016-03-29 2:00 ` [PATCH v2 7/8] ARM: dts: vf610: add display nodes Stefan Agner
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=1459216802-32094-1-git-send-email-stefan@agner.ch \
--to=stefan@agner.ch \
--cc=alexander.stein@systec-electronic.com \
--cc=alison.wang@freescale.com \
--cc=daniel.vetter@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=meng.yi@nxp.com \
--cc=mturquette@baylibre.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=shawnguo@kernel.org \
/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 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).