From: "Eric Bénard" <eric@eukrea.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/4] video/stm: enable clock to get the display working
Date: Tue, 10 Sep 2013 19:13:34 +0200 [thread overview]
Message-ID: <1378833214-19808-4-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1378833214-19808-1-git-send-email-eric@eukrea.com>
else the clock is not enabled :
ref_pix (rate 270000000, disabled)
lcdif_sel (rate 270000000, disabled)
lcdif_div (rate 33750000, disabled)
lcdif (rate 33750000, disabled)
lcdif_comp (rate 33750000, disabled)
tested on i.MX28EVK.
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
drivers/video/stm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/stm.c b/drivers/video/stm.c
index 2603129..fdeaf9c 100644
--- a/drivers/video/stm.c
+++ b/drivers/video/stm.c
@@ -496,6 +496,7 @@ static int stmfb_probe(struct device_d *hw_dev)
fbi.clk = clk_get(hw_dev, NULL);
if (IS_ERR(fbi.clk))
return PTR_ERR(fbi.clk);
+ clk_enable(fbi.clk);
/* add runtime video info */
fbi.info.mode_list = pdata->mode_list;
--
1.8.3.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2013-09-10 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 17:13 [PATCH 1/4] mxs_spi: unbreak driver Eric Bénard
2013-09-10 17:13 ` [PATCH 2/4] nand_mxs: fix on i.MX28 Eric Bénard
2013-09-10 17:13 ` [PATCH 3/4] video/stm: don't fail when the pixel clock is properly set Eric Bénard
2013-09-10 17:13 ` Eric Bénard [this message]
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=1378833214-19808-4-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=barebox@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