Myy Posted January 28, 2018 Posted January 28, 2018 Greetings, I recently had a request about testing the I2S and SPDIF output of MiQi devices and after some fiddling on this board, it seems that the Rockchip I2S + Simple-Audio ALSA driver just output nothing on the I2S TX/RX pins, at least. So was anyone able to output sound directly through the I2S GPIO pins on any RK3288 device ? Tinkerboard devices seems to use that setup and it seems to be working, but I'd like to know if that's working through the soldered Jack or the GPIO.
TonyMac32 Posted January 28, 2018 Posted January 28, 2018 The Tinker Sound thread is actually showing the mainline I2S is not working. I think a look at the ASUS 4.4 kernel may be needed in this case. My test early on running a 5102A I2S DAC from the GPIO was with the 4.4 Rockchip-curated kernel.
Myy Posted January 28, 2018 Author Posted January 28, 2018 So Rockchip's 4.4 I2S driver works fine though ? I'll take a look at it then.
nitroshift Posted March 13, 2018 Posted March 13, 2018 There's an issue with miqi device tree, no sound nodes are defined. The following part is missing in /arch/arm/boot/dts/rk3288-miqi.dts: sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,name = "DW-HDMI"; simple-audio-card,mclk-fs = <512>; simple-audio-card,dai-link@0 { /* I2S - S/PDIF */ format = "i2s"; cpu { sound-dai = <&i2s>; }; codec { sound-dai = <&hdmi>; }; }; } nitroshift
TonyMac32 Posted March 13, 2018 Posted March 13, 2018 6 hours ago, nitroshift said: There's an issue with miqi device tree Which device tree? In kernel 4.4 or 4.14?
nitroshift Posted March 14, 2018 Posted March 14, 2018 @TonyMac32 miqi wasn't mainlined in 4.4. nitroshift
nitroshift Posted March 14, 2018 Posted March 14, 2018 @TonyMac32 I've created a pull request: https://github.com/armbian/build/pull/908 to enable the sound node in miqi device tree. nitroshift
TonyMac32 Posted March 14, 2018 Posted March 14, 2018 [mention=4652]TonyMac32[/mention] miqi wasn't mainlined in 4.4. nitroshiftYou don't say?!? We provide the vendor kernel based image as well, which is 4.4. I know better than to assume anything based on the thread name, and thought I'd get clarification.Thank you for the PR, I'll test it later today, glad to hear you've had success otherwise with the mainline image.Sent from my Pixel using Tapatalk
nitroshift Posted March 14, 2018 Posted March 14, 2018 @TonyMac32 There's a difference between vendor 4.4 kernel and mainline 4.4 kernel nitroshift
TonyMac32 Posted March 14, 2018 Posted March 14, 2018 [mention=4652]TonyMac32[/mention] There's a difference between vendor 4.4 kernel and mainline 4.4 kernel nitroshiftWe don't provide a kernel.org LTS 4.4 for Rockchip products, so I would never be referring to such a thing in these forums. . I just changed the 4.4 source from the MiQi vendors to Rockchip directly, so there was a higher than normal chance an issue had been missed there.Sent from my Pixel using Tapatalk
nitroshift Posted March 14, 2018 Posted March 14, 2018 @TonyMac32 There was the misunderstanding, sorry for not being clear about what branch i was talking about. On a different note, the pull request was already merged (thanks @Igor), so we can dist-upgrade tomorrow and have sound too. nitroshift
Recommended Posts