android_kernel_motorola_sm6375/qcom/holi-ibiza-fmr-overlay.dtsi
liaoxl 79200f3765 arm64/dts: fix current leak on GPIO47
default state set as high will lead to ELNA module on, which will consume battery power.
turn it off as default settings to fix this issue.

Change-Id: I4b023b32e4f22431bb991c88c7d293568b3dd49b
Reviewed-on: https://gerrit.mot.com/1810702
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Reviewed-by: Yongbin Chen <[email protected]>
Submit-Approved: Jira Key
2023-10-22 09:57:53 +08:00

48 lines
789 B
Devicetree

&tlmm {
fm_elna_default: fm_elna_default {
mux {
pins = "gpio47";
function = "gpio";
};
config {
pins = "gpio47";
drive_strength = <16>;
output-low;
};
};
fm_elna_active: fm_elna_active {
mux {
pins = "gpio47";
function = "gpio";
};
config {
pins = "gpio47";
drive_strength = <16>;
output-high;
};
};
fm_elna_suspend: fm_elna_suspend {
mux {
pins = "gpio47";
function = "gpio";
};
config {
pins = "gpio47";
drive_strength = <16>;
output-low;
};
};
};
&soc {
fmradio: fm_wcn39x0 {
status = "ok"
compatible = "moto,fmctrl";
pinctrl-names = "default", "elna_active", "elna_suspend";
pinctrl-0 = <&fm_elna_default>;
pinctrl-1 = <&fm_elna_active>;
pinctrl-2 = <&fm_elna_suspend>;
};
};