mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcom: Add NFC initialized config
https://gerrit.mot.com/#/c/2008259/ has removed nfc from base dts, so add NFC config in blair-milanf-common-overlay.dtsi just l(CR) holi-denver-common-overlay.dtsi to avoid build error. Change-Id: I2d8398f730f2c7a545f2d7359e348235f9ce1178 Reviewed-on: https://gerrit.mot.com/2034662 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
185a355222
commit
9b2d6f07cd
1 changed files with 94 additions and 0 deletions
|
|
@ -18,6 +18,100 @@
|
|||
#include "display/blair-sde-display-mtp.dtsi"
|
||||
|
||||
|
||||
&tlmm {
|
||||
nfc {
|
||||
nfc_int_active: nfc_int_active {
|
||||
/* active state */
|
||||
mux {
|
||||
/* GPIO 9: NFC Read Interrupt */
|
||||
pins = "gpio9";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio9";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_int_suspend: nfc_int_suspend {
|
||||
/* sleep state */
|
||||
mux {
|
||||
/* GPIO 9: NFC Read Interrupt */
|
||||
pins = "gpio9";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio9";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_enable_active: nfc_enable_active {
|
||||
mux {
|
||||
/* 48: Enable, 8: Firmware*/
|
||||
pins = "gpio48";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio48";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_enable_suspend: nfc_enable_suspend {
|
||||
mux {
|
||||
/* 48: Enable, 8: Firmware */
|
||||
pins = "gpio48";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio48";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
nfc_clk_req_active: nfc_clk_req_active {
|
||||
/* active state */
|
||||
mux {
|
||||
/* GPIO 7: NFC CLK Req*/
|
||||
pins = "gpio7";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio7";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
nfc_clk_req_suspend: nfc_clk_req_suspend {
|
||||
/* sleep state */
|
||||
mux {
|
||||
/* GPIO 7: NFC CLK Req */
|
||||
pins = "gpi7";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio7";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wcd938x_codec {
|
||||
cdc-vdd-rxtx-supply = <&L9A>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue