| From 0516bce4ddbc333e7f96f88ec02faff73dbd299d Mon Sep 17 00:00:00 2001 |
| From: Biju Das <biju.das@bp.renesas.com> |
| Date: Wed, 20 Dec 2017 20:02:01 +0000 |
| Subject: [PATCH 0750/1795] ARM: dts: iwg22d-sodimm: Sound PIO support |
| |
| Enable sound PIO support on carrier board. |
| |
| Signed-off-by: Biju Das <biju.das@bp.renesas.com> |
| Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 3838ef590119420031ad2a51ea19a9be2ea9acef) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 46 +++++++++++++++++++++ |
| 1 file changed, 46 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts |
| index 5d4b7d203f8d..b6521da8b766 100644 |
| --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts |
| +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts |
| @@ -32,6 +32,21 @@ |
| clock-frequency = <26000000>; |
| }; |
| |
| + rsnd_sgtl5000: sound { |
| + compatible = "simple-audio-card"; |
| + simple-audio-card,format = "i2s"; |
| + 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 = <&sgtl5000>; |
| + }; |
| + }; |
| + |
| vccq_sdhi0: regulator-vccq-sdhi0 { |
| compatible = "regulator-gpio"; |
| |
| @@ -141,6 +156,11 @@ |
| power-source = <3300>; |
| }; |
| |
| + sound_pins: sound { |
| + groups = "ssi34_ctrl", "ssi3_data", "ssi4_data"; |
| + function = "ssi"; |
| + }; |
| + |
| usb0_pins: usb0 { |
| groups = "usb0"; |
| function = "usb0"; |
| @@ -152,6 +172,23 @@ |
| }; |
| }; |
| |
| +&rcar_sound { |
| + pinctrl-0 = <&sound_pins>; |
| + pinctrl-names = "default"; |
| + status = "okay"; |
| + |
| + /* Single DAI */ |
| + |
| + #sound-dai-cells = <0>; |
| + |
| + rcar_sound,dai { |
| + dai0 { |
| + playback = <&ssi3>; |
| + capture = <&ssi4>; |
| + }; |
| + }; |
| +}; |
| + |
| &scif4 { |
| pinctrl-0 = <&scif4_pins>; |
| pinctrl-names = "default"; |
| @@ -169,6 +206,15 @@ |
| status = "okay"; |
| }; |
| |
| +&ssi3 { |
| + pio-transfer; |
| +}; |
| + |
| +&ssi4 { |
| + pio-transfer; |
| + shared-pin; |
| +}; |
| + |
| &usbphy { |
| status = "okay"; |
| }; |
| -- |
| 2.19.0 |
| |