mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
dts:add aw8838 for fogo 5g na
fogo 5g na need to pass HAC test. so hardware add aw8838 for handset hac output. config dts. Change-Id: I28d9ee54709dd377df4dc497dd0bef21ce60c200 Signed-off-by: liaohj <liaohj@lenovo.com> Reviewed-on: https://gerrit.mot.com/2701008 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Wanlong Zhou <zhouwl@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
0ee59fc6ef
commit
7481c141eb
1 changed files with 23 additions and 2 deletions
|
|
@ -28,6 +28,18 @@
|
|||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
aw8838_rst_default: aw8838_rst_default {
|
||||
mux {
|
||||
pins = "gpio58";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio58";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cdc_dmic01_gpios {
|
||||
|
|
@ -307,9 +319,9 @@
|
|||
qcom,msm-mbhc-hphl-swh = <1>;
|
||||
qcom,msm-mbhc-gnd-swh = <1>;
|
||||
asoc-codec = <&stub_codec>, <&bolero>,
|
||||
<&wcd937x_codec>,<&aw882xxacf>,<&aw882xxacf_recv>;
|
||||
<&wcd937x_codec>,<&aw882xxacf>,<&aw882xxacf_recv>,<&aw8838_i2c_37>;
|
||||
asoc-codec-names = "msm-stub-codec.1", "bolero_codec",
|
||||
"wcd937x_codec", "aw882xxacf_smartpa.2-0034", "aw882xxacf_smartpa.2-0035";
|
||||
"wcd937x_codec", "aw882xxacf_smartpa.2-0034", "aw882xxacf_smartpa.2-0035", "aw8838_smartpa";
|
||||
qcom,msm_audio_ssr_devs = <&audio_apr>, <&q6core>, <&lpi_tlmm>,
|
||||
<&bolero>;
|
||||
qcom,msm-mbhc-hs-mic-max-threshold-mv = <2700>;
|
||||
|
|
@ -349,6 +361,15 @@
|
|||
skt-prof-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
aw8838_i2c_37: aw8838_smartpa@37 {
|
||||
compatible = "awinic,aw8838_smartpa";
|
||||
reg = <0x37>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&aw8838_rst_default>;
|
||||
reset-gpio = <&tlmm 58 0>;
|
||||
rename-flag = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&va_cdc_dma_0_tx {
|
||||
|
|
|
|||
Loading…
Reference in a new issue