Enable new raydium.
Configuration changes to pick raydium
for compilation.
Change-Id: If3a8f8c425d6702ee5e483a419aaa19907cfc013
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
Change removes compilation of pt touch driver which is
not needed for Pineapple.
Change-Id: Ie79fad0dea645ab9332490eb2bb8549228ad13b4
Signed-off-by: Kirill Shpin <quic_kshpin@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>
Touch resume and suspend is done only when core_module_prob_sate
global variable is set to probed state. In case of dual touch,
if secondary probe fails, core_module_prob_sate is updated to
probe failed state. Due to this, suspend or resume calls for
primary touch returns early even though primary touch probe is
successful. This leads to primary touch remain always on.
To fix this, add a new ready variable in touch data structure
and perform suspend or resume operations when ready flag is
set to true.
Change-Id: I7b93a5b3135736caa3e2b5aaf6ff7d8adf4dee9d
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Remove the %s in pr_warn function which is not needed.
Change-Id: Idf8346b250a51763bdb270cfa36bda416650d91e
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
Updated panel_event_notifier_register
and panel_event_notifier_unregister
as per kernel 5.15.
Change-Id: Icc6f78df492cb2381dfea598d8fa899ef65e48a2
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Change fixes compilation issues seen due kernel upgrade in touch driver
files with maintaining the backward compatability.
Change-Id: Iaa49186bd2c895850bc0349ccb695a2069cece84
Signed-off-by: Simranjeet Thind<quic_sthind@quicinc.com>
Applied all the changes from the patch.
Tested the code on target for touch to wake functionality.
Change-Id: I393b29ab570fc70c564dfc069864f1b627f5d389
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Add the shutdown callback() in i2c_driver struct.
Keep both regulators should be turn off in release sequence.
Change-Id: I82fb31a786ae7ff867b6727eb6fb5991842951a4
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
regulator count would be increment 1 for enable() and get decrement 1
for every disable().
Change-Id: I7c40e6363e1ffba035ab4b71e780856bcabbdc87
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Add the regulator_set_load() in pt_release().
Keep both regulators by using regulator_set_load API's
should be turn off in release sequence.
Change-Id: Ie041e7f8e666d1dae1d7a4e958e92ae8dcc32699
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Calling enable_irq_wake() causes suspend_device_irqs() to treat the
given IRQ in a special way.the IRQ remains enabled, by on the first
interrupt it will be disabled, marked as pending and "suspended"
so that it will be re-enabled by resume_device_irqs()
during the subsequent system resume.
Change-Id: Id129a8b4e0eddc07000793986b119a0a7b5530ef
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Add the IRQF_NO_SUSPEND flag in requested_thread_irq().
Enable Touch_to_wake feature during RBSC mode.
Change-Id: I7999b521bd88f4b92341eaa07ba6ed7a2d692132
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Change the log level from Maximum to default.
Change-Id: I61efe9747e18d8f1775a385cfb9187a1e5153a30
Signed-off-by: Zhenbin Tan <quic_zhentan@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
enable touch to wake feature for all power modes.
Change-Id: Ic12fb06cb3d436d41f373f57eaee91c5f20a11eb
Signed-off-by: Srinu Gorle <quic_sgorle@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
Set required current loads to LDO's for active and RBSC modes.
Change-Id: Ia4f338c6ca8fdaa981cd7dda959ac887b2fd4fbc
Signed-off-by: Srinu Gorle <quic_sgorle@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
In some scenarios, back to back suspend and resume calls causing
concurrency issues. This change cancel pending queued works before
executing current task.
Change-Id: I1c0971b68a08a4c634767ea1bb6d783f495a1093
Signed-off-by: Srinu Gorle <quic_sgorle@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
Updating the logging level to default from maximum
Change-Id: I25f822350d71e7349b9bc6337d754115d8fe0af1
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
If target already in easywake on mode then power suspend is
getting skipped. Corrected state checks in power suspend to
allow suspend on top of easywake.
Change-Id: I64decc54c4b6f0d7b15a4f687bf25ceb42150549
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
Enable and disable both LDO29 and LDO21 regulators during power suspend
and resume sequence.
Change-Id: I9e5058d6191d536bc80d5b59aa23a5dac9c9babb
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
touch faststartup is consuming more than 700ms during power on,
created workqueue to handle touch firmware boot up sequence.
Change-Id: I67a288f41001052e5dcdb2ed465055b3a23d3233
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
run time suspend and rum time resume used for DRM events callbacks,
which is updating suspend and resume count incorrectly.
Added workQueue support to avoid executing logic in
DRM event callback handler.
Change-Id: I2985fb83aec5a72a0b9a604b424c4f06bfc06956
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
Enablement of Touch to Wake when contextual mode is off.
Change-Id: I94df963268daae4c50798c43fcb7c151bb2b0186
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
Adding of wakeup key to wakeup the system during
touch after the display goes to ambient mode.
Change-Id: Ieceb63b093016eda71e1e053ccddce93bdf65447
Signed-off-by: Sachin Kumar Garg <quic_sachinku@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>
Changed key event from KEY_POWER to KEY_WAKEUP in Probe Sequence.
Change-Id: Ifb93b0529af727443d86fd8fad47fed7c70ad48d
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>