|
@gounthar: No, I built the kernel by cloning the OrangePi_Build repository from github on a PC. I only ended up flashing the kernel over the existing HDMI IN image.
Today I'm going to put this in the DTSI and DTS:
dtsi:
- rt5651-sound {
- compatible = "simple-audio-card";
- simple-audio-card,format = "i2s";
- simple-audio-card,name = "realtek,rt5651-codec";
- simple-audio-card,mclk-fs = <256>;
- simple-audio-card,widgets =
- "Microphone", "Mic Jack",
- "Headphone", "Headphone Jack";
- simple-audio-card,routing =
- "Mic Jack", "MICBIAS1",
- "IN1P", "Mic Jack",
- "Headphone Jack", "HPOL",
- "Headphone Jack", "HPOR";
- simple-audio-card,cpu {
- sound-dai = <&i2s0>;
- };
- simple-audio-card,codec {
- sound-dai = <&rt5651>;
- };
- };
Copy code
dts:
- //5651 instead of only simple-audio-card
Copy code
- rt5651-sound {
- status = "disabled";
- };
- hdmiin-sound {
- compatible = "rockchip,rockchip-rt5651-tc358749x-sound";
- rockchip,cpu = <&i2s0>;
- rockchip,codec = <&rt5651 &rt5651 &tc358749x>;
- status = "okay";
- };
Copy code I lpicked these from the sapphire excavator board files.
Fingers crossed.
|
|