arm64: dts: rk3399: using multicodec sound for rt5651 codec

We need to export Headphone Jack snd ctl to userspace
on linux platform via multicodec machine driver.

Change-Id: I1d042b080ab45f303f7c1a4100a2dd8014d923bc
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
Xing Zheng
2019-06-19 11:02:16 +08:00
committed by Tao Huang
parent 150909a9b3
commit bb94c30573
2 changed files with 10 additions and 1 deletions

View File

@@ -69,7 +69,7 @@
};
};
rt5651-sound {
rt5651_sound: rt5651-sound {
status = "okay";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";

View File

@@ -406,6 +406,15 @@
status = "okay";
};
&rt5651_sound {
compatible = "rockchip,multicodecs-card";
rockchip,card-name = "rockchip,rt5651-codec";
rockchip,codec-hp-det;
rockchip,mclk-fs = <256>;
rockchip,cpu = <&i2s0>;
rockchip,codec = <&rt5651>;
};
&saradc {
vref-supply = <&vccadc_ref>;
};