* [PATCH 01/29] ARM: shmobile: r8a7794: Add VIN clock to device tree
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 02/29] ARM: shmobile: r8a7790: Add Audio DMAC devices to DT Simon Horman
` (29 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7794.dtsi | 6 +++---
include/dt-bindings/clock/r8a7794-clock.h | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 088e79c..95f656d 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -517,13 +517,13 @@
mstp8_clks: mstp8_clks@e6150990 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
- clocks = <&p_clk>;
+ clocks = <&zg_clk>, <&zg_clk>, <&p_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
- R8A7794_CLK_ETHER
+ R8A7794_CLK_VIN1 R8A7794_CLK_VIN0 R8A7794_CLK_ETHER
>;
clock-output-names - "ether";
+ "vin1", "vin0", "ether";
};
mstp11_clks: mstp11_clks@e615099c {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7794-clock.h b/include/dt-bindings/clock/r8a7794-clock.h
index 9ac1043..fd7cdee 100644
--- a/include/dt-bindings/clock/r8a7794-clock.h
+++ b/include/dt-bindings/clock/r8a7794-clock.h
@@ -61,6 +61,8 @@
#define R8A7794_CLK_SCIF0 21
/* MSTP8 */
+#define R8A7794_CLK_VIN1 10
+#define R8A7794_CLK_VIN0 11
#define R8A7794_CLK_ETHER 13
/* MSTP9 */
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 02/29] ARM: shmobile: r8a7790: Add Audio DMAC devices to DT
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
2014-11-21 0:54 ` [PATCH 01/29] ARM: shmobile: r8a7794: Add VIN clock to device tree Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 03/29] ARM: shmobile: r8a7791: " Simon Horman
` (28 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Instantiate the two Audio DMA controllers in the r8a7790 device tree.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[geert: corrected spelling of audmac1]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790.dtsi | 64 +++++++++++++++++++++++++++++--
include/dt-bindings/clock/r8a7790-clock.h | 2 +
2 files changed, 63 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 52c2156..2e01d49 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -312,6 +312,63 @@
#dma-cells = <1>;
dma-channels = <15>;
};
+
+ audma0: dma-controller@ec700000 {
+ compatible = "renesas,rcar-dmac";
+ reg = <0 0xec700000 0 0x10000>;
+ interrupts = <0 346 IRQ_TYPE_LEVEL_HIGH
+ 0 320 IRQ_TYPE_LEVEL_HIGH
+ 0 321 IRQ_TYPE_LEVEL_HIGH
+ 0 322 IRQ_TYPE_LEVEL_HIGH
+ 0 323 IRQ_TYPE_LEVEL_HIGH
+ 0 324 IRQ_TYPE_LEVEL_HIGH
+ 0 325 IRQ_TYPE_LEVEL_HIGH
+ 0 326 IRQ_TYPE_LEVEL_HIGH
+ 0 327 IRQ_TYPE_LEVEL_HIGH
+ 0 328 IRQ_TYPE_LEVEL_HIGH
+ 0 329 IRQ_TYPE_LEVEL_HIGH
+ 0 330 IRQ_TYPE_LEVEL_HIGH
+ 0 331 IRQ_TYPE_LEVEL_HIGH
+ 0 332 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "error",
+ "ch0", "ch1", "ch2", "ch3",
+ "ch4", "ch5", "ch6", "ch7",
+ "ch8", "ch9", "ch10", "ch11",
+ "ch12";
+ clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC0>;
+ clock-names = "fck";
+ #dma-cells = <1>;
+ dma-channels = <13>;
+ };
+
+ audma1: dma-controller@ec720000 {
+ compatible = "renesas,rcar-dmac";
+ reg = <0 0xec720000 0 0x10000>;
+ interrupts = <0 347 IRQ_TYPE_LEVEL_HIGH
+ 0 333 IRQ_TYPE_LEVEL_HIGH
+ 0 334 IRQ_TYPE_LEVEL_HIGH
+ 0 335 IRQ_TYPE_LEVEL_HIGH
+ 0 336 IRQ_TYPE_LEVEL_HIGH
+ 0 337 IRQ_TYPE_LEVEL_HIGH
+ 0 338 IRQ_TYPE_LEVEL_HIGH
+ 0 339 IRQ_TYPE_LEVEL_HIGH
+ 0 340 IRQ_TYPE_LEVEL_HIGH
+ 0 341 IRQ_TYPE_LEVEL_HIGH
+ 0 342 IRQ_TYPE_LEVEL_HIGH
+ 0 343 IRQ_TYPE_LEVEL_HIGH
+ 0 344 IRQ_TYPE_LEVEL_HIGH
+ 0 345 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "error",
+ "ch0", "ch1", "ch2", "ch3",
+ "ch4", "ch5", "ch6", "ch7",
+ "ch8", "ch9", "ch10", "ch11",
+ "ch12";
+ clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC1>;
+ clock-names = "fck";
+ #dma-cells = <1>;
+ dma-channels = <13>;
+ };
+
i2c0: i2c@e6508000 {
#address-cells = <1>;
#size-cells = <0>;
@@ -1050,10 +1107,11 @@
mstp5_clks: mstp5_clks@e6150144 {
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
- clocks = <&extal_clk>, <&p_clk>;
+ clocks = <&hp_clk>, <&hp_clk>, <&extal_clk>, <&p_clk>;
#clock-cells = <1>;
- renesas,clock-indices = <R8A7790_CLK_THERMAL R8A7790_CLK_PWM>;
- clock-output-names = "thermal", "pwm";
+ renesas,clock-indices = <R8A7790_CLK_AUDIO_DMAC0 R8A7790_CLK_AUDIO_DMAC1
+ R8A7790_CLK_THERMAL R8A7790_CLK_PWM>;
+ clock-output-names = "audmac0", "audmac1", "thermal", "pwm";
};
mstp7_clks: mstp7_clks@e615014c {
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h
index e3a3fb8..c27b3b5 100644
--- a/include/dt-bindings/clock/r8a7790-clock.h
+++ b/include/dt-bindings/clock/r8a7790-clock.h
@@ -78,6 +78,8 @@
#define R8A7790_CLK_USBDMAC1 31
/* MSTP5 */
+#define R8A7790_CLK_AUDIO_DMAC1 1
+#define R8A7790_CLK_AUDIO_DMAC0 2
#define R8A7790_CLK_THERMAL 22
#define R8A7790_CLK_PWM 23
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 03/29] ARM: shmobile: r8a7791: Add Audio DMAC devices to DT
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
2014-11-21 0:54 ` [PATCH 01/29] ARM: shmobile: r8a7794: Add VIN clock to device tree Simon Horman
2014-11-21 0:54 ` [PATCH 02/29] ARM: shmobile: r8a7790: Add Audio DMAC devices to DT Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 04/29] ARM: shmobile: r8a7790: Add Audio DMAC peri peri " Simon Horman
` (27 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Instantiate the two Audio DMA controllers in the r8a7791 device tree.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[geert: corrected spelling of audmac1]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791.dtsi | 63 +++++++++++++++++++++++++++++--
include/dt-bindings/clock/r8a7791-clock.h | 2 +
2 files changed, 62 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index a862243..b54af74 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -301,6 +301,62 @@
dma-channels = <15>;
};
+ audma0: dma-controller@ec700000 {
+ compatible = "renesas,rcar-dmac";
+ reg = <0 0xec700000 0 0x10000>;
+ interrupts = <0 346 IRQ_TYPE_LEVEL_HIGH
+ 0 320 IRQ_TYPE_LEVEL_HIGH
+ 0 321 IRQ_TYPE_LEVEL_HIGH
+ 0 322 IRQ_TYPE_LEVEL_HIGH
+ 0 323 IRQ_TYPE_LEVEL_HIGH
+ 0 324 IRQ_TYPE_LEVEL_HIGH
+ 0 325 IRQ_TYPE_LEVEL_HIGH
+ 0 326 IRQ_TYPE_LEVEL_HIGH
+ 0 327 IRQ_TYPE_LEVEL_HIGH
+ 0 328 IRQ_TYPE_LEVEL_HIGH
+ 0 329 IRQ_TYPE_LEVEL_HIGH
+ 0 330 IRQ_TYPE_LEVEL_HIGH
+ 0 331 IRQ_TYPE_LEVEL_HIGH
+ 0 332 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "error",
+ "ch0", "ch1", "ch2", "ch3",
+ "ch4", "ch5", "ch6", "ch7",
+ "ch8", "ch9", "ch10", "ch11",
+ "ch12";
+ clocks = <&mstp5_clks R8A7791_CLK_AUDIO_DMAC0>;
+ clock-names = "fck";
+ #dma-cells = <1>;
+ dma-channels = <13>;
+ };
+
+ audma1: dma-controller@ec720000 {
+ compatible = "renesas,rcar-dmac";
+ reg = <0 0xec720000 0 0x10000>;
+ interrupts = <0 347 IRQ_TYPE_LEVEL_HIGH
+ 0 333 IRQ_TYPE_LEVEL_HIGH
+ 0 334 IRQ_TYPE_LEVEL_HIGH
+ 0 335 IRQ_TYPE_LEVEL_HIGH
+ 0 336 IRQ_TYPE_LEVEL_HIGH
+ 0 337 IRQ_TYPE_LEVEL_HIGH
+ 0 338 IRQ_TYPE_LEVEL_HIGH
+ 0 339 IRQ_TYPE_LEVEL_HIGH
+ 0 340 IRQ_TYPE_LEVEL_HIGH
+ 0 341 IRQ_TYPE_LEVEL_HIGH
+ 0 342 IRQ_TYPE_LEVEL_HIGH
+ 0 343 IRQ_TYPE_LEVEL_HIGH
+ 0 344 IRQ_TYPE_LEVEL_HIGH
+ 0 345 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "error",
+ "ch0", "ch1", "ch2", "ch3",
+ "ch4", "ch5", "ch6", "ch7",
+ "ch8", "ch9", "ch10", "ch11",
+ "ch12";
+ clocks = <&mstp5_clks R8A7791_CLK_AUDIO_DMAC1>;
+ clock-names = "fck";
+ #dma-cells = <1>;
+ dma-channels = <13>;
+ };
+
/* The memory map in the User's Manual maps the cores to bus numbers */
i2c0: i2c@e6508000 {
#address-cells = <1>;
@@ -1053,10 +1109,11 @@
mstp5_clks: mstp5_clks@e6150144 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
- clocks = <&extal_clk>, <&p_clk>;
+ clocks = <&hp_clk>, <&hp_clk>, <&extal_clk>, <&p_clk>;
#clock-cells = <1>;
- renesas,clock-indices = <R8A7791_CLK_THERMAL R8A7791_CLK_PWM>;
- clock-output-names = "thermal", "pwm";
+ renesas,clock-indices = <R8A7791_CLK_AUDIO_DMAC0 R8A7791_CLK_AUDIO_DMAC1
+ R8A7791_CLK_THERMAL R8A7791_CLK_PWM>;
+ clock-output-names = "audmac0", "audmac1", "thermal", "pwm";
};
mstp7_clks: mstp7_clks@e615014c {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h
index dcececd..3ea2bbc 100644
--- a/include/dt-bindings/clock/r8a7791-clock.h
+++ b/include/dt-bindings/clock/r8a7791-clock.h
@@ -69,6 +69,8 @@
#define R8A7791_CLK_USBDMAC1 31
/* MSTP5 */
+#define R8A7791_CLK_AUDIO_DMAC1 1
+#define R8A7791_CLK_AUDIO_DMAC0 2
#define R8A7791_CLK_THERMAL 22
#define R8A7791_CLK_PWM 23
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 04/29] ARM: shmobile: r8a7790: Add Audio DMAC peri peri devices to DT
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (2 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 03/29] ARM: shmobile: r8a7791: " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 05/29] ARM: shmobile: r8a7791: " Simon Horman
` (26 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Instantiate the Audio DMAC peri peri controllers
in the r8a7790 device tree.
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 | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 2e01d49..146f918 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -369,6 +369,13 @@
dma-channels = <13>;
};
+ audmapp: dma-controller@ec740000 {
+ compatible = "renesas,rcar-audmapp";
+ #dma-cells = <1>;
+
+ reg = <0 0xec740000 0 0x200>;
+ };
+
i2c0: i2c@e6508000 {
#address-cells = <1>;
#size-cells = <0>;
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 05/29] ARM: shmobile: r8a7791: Add Audio DMAC peri peri devices to DT
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (3 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 04/29] ARM: shmobile: r8a7790: Add Audio DMAC peri peri " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 06/29] ARM: shmobile: lager: fixup IIC2 clock frequency Simon Horman
` (25 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Instantiate the Audio DMAC peri peri controllers
in the r8a7791 device tree.
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 | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index b54af74..379e1a5 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -357,6 +357,13 @@
dma-channels = <13>;
};
+ audmapp: dma-controller@ec740000 {
+ compatible = "renesas,rcar-audmapp";
+ #dma-cells = <1>;
+
+ reg = <0 0xec740000 0 0x200>;
+ };
+
/* The memory map in the User's Manual maps the cores to bus numbers */
i2c0: i2c@e6508000 {
#address-cells = <1>;
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 06/29] ARM: shmobile: lager: fixup IIC2 clock frequency
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (4 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 05/29] ARM: shmobile: r8a7791: " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 07/29] ARM: shmobile: lager: Sound PIO support on DTS Simon Horman
` (24 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Current Lager IIC2 is using default clock frequency,
but, ak4643 audio codec chip needs 100kHz
This patch clarifies IIC2 clock frequency as 100kHz.
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-lager.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 830f2e8..86fb2ee 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -429,6 +429,8 @@
pinctrl-0 = <&iic2_pins>;
pinctrl-names = "default";
+ clock-frequency = <100000>;
+
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 07/29] ARM: shmobile: lager: Sound PIO support on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (5 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 06/29] ARM: shmobile: lager: fixup IIC2 clock frequency Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 08/29] ARM: shmobile: lager: Sound DMA " Simon Horman
` (23 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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-lager.dts | 70 +++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 86fb2ee..c2b4f65 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -9,6 +9,18 @@
* kind, whether express or implied.
*/
+/*
+ * SSI-AK4643
+ *
+ * SW1: 1: AK4643
+ * 2: CN22
+ * 3: ADV7511
+ *
+ * This command is required when Playback/Capture
+ *
+ * amixer set "LINEOUT Mixer DACL" on
+ */
+
/dts-v1/;
#include "r8a7790.dtsi"
#include <dt-bindings/gpio/gpio.h>
@@ -146,6 +158,23 @@
1800000 0>;
};
+ sound {
+ compatible = "simple-audio-card";
+
+ simple-audio-card,format = "left_j";
+ simple-audio-card,bitclock-master = <&sndcodec>;
+ simple-audio-card,frame-master = <&sndcodec>;
+
+ sndcpu: simple-audio-card,cpu {
+ sound-dai = <&rcar_sound>;
+ };
+
+ sndcodec: simple-audio-card,codec {
+ sound-dai = <&ak4643>;
+ system-clock-frequency = <11289600>;
+ };
+ };
+
vga-encoder {
compatible = "adi,adv7123";
@@ -292,6 +321,16 @@
renesas,groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1";
};
+
+ sound_pins: sound {
+ renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
+ renesas,function = "ssi";
+ };
+
+ sound_clk_pins: sound_clk {
+ renesas,groups = "audio_clk_a";
+ renesas,function = "audio_clk";
+ };
};
ðer {
@@ -431,6 +470,12 @@
clock-frequency = <100000>;
+ ak4643: sound-codec@12 {
+ compatible = "asahi-kasei,ak4643";
+ #sound-dai-cells = <0>;
+ reg = <0x12>;
+ };
+
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
@@ -513,3 +558,28 @@
};
};
};
+
+&rcar_sound {
+ pinctrl-0 = <&sound_pins &sound_clk_pins>;
+ pinctrl-names = "default";
+
+ #sound-dai-cells = <0>;
+
+ status = "okay";
+
+ rcar_sound,dai {
+ dai0 {
+ playback = <&ssi0>;
+ capture = <&ssi1>;
+ };
+ };
+};
+
+&ssi0 {
+ pio-transfer;
+};
+
+&ssi1 {
+ pio-transfer;
+ shared-pin;
+};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 08/29] ARM: shmobile: lager: Sound DMA support on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (6 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 07/29] ARM: shmobile: lager: Sound PIO support on DTS Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 09/29] ARM: shmobile: lager: Sound DMA support via BUSIF " Simon Horman
` (22 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer to/from SSI
DMA
[MEM] -> [SSI]
DMA
[MEM] <- [SSI]
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-lager.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index c2b4f65..93630d0 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -576,10 +576,10 @@
};
&ssi0 {
- pio-transfer;
+ no-busif;
};
&ssi1 {
- pio-transfer;
+ no-busif;
shared-pin;
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 09/29] ARM: shmobile: lager: Sound DMA support via BUSIF on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (7 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 08/29] ARM: shmobile: lager: Sound DMA " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 10/29] ARM: shmobile: lager: Sound DMA support via SRC " Simon Horman
` (21 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer to/from SSIU
DMA
[MEM] -> [SSIU] -> [SSI]
DMA
[MEM] <- [SSIU] <- [SSI]
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-lager.dts | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 93630d0..0634fff 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -575,11 +575,6 @@
};
};
-&ssi0 {
- no-busif;
-};
-
&ssi1 {
- no-busif;
shared-pin;
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 10/29] ARM: shmobile: lager: Sound DMA support via SRC on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (8 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 09/29] ARM: shmobile: lager: Sound DMA support via BUSIF " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 11/29] ARM: shmobile: lager: Sound DMA support via DVC " Simon Horman
` (20 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer to/from SRC
DMA DMApp
[MEM] -> [SRC] -> [SSIU] -> [SSI]
DMA DMApp
[MEM] <- [SRC] <- [SSIU] <- [SSI]
Current sound driver is supporting
SSI/SRC random connection.
So, this patch is tring
SSI0 -> SRC2
SSI1 <- SRC3
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-lager.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 0634fff..a249270 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -569,8 +569,8 @@
rcar_sound,dai {
dai0 {
- playback = <&ssi0>;
- capture = <&ssi1>;
+ playback = <&ssi0 &src2>;
+ capture = <&ssi1 &src3>;
};
};
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19
@ 2014-11-21 0:54 Simon Horman
2014-11-21 0:54 ` [PATCH 01/29] ARM: shmobile: r8a7794: Add VIN clock to device tree Simon Horman
` (30 more replies)
0 siblings, 31 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these second round of Renesas ARM based SoC DT updates for
v3.19.
This pull request is based on the previous round of
such requests, tagged as renesas-dt-for-v3.19,
which I have already sent a pull-request for.
As requested by Arnd v2 of this pull request does not include some
Audio DMAC patches that were included in v1.
The following changes since commit 25af9c83151822eb6d413b4d15d5f89804606ac7:
ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property (2014-10-30 10:01:37 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt2-for-v3.19
for you to fetch changes up to b9473d9f621b68327776b66d4b9a8ba5e0b8b4cb:
ARM: shmobile: r8a7791: add USBDMAC{0,1} clocks to device tree (2014-11-19 09:22:13 +0900)
----------------------------------------------------------------
Second Round of Renesas ARM Based SoC DT Updates for v3.19
* Add labels for LEDs on kzm9g-reference and koelsch
* Add Sound support to r8a7790/lager and r8a7791/koelsch
* Add IIC DMA nodes to r8a7790 and r8a7791
* Use SoC-specific IIC compatible properties on sh73a0 and r8a73a4
* Add SGX, MMP and VSP1 clocks to r8a7794
* Add USBDMAC{0,1} clocks to r8a7790 and r8a7791
----------------------------------------------------------------
Geert Uytterhoeven (4):
ARM: shmobile: r8a73a4 dtsi: Add SoC-specific IIC compatible properties
ARM: shmobile: sh73a0 dtsi: Add SoC-specific IIC compatible properties
ARM: shmobile: koelsch dts: Add labels for the LEDs
ARM: shmobile: kzm9g-reference dts: Add labels for the LEDs
Koji Matsuoka (1):
ARM: shmobile: r8a7794: Add VIN clock to device tree
Kouei Abe (1):
ARM: shmobile: r8a7794: Add SGX clock to device tree
Kuninori Morimoto (18):
ARM: shmobile: r8a7790: Add Audio DMAC devices to DT
ARM: shmobile: r8a7791: Add Audio DMAC devices to DT
ARM: shmobile: r8a7790: Add Audio DMAC peri peri devices to DT
ARM: shmobile: r8a7791: Add Audio DMAC peri peri devices to DT
ARM: shmobile: lager: fixup IIC2 clock frequency
ARM: shmobile: lager: Sound PIO support on DTS
ARM: shmobile: lager: Sound DMA support on DTS
ARM: shmobile: lager: Sound DMA support via BUSIF on DTS
ARM: shmobile: lager: Sound DMA support via SRC on DTS
ARM: shmobile: lager: Sound DMA support via DVC on DTS
ARM: shmobile: koelsch: fixup I2C2 clock frequency
ARM: shmobile: koelsch: Sound PIO support on DTS
ARM: shmobile: koelsch: Sound DMA support on DTS
ARM: shmobile: koelsch: Sound DMA support via BUSIF on DTS
ARM: shmobile: koelsch: Sound DMA support via SRC on DTS
ARM: shmobile: koelsch: Sound DMA support via DVC on DTS
ARM: shmobile: lager: add Volume Ramp usage on comment
ARM: shmobile: koelsch: add Volume Ramp usage on comment
Wolfram Sang (2):
ARM: shmobile: r8a7790: add DMA nodes for IIC
ARM: shmobile: r8a7791: add DMA nodes for IIC
Yoshifumi Hosoya (1):
ARM: shmobile: r8a7794: Add MMP and VSP1 clocks to device tree
Yoshihiro Shimoda (2):
ARM: shmobile: r8a7790: add USBDMAC{0,1} clocks to device tree
ARM: shmobile: r8a7791: add USBDMAC{0,1} clocks to device tree
arch/arm/boot/dts/r8a73a4.dtsi | 18 +++---
arch/arm/boot/dts/r8a7790-lager.dts | 83 +++++++++++++++++++++++++++
arch/arm/boot/dts/r8a7790.dtsi | 86 ++++++++++++++++++++++++++--
arch/arm/boot/dts/r8a7791-koelsch.dts | 86 +++++++++++++++++++++++++++-
arch/arm/boot/dts/r8a7791.dtsi | 83 +++++++++++++++++++++++++--
arch/arm/boot/dts/r8a7794.dtsi | 21 ++++---
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 4 ++
arch/arm/boot/dts/sh73a0.dtsi | 10 ++--
include/dt-bindings/clock/r8a7790-clock.h | 2 +
include/dt-bindings/clock/r8a7791-clock.h | 2 +
include/dt-bindings/clock/r8a7794-clock.h | 9 +++
11 files changed, 370 insertions(+), 34 deletions(-)
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 11/29] ARM: shmobile: lager: Sound DMA support via DVC on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (9 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 10/29] ARM: shmobile: lager: Sound DMA support via SRC " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 12/29] ARM: shmobile: koelsch: fixup I2C2 clock frequency Simon Horman
` (19 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer uses DVC
DMA DMApp
[MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI]
DMA DMApp
[MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI]
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-lager.dts | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index a249270..2f91740 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -19,6 +19,13 @@
* This command is required when Playback/Capture
*
* amixer set "LINEOUT Mixer DACL" on
+ * amixer set "DVC Out" 100%
+ * amixer set "DVC In" 100%
+ *
+ * You can use Mute
+ *
+ * amixer set "DVC Out Mute" on
+ * amixer set "DVC In Mute" on
*/
/dts-v1/;
@@ -569,8 +576,8 @@
rcar_sound,dai {
dai0 {
- playback = <&ssi0 &src2>;
- capture = <&ssi1 &src3>;
+ playback = <&ssi0 &src2 &dvc0>;
+ capture = <&ssi1 &src3 &dvc1>;
};
};
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 12/29] ARM: shmobile: koelsch: fixup I2C2 clock frequency
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (10 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 11/29] ARM: shmobile: lager: Sound DMA support via DVC " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 13/29] ARM: shmobile: koelsch: Sound PIO support on DTS Simon Horman
` (18 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Current Koelsch I2C2 has 400kHz settings,
but, ak4643 audio codec chip which is connected to I2C2 can't
work such frequency.
Fixup I2C2 clock frequency to 100kHz.
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-koelsch.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 191f32b..59e4251 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -425,7 +425,7 @@
pinctrl-names = "default";
status = "okay";
- clock-frequency = <400000>;
+ clock-frequency = <100000>;
composite-in@20 {
compatible = "adi,adv7180";
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 13/29] ARM: shmobile: koelsch: Sound PIO support on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (11 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 12/29] ARM: shmobile: koelsch: fixup I2C2 clock frequency Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 14/29] ARM: shmobile: koelsch: Sound DMA " Simon Horman
` (17 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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-koelsch.dts | 70 +++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 59e4251..c92d0d7 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -10,6 +10,18 @@
* kind, whether express or implied.
*/
+/*
+ * SSI-AK4643
+ *
+ * SW1: 1: AK4643
+ * 2: CN22
+ * 3: ADV7511
+ *
+ * This command is required when Playback/Capture
+ *
+ * amixer set "LINEOUT Mixer DACL" on
+ */
+
/dts-v1/;
#include "r8a7791.dtsi"
#include <dt-bindings/gpio/gpio.h>
@@ -210,6 +222,23 @@
states = <3300000 1
1800000 0>;
};
+
+ sound {
+ compatible = "simple-audio-card";
+
+ simple-audio-card,format = "left_j";
+ simple-audio-card,bitclock-master = <&sndcodec>;
+ simple-audio-card,frame-master = <&sndcodec>;
+
+ sndcpu: simple-audio-card,cpu {
+ sound-dai = <&rcar_sound>;
+ };
+
+ sndcodec: simple-audio-card,codec {
+ sound-dai = <&ak4643>;
+ system-clock-frequency = <11289600>;
+ };
+ };
};
&du {
@@ -300,6 +329,16 @@
renesas,groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1";
};
+
+ sound_pins: sound {
+ renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
+ renesas,function = "ssi";
+ };
+
+ sound_clk_pins: sound_clk {
+ renesas,groups = "audio_clk_a";
+ renesas,function = "audio_clk";
+ };
};
ðer {
@@ -427,6 +466,12 @@
status = "okay";
clock-frequency = <100000>;
+ ak4643: sound-codec@12 {
+ compatible = "asahi-kasei,ak4643";
+ #sound-dai-cells = <0>;
+ reg = <0x12>;
+ };
+
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
@@ -513,3 +558,28 @@
};
};
};
+
+&rcar_sound {
+ pinctrl-0 = <&sound_pins &sound_clk_pins>;
+ pinctrl-names = "default";
+
+ #sound-dai-cells = <0>;
+
+ status = "okay";
+
+ rcar_sound,dai {
+ dai0 {
+ playback = <&ssi0>;
+ capture = <&ssi1>;
+ };
+ };
+};
+
+&ssi0 {
+ pio-transfer;
+};
+
+&ssi1 {
+ pio-transfer;
+ shared-pin;
+};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 14/29] ARM: shmobile: koelsch: Sound DMA support on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (12 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 13/29] ARM: shmobile: koelsch: Sound PIO support on DTS Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 15/29] ARM: shmobile: koelsch: Sound DMA support via BUSIF " Simon Horman
` (16 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer to/from SSI
DMA
[MEM] -> [SSI]
DMA
[MEM] <- [SSI]
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-koelsch.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index c92d0d7..68628cf 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -576,10 +576,10 @@
};
&ssi0 {
- pio-transfer;
+ no-busif;
};
&ssi1 {
- pio-transfer;
+ no-busif;
shared-pin;
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 15/29] ARM: shmobile: koelsch: Sound DMA support via BUSIF on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (13 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 14/29] ARM: shmobile: koelsch: Sound DMA " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 16/29] ARM: shmobile: koelsch: Sound DMA support via SRC " Simon Horman
` (15 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer to/from SSIU
DMA
[MEM] -> [SSIU] -> [SSI]
DMA
[MEM] <- [SSIU] <- [SSI]
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-koelsch.dts | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 68628cf..5bc675f 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -575,11 +575,6 @@
};
};
-&ssi0 {
- no-busif;
-};
-
&ssi1 {
- no-busif;
shared-pin;
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 16/29] ARM: shmobile: koelsch: Sound DMA support via SRC on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (14 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 15/29] ARM: shmobile: koelsch: Sound DMA support via BUSIF " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 17/29] ARM: shmobile: koelsch: Sound DMA support via DVC " Simon Horman
` (14 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer to/from SRC
DMA DMApp
[MEM] -> [SRC] -> [SSIU] -> [SSI]
DMA DMApp
[MEM] <- [SRC] <- [SSIU] <- [SSI]
Current sound driver is supporting
SSI/SRC random connection.
So, this patch is tring
SSI0 -> SRC2
SSI1 <- SRC3
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-koelsch.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 5bc675f..d2fe677 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -569,8 +569,8 @@
rcar_sound,dai {
dai0 {
- playback = <&ssi0>;
- capture = <&ssi1>;
+ playback = <&ssi0 &src2>;
+ capture = <&ssi1 &src3>;
};
};
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 17/29] ARM: shmobile: koelsch: Sound DMA support via DVC on DTS
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (15 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 16/29] ARM: shmobile: koelsch: Sound DMA support via SRC " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 18/29] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific IIC compatible properties Simon Horman
` (13 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
DMA transfer uses DVC
DMA DMApp
[MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI]
DMA DMApp
[MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI]
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-koelsch.dts | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index d2fe677..f056e64 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -20,6 +20,13 @@
* This command is required when Playback/Capture
*
* amixer set "LINEOUT Mixer DACL" on
+ * amixer set "DVC Out" 100%
+ * amixer set "DVC In" 100%
+ *
+ * You can use Mute
+ *
+ * amixer set "DVC Out Mute" on
+ * amixer set "DVC In Mute" on
*/
/dts-v1/;
@@ -569,8 +576,8 @@
rcar_sound,dai {
dai0 {
- playback = <&ssi0 &src2>;
- capture = <&ssi1 &src3>;
+ playback = <&ssi0 &src2 &dvc0>;
+ capture = <&ssi1 &src3 &dvc1>;
};
};
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 18/29] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific IIC compatible properties
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (16 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 17/29] ARM: shmobile: koelsch: Sound DMA support via DVC " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 19/29] ARM: shmobile: sh73a0 " Simon Horman
` (12 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
The IIC nodes used the generic compatible properties only.
This may cause the driver to fail when using Standard Speed on IIC
masters where the operational clock is driven by the 130 MHz HP clock.
Add the SoC-specific compatible property to fix this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a73a4.dtsi | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi
index b5ead84..01373ee 100644
--- a/arch/arm/boot/dts/r8a73a4.dtsi
+++ b/arch/arm/boot/dts/r8a73a4.dtsi
@@ -106,7 +106,7 @@
i2c5: i2c@e60b0000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe60b0000 0 0x428>;
interrupts = <0 179 IRQ_TYPE_LEVEL_HIGH>;
@@ -205,7 +205,7 @@
i2c0: i2c@e6500000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6500000 0 0x428>;
interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -214,7 +214,7 @@
i2c1: i2c@e6510000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6510000 0 0x428>;
interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -223,7 +223,7 @@
i2c2: i2c@e6520000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6520000 0 0x428>;
interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -232,7 +232,7 @@
i2c3: i2c@e6530000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6530000 0 0x428>;
interrupts = <0 177 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -241,7 +241,7 @@
i2c4: i2c@e6540000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6540000 0 0x428>;
interrupts = <0 178 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -250,7 +250,7 @@
i2c6: i2c@e6550000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6550000 0 0x428>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -259,7 +259,7 @@
i2c7: i2c@e6560000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6560000 0 0x428>;
interrupts = <0 185 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -268,7 +268,7 @@
i2c8: i2c@e6570000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic";
reg = <0 0xe6570000 0 0x428>;
interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 19/29] ARM: shmobile: sh73a0 dtsi: Add SoC-specific IIC compatible properties
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (17 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 18/29] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific IIC compatible properties Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 20/29] ARM: shmobile: koelsch dts: Add labels for the LEDs Simon Horman
` (11 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
The IIC nodes used the generic compatible properties only.
This causes the driver to fail when using Standard Speed, as the
operational clock is driven by the 104 MHz HP clock:
i2c-sh_mobile e6820000.i2c: timing values out of range: L/H=0x208/0x1bf
i2c-sh_mobile: probe of e6820000.i2c failed with error -22
Add the SoC-specific compatible property to fix this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh73a0.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 030a592..d8def5a 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -138,7 +138,7 @@
i2c0: i2c@e6820000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
reg = <0xe6820000 0x425>;
interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH
0 168 IRQ_TYPE_LEVEL_HIGH
@@ -150,7 +150,7 @@
i2c1: i2c@e6822000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
reg = <0xe6822000 0x425>;
interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH
0 52 IRQ_TYPE_LEVEL_HIGH
@@ -162,7 +162,7 @@
i2c2: i2c@e6824000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
reg = <0xe6824000 0x425>;
interrupts = <0 171 IRQ_TYPE_LEVEL_HIGH
0 172 IRQ_TYPE_LEVEL_HIGH
@@ -174,7 +174,7 @@
i2c3: i2c@e6826000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
reg = <0xe6826000 0x425>;
interrupts = <0 183 IRQ_TYPE_LEVEL_HIGH
0 184 IRQ_TYPE_LEVEL_HIGH
@@ -186,7 +186,7 @@
i2c4: i2c@e6828000 {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "renesas,rmobile-iic";
+ compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
reg = <0xe6828000 0x425>;
interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH
0 188 IRQ_TYPE_LEVEL_HIGH
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 20/29] ARM: shmobile: koelsch dts: Add labels for the LEDs
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (18 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 19/29] ARM: shmobile: sh73a0 " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 21/29] ARM: shmobile: kzm9g-reference " Simon Horman
` (10 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
The LEDs on the koelsch board are labeled using upper-case characters.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index f056e64..a10f534 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -149,12 +149,15 @@
compatible = "gpio-leds";
led6 {
gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+ label = "LED6";
};
led7 {
gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
+ label = "LED7";
};
led8 {
gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+ label = "LED8";
};
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 21/29] ARM: shmobile: kzm9g-reference dts: Add labels for the LEDs
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (19 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 20/29] ARM: shmobile: koelsch dts: Add labels for the LEDs Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 22/29] ARM: shmobile: r8a7790: add DMA nodes for IIC Simon Horman
` (9 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
The LEDs on the kzm9g board are labeled using upper-case characters.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
index 0dac0e6..e59e674 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
@@ -101,15 +101,19 @@
compatible = "gpio-leds";
led1 {
gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
+ label = "LED1";
};
led2 {
gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
+ label = "LED2";
};
led3 {
gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
+ label = "LED3";
};
led4 {
gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
+ label = "LED4";
};
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 22/29] ARM: shmobile: r8a7790: add DMA nodes for IIC
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (20 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 21/29] ARM: shmobile: kzm9g-reference " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 23/29] ARM: shmobile: r8a7791: " Simon Horman
` (8 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
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 146f918..3afd071 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -423,6 +423,8 @@
reg = <0 0xe6500000 0 0x425>;
interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
+ dmas = <&dmac0 0x61>, <&dmac0 0x62>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -433,6 +435,8 @@
reg = <0 0xe6510000 0 0x425>;
interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
+ dmas = <&dmac0 0x65>, <&dmac0 0x66>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -443,6 +447,8 @@
reg = <0 0xe6520000 0 0x425>;
interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
+ dmas = <&dmac0 0x69>, <&dmac0 0x6a>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -453,6 +459,8 @@
reg = <0 0xe60b0000 0 0x425>;
interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
+ dmas = <&dmac0 0x77>, <&dmac0 0x78>;
+ dma-names = "tx", "rx";
status = "disabled";
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 23/29] ARM: shmobile: r8a7791: add DMA nodes for IIC
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (21 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 22/29] ARM: shmobile: r8a7790: add DMA nodes for IIC Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 24/29] ARM: shmobile: lager: add Volume Ramp usage on comment Simon Horman
` (7 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
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 379e1a5..cfea2eca 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -434,6 +434,8 @@
reg = <0 0xe60b0000 0 0x425>;
interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp9_clks R8A7791_CLK_IICDVFS>;
+ dmas = <&dmac0 0x77>, <&dmac0 0x78>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -444,6 +446,8 @@
reg = <0 0xe6500000 0 0x425>;
interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7791_CLK_IIC0>;
+ dmas = <&dmac0 0x61>, <&dmac0 0x62>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -454,6 +458,8 @@
reg = <0 0xe6510000 0 0x425>;
interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7791_CLK_IIC1>;
+ dmas = <&dmac0 0x65>, <&dmac0 0x66>;
+ dma-names = "tx", "rx";
status = "disabled";
};
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 24/29] ARM: shmobile: lager: add Volume Ramp usage on comment
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (22 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 23/29] ARM: shmobile: r8a7791: " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 25/29] ARM: shmobile: koelsch: " Simon Horman
` (6 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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-lager.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 2f91740..a235158 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -26,6 +26,15 @@
*
* amixer set "DVC Out Mute" on
* amixer set "DVC In Mute" on
+ *
+ * You can use Volume Ramp
+ *
+ * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
+ * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
+ * amixer set "DVC Out Ramp" on
+ * aplay xxx.wav &
+ * amixer set "DVC Out" 80% // Volume Down
+ * amixer set "DVC Out" 100% // Volume Up
*/
/dts-v1/;
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 25/29] ARM: shmobile: koelsch: add Volume Ramp usage on comment
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (23 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 24/29] ARM: shmobile: lager: add Volume Ramp usage on comment Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 26/29] ARM: shmobile: r8a7794: Add SGX clock to device tree Simon Horman
` (5 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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-koelsch.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index a10f534..487fc99 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -27,6 +27,15 @@
*
* amixer set "DVC Out Mute" on
* amixer set "DVC In Mute" on
+ *
+ * You can use Volume Ramp
+ *
+ * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
+ * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
+ * amixer set "DVC Out Ramp" on
+ * aplay xxx.wav &
+ * amixer set "DVC Out" 80% // Volume Down
+ * amixer set "DVC Out" 100% // Volume Up
*/
/dts-v1/;
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 26/29] ARM: shmobile: r8a7794: Add SGX clock to device tree
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (24 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 25/29] ARM: shmobile: koelsch: " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 27/29] ARM: shmobile: r8a7794: Add MMP and VSP1 clocks " Simon Horman
` (4 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7794.dtsi | 11 +++++------
include/dt-bindings/clock/r8a7794-clock.h | 1 +
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 95f656d..b6f8f45 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -461,16 +461,15 @@
mstp1_clks: mstp1_clks@e6150134 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
- clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
- <&cp_clk>,
- <&zs_clk>, <&zs_clk>, <&zs_clk>;
+ clocks = <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
+ <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
- R8A7794_CLK_TMU1 R8A7794_CLK_TMU3 R8A7794_CLK_TMU2
- R8A7794_CLK_CMT0 R8A7794_CLK_TMU0
+ R8A7794_CLK_TMU1 R8A7794_CLK_3DG R8A7794_CLK_TMU3
+ R8A7794_CLK_TMU2 R8A7794_CLK_CMT0 R8A7794_CLK_TMU0
>;
clock-output-names - "tmu1", "tmu3", "tmu2", "cmt0", "tmu0";
+ "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0";
};
mstp2_clks: mstp2_clks@e6150138 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7794-clock.h b/include/dt-bindings/clock/r8a7794-clock.h
index fd7cdee..9066213 100644
--- a/include/dt-bindings/clock/r8a7794-clock.h
+++ b/include/dt-bindings/clock/r8a7794-clock.h
@@ -27,6 +27,7 @@
/* MSTP1 */
#define R8A7794_CLK_TMU1 11
+#define R8A7794_CLK_3DG 12
#define R8A7794_CLK_TMU3 21
#define R8A7794_CLK_TMU2 22
#define R8A7794_CLK_CMT0 24
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 27/29] ARM: shmobile: r8a7794: Add MMP and VSP1 clocks to device tree
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (25 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 26/29] ARM: shmobile: r8a7794: Add SGX clock to device tree Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 28/29] ARM: shmobile: r8a7790: add USBDMAC{0,1} " Simon Horman
` (3 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7794.dtsi | 14 +++++++++-----
include/dt-bindings/clock/r8a7794-clock.h | 6 ++++++
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index b6f8f45..19c9de3 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -461,15 +461,19 @@
mstp1_clks: mstp1_clks@e6150134 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
- clocks = <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
- <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
+ clocks = <&zs_clk>, <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>,
+ <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, <&cp_clk>,
+ <&zs_clk>, <&zs_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
- R8A7794_CLK_TMU1 R8A7794_CLK_3DG R8A7794_CLK_TMU3
- R8A7794_CLK_TMU2 R8A7794_CLK_CMT0 R8A7794_CLK_TMU0
+ R8A7794_CLK_VCP0 R8A7794_CLK_VPC0 R8A7794_CLK_TMU1
+ R8A7794_CLK_3DG R8A7794_CLK_2DDMAC R8A7794_CLK_FDP1_0
+ R8A7794_CLK_TMU3 R8A7794_CLK_TMU2 R8A7794_CLK_CMT0
+ R8A7794_CLK_TMU0 R8A7794_CLK_VSP1_DU0 R8A7794_CLK_VSP1_S
>;
clock-output-names - "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0";
+ "vcp0", "vpc0", "tmu1", "3dg", "2ddmac", "fdp1-0",
+ "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
};
mstp2_clks: mstp2_clks@e6150138 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7794-clock.h b/include/dt-bindings/clock/r8a7794-clock.h
index 9066213..aa9c286 100644
--- a/include/dt-bindings/clock/r8a7794-clock.h
+++ b/include/dt-bindings/clock/r8a7794-clock.h
@@ -26,12 +26,18 @@
#define R8A7794_CLK_MSIOF0 0
/* MSTP1 */
+#define R8A7794_CLK_VCP0 1
+#define R8A7794_CLK_VPC0 3
#define R8A7794_CLK_TMU1 11
#define R8A7794_CLK_3DG 12
+#define R8A7794_CLK_2DDMAC 15
+#define R8A7794_CLK_FDP1_0 19
#define R8A7794_CLK_TMU3 21
#define R8A7794_CLK_TMU2 22
#define R8A7794_CLK_CMT0 24
#define R8A7794_CLK_TMU0 25
+#define R8A7794_CLK_VSP1_DU0 28
+#define R8A7794_CLK_VSP1_S 31
/* MSTP2 */
#define R8A7794_CLK_SCIFA2 2
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 28/29] ARM: shmobile: r8a7790: add USBDMAC{0,1} clocks to device tree
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (26 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 27/29] ARM: shmobile: r8a7794: Add MMP and VSP1 clocks " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 0:54 ` [PATCH 29/29] ARM: shmobile: r8a7791: " Simon Horman
` (2 subsequent siblings)
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7790.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 3afd071..64f610f 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1107,17 +1107,20 @@
reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
<&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
- <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>;
+ <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
+ <&hp_clk>, <&hp_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
+ R8A7790_CLK_USBDMAC0 R8A7790_CLK_USBDMAC1
>;
clock-output-names "iic2", "tpu0", "mmcif1", "sdhi3",
"sdhi2", "sdhi1", "sdhi0", "mmcif0",
- "iic0", "pciec", "iic1", "ssusb", "cmt1";
+ "iic0", "pciec", "iic1", "ssusb", "cmt1",
+ "usbdmac0", "usbdmac1";
};
mstp5_clks: mstp5_clks@e6150144 {
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 29/29] ARM: shmobile: r8a7791: add USBDMAC{0,1} clocks to device tree
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (27 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 28/29] ARM: shmobile: r8a7790: add USBDMAC{0,1} " Simon Horman
@ 2014-11-21 0:54 ` Simon Horman
2014-11-21 12:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
30 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-21 0:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/r8a7791.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index cfea2eca..a705d35 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1108,16 +1108,19 @@
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>, <&cpg_clocks R8A7791_CLK_SD0>,
- <&mmc0_clk>, <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>;
+ <&mmc0_clk>, <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
+ <&hp_clk>, <&hp_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1 R8A7791_CLK_SDHI0
R8A7791_CLK_MMCIF0 R8A7791_CLK_IIC0 R8A7791_CLK_PCIEC R8A7791_CLK_IIC1
R8A7791_CLK_SSUSB R8A7791_CLK_CMT1
+ R8A7791_CLK_USBDMAC0 R8A7791_CLK_USBDMAC1
>;
clock-output-names "tpu0", "sdhi2", "sdhi1", "sdhi0",
- "mmcif0", "i2c7", "pciec", "i2c8", "ssusb", "cmt1";
+ "mmcif0", "i2c7", "pciec", "i2c8", "ssusb", "cmt1",
+ "usbdmac0", "usbdmac1";
};
mstp5_clks: mstp5_clks@e6150144 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
--
2.1.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* Re: [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (28 preceding siblings ...)
2014-11-21 0:54 ` [PATCH 29/29] ARM: shmobile: r8a7791: " Simon Horman
@ 2014-11-21 12:03 ` Arnd Bergmann
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
30 siblings, 0 replies; 36+ messages in thread
From: Arnd Bergmann @ 2014-11-21 12:03 UTC (permalink / raw)
To: linux-arm-kernel
On Friday 21 November 2014 09:54:37 Simon Horman wrote:
> Second Round of Renesas ARM Based SoC DT Updates for v3.19
>
> * Add labels for LEDs on kzm9g-reference and koelsch
> * Add Sound support to r8a7790/lager and r8a7791/koelsch
> * Add IIC DMA nodes to r8a7790 and r8a7791
> * Use SoC-specific IIC compatible properties on sh73a0 and r8a73a4
> * Add SGX, MMP and VSP1 clocks to r8a7794
> * Add USBDMAC{0,1} clocks to r8a7790 and r8a7791
>
>
Pulled into next/dt, thanks!
Arnd
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 1/3] ARM: shmobile: Remove stray closing parenthesis in debug description
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
@ 2015-03-15 23:03 ` Simon Horman
2015-03-15 23:03 ` [PATCH 2/3] ARM: shmobile: R-Car Gen2: CONFIG_COMMON_CLK is always set Simon Horman
` (2 subsequent siblings)
3 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2015-03-15 23:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Remove the stray closing parenthesis in the config description for the
DEBUG_RCAR_GEN2_SCIF0 option.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 970de75..f2aa6c7 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -806,7 +806,7 @@ choice
via SCIF2 on Renesas R-Car H1 (R8A7779).
config DEBUG_RCAR_GEN2_SCIF0
- bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793)"
+ bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793"
depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793
help
Say Y here if you want kernel low-level debugging support
--
2.1.4
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 2/3] ARM: shmobile: R-Car Gen2: CONFIG_COMMON_CLK is always set
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
2015-03-15 23:03 ` [PATCH 1/3] ARM: shmobile: Remove stray closing parenthesis in debug description Simon Horman
@ 2015-03-15 23:03 ` Simon Horman
2015-03-15 23:03 ` [PATCH 3/3] ARM: shmobile: r8a7740: Remove restart callback Simon Horman
2015-03-16 14:21 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Arnd Bergmann
3 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2015-03-15 23:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Since commit e042681894b62d60 ("ARM: shmobile: r8a7790: Remove legacy
code"), all R-Car Gen2 SoCs are supported by multiplatform kernels only.
As CONFIG_COMMON_CLK is always set for multiplatform kernels, we can
remove related #ifdefs in code specific to R-Car Gen2 SoCs.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-rcar-gen2.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
index d1fa625..51464cc 100644
--- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
@@ -50,9 +50,7 @@ u32 rcar_gen2_read_mode_pins(void)
void __init rcar_gen2_timer_init(void)
{
-#if defined(CONFIG_ARM_ARCH_TIMER) || defined(CONFIG_COMMON_CLK)
u32 mode = rcar_gen2_read_mode_pins();
-#endif
#ifdef CONFIG_ARM_ARCH_TIMER
void __iomem *base;
int extal_mhz = 0;
@@ -128,9 +126,7 @@ void __init rcar_gen2_timer_init(void)
iounmap(base);
#endif /* CONFIG_ARM_ARCH_TIMER */
-#ifdef CONFIG_COMMON_CLK
rcar_gen2_clocks_init(mode);
-#endif
#ifdef CONFIG_ARCH_SHMOBILE_MULTI
clocksource_of_init();
#endif
--
2.1.4
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
` (29 preceding siblings ...)
2014-11-21 12:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann
@ 2015-03-15 23:03 ` Simon Horman
2015-03-15 23:03 ` [PATCH 1/3] ARM: shmobile: Remove stray closing parenthesis in debug description Simon Horman
` (3 more replies)
30 siblings, 4 replies; 36+ messages in thread
From: Simon Horman @ 2015-03-15 23:03 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these second round of Renesas ARM based SoC cleanup for v4.1.
As requested by Arnd v2 of this pull request is based on v4.0-rc1. The
previous version of this pull request was based on "Renesas ARM Based SoC
Cleanup for v4.1", tagged as renesas-soc-cleanup2-for-v4.1. There are no
other changes between v1 and v2 of this pull request.
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:
Linux 4.0-rc1 (2015-02-22 18:21:14 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-cleanup2-for-v4.1
for you to fetch changes up to 6e5e9c6835e05ccc2be67486bc998b6f62663621:
ARM: shmobile: r8a7740: Remove restart callback (2015-03-12 08:43:35 +0900)
----------------------------------------------------------------
Second Round of Renesas ARM Based SoC Cleanup for v4.1
* Remove restart callback from r8a7740 SoC
* Remove unnecessary check on always set CONFIG_COMMON_CLK from
shared R-Car Gen2 SoC code
* Remove stray closing parenthesis in SCIF debug description
for R-Car Gen2 SoC
----------------------------------------------------------------
Geert Uytterhoeven (3):
ARM: shmobile: Remove stray closing parenthesis in debug description
ARM: shmobile: R-Car Gen2: CONFIG_COMMON_CLK is always set
ARM: shmobile: r8a7740: Remove restart callback
arch/arm/Kconfig.debug | 2 +-
arch/arm/mach-shmobile/setup-r8a7740.c | 8 --------
arch/arm/mach-shmobile/setup-rcar-gen2.c | 4 ----
3 files changed, 1 insertion(+), 13 deletions(-)
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 3/3] ARM: shmobile: r8a7740: Remove restart callback
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
2015-03-15 23:03 ` [PATCH 1/3] ARM: shmobile: Remove stray closing parenthesis in debug description Simon Horman
2015-03-15 23:03 ` [PATCH 2/3] ARM: shmobile: R-Car Gen2: CONFIG_COMMON_CLK is always set Simon Horman
@ 2015-03-15 23:03 ` Simon Horman
2015-03-16 14:21 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Arnd Bergmann
3 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2015-03-15 23:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Geert Uytterhoeven <geert+renesas@glider.be>
Remove the restart handling hack from the r8a7740 generic multiplatform
case.
Restart on DT-based r8a7740 platforms is now handled through the
R-Mobile reset driver.
This reverts commit 1174c712afa2779f ("ARM: shmobile: r8a7740: Add
restart callback").
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7740.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index dd64caf..9832e48 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -842,13 +842,6 @@ static void __init r8a7740_generic_init(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
-#define RESCNT2 IOMEM(0xe6188020)
-static void r8a7740_restart(enum reboot_mode mode, const char *cmd)
-{
- /* Do soft power on reset */
- writel(1 << 31, RESCNT2);
-}
-
static const char *r8a7740_boards_compat_dt[] __initdata = {
"renesas,r8a7740",
NULL,
@@ -861,7 +854,6 @@ DT_MACHINE_START(R8A7740_DT, "Generic R8A7740 (Flattened Device Tree)")
.init_machine = r8a7740_generic_init,
.init_late = shmobile_init_late,
.dt_compat = r8a7740_boards_compat_dt,
- .restart = r8a7740_restart,
MACHINE_END
#endif /* CONFIG_USE_OF */
--
2.1.4
^ permalink raw reply related [flat|nested] 36+ messages in thread
* Re: [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
` (2 preceding siblings ...)
2015-03-15 23:03 ` [PATCH 3/3] ARM: shmobile: r8a7740: Remove restart callback Simon Horman
@ 2015-03-16 14:21 ` Arnd Bergmann
3 siblings, 0 replies; 36+ messages in thread
From: Arnd Bergmann @ 2015-03-16 14:21 UTC (permalink / raw)
To: linux-arm-kernel
On Monday 16 March 2015 08:03:16 Simon Horman wrote:
>
> Please consider these second round of Renesas ARM based SoC cleanup for v4.1.
>
>
> As requested by Arnd v2 of this pull request is based on v4.0-rc1. The
> previous version of this pull request was based on "Renesas ARM Based SoC
> Cleanup for v4.1", tagged as renesas-soc-cleanup2-for-v4.1. There are no
> other changes between v1 and v2 of this pull request.
>
>
>
Merged into next/cleanup, thanks a lot for the rebase!
Arnd
^ permalink raw reply [flat|nested] 36+ messages in thread
end of thread, other threads:[~2015-03-16 14:21 UTC | newest]
Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21 0:54 [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
2014-11-21 0:54 ` [PATCH 01/29] ARM: shmobile: r8a7794: Add VIN clock to device tree Simon Horman
2014-11-21 0:54 ` [PATCH 02/29] ARM: shmobile: r8a7790: Add Audio DMAC devices to DT Simon Horman
2014-11-21 0:54 ` [PATCH 03/29] ARM: shmobile: r8a7791: " Simon Horman
2014-11-21 0:54 ` [PATCH 04/29] ARM: shmobile: r8a7790: Add Audio DMAC peri peri " Simon Horman
2014-11-21 0:54 ` [PATCH 05/29] ARM: shmobile: r8a7791: " Simon Horman
2014-11-21 0:54 ` [PATCH 06/29] ARM: shmobile: lager: fixup IIC2 clock frequency Simon Horman
2014-11-21 0:54 ` [PATCH 07/29] ARM: shmobile: lager: Sound PIO support on DTS Simon Horman
2014-11-21 0:54 ` [PATCH 08/29] ARM: shmobile: lager: Sound DMA " Simon Horman
2014-11-21 0:54 ` [PATCH 09/29] ARM: shmobile: lager: Sound DMA support via BUSIF " Simon Horman
2014-11-21 0:54 ` [PATCH 10/29] ARM: shmobile: lager: Sound DMA support via SRC " Simon Horman
2014-11-21 0:54 ` [PATCH 11/29] ARM: shmobile: lager: Sound DMA support via DVC " Simon Horman
2014-11-21 0:54 ` [PATCH 12/29] ARM: shmobile: koelsch: fixup I2C2 clock frequency Simon Horman
2014-11-21 0:54 ` [PATCH 13/29] ARM: shmobile: koelsch: Sound PIO support on DTS Simon Horman
2014-11-21 0:54 ` [PATCH 14/29] ARM: shmobile: koelsch: Sound DMA " Simon Horman
2014-11-21 0:54 ` [PATCH 15/29] ARM: shmobile: koelsch: Sound DMA support via BUSIF " Simon Horman
2014-11-21 0:54 ` [PATCH 16/29] ARM: shmobile: koelsch: Sound DMA support via SRC " Simon Horman
2014-11-21 0:54 ` [PATCH 17/29] ARM: shmobile: koelsch: Sound DMA support via DVC " Simon Horman
2014-11-21 0:54 ` [PATCH 18/29] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific IIC compatible properties Simon Horman
2014-11-21 0:54 ` [PATCH 19/29] ARM: shmobile: sh73a0 " Simon Horman
2014-11-21 0:54 ` [PATCH 20/29] ARM: shmobile: koelsch dts: Add labels for the LEDs Simon Horman
2014-11-21 0:54 ` [PATCH 21/29] ARM: shmobile: kzm9g-reference " Simon Horman
2014-11-21 0:54 ` [PATCH 22/29] ARM: shmobile: r8a7790: add DMA nodes for IIC Simon Horman
2014-11-21 0:54 ` [PATCH 23/29] ARM: shmobile: r8a7791: " Simon Horman
2014-11-21 0:54 ` [PATCH 24/29] ARM: shmobile: lager: add Volume Ramp usage on comment Simon Horman
2014-11-21 0:54 ` [PATCH 25/29] ARM: shmobile: koelsch: " Simon Horman
2014-11-21 0:54 ` [PATCH 26/29] ARM: shmobile: r8a7794: Add SGX clock to device tree Simon Horman
2014-11-21 0:54 ` [PATCH 27/29] ARM: shmobile: r8a7794: Add MMP and VSP1 clocks " Simon Horman
2014-11-21 0:54 ` [PATCH 28/29] ARM: shmobile: r8a7790: add USBDMAC{0,1} " Simon Horman
2014-11-21 0:54 ` [PATCH 29/29] ARM: shmobile: r8a7791: " Simon Horman
2014-11-21 12:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann
2015-03-15 23:03 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
2015-03-15 23:03 ` [PATCH 1/3] ARM: shmobile: Remove stray closing parenthesis in debug description Simon Horman
2015-03-15 23:03 ` [PATCH 2/3] ARM: shmobile: R-Car Gen2: CONFIG_COMMON_CLK is always set Simon Horman
2015-03-15 23:03 ` [PATCH 3/3] ARM: shmobile: r8a7740: Remove restart callback Simon Horman
2015-03-16 14:21 ` [GIT PULL v2] Second Round of Renesas ARM Based SoC Cleanup for v4.1 Arnd Bergmann
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).