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>
This commit is contained in:
Simranjeet Thind
2023-05-15 16:53:55 -07:00
committed by Rohith Iyer
parent 56fcf3d4d4
commit 18a6eaa6c7

View File

@@ -1,7 +1,7 @@
/* /*
* Goodix Touchscreen Driver * Goodix Touchscreen Driver
* Copyright (C) 2020 - 2021 Goodix, Inc. * Copyright (C) 2020 - 2021 Goodix, Inc.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022 - 2023 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@@ -205,7 +205,7 @@ static int brl_reset_after(struct goodix_ts_core *cd)
} }
#define REG_SUSPEND_CURRENT 20 #define REG_SUSPEND_CURRENT 20
#define REG_RESUME_CURRENT 14000 #define REG_RESUME_CURRENT 30000
static int brl_power_on(struct goodix_ts_core *cd, bool on) static int brl_power_on(struct goodix_ts_core *cd, bool on)
{ {
int ret = 0; int ret = 0;