mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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
48 lines
789 B
Devicetree
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>;
|
|
};
|
|
};
|