[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250113152752.3369731-2-jkeeping@inmusicbrands.com>
Date: Mon, 13 Jan 2025 15:27:49 +0000
From: John Keeping <jkeeping@...usicbrands.com>
To: Javier Martinez Canillas <javierm@...hat.com>
Cc: John Keeping <jkeeping@...usicbrands.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/3] drm/ssd130x: Fix reset timing for ssd132x
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@...usicbrands.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
Powered by blists - more mailing lists