mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
arm/dts: nfc gpio changes for samsung RN4V bringup
update NFC_IRQ update NFC_ENABLE, NFC_CLK_REQ Change-Id: Idb92af2dbcca9b7c39abfefcee09452cae668f88 Signed-off-by: Yunxian He <heyx6@motorola.com> Reviewed-on: https://gerrit.mot.com/2542132 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
55b4412211
commit
824ba9fdd7
1 changed files with 14 additions and 14 deletions
|
|
@ -72,12 +72,12 @@
|
|||
|
||||
nfc_enable_active: nfc_enable_active {
|
||||
mux {
|
||||
pins = "gpio6";
|
||||
pins = "gpio48";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio6";
|
||||
pins = "gpio48";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
|
|
@ -85,12 +85,12 @@
|
|||
|
||||
nfc_enable_suspend: nfc_enable_suspend {
|
||||
mux {
|
||||
pins = "gpio6";
|
||||
pins = "gpio48";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio6";
|
||||
pins = "gpio48";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-disable;
|
||||
};
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
/* sleep state */
|
||||
mux {
|
||||
/* GPIO 7: NFC CLK Req */
|
||||
pins = "gpi7";
|
||||
pins = "gpio7";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
|
|
@ -276,15 +276,14 @@
|
|||
status = "ok"
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
st21nfc@8 {
|
||||
compatible = "st,st21nfc";
|
||||
mmi,status = "/chosen", "mmi,nfc", "st"
|
||||
status = "ok"
|
||||
reg = <0x08>;
|
||||
st,irq_gpio = <&tlmm 9 0x00>;
|
||||
st,reset_gpio = <&tlmm 6 0x00>;
|
||||
st,clkreq_gpio = <&tlmm 7 0x00>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
sec-nfc@27 {
|
||||
compatible = "sec-nfc";
|
||||
reg = <0x27>;
|
||||
sec-nfc,ven-gpio = <&tlmm 48 0x00>;
|
||||
sec-nfc,firm-gpio = <&tlmm 135 0x00>;
|
||||
sec-nfc,irq-gpio = <&tlmm 9 0x00>;
|
||||
sec-nfc,clk_req-gpio = <&tlmm 7 0x00>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <9 0>;
|
||||
interrupt-names = "nfc_irq";
|
||||
pinctrl-names = "nfc_active", "nfc_suspend";
|
||||
|
|
@ -292,6 +291,7 @@
|
|||
&nfc_clk_req_active>;
|
||||
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend
|
||||
&nfc_clk_req_suspend>;
|
||||
clock-names = "OSC_NFC";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue