* [PATCH 01/15] ARM: shmobile: r8a7790: Reference DMA channels in SDHI DT nodes
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 02/15] ARM: shmobile: r8a7791: " Simon Horman
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Add references to the transmit and receive DMA channels in the four
SDHI nodes.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index c6c0a0c..5ce3564 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -496,6 +496,8 @@
reg = <0 0xee100000 0 0x200>;
interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
+ dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -504,6 +506,8 @@
reg = <0 0xee120000 0 0x200>;
interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
+ dmas = <&dmac1 0xc9>, <&dmac1 0xca>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -512,6 +516,8 @@
reg = <0 0xee140000 0 0x100>;
interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
+ dmas = <&dmac1 0xc1>, <&dmac1 0xc2>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -520,6 +526,8 @@
reg = <0 0xee160000 0 0x100>;
interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
+ dmas = <&dmac1 0xd3>, <&dmac1 0xd4>;
+ dma-names = "tx", "rx";
status = "disabled";
};
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 02/15] ARM: shmobile: r8a7791: Reference DMA channels in SDHI DT nodes
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
2015-03-10 0:44 ` [PATCH 01/15] ARM: shmobile: r8a7790: Reference DMA channels in SDHI DT nodes Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 03/15] ARM: shmobile: r8a7790: tidyup SDHI register size on DTSI Simon Horman
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Add references to the transmit and receive DMA channels in the three
SDHI nodes.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 1e593a2..32f0506 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -485,6 +485,8 @@
reg = <0 0xee100000 0 0x200>;
interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7791_CLK_SDHI0>;
+ dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -493,6 +495,8 @@
reg = <0 0xee140000 0 0x100>;
interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7791_CLK_SDHI1>;
+ dmas = <&dmac1 0xc1>, <&dmac1 0xc2>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -501,6 +505,8 @@
reg = <0 0xee160000 0 0x100>;
interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7791_CLK_SDHI2>;
+ dmas = <&dmac1 0xd3>, <&dmac1 0xd4>;
+ dma-names = "tx", "rx";
status = "disabled";
};
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 03/15] ARM: shmobile: r8a7790: tidyup SDHI register size on DTSI
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
2015-03-10 0:44 ` [PATCH 01/15] ARM: shmobile: r8a7790: Reference DMA channels in SDHI DT nodes Simon Horman
2015-03-10 0:44 ` [PATCH 02/15] ARM: shmobile: r8a7791: " Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 04/15] ARM: shmobile: r8a7791: " Simon Horman
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
r8a7790 SDHI ch0/ch1 has SD_DMACR which is located in 0x324.
This patch updates register size
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 5ce3564..31569ac 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -493,7 +493,7 @@
sdhi0: sd at ee100000 {
compatible = "renesas,sdhi-r8a7790";
- reg = <0 0xee100000 0 0x200>;
+ reg = <0 0xee100000 0 0x328>;
interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
@@ -503,7 +503,7 @@
sdhi1: sd at ee120000 {
compatible = "renesas,sdhi-r8a7790";
- reg = <0 0xee120000 0 0x200>;
+ reg = <0 0xee120000 0 0x328>;
interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
dmas = <&dmac1 0xc9>, <&dmac1 0xca>;
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 04/15] ARM: shmobile: r8a7791: tidyup SDHI register size on DTSI
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (2 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 03/15] ARM: shmobile: r8a7790: tidyup SDHI register size on DTSI Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 05/15] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk Simon Horman
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
r8a7791 SDHI ch0/ch1 has SD_DMACR which is located in 0x324.
This patch updates register size
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 32f0506..fbb33bb 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -482,7 +482,7 @@
sdhi0: sd at ee100000 {
compatible = "renesas,sdhi-r8a7791";
- reg = <0 0xee100000 0 0x200>;
+ reg = <0 0xee100000 0 0x328>;
interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7791_CLK_SDHI0>;
dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 05/15] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (3 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 04/15] ARM: shmobile: r8a7791: " Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 06/15] ARM: shmobile: r8a7791: " Simon Horman
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
HSUSB uses hp_clk rather than mp_clk for H/W register access.
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
[horms: updated changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 31569ac..b320252 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1,6 +1,7 @@
/*
* Device Tree Source for the r8a7790 SoC
*
+ * Copyright (C) 2015 Renesas Electronics Corporation
* Copyright (C) 2013-2014 Renesas Solutions Corp.
* Copyright (C) 2014 Cogent Embedded Inc.
*
@@ -1181,7 +1182,7 @@
mstp7_clks: mstp7_clks at e615014c {
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
- clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
+ clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
<&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
<&zx_clk>;
#clock-cells = <1>;
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 06/15] ARM: shmobile: r8a7791: Fix HSUSB clock to hp_clk from mp_clk
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (4 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 05/15] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 07/15] ARM: shmobile: lager: Add DU HDMI output support Simon Horman
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
HSUSB uses hp_clk rather than mp_clk for H/W register access.
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
[horms: updated changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index fbb33bb..de42fc5 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1,7 +1,7 @@
/*
* Device Tree Source for the r8a7791 SoC
*
- * Copyright (C) 2013-2014 Renesas Electronics Corporation
+ * Copyright (C) 2013-2015 Renesas Electronics Corporation
* Copyright (C) 2013-2014 Renesas Solutions Corp.
* Copyright (C) 2014 Cogent Embedded Inc.
*
@@ -1184,7 +1184,7 @@
mstp7_clks: mstp7_clks at e615014c {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
- clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
+ clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
<&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
<&zx_clk>, <&zx_clk>, <&zx_clk>;
#clock-cells = <1>;
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 07/15] ARM: shmobile: lager: Add DU HDMI output support
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (5 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 06/15] ARM: shmobile: r8a7791: " Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 08/15] ARM: shmobile: ape6evm dts: Fix polarity of LEDs Simon Horman
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Add DT nodes for the ADV7511 HDMI encoder and its HDMI output connector.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790-lager.dts | 48 +++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 0c3b678..631b3f5 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -222,6 +222,17 @@
};
};
};
+
+ hdmi-out {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con: endpoint {
+ remote-endpoint = <&adv7511_out>;
+ };
+ };
+ };
};
&du {
@@ -235,6 +246,11 @@
remote-endpoint = <&adv7123_in>;
};
};
+ port at 1 {
+ endpoint {
+ remote-endpoint = <&adv7511_in>;
+ };
+ };
port at 2 {
lvds_connector: endpoint {
};
@@ -506,6 +522,38 @@
};
};
};
+
+ hdmi at 39 {
+ compatible = "adi,adv7511w";
+ reg = <0x39>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
+
+ adi,input-depth = <8>;
+ adi,input-colorspace = "rgb";
+ adi,input-clock = "1x";
+ adi,input-style = <1>;
+ adi,input-justification = "evenly";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port at 0 {
+ reg = <0>;
+ adv7511_in: endpoint {
+ remote-endpoint = <&du_out_lvds0>;
+ };
+ };
+
+ port at 1 {
+ reg = <1>;
+ adv7511_out: endpoint {
+ remote-endpoint = <&hdmi_con>;
+ };
+ };
+ };
+ };
};
&iic3 {
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 08/15] ARM: shmobile: ape6evm dts: Fix polarity of LEDs
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (6 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 07/15] ARM: shmobile: lager: Add DU HDMI output support Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 09/15] ARM: shmobile: marzen: Add DU external pixel clock to DT Simon Horman
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
While the LEDs on r8a73a4/ape6evm are tied to VSUPPLY, they're driven by
an N-channel MOSFET. Hence the GPIO signal should be active high.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a73a4-ape6evm.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
index 0d50bef..e8f3f38 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
@@ -95,27 +95,27 @@
leds {
compatible = "gpio-leds";
led1 {
- gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
+ gpios = <&pfc 28 GPIO_ACTIVE_HIGH>;
label = "GNSS_EN";
};
led2 {
- gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
+ gpios = <&pfc 126 GPIO_ACTIVE_HIGH>;
label = "NFC_NRST";
};
led3 {
- gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
+ gpios = <&pfc 132 GPIO_ACTIVE_HIGH>;
label = "GNSS_NRST";
};
led4 {
- gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
+ gpios = <&pfc 232 GPIO_ACTIVE_HIGH>;
label = "BT_WAKEUP";
};
led5 {
- gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
+ gpios = <&pfc 250 GPIO_ACTIVE_HIGH>;
label = "STROBE";
};
led6 {
- gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
+ gpios = <&pfc 288 GPIO_ACTIVE_HIGH>;
label = "BBRESETOUT";
};
};
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 09/15] ARM: shmobile: marzen: Add DU external pixel clock to DT
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (7 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 08/15] ARM: shmobile: ape6evm dts: Fix polarity of LEDs Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 10/15] ARM: shmobile: koelsch: Add DU external pixel clocks " Simon Horman
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Declare the fixed 65MHz pixel clock connected to the DU clock input.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7779-marzen.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts b/arch/arm/boot/dts/r8a7779-marzen.dts
index e83d40e..540756c 100644
--- a/arch/arm/boot/dts/r8a7779-marzen.dts
+++ b/arch/arm/boot/dts/r8a7779-marzen.dts
@@ -122,6 +122,12 @@
};
};
};
+
+ x3_clk: x3-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <65000000>;
+ };
};
&du {
@@ -129,6 +135,9 @@
pinctrl-names = "default";
status = "okay";
+ clocks = <&mstp1_clks R8A7779_CLK_DU>, <&x3_clk>;
+ clock-names = "du", "dclkin.0";
+
ports {
port at 0 {
endpoint {
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 10/15] ARM: shmobile: koelsch: Add DU external pixel clocks to DT
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (8 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 09/15] ARM: shmobile: marzen: Add DU external pixel clock to DT Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 11/15] ARM: shmobile: lager: " Simon Horman
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Declare the fixed 148.5MHz pixel clocks connected to the DU clock
inputs.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 624bb2c..75fa985 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -269,6 +269,18 @@
};
};
};
+
+ x2_clk: x2-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ };
+
+ x13_clk: x13-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ };
};
&du {
@@ -276,6 +288,13 @@
pinctrl-names = "default";
status = "okay";
+ clocks = <&mstp7_clks R8A7791_CLK_DU0>,
+ <&mstp7_clks R8A7791_CLK_DU1>,
+ <&mstp7_clks R8A7791_CLK_LVDS0>,
+ <&x13_clk>, <&x2_clk>;
+ clock-names = "du.0", "du.1", "lvds.0",
+ "dclkin.0", "dclkin.1";
+
ports {
port at 0 {
endpoint {
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 11/15] ARM: shmobile: lager: Add DU external pixel clocks to DT
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (9 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 10/15] ARM: shmobile: koelsch: Add DU external pixel clocks " Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 12/15] ARM: shmobile: r8a7794: alt: Fix ethernet controller PHY IRQ line Simon Horman
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Declare the fixed 148.5MHz pixel clocks connected to the DU clock
inputs.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790-lager.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 631b3f5..329bb99 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -233,6 +233,18 @@
};
};
};
+
+ x2_clk: x2-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ };
+
+ x13_clk: x13-clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <148500000>;
+ };
};
&du {
@@ -240,6 +252,15 @@
pinctrl-names = "default";
status = "okay";
+ clocks = <&mstp7_clks R8A7790_CLK_DU0>,
+ <&mstp7_clks R8A7790_CLK_DU1>,
+ <&mstp7_clks R8A7790_CLK_DU2>,
+ <&mstp7_clks R8A7790_CLK_LVDS0>,
+ <&mstp7_clks R8A7790_CLK_LVDS1>,
+ <&x13_clk>, <&x2_clk>;
+ clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1",
+ "dclkin.0", "dclkin.1";
+
ports {
port at 0 {
endpoint {
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 12/15] ARM: shmobile: r8a7794: alt: Fix ethernet controller PHY IRQ line
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (10 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 11/15] ARM: shmobile: lager: " Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 13/15] ARM: shmobile: r8a7791: Fix IPMMU-GP clock to device tree Simon Horman
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
The PHY IRQ line is connected to external IRQ8, not IRQ0. Fix DT
accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7794-alt.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index 25bf434..928cfa6 100644
--- a/arch/arm/boot/dts/r8a7794-alt.dts
+++ b/arch/arm/boot/dts/r8a7794-alt.dts
@@ -51,7 +51,7 @@
phy1: ethernet-phy at 1 {
reg = <1>;
interrupt-parent = <&irqc0>;
- interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
micrel,led-mode = <1>;
};
};
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 13/15] ARM: shmobile: r8a7791: Fix IPMMU-GP clock to device tree
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (11 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 12/15] ARM: shmobile: r8a7794: alt: Fix ethernet controller PHY IRQ line Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 14/15] ARM: shmobile: ape6evm dts: Enable pull-up for GPIO switches Simon Horman
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Ryo Kataoka <ryo.kataoka.wt@renesas.com>
Signed-off-by: Ryo Kataoka <ryo.kataoka.wt@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index de42fc5..e899f79 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1202,7 +1202,7 @@
mstp8_clks: mstp8_clks at e6150990 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
- clocks = <&zg_clk>, <&hp_clk>, <&zg_clk>, <&zg_clk>,
+ clocks = <&zx_clk>, <&hp_clk>, <&zg_clk>, <&zg_clk>,
<&zg_clk>, <&p_clk>, <&zs_clk>, <&zs_clk>;
#clock-cells = <1>;
clock-indices = <
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 14/15] ARM: shmobile: ape6evm dts: Enable pull-up for GPIO switches
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (12 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 13/15] ARM: shmobile: r8a7791: Fix IPMMU-GP clock to device tree Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-10 0:44 ` [PATCH 15/15] ARM: shmobile: ape6evm dts: Configure the custom switch as wake-up source Simon Horman
2015-03-11 21:56 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Arnd Bergmann
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
The switches on r8a73a4/ape6evm do not have pull-up registers. The
schematics say: "Need to use APE6 internal PullUp", hence enable pull-up
using pinctrl.
Without this, the switches don't really work, as the GPIO inputs are
more likely to pick up ghost signals through capacitive coupling than
actual keypresses.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a73a4-ape6evm.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
index e8f3f38..9734dd7 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
@@ -123,6 +123,9 @@
keyboard {
compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&keyboard_pins>;
+
zero-key {
gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
linux,code = <KEY_0>;
@@ -208,6 +211,12 @@
renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
renesas,function = "sdhi1";
};
+
+ keyboard_pins: keyboard {
+ renesas,pins = "PORT324", "PORT325", "PORT326", "PORT327",
+ "PORT328", "PORT329";
+ bias-pull-up;
+ };
};
&mmcif0 {
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH 15/15] ARM: shmobile: ape6evm dts: Configure the custom switch as wake-up source
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (13 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 14/15] ARM: shmobile: ape6evm dts: Enable pull-up for GPIO switches Simon Horman
@ 2015-03-10 0:44 ` Simon Horman
2015-03-11 21:56 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Arnd Bergmann
15 siblings, 0 replies; 17+ messages in thread
From: Simon Horman @ 2015-03-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a73a4-ape6evm.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
index 9734dd7..d1b6a07 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
@@ -130,6 +130,7 @@
gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
linux,code = <KEY_0>;
label = "S16";
+ gpio-key,wakeup;
};
menu-key {
--
2.1.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1
2015-03-10 0:44 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.1 Simon Horman
` (14 preceding siblings ...)
2015-03-10 0:44 ` [PATCH 15/15] ARM: shmobile: ape6evm dts: Configure the custom switch as wake-up source Simon Horman
@ 2015-03-11 21:56 ` Arnd Bergmann
15 siblings, 0 replies; 17+ messages in thread
From: Arnd Bergmann @ 2015-03-11 21:56 UTC (permalink / raw)
To: linux-arm-kernel
On Tuesday 10 March 2015 09:44:46 Simon Horman wrote:
> * ape6evm board
> - Configure GPIO keys as wake-up source
> - Enable pull-up for GPIO switches
> - Correct polarity of LEDs
> * r8a7791 SoC
> - Correct IPMMU-GP clock to device tree
> * r8a7794 SoC
> - Correct ethernet controller PHY IRQ
> * lager, koelsch and marzen boards
> - Add DU external pixel clock to DT
> * lager board
> - Add HDMI output support to DT
> * r8a7791 and r8a7790 SoCs
> - Tidy up SDHI register size in DT
> - Reference DMA channels for SDHI in DT
>
Pulled into next/dt, thanks!
Arnd
^ permalink raw reply [flat|nested] 17+ messages in thread