From: Raghuveer Murthy <raghuveer.murthy@ti.com>
To: tomba@iki.fi
Cc: linux-omap@vger.kernel.org
Subject: [PATCH 4/4] OMAP: DSS2: Get OMAP4 DPLL fclk for DPI interface
Date: Thu, 3 Feb 2011 19:26:59 +0530 [thread overview]
Message-ID: <1296741419-9037-5-git-send-email-raghuveer.murthy@ti.com> (raw)
In-Reply-To: <1296741419-9037-1-git-send-email-raghuveer.murthy@ti.com>
DSS DPLL fclk pointer is set, to configure pixel clock for DPI interface.
Signed-off-by: Raghuveer Murthy <raghuveer.murthy@ti.com>
---
drivers/video/omap2/dss/dss.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c
index 654f5e6..d76bc26 100644
--- a/drivers/video/omap2/dss/dss.c
+++ b/drivers/video/omap2/dss/dss.c
@@ -628,6 +628,13 @@ static int dss_init(bool skip_init)
r = PTR_ERR(dss.dpll_per_mx_ck);
goto fail2;
}
+ } else if (cpu_is_omap44xx()) {
+ dss.dpll_per_mx_ck = clk_get(NULL, "dpll_per_m5x2_ck");
+ if (IS_ERR(dss.dpll_per_mx_ck)) {
+ DSSERR("Failed to get dpll_per_mx_ck\n");
+ r = PTR_ERR(dss.dpll_per_mx_ck);
+ goto fail2;
+ }
}
dss.dsi_clk_source = DSS_SRC_DSS1_ALWON_FCLK;
--
1.7.0.4
next prev parent reply other threads:[~2011-02-03 14:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 13:56 [PATCH 0/4] OMAP4: DSS2: Adding fclk support for DPI interface Raghuveer Murthy
2011-02-03 13:56 ` [PATCH 1/4] OMAP: DSS2: Add dss_feature for variable DPLL fclk Raghuveer Murthy
2011-02-03 13:56 ` [PATCH 2/4] OMAP: DSS: Renaming the dpll clk pointer in struct dss Raghuveer Murthy
2011-02-03 13:56 ` [PATCH 3/4] OMAP: DSS2: Using dss_features to clean cpu checks for clocks Raghuveer Murthy
2011-02-03 13:56 ` Raghuveer Murthy [this message]
2011-02-14 16:02 ` [PATCH 0/4] OMAP4: DSS2: Adding fclk support for DPI interface Tomi Valkeinen
2011-02-16 8:57 ` Raghuveer Murthy
2011-02-16 16:32 ` Cousson, Benoit
2011-02-17 14:49 ` Paul Walmsley
2011-02-17 19:16 ` Tomi Valkeinen
2011-02-18 15:40 ` Raghuveer Murthy
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=1296741419-9037-5-git-send-email-raghuveer.murthy@ti.com \
--to=raghuveer.murthy@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tomba@iki.fi \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.