mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
edp anx6345:delay 5ms between DVDD33 and DVDD18 power on
This commit is contained in:
@@ -808,6 +808,7 @@ static struct platform_device rk29_device_vibrator = {
|
||||
{
|
||||
gpio_direction_output(DVDD33_EN_PIN, DVDD33_EN_VALUE);
|
||||
}
|
||||
msleep(5);
|
||||
|
||||
ret = gpio_request(DVDD18_EN_PIN, "dvdd18_en_pin");
|
||||
if (ret != 0)
|
||||
|
||||
@@ -749,6 +749,7 @@ static void anx6345_late_resume(struct early_suspend *h)
|
||||
{
|
||||
struct edp_anx6345 *anx6345 = container_of(h, struct edp_anx6345, early_suspend);
|
||||
gpio_set_value(anx6345->pdata->dvdd33_en_pin,anx6345->pdata->dvdd33_en_val);
|
||||
msleep(5);
|
||||
gpio_set_value(anx6345->pdata->dvdd18_en_pin,anx6345->pdata->dvdd18_en_val);
|
||||
gpio_set_value(anx6345->pdata->edp_rst_pin,0);
|
||||
msleep(50);
|
||||
|
||||
Reference in New Issue
Block a user