* [PATCH 0/2] ARM: dts: rockchip: add basic display nodes
@ 2015-01-21 21:31 Heiko Stübner
2015-01-21 21:32 ` [PATCH 1/2] ARM: dts: rockchip: Add rk3288 vop and display-subsystem Heiko Stübner
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Heiko Stübner @ 2015-01-21 21:31 UTC (permalink / raw)
To: linux-arm-kernel
The core drm support will be part of 3.19 and the hdmi support will enter
the 3.20 kernel - so add at least the basic devicetree nodes.
I've pulled these patches out of the Chromium tree, adapted them to the
current mainline dts and have been using them with a bunch of code on top
with the vga connector of a firefly board for a week or so.
@Daniel et all: I hope I've kept all the tags and attributions intact.
If anything is wrong please holler.
Andy Yan (1):
ARM: dts: rockchip: add rk3288 hdmi nodes
Daniel Kurtz (1):
ARM: dts: rockchip: Add rk3288 vop and display-subsystem
arch/arm/boot/dts/rk3288.dtsi | 76 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
--
2.1.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM: dts: rockchip: Add rk3288 vop and display-subsystem
2015-01-21 21:31 [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Heiko Stübner
@ 2015-01-21 21:32 ` Heiko Stübner
2015-01-21 21:32 ` [PATCH 2/2] ARM: dts: rockchip: add rk3288 hdmi nodes Heiko Stübner
2015-01-25 2:13 ` [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Daniel Kurtz
2 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2015-01-21 21:32 UTC (permalink / raw)
To: linux-arm-kernel
Add devicetree nodes for rk3288 VOP (Video Output Processors), and the
top level display-subsystem root node.
Later patches add endpoints (eDP, HDMI, LVDS, etc) that attach to the
VOPs' output ports.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark yao <mark.yao@rock-chips.com>
Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/boot/dts/rk3288.dtsi | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 2a878a3..1d22238 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -149,6 +149,11 @@
clock-frequency = <24000000>;
};
+ display-subsystem {
+ compatible = "rockchip,display-subsystem";
+ ports = <&vopl_out>, <&vopb_out>;
+ };
+
sdmmc: dwmmc at ff0c0000 {
compatible = "rockchip,rk3288-dw-mshc";
clock-freq-min-max = <400000 150000000>;
@@ -566,6 +571,23 @@
status = "disabled";
};
+ vopb: vop at ff930000 {
+ compatible = "rockchip,rk3288-vop";
+ reg = <0xff930000 0x19c>;
+ interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
+ clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
+ resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>;
+ reset-names = "axi", "ahb", "dclk";
+ iommus = <&vopb_mmu>;
+ status = "disabled";
+
+ vopb_out: port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+
vopb_mmu: iommu at ff930300 {
compatible = "rockchip,iommu";
reg = <0xff930300 0x100>;
@@ -575,6 +597,23 @@
status = "disabled";
};
+ vopl: vop at ff940000 {
+ compatible = "rockchip,rk3288-vop";
+ reg = <0xff940000 0x19c>;
+ interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>;
+ clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
+ resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>;
+ reset-names = "axi", "ahb", "dclk";
+ iommus = <&vopl_mmu>;
+ status = "disabled";
+
+ vopl_out: port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+
vopl_mmu: iommu at ff940300 {
compatible = "rockchip,iommu";
reg = <0xff940300 0x100>;
--
2.1.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM: dts: rockchip: add rk3288 hdmi nodes
2015-01-21 21:31 [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Heiko Stübner
2015-01-21 21:32 ` [PATCH 1/2] ARM: dts: rockchip: Add rk3288 vop and display-subsystem Heiko Stübner
@ 2015-01-21 21:32 ` Heiko Stübner
2015-01-25 2:13 ` [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Daniel Kurtz
2 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2015-01-21 21:32 UTC (permalink / raw)
To: linux-arm-kernel
Add an hdmi node, and also add hdmi endpoints to vopb and vopl
output port nodes.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/boot/dts/rk3288.dtsi | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 1d22238..c7235fa 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -585,6 +585,11 @@
vopb_out: port {
#address-cells = <1>;
#size-cells = <0>;
+
+ vopb_out_hdmi: endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&hdmi_in_vopb>;
+ };
};
};
@@ -611,6 +616,11 @@
vopl_out: port {
#address-cells = <1>;
#size-cells = <0>;
+
+ vopl_out_hdmi: endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&hdmi_in_vopl>;
+ };
};
};
@@ -623,6 +633,33 @@
status = "disabled";
};
+ hdmi: hdmi at ff980000 {
+ compatible = "rockchip,rk3288-dw-hdmi";
+ reg = <0xff980000 0x20000>;
+ reg-io-width = <4>;
+ ddc-i2c-bus = <&i2c5>;
+ rockchip,grf = <&grf>;
+ interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
+ clock-names = "iahb", "isfr";
+ status = "disabled";
+
+ ports {
+ hdmi_in: port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ hdmi_in_vopb: endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&vopb_out_hdmi>;
+ };
+ hdmi_in_vopl: endpoint at 1 {
+ reg = <1>;
+ remote-endpoint = <&vopl_out_hdmi>;
+ };
+ };
+ };
+ };
+
gic: interrupt-controller at ffc01000 {
compatible = "arm,gic-400";
interrupt-controller;
--
2.1.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 0/2] ARM: dts: rockchip: add basic display nodes
2015-01-21 21:31 [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Heiko Stübner
2015-01-21 21:32 ` [PATCH 1/2] ARM: dts: rockchip: Add rk3288 vop and display-subsystem Heiko Stübner
2015-01-21 21:32 ` [PATCH 2/2] ARM: dts: rockchip: add rk3288 hdmi nodes Heiko Stübner
@ 2015-01-25 2:13 ` Daniel Kurtz
2015-01-25 22:23 ` Heiko Stübner
2 siblings, 1 reply; 5+ messages in thread
From: Daniel Kurtz @ 2015-01-25 2:13 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 22, 2015 at 5:31 AM, Heiko St?bner <heiko@sntech.de> wrote:
> The core drm support will be part of 3.19 and the hdmi support will enter
> the 3.20 kernel - so add at least the basic devicetree nodes.
>
> I've pulled these patches out of the Chromium tree, adapted them to the
> current mainline dts and have been using them with a bunch of code on top
> with the vga connector of a firefly board for a week or so.
>
> @Daniel et all: I hope I've kept all the tags and attributions intact.
> If anything is wrong please holler.
The series looks good to me.
Thanks!
>
>
> Andy Yan (1):
> ARM: dts: rockchip: add rk3288 hdmi nodes
>
> Daniel Kurtz (1):
> ARM: dts: rockchip: Add rk3288 vop and display-subsystem
>
> arch/arm/boot/dts/rk3288.dtsi | 76 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 76 insertions(+)
>
> --
> 2.1.1
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 0/2] ARM: dts: rockchip: add basic display nodes
2015-01-25 2:13 ` [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Daniel Kurtz
@ 2015-01-25 22:23 ` Heiko Stübner
0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2015-01-25 22:23 UTC (permalink / raw)
To: linux-arm-kernel
Am Sonntag, 25. Januar 2015, 10:13:22 schrieb Daniel Kurtz:
> On Thu, Jan 22, 2015 at 5:31 AM, Heiko St?bner <heiko@sntech.de> wrote:
> > The core drm support will be part of 3.19 and the hdmi support will enter
> > the 3.20 kernel - so add at least the basic devicetree nodes.
> >
> > I've pulled these patches out of the Chromium tree, adapted them to the
> > current mainline dts and have been using them with a bunch of code on top
> > with the vga connector of a firefly board for a week or so.
> >
> > @Daniel et all: I hope I've kept all the tags and attributions intact.
> > If anything is wrong please holler.
>
> The series looks good to me.
> Thanks!
great :-)
I've added both patches to my dts branch.
Heiko
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-25 22:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 21:31 [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Heiko Stübner
2015-01-21 21:32 ` [PATCH 1/2] ARM: dts: rockchip: Add rk3288 vop and display-subsystem Heiko Stübner
2015-01-21 21:32 ` [PATCH 2/2] ARM: dts: rockchip: add rk3288 hdmi nodes Heiko Stübner
2015-01-25 2:13 ` [PATCH 0/2] ARM: dts: rockchip: add basic display nodes Daniel Kurtz
2015-01-25 22:23 ` Heiko Stübner
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.