From: giulio.benetti@micronovasrl.com (Giulio Benetti)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] drm/sun4i: increase lvds dclk max divisor
Date: Wed, 28 Feb 2018 18:53:51 +0100 [thread overview]
Message-ID: <1519840432-61489-1-git-send-email-giulio.benetti@micronovasrl.com> (raw)
At the moment both min and max dclk div are set to 7.
This doesn't allow to have lower frequencies.
Increase dclk_max_div to 18 to achieve 30Mhz.
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
drivers/gpu/drm/sun4i/sun4i_tcon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c
index 029d2ce..bb35f41 100644
--- a/drivers/gpu/drm/sun4i/sun4i_tcon.c
+++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c
@@ -278,7 +278,7 @@ static void sun4i_tcon0_mode_set_lvds(struct sun4i_tcon *tcon,
u32 reg, val = 0;
tcon->dclk_min_div = 7;
- tcon->dclk_max_div = 7;
+ tcon->dclk_max_div = 18;
sun4i_tcon0_mode_set_common(tcon, mode);
/* Adjust clock delay */
--
2.7.4
next reply other threads:[~2018-02-28 17:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 17:53 Giulio Benetti [this message]
2018-02-28 17:53 ` [PATCH 2/2] drm/sun4i: add lvds mode_valid function Giulio Benetti
2018-03-01 9:57 ` Maxime Ripard
2018-03-02 11:42 ` Giulio Benetti
2018-03-02 14:37 ` Maxime Ripard
2018-03-02 16:50 ` Giulio Benetti
2018-03-01 9:56 ` [PATCH 1/2] drm/sun4i: increase lvds dclk max divisor Maxime Ripard
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=1519840432-61489-1-git-send-email-giulio.benetti@micronovasrl.com \
--to=giulio.benetti@micronovasrl.com \
--cc=linux-arm-kernel@lists.infradead.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