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>
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>
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>
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>
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>
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>
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>
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>