From e591897161b4698f051a031e76f2b1b1909bef46 Mon Sep 17 00:00:00 2001 From: tnlizd Date: Thu, 15 Oct 2020 17:11:01 +0800 Subject: [PATCH] sx9338: sar sensor bring up - update parameter v6 capri: 1. update parameter to v6 for sx9338 Change-Id: I7356b4bcbecfdaa05108a20b85c305b0b1d2f679 Reviewed-on: https://gerrit.mot.com/1775003 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Nan Wu Reviewed-by: Yuchang Guo Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- qcom/bengal-capri-common-overlay.dtsi | 46 +++++++++++++++------------ 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/qcom/bengal-capri-common-overlay.dtsi b/qcom/bengal-capri-common-overlay.dtsi index d896e9a869fa..115549e6e784 100644 --- a/qcom/bengal-capri-common-overlay.dtsi +++ b/qcom/bengal-capri-common-overlay.dtsi @@ -233,9 +233,15 @@ interrupts = <36 0x02>; interrupt-names = "sx933x_irq"; Semtech,nirq-gpio= <&tlmm 36 0x02>; - Semtech,button-flag = <0x07>; + Semtech,button-flag = <0x03>; Semtech,headset-reg-num = <4>; Semtech,headset-reg = < + 0x8074 0x08203515 + 0x802c 0x20000A9D + 0x803c 0x20000A9D + 0x801c 0x20000014>; + Semtech,reg-num = <84>; + Semtech,reg-init =< 0x4004 0x7C 0x4008 0x00 0x4054 0x400 @@ -247,31 +253,31 @@ 0x8018 0x00 0x801C 0x31 0x8020 0x1F001B - 0x8024 0x1466 - 0x8028 0x3FFE8349 - 0x802C 0x1476 - 0x8030 0x3FF78266 + 0x8024 0x96 + 0x8028 0x35FF835B + 0x802C 0x2000044E + 0x8030 0x3FF70266 0x8034 0x1466 0x8038 0x3FFF83CD 0x803C 0x1466 - 0x8040 0x3DFF8359 + 0x8040 0x3FFE834E 0x8044 0x1466 - 0x8048 0x2FFF83CD + 0x8048 0x2FFF83D2 0x804C 0x148E 0x8050 0x80001EE6 - 0x8054 0x1322FF00 - 0x8058 0x20630C31 - 0x805C 0x7F605000 + 0x8054 0x10225200 + 0x8058 0x20630031 + 0x805C 0x23DD5011 0x8060 0x00 - 0x8064 0x00 + 0x8064 0x6F0000 0x8068 0x00 0x806C 0x26002600 - 0x8070 0x10000 - 0x8074 0x10327E00 - 0x8078 0x20630B31 + 0x8070 0x00 + 0x8074 0x10223700 + 0x8078 0x20630031 0x807C 0x543C5000 0x8080 0x00 - 0x8084 0x00 + 0x8084 0x6E0000 0x8088 0x00 0x808C 0x3B003B00 0x8090 0x00 @@ -283,7 +289,7 @@ 0x80A8 0x00 0x80AC 0x00 0x80B0 0x20000 - 0x80B4 0x10327E00 + 0x80B4 0x1232FF00 0x80B8 0x20630B31 0x80BC 0x54AC5300 0x80C0 0x00 @@ -291,7 +297,7 @@ 0x80C8 0x00 0x80CC 0x4E004E00 0x80D0 0x00 - 0x80D4 0x1352FF00 + 0x80D4 0x1252FF00 0x80D8 0x20630B31 0x80DC 0x54AC5300 0x80E0 0x00 @@ -307,8 +313,8 @@ 0x8108 0x00 0x810C 0x00 0x8110 0x00 - 0x8124 0x4000010 - 0x8128 0x4000014 + 0x8124 0x4000014 + 0x8128 0x4000013 0x812C 0x00 0x8130 0x00 0x8134 0x00 @@ -318,7 +324,7 @@ 0x8144 0x00 0x8148 0x00 0x814C 0x00 - 0x81A4 0x1C40008 + 0x81A4 0x1C40000 0x4280 0x0F >; status = "ok";