OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe4be3b
)
drm/tinydrm/mipi-dbi: Change reset active time
author
Noralf Trønnes
<noralf@tronnes.org>
Wed, 10 Jan 2018 18:59:40 +0000
(19:59 +0100)
committer
Noralf Trønnes
<noralf@tronnes.org>
Mon, 15 Jan 2018 14:17:24 +0000
(15:17 +0100)
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@tronnes.org>
Reviewed-by: David Lechner <david@lechnology.com>
Tested-by: David Lechner <david@lechnology.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20180110185940.53841-8-noralf@tronnes.org
drivers/gpu/drm/tinydrm/mipi-dbi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tinydrm/mipi-dbi.c
b/drivers/gpu/drm/tinydrm/mipi-dbi.c
index
6798b48
..
75dd65c
100644
(file)
--- 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(2
0);
+
usleep_range(20, 100
0);
gpiod_set_value_cansleep(mipi->reset, 1);
msleep(120);
}