From: "Noralf Trønnes" <noralf@tronnes.org>
To: david@lechnology.com
Cc: dri-devel@lists.freedesktop.org
Subject: [PATCH v3 7/7] drm/tinydrm/mipi-dbi: Change reset active time
Date: Wed, 10 Jan 2018 19:59:40 +0100 [thread overview]
Message-ID: <20180110185940.53841-8-noralf@tronnes.org> (raw)
In-Reply-To: <20180110185940.53841-1-noralf@tronnes.org>
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>
---
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);
}
--
2.15.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-01-10 18:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 18:59 [PATCH v3 0/7] drm/tinydrm: Cleanup Noralf Trønnes
2018-01-10 18:59 ` [PATCH v3 1/7] drm/tinydrm/mi0283qt: Use common include order Noralf Trønnes
2018-01-10 18:59 ` [PATCH v3 2/7] drm/tinydrm/mi0283qt: Remove ili9341.h Noralf Trønnes
2018-01-10 18:59 ` [PATCH v3 3/7] drm/tinydrm/mipi-dbi: Add mipi_dbi_enable_flush() Noralf Trønnes
2018-01-10 18:59 ` [PATCH v3 4/7] drm/tinydrm/mipi-dbi: Add poweron-reset functions Noralf Trønnes
2018-01-11 22:22 ` David Lechner
2018-01-12 15:08 ` Noralf Trønnes
2018-01-10 18:59 ` [PATCH v3 5/7] drm/tinydrm/mi0283qt: Let the display pipe handle power Noralf Trønnes
2018-01-10 18:59 ` [PATCH v3 6/7] drm/tinydrm: Embed the mode in tinydrm_connector Noralf Trønnes
2018-01-10 18:59 ` Noralf Trønnes [this message]
2018-01-11 22:24 ` [PATCH v3 7/7] drm/tinydrm/mipi-dbi: Change reset active time David Lechner
2018-01-15 14:21 ` [PATCH v3 0/7] drm/tinydrm: Cleanup Noralf Trønnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180110185940.53841-8-noralf@tronnes.org \
--to=noralf@tronnes.org \
--cc=david@lechnology.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox