arm64/dts: cypfr: enable FM ELNA control module

Per tinno HW team req, enable this feature to control FM
ELNA module,  fix FM signal loss issue of HW design.

Change-Id: Iba10b49f416d2e4ae98af3b81d3bd8cc93045703
Reviewed-on: https://gerrit.mot.com/2087029
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Bin Liu <liubin7@motorola.com>
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liaoxl 2021-10-11 14:54:30 +08:00 • committed by panyq6
commit ad90f613ce
2 changed files with 49 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#include "rt9426a.dtsi"
#include "discrete_charging.dtsi"
#include "sgm7220.dtsi"
#include "blair-cypfr-fmr-overlay.dtsi"
&usb0 {
qcom,force-adb-enable;

View file

@ -0,0 +1,48 @@
&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>;
};
};