arm64/dts: corfur: 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: I29018dbed21e233ece4d9bb5771843384baf4af1
Signed-off-by: duqiu2 <duqiu2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2027757
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xianglong Liao <liaoxl@motorola.com>
Reviewed-by: Ying Xu <xuying9@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
duqiu2 2021-07-29 17:13:13 +08:00 • committed by panyq6
commit a37a86d99a
2 changed files with 49 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#include "corfup-charger.dtsi"
#include "camera/blair-camera-sensor-mot-corfup-overlay.dtsi"
#include "camera/holi-camera-sensor-mot-corfup-dvt1-overlay.dtsi"
#include "blair-corfur-fmr-overlay.dtsi"
&smb1394 {
status = "disabled";

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>;
};
};