summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/iwg20d-q7-common.dtsi
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2017-12-18 21:22:37 +0300
committerSimon Horman <horms+renesas@verge.net.au>2017-12-20 14:52:34 +0300
commitcfa2e2f7cf22d0523a88c6284606baa9b2698866 (patch)
tree335843581c6e2abbce3a6265cbd65b3c1987eed1 /arch/arm/boot/dts/iwg20d-q7-common.dtsi
parent3091626868981e086f57d580cb1711b4553c5663 (diff)
downloadlinux-cfa2e2f7cf22d0523a88c6284606baa9b2698866.tar.xz
ARM: dts: iwg20d-q7-common: 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> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/iwg20d-q7-common.dtsi')
-rw-r--r--arch/arm/boot/dts/iwg20d-q7-common.dtsi46
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index 03d41a736afd..f6b0eead6f92 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -34,6 +34,22 @@
regulator-always-on;
};
+ 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>;
+ };
+ };
+
vcc_sdhi1: regulator-vcc-sdhi1 {
compatible = "regulator-fixed";
@@ -166,6 +182,11 @@
power-source = <1800>;
};
+ sound_pins: sound {
+ groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
+ function = "ssi";
+ };
+
usb0_pins: usb0 {
groups = "usb0";
function = "usb0";
@@ -177,6 +198,22 @@
};
};
+&rcar_sound {
+ pinctrl-0 = <&sound_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ /* Single DAI */
+ #sound-dai-cells = <0>;
+
+ rcar_sound,dai {
+ dai0 {
+ playback = <&ssi1>;
+ capture = <&ssi0>;
+ };
+ };
+};
+
&scif0 {
pinctrl-0 = <&scif0_pins>;
pinctrl-names = "default";
@@ -205,6 +242,15 @@
status = "okay";
};
+&ssi0 {
+ pio-transfer;
+};
+
+&ssi1 {
+ pio-transfer;
+ shared-pin;
+};
+
&usbphy {
status = "okay";
};