[PATCH v3 7/7] drm/tinydrm/mipi-dbi: Change reset active time
David Lechner
david at lechnology.com
Thu Jan 11 22:24:04 UTC 2018
On 01/10/2018 12:59 PM, Noralf Trønnes wrote:
> The MIPI DBI spec states that reset active/low time should be more
> than 9us. Change from 20ms to 20us.
>
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
> ---
> drivers/gpu/drm/tinydrm/mipi-dbi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tinydrm/mipi-dbi.c b/drivers/gpu/drm/tinydrm/mipi-dbi.c
> index 6798b4837441..75dd65c57e74 100644
> --- a/drivers/gpu/drm/tinydrm/mipi-dbi.c
> +++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c
> @@ -414,7 +414,7 @@ void mipi_dbi_hw_reset(struct mipi_dbi *mipi)
> return;
>
> gpiod_set_value_cansleep(mipi->reset, 0);
> - msleep(20);
> + usleep_range(20, 1000);
> gpiod_set_value_cansleep(mipi->reset, 1);
> msleep(120);
> }
>
Reviewed-by: David Lechner <david at lechnology.com>
Tested-by: David Lechner <david at lechnology.com>
More information about the dri-devel
mailing list