[PATCH 1/3] drm/ssd130x: Fix reset timing for ssd132x
John Keeping
jkeeping at inmusicbrands.com
Mon Jan 13 15:27:49 UTC 2025
The ssd132x family of chips require the result pulse to be at least
100us in length. Increase the reset time to meet this requirement.
Signed-off-by: John Keeping <jkeeping at inmusicbrands.com>
---
drivers/gpu/drm/solomon/ssd130x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/solomon/ssd130x.c b/drivers/gpu/drm/solomon/ssd130x.c
index b777690fd6607..2622172228361 100644
--- a/drivers/gpu/drm/solomon/ssd130x.c
+++ b/drivers/gpu/drm/solomon/ssd130x.c
@@ -363,7 +363,7 @@ static void ssd130x_reset(struct ssd130x_device *ssd130x)
/* Reset the screen */
gpiod_set_value_cansleep(ssd130x->reset, 1);
- udelay(4);
+ usleep_range(100, 1000);
gpiod_set_value_cansleep(ssd130x->reset, 0);
udelay(4);
}
--
2.47.1
More information about the dri-devel
mailing list