mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
arm64/dts:sx9375 sar sensor bringup for Miami
-modify sx9375 dts config for Miami -sar sensor bringup work Change-Id: I9f43014c505a3d2df953412ce9023adac790fc41 Signed-off-by: chenlj2 <chenlj2@motorola.com> Reviewed-on: https://gerrit.mot.com/2227626 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Hongshu Lou <louhs1@motorola.com> Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ba85648882
commit
d4c8ea1458
1 changed files with 64 additions and 57 deletions
|
|
@ -89,6 +89,10 @@
|
|||
cdc-vdd-mic-bias-supply = <>;
|
||||
};
|
||||
|
||||
&pm6125_l9 {
|
||||
regulator-always-on; //SAR interrupt power
|
||||
qcom,init-voltage = <1800000>;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
nfc {
|
||||
|
|
@ -280,8 +284,13 @@
|
|||
pinctrl-0 = <&nfc_int_active &nfc_enable_active &nfc_clk_req_active>;
|
||||
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend &nfc_clk_req_suspend>;
|
||||
};
|
||||
};
|
||||
|
||||
sx937x_se7:sx937x@2c {
|
||||
&qupv3_se2_i2c {
|
||||
|
||||
status = "ok"
|
||||
|
||||
sx937x@2c {
|
||||
compatible = "Semtech,sx937x";
|
||||
reg = <0x2c>;
|
||||
pinctrl-names = "default","sleep";
|
||||
|
|
@ -291,6 +300,7 @@
|
|||
interrupts = <24 0x02>;
|
||||
interrupt-names = "sx937x_irq";
|
||||
Semtech,nirq-gpio = <&tlmm 24 0x02>;
|
||||
//please fix me
|
||||
cap_vdd-supply = <&pm6125_l9>;
|
||||
/*use PH4/5/6 as the reference sensor
|
||||
set it to 0xff if the ref-phases-x is not used*/
|
||||
|
|
@ -298,63 +308,60 @@
|
|||
Semtech,ref-phases-b = <6>;
|
||||
Semtech,ref-phases-c = <0xff>;
|
||||
Semtech,button-flag = <0x1f>;
|
||||
Semtech,reg-num = <54>;
|
||||
Semtech,reg-num = <52>;
|
||||
Semtech,reg-init = <
|
||||
0x8024 0x7F00
|
||||
0x4004 0x70
|
||||
0x4008 0x8
|
||||
0x8020 0x32
|
||||
0x8028 0x886 /*AFE_PARAM_PH0*/
|
||||
0x8034 0x886 /*AFE_PARAM_PH1*/
|
||||
0x8040 0x886 /*AFE_PARAM_PH2*/
|
||||
0x804C 0x886 /*AFE_PARAM_PH3*/
|
||||
0x8058 0x886 /*AFE_PARAM_PH4*/
|
||||
0x8064 0x886 /*AFE_PARAM_PH5*/
|
||||
0x8070 0x886 /*AFE_PARAM_PH6*/
|
||||
0x807C 0x85C /*AFE_PARAM_PH7*/
|
||||
/*set CS3 to hiz, because it used as IRQ pin*/
|
||||
0x8030 0xFEF9FF /*REG_AFEPH_PH0, CS5, ANT0, Bottom center*/
|
||||
0x803C 0xFFF9FD /*REG_AFEPH_PH1, CS0, ANT1/6, Top right*/
|
||||
0x8048 0xFFD9FF /*REG_AFEPH_PH2, CS4, ANT2, Top center*/
|
||||
0x8054 0xF7F9FF /*REG_AFEPH_PH3, CS6, ANT5, Bottom Right*/
|
||||
0x8060 0xBFF9FF /*REG_AFEPH_PH4, CS7, ANT8, Top Left*/
|
||||
0x806C 0xFFF97F /*REG_AFEPH_PH5, CS2, ANT0/5_REF, Bottom_Ref*/
|
||||
0x8078 0xFFF9EF /*REG_AFEPH_PH6, CS1, ANT8 REF, Middle*/
|
||||
0x8084 0xFFF9FF /*REG_AFEPH_PH7, NOT USE*/
|
||||
0x8098 0x693F
|
||||
0x80B8 0x6932
|
||||
0x80D8 0x3737
|
||||
0x80F8 0x3C3C
|
||||
0x8118 0x4242
|
||||
0x8138 0xFE
|
||||
0x8158 0xFE
|
||||
0x8188 0x8000015
|
||||
0x818C 0x8000016
|
||||
0x8090 0x64B45000
|
||||
0x80B0 0x3CD05000
|
||||
0x80D0 0x32D87000
|
||||
0x80F0 0x3CD45000
|
||||
0x8110 0x3CD47000
|
||||
0x8130 0x54AC5000
|
||||
0x8150 0x54AC5000
|
||||
0x8170 0x54AC5000
|
||||
0x8088 0x300000
|
||||
0x80A8 0x300000
|
||||
0x80C8 0x300000
|
||||
0x80E8 0x300000
|
||||
0x8108 0x300000
|
||||
0x8128 0x600000
|
||||
0x8148 0x600000
|
||||
0x808C 0x60200030
|
||||
0x80AC 0x60200030
|
||||
0x80CC 0x60200018
|
||||
0x80EC 0x60200030
|
||||
0x810C 0x60200018
|
||||
0x812C 0x60200030
|
||||
0x814C 0x60200030
|
||||
0x816C 0x60200030
|
||||
0x8024 0x7F7F
|
||||
0x4280 0xF
|
||||
0x8024 0x7F00
|
||||
0x4004 0x70
|
||||
0x4008 0x8
|
||||
0x8020 0x32
|
||||
0x8028 0x85E
|
||||
0x8034 0x85E
|
||||
0x8040 0x85E
|
||||
0x804C 0x85E
|
||||
0x8058 0x85E
|
||||
0x8064 0x85E
|
||||
0x8070 0x85E
|
||||
0x807C 0x85E
|
||||
0x8030 0xFFF9FD
|
||||
0x803C 0xBFF9FF
|
||||
0x8048 0xF7F9FF
|
||||
0x8054 0xFEF9FF
|
||||
0x8060 0xFFD9FF
|
||||
0x806C 0xFFF9EF
|
||||
0x8078 0xFFF97F
|
||||
0x8084 0xFFF9FF
|
||||
0x8098 0x5A40
|
||||
0x80B8 0x5A40
|
||||
0x80D8 0x5A5A
|
||||
0x80F8 0x5A5A
|
||||
0x8118 0x5A5A
|
||||
0x8138 0x5A40
|
||||
0x8158 0x5A40
|
||||
0x8178 0x5A40
|
||||
0x8090 0x54AC5000
|
||||
0x80B0 0x54AC5000
|
||||
0x80D0 0x54AC5000
|
||||
0x80F0 0x54AC5000
|
||||
0x8110 0x54AC5000
|
||||
0x8130 0x54AC5000
|
||||
0x8150 0x54AC5000
|
||||
0x8170 0x54AC5000
|
||||
0x8088 0x300000
|
||||
0x80A8 0x300000
|
||||
0x80C8 0x300000
|
||||
0x80E8 0x300000
|
||||
0x8108 0x300000
|
||||
0x8128 0x300000
|
||||
0x8148 0x300000
|
||||
0x8168 0x300000
|
||||
0x808C 0x60200030
|
||||
0x80AC 0x60200030
|
||||
0x80CC 0x60200030
|
||||
0x80EC 0x60200030
|
||||
0x810C 0x60200030
|
||||
0x812C 0x60200030
|
||||
0x814C 0x60200030
|
||||
0x816C 0x60200030
|
||||
>;
|
||||
|
||||
status = "ok"
|
||||
|
|
|
|||
Loading…
Reference in a new issue