커밋 그래프

11 커밋

작성자 SHA1 메시지 날짜
Rui Chen
6207267c95 touch: goodix: vote avdd power grid to the right voltage
On palawan target, TP avdd was loaded on L22B which limited the voltage
from 2700mv to 3400mv and initialized to 2700mv. From the touch side,
the typical voltage is 2.8v~3.2v, and our existing FW was tuned based on AVDD 3.2V.

Change-Id: I4efe51b26cf8de41d0a03bf29b69e3fd07ddabab
Signed-off-by: Rui Chen <quic_ruc@quicinc.com>
2023-11-22 05:45:10 -08:00
Simranjeet Thind
18a6eaa6c7 touch: goodix: Change L12B regulator current load to 30mA on resume.
Increasing the load current for touch IC to 30mA from 14mA to avoid
the regulator from going into LPM, as some touch panels are drawing 
more power.

Change-Id: I0f2551e91ce0d33904f4874173e3af00c2ecbc58
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-05-23 11:21:15 -07:00
Simranjeet Thind
69fec10e97 touch: pineapple: Replacing disable_irq with disable_irq_nosync
disable_irq ensures existing instances of the IRQ handler have
completed before returning which may create a deadlock if the handler
doesn't find the resource.

Change-Id: I7010d2a415f97de5ece8119b855c169ffba665b7
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-03-29 12:18:46 -07:00
Rohith Iyer
04709b588a touch: goodix: Set L12B regulator current load for suspend and resume.
Accounts for touch panel current load in L12B regulator,
for enable and disable states.

Change-Id: Ie3668b878ccc5fe3a325e93042d3241ac6787ed1
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
2023-03-28 16:00:50 -07:00
qctecmdr
e27b47cbc1 Merge "touch: goodix: Sleep 100ms after reset operation" 2023-01-09 03:40:49 -08:00
Yu Wu
3d03d5839e touch: goodix: Sleep 100ms after reset operation
It is found there might be some i2c NACK error after
power on and reset operation, from goodix datasheet
it is required to wait 100ms after reset operation
before I2C communication, so put a 100ms sleep after
reset.

Change-Id: I2601085f85c83a57bc895915506eaf0c29442678
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-12-30 15:27:53 +08:00
Yu Wu
8ef61bcc10 touch: goodix: Add more checks for brl_send_config function
Add more checks in brl_send_config to ensure the config
data sent by user is valid. Also add more parameter
checks in brl_read_config function.

Change-Id: I6ac69de62e8565dc4bee4befbe3124c60118f3a1
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-11-30 14:28:45 +08:00
Yu Wu
bd4d865d2d touch: goodix: Remove duplicate reset operation
In power_on function, it already contain reset operation,
so no need to do reset again after power_on, to save time
when do resume operation.

Change-Id: Iba0c5a666b3e25df1e85afa6d5812666ce273922
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-09-23 14:09:15 +08:00
Yu Wu
0991d38ec2 touch: goodix: Turn off touch power when display off
Currently when display off, host will send command to make touch
IC enter sleep mode, but from power team's requirement, touch IC
should be totally power off when display off.

Change-Id: Ie97d6f80cd9547b2e40ee3f5674bc0aa7034d2ed
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-08-16 17:18:55 +08:00
Fei Mao
baa15707f7 touch: goodix: fix cybrog errors
fix all cybrog errors for this new driver code.

Change-Id: I4f4afaca16c830cfa5d89c8f7bfa62ca0742a496
2022-01-25 18:29:45 +08:00
xulinkun
875ea6b0ee touch: goodix: update LICENSE
Rename directory name to be "goodix_berlin_driver";
Update LICENSE.

Change-Id: I79868637950245d42ef5ab561292b7893d1b1f75
Signed-off-by: xulinkun <xulinkun@goodix.com>
Git-commit: 0770c32b8c0f7d58e1761ded2347fc249f10b347
Git-repo: https://github.com/goodix/goodix_ts_berlin
Signed-off-by: Fei Mao <quic_feim@quicinc.com>
2022-01-24 18:18:32 +08:00