mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 12:52:37 -05:00
denver/sensor: update sarsensor params
1.update params 2.adjust driver for debug when necessary Change-Id: I3fc936e31aa313741f1b87485e3f76ff1a73e60f Signed-off-by: weimh1 <[email protected]> Reviewed-on: https://gerrit.mot.com/1816427 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <[email protected]> Submit-Approved: Jira Key
This commit is contained in:
parent
a65d24decb
commit
7897762a81
1 changed files with 51 additions and 31 deletions
|
|
@ -274,43 +274,63 @@
|
|||
Semtech,ref-phases-b = <6>;
|
||||
Semtech,ref-phases-c = <0xff>;
|
||||
Semtech,button-flag = <0x1f>;
|
||||
Semtech,reg-num = <25>;
|
||||
Semtech,reg-num = <55>;
|
||||
Semtech,reg-init = <
|
||||
0x8024 0x7F00 /*PHEN, Disable all Phases*/
|
||||
0x4004 0x74 /*irq mask*/
|
||||
|
||||
0x8028 0x85C /*AFE_PARAM_PH0*/
|
||||
0x8034 0x85C /*AFE_PARAM_PH1*/
|
||||
0x8040 0x85C /*AFE_PARAM_PH2*/
|
||||
0x804C 0x85C /*AFE_PARAM_PH3*/
|
||||
0x8058 0x85C /*AFE_PARAM_PH4*/
|
||||
0x8064 0x85C /*AFE_PARAM_PH5*/
|
||||
0x8070 0x85C /*AFE_PARAM_PH6*/
|
||||
/* 0x807C 0x85C */ /*AFE_PARAM_PH7*/
|
||||
|
||||
0x8028 0x785 /*AFE_PARAM_PH0*/
|
||||
0x8034 0x885 /*AFE_PARAM_PH1*/
|
||||
0x8040 0x984 /*AFE_PARAM_PH2*/
|
||||
0x804C 0x785 /*AFE_PARAM_PH3*/
|
||||
0x8058 0x785 /*AFE_PARAM_PH4*/
|
||||
0x8064 0x785 /*AFE_PARAM_PH5*/
|
||||
0x8070 0x785 /*AFE_PARAM_PH6*/
|
||||
0x807C 0x785 /*AFE_PARAM_PH7*/
|
||||
/*set CS3 to hiz, because it used as IRQ pin*/
|
||||
0x8030 0xBFF9FF /*REG_AFEPH_PH0, CS7, ANT1, Bottom*/
|
||||
0x803C 0xFFD9FF /*REG_AFEPH_PH1, CS4, ANT2, Top Main*/
|
||||
0x8048 0xFFF9EF /*REG_AFEPH_PH2, CS1, ANT4, Top Right*/
|
||||
0x8054 0xFFF9FD /*REG_AFEPH_PH3, CS0, ANT5, Top Middle*/
|
||||
0x8060 0xFEF9FF /*REG_AFEPH_PH4, CS5, ANT8, Bottom Right*/
|
||||
0x8030 0xBFF9FF /*REG_AFEPH_PH0, CS7, ANT1, Bottom center*/
|
||||
0x803C 0xFFD9FF /*REG_AFEPH_PH1, CS4, ANT2, Top Left*/
|
||||
0x8048 0xFEF9FF /*REG_AFEPH_PH2, CS5, ANT8, Bottom Right*/
|
||||
0x8054 0xFFF9EF /*REG_AFEPH_PH3, CS1, ANT4, Right*/
|
||||
0x8060 0xFFF9FD /*REG_AFEPH_PH4, CS0, ANT5, Back center*/
|
||||
0x806C 0xF7F9FF /*REG_AFEPH_PH5, CS6, ANT1/8_REF, Bottom_Ref*/
|
||||
0x8078 0xFFF97F /*REG_AFEPH_PH6, CS2, ANT4/5_REF, Middle*/
|
||||
0x8084 0xBFF9FF /*REG_AFEPH_PH7, NOT USE*/
|
||||
|
||||
/*prox1 5000 0x64*/
|
||||
/*prox2 10000 0x8D*/
|
||||
/*prox3 15000 0xAD*/
|
||||
/*prox4 20000 0xC8*/
|
||||
0x8098 0xC8AD8D64 /*prox threshold ph0*/
|
||||
0x80B8 0xC8AD8D64 /*prox threshold ph1*/
|
||||
0x80D8 0xC8AD8D64 /*prox threshold ph2*/
|
||||
0x80F8 0xC8AD8D64 /*prox threshold ph3*/
|
||||
0x8118 0xC8AD8D64 /*prox threshold ph4*/
|
||||
0x8138 0xC8AD8D64 /*prox threshold ph5*/
|
||||
0x8158 0xC8AD8D64 /*prox threshold ph6*/
|
||||
/*0x8178 0xC8AD8D64*/ /*prox threshold ph7*/
|
||||
|
||||
0x8024 0x7F7F /*PHEN, Enable PH0~PH6*/
|
||||
0x8088 0x200000
|
||||
0x80A8 0x200001
|
||||
0x80C8 0x200000
|
||||
0x80A0 0x17170001
|
||||
0x80C0 0x0
|
||||
0x80E0 0x22220001
|
||||
0x8100 0x30300002
|
||||
0x8120 0x09090002
|
||||
0x8188 0x5
|
||||
0x818C 0x6
|
||||
0x8190 0x6
|
||||
0x8098 0x00008643
|
||||
0x80B8 0x0000783C
|
||||
0x80D8 0x00008642
|
||||
0x80F8 0x00009059
|
||||
0x8118 0x00009059
|
||||
0x8138 0x00000000
|
||||
0x8158 0x00000000
|
||||
0x808C 0x20600019
|
||||
0x80AC 0x20600019
|
||||
0x80CC 0x20600019
|
||||
0x80EC 0x20600019
|
||||
0x810C 0x20600019
|
||||
0x812C 0x20600019
|
||||
0x814C 0x20600019
|
||||
0x816C 0x20600019
|
||||
0x8090 0x28A87000
|
||||
0x80B0 0x28A87000
|
||||
0x80D0 0x28A87000
|
||||
0x80F0 0x28A87000
|
||||
0x8110 0x28A87000
|
||||
0x8130 0x28A87000
|
||||
0x8150 0x28A87000
|
||||
0x8170 0x28A87000
|
||||
0x8074 0x8
|
||||
0x8024 0x7F7F
|
||||
0x4280 0xe
|
||||
>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue