Hi,
We are currently porting Volumio on the NanoPi Neo3 using the 5.4.50 kernel from the Friendlyarm repo
(https://github.com/friendlyarm/kernel-r ... -r2-v5.4.y)
Currently there is no support for I2S (and SPDIF), I tried enabling I2S with this patch, using the simple NanoPI Audio HAT (wired):
dmesg shows me that the binding works, but I do not get any sound from it, wiring is correct.
Does anyone have I2S working or can techsupport help me with this?
Thanks
Gé
about Volumio:
http://volumio.org
We are currently porting Volumio on the NanoPi Neo3 using the 5.4.50 kernel from the Friendlyarm repo
(https://github.com/friendlyarm/kernel-r ... -r2-v5.4.y)
Currently there is no support for I2S (and SPDIF), I tried enabling I2S with this patch, using the simple NanoPI Audio HAT (wired):
Code: Select all
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2-rev00.dts b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2-rev00.dts
index 0d1e0507d..80ef4c588 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2-rev00.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2-rev00.dts
@@ -31,6 +31,21 @@
};
};
+ i2s-sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,format = "i2s";
+ simple-audio-card,mclk-fs = <256>;
+ simple-audio-card,name = "I2S Out";
+
+ simple-audio-card,cpu {
+ sound-dai = <&i2s1>;
+ };
+
+ simple-audio-card,codec {
+ sound-dai = <&codec>;
+ };
+ };
+
vcc_rtl8153: vcc-rtl8153-regulator {
compatible = "regulator-fixed";
gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
@@ -50,6 +65,16 @@
model = "NanoPi R2S";
};
+&codec {
+ status = "okay";
+ #sound-dai-cells = <0>;
+};
+
+&i2s1 {
+ status = "okay";
+ #sound-dai-cells = <0>;
+};
+
&emmc {
status = "disabled";
};
dmesg shows me that the binding works, but I do not get any sound from it, wiring is correct.
Code: Select all
[ 1.266051] asoc-simple-card i2s-sound: ff410000.codec <-> ff010000.i2s mapping ok
Does anyone have I2S working or can techsupport help me with this?
Thanks
Gé
about Volumio:
http://volumio.org