* [PATCH 1/3] ARM: shmobile: sh73a0: add FSI support via DTSI
2013-12-23 2:08 [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.13 Simon Horman
@ 2013-12-23 2:08 ` Simon Horman
2013-12-23 2:08 ` [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS Simon Horman
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2013-12-23 2:08 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/sh73a0.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 241c8cd..c460dd2 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -243,4 +243,13 @@
gpio-controller;
#gpio-cells = <2>;
};
+
+ sh_fsi2: sound at ec230000 {
+ #sound-dai-cells = <1>;
+ compatible = "renesas,sh_fsi2";
+ reg = <0xec230000 0x400>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 146 0x4>;
+ status = "disabled";
+ };
};
--
1.8.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS
2013-12-23 2:08 [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.13 Simon Horman
2013-12-23 2:08 ` [PATCH 1/3] ARM: shmobile: sh73a0: add FSI support via DTSI Simon Horman
@ 2013-12-23 2:08 ` Simon Horman
2013-12-23 13:21 ` Sergei Shtylyov
2013-12-23 2:08 ` [PATCH 3/3] ARM: shmobile: koelsch: dts: Add gpio-keys device Simon Horman
2013-12-24 3:45 ` [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14 Simon Horman
3 siblings, 1 reply; 9+ messages in thread
From: Simon Horman @ 2013-12-23 2:08 UTC (permalink / raw)
To: linux-arm-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
This patch support FSI-AK4648 with simple audio card
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 ++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
index 5bb593d..eb8886b 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
@@ -152,6 +152,20 @@
label = "SW1";
};
};
+
+ sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,format = "left_j";
+ simple-audio-card,cpu {
+ sound-dai = <&sh_fsi2 0>;
+ };
+ simple-audio-card,codec {
+ sound-dai = <&ak4648>;
+ bitclock-master;
+ frame-master;
+ system-clock-frequency = <11289600>;
+ };
+ };
};
&i2c0 {
@@ -226,6 +240,12 @@
};
};
};
+
+ ak4648: ak4648 at 0x12 {
+ #sound-dai-cells = <0>;
+ compatible = "asahi-kasei,ak4648";
+ reg = <0x12>;
+ };
};
&i2c3 {
@@ -289,6 +309,12 @@
renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2";
};
+
+ fsia_pins: sounda {
+ renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
+ "fsia_data_in", "fsia_data_out";
+ renesas,function = "fsia";
+ };
};
&sdhi0 {
@@ -309,3 +335,10 @@
broken-cd;
status = "okay";
};
+
+&sh_fsi2 {
+ pinctrl-0 = <&fsia_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
--
1.8.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS
2013-12-23 2:08 ` [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS Simon Horman
@ 2013-12-23 13:21 ` Sergei Shtylyov
2013-12-23 14:10 ` Sergei Shtylyov
0 siblings, 1 reply; 9+ messages in thread
From: Sergei Shtylyov @ 2013-12-23 13:21 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 23-12-2013 6:08, Simon Horman wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> This patch support FSI-AK4648 with simple audio card
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
> arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 ++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> index 5bb593d..eb8886b 100644
> --- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> +++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
[...]
> @@ -226,6 +240,12 @@
> };
> };
> };
> +
> + ak4648: ak4648 at 0x12 {
Perhaps "sound-codec" or "audio-codec" would be a better name; hardware
specific names are not recommended by ePAPR. And drop "0x" from the address
part please.
> + #sound-dai-cells = <0>;
> + compatible = "asahi-kasei,ak4648";
> + reg = <0x12>;
> + };
> };
>
> &i2c3 {
WBR, Sergei
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS
2013-12-23 13:21 ` Sergei Shtylyov
@ 2013-12-23 14:10 ` Sergei Shtylyov
2013-12-24 5:54 ` Simon Horman
0 siblings, 1 reply; 9+ messages in thread
From: Sergei Shtylyov @ 2013-12-23 14:10 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 23-12-2013 17:21, Sergei Shtylyov wrote:
>> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>> This patch support FSI-AK4648 with simple audio card
>> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
>> ---
>> arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33
>> ++++++++++++++++++++++++++++
>> 1 file changed, 33 insertions(+)
>> diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
>> b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
>> index 5bb593d..eb8886b 100644
>> --- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
>> +++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> [...]
>> @@ -226,6 +240,12 @@
>> };
>> };
>> };
>> +
>> + ak4648: ak4648 at 0x12 {
> Perhaps "sound-codec" or "audio-codec" would be a better name; hardware
> specific names are not recommended by ePAPR. And drop "0x" from the address
> part please.
Sorry, I didn't notice the patch is posted as a part of pull request; I've
probably missed the original posting (though I've already told to Morimoto-san
that names like "ak4648" shouldn't be used).
WBR, Sergei
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS
2013-12-23 14:10 ` Sergei Shtylyov
@ 2013-12-24 5:54 ` Simon Horman
0 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2013-12-24 5:54 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Dec 23, 2013 at 06:10:09PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 23-12-2013 17:21, Sergei Shtylyov wrote:
>
> >>From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> >>This patch support FSI-AK4648 with simple audio card
>
> >>Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >>Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> >>---
> >> arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33
> >>++++++++++++++++++++++++++++
> >> 1 file changed, 33 insertions(+)
>
> >>diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> >>b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> >>index 5bb593d..eb8886b 100644
> >>--- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> >>+++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> >[...]
> >>@@ -226,6 +240,12 @@
> >> };
> >> };
> >> };
> >>+
> >>+ ak4648: ak4648 at 0x12 {
>
> > Perhaps "sound-codec" or "audio-codec" would be a better name; hardware
> >specific names are not recommended by ePAPR. And drop "0x" from the address
> >part please.
>
> Sorry, I didn't notice the patch is posted as a part of pull
> request; I've probably missed the original posting (though I've
> already told to Morimoto-san that names like "ak4648" shouldn't be
> used).
Indeed, I think that you have commended on node naming on more
than one occasion. Feel free to make some cleanup patches if you
have the inclination.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/3] ARM: shmobile: koelsch: dts: Add gpio-keys device
2013-12-23 2:08 [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.13 Simon Horman
2013-12-23 2:08 ` [PATCH 1/3] ARM: shmobile: sh73a0: add FSI support via DTSI Simon Horman
2013-12-23 2:08 ` [PATCH 2/3] ARM: shmobile: kzm9g: add FSI support for DTS Simon Horman
@ 2013-12-23 2:08 ` Simon Horman
2013-12-24 3:45 ` [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14 Simon Horman
3 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2013-12-23 2:08 UTC (permalink / raw)
To: linux-arm-kernel
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
The board has 7 buttons connected to GPIOs, add a corresponding
gpio-keys device.
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-reference.dts | 54 +++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-reference.dts b/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
index 1919273..588ca17 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
@@ -31,6 +31,60 @@
#size-cells = <1>;
};
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ key-a {
+ gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
+ linux,code = <30>;
+ label = "SW30";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ key-b {
+ gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
+ linux,code = <48>;
+ label = "SW31";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ key-c {
+ gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
+ linux,code = <46>;
+ label = "SW32";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ key-d {
+ gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
+ linux,code = <32>;
+ label = "SW33";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ key-e {
+ gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
+ linux,code = <18>;
+ label = "SW34";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ key-f {
+ gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
+ linux,code = <33>;
+ label = "SW35";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ key-g {
+ gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
+ linux,code = <34>;
+ label = "SW36";
+ gpio-key,wakeup;
+ debounce-interval = <20>;
+ };
+ };
+
leds {
compatible = "gpio-leds";
led6 {
--
1.8.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14
2013-12-23 2:08 [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.13 Simon Horman
` (2 preceding siblings ...)
2013-12-23 2:08 ` [PATCH 3/3] ARM: shmobile: koelsch: dts: Add gpio-keys device Simon Horman
@ 2013-12-24 3:45 ` Simon Horman
2013-12-29 21:21 ` Olof Johansson
3 siblings, 1 reply; 9+ messages in thread
From: Simon Horman @ 2013-12-24 3:45 UTC (permalink / raw)
To: linux-arm-kernel
[ Corrected subject: s/3.13.3.14 ]
On Mon, Dec 23, 2013 at 11:08:12AM +0900, Simon Horman wrote:
> Hi Kevin, Hi Olof, Hi Arnd,
>
> Please consider this second round of Renesas ARM Based SoC DT Updates for
> v3.13. It is based on the first round, tagged as renesas-dt-for-v3.14,
> which you have already pulled.
>
>
> The following changes since commit 1fd219561a4afc51b5f257692f3581546434db5b:
>
> ARM: shmobile: marzen: enable HSPI0 in DTS (2013-12-10 17:27:25 +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.14
>
> for you to fetch changes up to bd0609896eabe2e64b75d7955ae5ecec528cf860:
>
> ARM: shmobile: koelsch: dts: Add gpio-keys device (2013-12-12 22:22:04 +0900)
>
> ----------------------------------------------------------------
> Second Round of Renesas ARM Based SoC DT Updates for v3.13
>
> * r8a7791 (R-Car M2) based Koelsch board
> - Add GPIO keys
>
> * sh73a0 (SH-Mobile AG5) based kzm9g board
> - Add FSI support
>
> ----------------------------------------------------------------
> Kuninori Morimoto (2):
> ARM: shmobile: sh73a0: add FSI support via DTSI
> ARM: shmobile: kzm9g: add FSI support for DTS
>
> Laurent Pinchart (1):
> ARM: shmobile: koelsch: dts: Add gpio-keys device
>
> arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 54 +++++++++++++++++++++++++
> arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 +++++++++++++++
> arch/arm/boot/dts/sh73a0.dtsi | 9 +++++
> 3 files changed, 96 insertions(+)
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14
2013-12-24 3:45 ` [GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14 Simon Horman
@ 2013-12-29 21:21 ` Olof Johansson
0 siblings, 0 replies; 9+ messages in thread
From: Olof Johansson @ 2013-12-29 21:21 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Dec 24, 2013 at 12:45:41PM +0900, Simon Horman wrote:
> [ Corrected subject: s/3.13.3.14 ]
>
> On Mon, Dec 23, 2013 at 11:08:12AM +0900, Simon Horman wrote:
> > Hi Kevin, Hi Olof, Hi Arnd,
> >
> > Please consider this second round of Renesas ARM Based SoC DT Updates for
> > v3.13. It is based on the first round, tagged as renesas-dt-for-v3.14,
> > which you have already pulled.
> >
> >
> > The following changes since commit 1fd219561a4afc51b5f257692f3581546434db5b:
> >
> > ARM: shmobile: marzen: enable HSPI0 in DTS (2013-12-10 17:27:25 +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.14
Pulled, thanks.
-Olof
^ permalink raw reply [flat|nested] 9+ messages in thread