From: Heiko Stuebner <heiko@sntech.de>
To: airlied@linux.ie, mark.yao@rock-chips.com,
laurent.pinchart@ideasonboard.com
Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH RFC v2 00/12] drm/rockchip: add support for lvds controller and external encoders
Date: Wed, 1 Apr 2015 12:09:34 +0200 [thread overview]
Message-ID: <1427882986-19110-1-git-send-email-heiko@sntech.de> (raw)
changes since v1:
- add separate components subdirectory
- implement the already existing bindings for adv7123 and vga-connector
instead of defining a new one
- use component graph for subsequent lvds-panel or connected external
encoders instead of defining special properties.
This series still adds support for the soc-level lvds encoder that also
controls the generic rgb output pins. Also generic components for "dumb"
vga encoders and connectors are added to a new subdirectory which implement
the already existing bindings for adv7123 and vga-connector.
While the major comment from Laurent Pinchart gets addressed with these
separate components, it still needs to address others like the lvds setting
in dt and how to handle the atomic mode setting conversion correctly.
But I'd still like to solicit opinions if the general concept looks sane
especially wrt. introducing the new components element and of_graph structure.
Tested on a firefly board using the vga connector.
Thanks
Heiko
Heiko Stuebner (10):
drm/encoder: add functionality to register encoders to a global list
drm/connector: add functionality to register connectors to a global
list
drm: add components subdirectory and infrastructure
drm/components: add generic vga encoder driver
drm/components: add generic vga connector driver
drm/rockchip: lvds: register a bridge when no panel is set
drm/rockchip: enable rgb output of vops for all other connectors
ARM: dts: rockchip: add rk3288 lcdc0 pinmux settings
ARM: dts: rockchip: add rk3288 lvds node
ARM: dts: rockchip: add vga encoder and enable lvds on rk3288-firefly
Mark Yao (2):
dt-bindings: Add documentation for rockchip lvds
drm/rockchip: Add support for Rockchip Soc LVDS
.../devicetree/bindings/video/rockchip-lvds.txt | 74 ++
arch/arm/boot/dts/rk3288-firefly.dtsi | 68 ++
arch/arm/boot/dts/rk3288.dtsi | 51 ++
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/components/Kconfig | 15 +
drivers/gpu/drm/components/Makefile | 4 +
drivers/gpu/drm/components/vga-connector.c | 254 ++++++
drivers/gpu/drm/components/vga-encoder.c | 315 ++++++++
drivers/gpu/drm/drm_crtc.c | 82 ++
drivers/gpu/drm/rockchip/Kconfig | 9 +
drivers/gpu/drm/rockchip/Makefile | 1 +
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 10 +-
drivers/gpu/drm/rockchip/rockchip_lvds.c | 851 +++++++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_lvds.h | 107 +++
include/drm/drm_crtc.h | 15 +
16 files changed, 1852 insertions(+), 7 deletions(-)
create mode 100644 Documentation/devicetree/bindings/video/rockchip-lvds.txt
create mode 100644 drivers/gpu/drm/components/Kconfig
create mode 100644 drivers/gpu/drm/components/Makefile
create mode 100644 drivers/gpu/drm/components/vga-connector.c
create mode 100644 drivers/gpu/drm/components/vga-encoder.c
create mode 100644 drivers/gpu/drm/rockchip/rockchip_lvds.c
create mode 100644 drivers/gpu/drm/rockchip/rockchip_lvds.h
--
2.1.4
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2015-04-01 10:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 10:09 Heiko Stuebner [this message]
2015-04-01 10:09 ` [PATCH RFC v2 01/12] drm/encoder: add functionality to register encoders to a global list Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 04/12] drm/components: add generic vga encoder driver Heiko Stuebner
[not found] ` <1427882986-19110-5-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2015-04-01 10:27 ` Russell King - ARM Linux
2015-04-01 10:40 ` Heiko Stübner
2015-04-01 10:09 ` [PATCH RFC v2 06/12] dt-bindings: Add documentation for rockchip lvds Heiko Stuebner
[not found] ` <1427882986-19110-1-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2015-04-01 10:09 ` [PATCH RFC v2 02/12] drm/connector: add functionality to register connectors to a global list Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 03/12] drm: add components subdirectory and infrastructure Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 05/12] drm/components: add generic vga connector driver Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 07/12] drm/rockchip: Add support for Rockchip Soc LVDS Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 08/12] drm/rockchip: lvds: register a bridge when no panel is set Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 09/12] drm/rockchip: enable rgb output of vops for all other connectors Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 10/12] ARM: dts: rockchip: add rk3288 lcdc0 pinmux settings Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 11/12] ARM: dts: rockchip: add rk3288 lvds node Heiko Stuebner
2015-04-01 10:09 ` [PATCH RFC v2 12/12] ARM: dts: rockchip: add vga encoder and enable lvds on rk3288-firefly Heiko Stuebner
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=1427882986-19110-1-git-send-email-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=airlied@linux.ie \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.yao@rock-chips.com \
/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).