arm64: dts: rockchip: rk3399-evb-ind: rk809 compatible to rockchip,multicodecs-card

RK809 compatible to rockchip,multicodecs-card for jack function

Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
Change-Id: Ia430978a4239dc072f92d5de514285035e1159f7
This commit is contained in:
Jiajian Wu
2022-07-21 17:06:22 +08:00
committed by Tao Huang
parent 2641b385e3
commit b0849d5790

View File

@@ -88,23 +88,23 @@
};
rk809_sound: rk809-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,name = "rockchip,rk809-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 = <&i2s1>;
};
simple-audio-card,codec {
sound-dai = <&rk809_codec>;
compatible = "rockchip,multicodecs-card";
rockchip,card-name = "rockchip-rk809";
hp-det-gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
io-channels = <&saradc 2>;
io-channel-names = "adc-detect";
keyup-threshold-microvolt = <1800000>;
poll-interval = <100>;
rockchip,format = "i2s";
rockchip,mclk-fs = <256>;
rockchip,cpu = <&i2s1>;
rockchip,codec = <&rk809_codec>;
pinctrl-names = "default";
pinctrl-0 = <&hp_det>;
play-pause-key {
label = "playpause";
linux,code = <KEY_PLAYPAUSE>;
press-threshold-microvolt = <2000>;
};
};
@@ -131,6 +131,7 @@
};
rk_headset: rk-headset {
status = "disabled";
compatible = "rockchip_headset";
headset_gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";