ARM: dts: rockchip: rk3126-bnd-d708: add codec

Change-Id: I8f5d73c6241de5e92e0efe641c4c2d2308555029
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
This commit is contained in:
Binyuan Lan
2017-11-08 09:50:37 +08:00
committed by Tao Huang
parent 37b11e436a
commit 5815eebd8e

View File

@@ -135,6 +135,24 @@
};
};
rockchip_headset {
compatible = "rockchip_headset";
headset_gpio = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,name = "rockchip,rk312x";
simple-audio-card,cpu {
sound-dai = <&i2s_2ch>;
};
simple-audio-card,codec {
sound-dai = <&codec>;
};
};
vccadc_ref: vccadc-ref {
compatible = "regulator-fixed";
regulator-name = "SARADC_AVDD33";
@@ -161,6 +179,21 @@
};
};
&codec {
#sound-dai-cells = <0>;
hp-ctl-gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
spk-ctl-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
spk-mute-delay = <200>;
hp-mute-delay = <100>;
is_rk3128 = <0>;
spk_volume = <25>;
hp_volume = <25>;
capture_volume = <26>;
gpio_debug = <1>;
codec_hp_det = <0>;
status = "okay";
};
&cif {
status = "okay";
};
@@ -449,6 +482,11 @@
};
};
&i2s_2ch {
#sound-dai-cells = <0>;
status = "okay";
};
&mipi_dphy {
status = "okay";
};