mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
arm64/dts: miami headset bringup
Miami uses FSA4480 usb type-c analog audio switch to implement wired headset detection. Change-Id: I5928e591d9501fb5eb4be17a724e44323bca80ba Signed-off-by: zhouwl <zhouwl@lenovo.com> Reviewed-on: https://gerrit.mot.com/2234587 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Lu Chai <chailu1@motorola.com> Reviewed-by: Haijian Ma <mahj8@motorola.com> Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
de89923ad7
commit
fe382e75d3
2 changed files with 16 additions and 3 deletions
|
|
@ -293,6 +293,17 @@
|
|||
};
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
status = "ok"
|
||||
fsa4480: fsa4480@42 {
|
||||
compatible = "qcom,fsa4480-i2c";
|
||||
reg = <0x42>;
|
||||
io-channels = <&mmi_discrete_charger PSY_IIO_TYPEC_ACCESSORY_MODE>;
|
||||
io-channel-names = "typec_accessory_mode";
|
||||
qcom,use-power-supply = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&holi_snd {
|
||||
qcom,model = "holi-9370_aw882xx-snd-card";
|
||||
qcom,msm-mi2s-master = <1>, <1>, <1>, <1>;
|
||||
|
|
@ -339,8 +350,6 @@
|
|||
"VA DMIC1", "VA MIC BIAS1",
|
||||
"VA DMIC2", "VA MIC BIAS3",
|
||||
"VA DMIC3", "VA MIC BIAS3";
|
||||
qcom,msm-mbhc-hphl-swh = <1>;
|
||||
qcom,msm-mbhc-gnd-swh = <1>;
|
||||
asoc-codec = <&stub_codec>, <&bolero>,
|
||||
<&wcd937x_codec>,<&aw882xxacf>,<&aw882xxacf_recv>;
|
||||
asoc-codec-names = "msm-stub-codec.1", "bolero_codec",
|
||||
|
|
@ -349,6 +358,10 @@
|
|||
<&bolero>;
|
||||
qcom,msm-mbhc-hs-mic-max-threshold-mv = <2700>;
|
||||
qcom,msm-mbhc-hs-mic-min-threshold-mv = <116>;
|
||||
qcom,msm-mbhc-usbc-audio-supported = <1>;
|
||||
qcom,msm-mbhc-hphl-swh = <0>;
|
||||
qcom,msm-mbhc-gnd-swh = <0>;
|
||||
fsa4480-i2c-handle = <&fsa4480>;
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
#include "blair-nopmi-moto-common-overlay.dtsi"
|
||||
|
||||
#include "blair-miami-audio-overlay.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/linux-event-codes.h>
|
||||
#include "holi-pmic-overlay-pm6125.dtsi"
|
||||
|
|
@ -26,6 +25,7 @@
|
|||
#include "tcpc_config.dtsi"
|
||||
#include "discrete_charging_miami.dtsi"
|
||||
#include "discrete-rt-pd-manger.dtsi"
|
||||
#include "blair-miami-audio-overlay.dtsi"
|
||||
|
||||
&wcd937x_codec {
|
||||
cdc-vdd-rxtx-supply = <&L9A>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue