Second Round of Renesas ARM Based SoC DT Updates for v3.13
Subsystems (2)
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(+)
PATCH 1/3 ARM: shmobile: sh73a0: add FSI support via DTSI
From: Kuninori Morimoto <[email protected]>
--- arch/arm/boot/dts/sh73a0.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/sh73a0.dtsi +9 -0
@@ -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"; + }; };
Signature · 1 line
1.8.4
PATCH 2/3 ARM: shmobile: kzm9g: add FSI support for DTS
In reply to Simon HormanFrom: Kuninori Morimoto <[email protected]>
This patch support FSI-AK4648 with simple audio card
--- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +33 -0
@@ -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"; +};
Signature · 1 line
1.8.4
PATCH 2/3 ARM: shmobile: kzm9g: add FSI support for DTS
Hello.
Quoted 14 lines · Simon Horman
From: Kuninori Morimoto <[email protected]>
This patch support FSI-AK4648 with simple audio card
Signed-off-by Kuninori Morimoto <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +0
-0
[...]
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts line 244
Quoted 6 lines
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +2
-0@@ -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.
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts line 251
Quoted 7 lines
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +4
-0+ #sound-dai-cells = <0>; + compatible = "asahi-kasei,ak4648"; + reg = <0x12>; + }; }; &i2c3 {
WBR, Sergei
PATCH 2/3 ARM: shmobile: kzm9g: add FSI support for DTS
Hello.
Quoted 17 lines · Sergei Shtylyov
Quoted 16 lines
From: Kuninori Morimoto <[email protected]>
This patch support FSI-AK4648 with simple audio card
Signed-off-by Kuninori Morimoto <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +0
-0[...]
Quoted 10 lines
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts line 244
Quoted 6 lines
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +2
-0@@ -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
PATCH 2/3 ARM: shmobile: kzm9g: add FSI support for DTS
Quoted 32 lines · Sergei Shtylyov
Hello.
Quoted 17 lines · Sergei Shtylyov
Quoted 16 lines
From: Kuninori Morimoto <[email protected]>
This patch support FSI-AK4648 with simple audio card
Signed-off-by Kuninori Morimoto <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +0
-0[...]
Quoted 10 lines
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts line 244
Quoted 6 lines
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +2
-0@@ -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.
Quoted 4 lines
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.
PATCH 3/3 ARM: shmobile: koelsch: dts: Add gpio-keys device
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The board has 7 buttons connected to GPIOs, add a corresponding gpio-keys device.
--- arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
arch/arm/boot/dts/r8a7791-koelsch-reference.dts +54 -0
@@ -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 {
Signature · 1 line
1.8.4
[GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14
In reply to Simon Horman[ Corrected subject: s/3.13.3.14 ]
Quoted 41 lines · Simon Horman
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.gittags/renesas-dt2-for-v3.14for 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 DTSLaurent Pinchart (1):
ARM: shmobile: koelsch: dts: Add gpio-keys devicearch/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(+)
[GIT PULL 0/3] Second Round of Renesas ARM Based SoC DT Updates for v3.14
Quoted 17 lines · Simon Horman
[ Corrected subject: s/3.13.3.14 ]
Quoted 14 lines · Simon Horman
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.gittags/renesas-dt2-for-v3.14
Pulled, thanks.
-Olof