mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
FPS: Modify the power-on sequence for focaltech
After the VDD is powered on for more than 1ms , The RST is powered on Change-Id: I7c49dc6cbaab0a9dee0ae8642a9de13db971f51b Reviewed-on: https://gerrit.mot.com/2167042 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: <leiyun@wingtech.com> Reviewed-by: Lijun Chen <chenlj2@motorola.com> Reviewed-by: Tao Sun <suntao2@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
b7578c2dbf
commit
42d008cccb
1 changed files with 7 additions and 2 deletions
|
|
@ -96,11 +96,16 @@ int ff_ctl_init_pins(int *irq_num)
|
|||
FF_LOGI("init int pin.");
|
||||
err = pinctrl_select_state(g_context->pinctrl, g_context->pin_states[FF_PINCTRL_STATE_INT_ACT]);
|
||||
|
||||
ff_ctl_enable_power(true);
|
||||
/* Initialize the RST pin. */
|
||||
pinctrl_select_state(g_context->pinctrl, g_context->pin_states[FF_PINCTRL_STATE_RST_CLR]);
|
||||
|
||||
/* Delay for 10ms. */
|
||||
mdelay(10);
|
||||
|
||||
/* Initialize the RST pin. */
|
||||
pinctrl_select_state(g_context->pinctrl, g_context->pin_states[FF_PINCTRL_STATE_RST_ACT]);
|
||||
|
||||
ff_ctl_enable_power(true);
|
||||
|
||||
FF_LOGV("'%s' leave.", __func__);
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue