Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1328560
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!border2.nntp.ams1.giganews.com!nntp.giganews.com!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Carlos Soto <csotoalonso@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] imx25: Fix LCD pixelclock configuration |
| Date | Sun, 07 Feb 2016 20:10:02 +0100 |
| Message-ID | <qZCSC-2d1-7@gated-at.bofh.it> (permalink) |
| References | <qIYmu-5Qe-7@gated-at.bofh.it> <qVOpk-7Sk-27@gated-at.bofh.it> |
| X-Original-To | Shawn Guo <shawnguo@kernel.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=eACN4hMXpph9Q7CROtWez/Cp+aKyOoTxKYdLBWZAXis=; b=G+7LR54Pg8ERAgjw45sR3MNTGvVUYAsa7iZudQfE7Wt44btyrukgXJ+80fenvIz3yz tCHj+a7/irw6n5TpSX7dNNhn3HYWtqmXZHt5eHb8ozdF3Z1quaLq6vd0oNlETyHt6i5g bXEUQ3B/hpv0ZX/uiOObzftidSw9TmR34Jnlssr+rmjX8o0phcpGcB7yyMis7rgq07iH X+r2ojt+cj8ASHY1fFWU5Yz/WWrF9+TjDCBxnCi2bJda2paq8VYPc+rEXfvn2ZeXDfMY OH1DFofIIxYvJqkGEeMeJScCMOWd924l031nMsyhaBNGFZj51JEbLxBMHtS4YLKKFOA6 5SGQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=eACN4hMXpph9Q7CROtWez/Cp+aKyOoTxKYdLBWZAXis=; b=Ubwq4LuayoazWRNNwn7BV3bzj6FopkHnP0IYlvFioxwxQUYdIXtc47witIvmGkJ90F JtvzsI49yQu4M+9ilimPA7pB7smQ/NUasvUZTmAtz39fTmfKBREhmZNbKUvRssYWcN0b k6k7mbZQpCSwjnsIegrgyMWo399fU+cY4c2DMVlWsV5u2oiQvCkmwHRIXlaGr9yOgIIF GqKRUQuIJCpd1j5JKS9W6CyxwqY7KO58IjGNuOTQKQtKNTcnfzHXq0q7M5J1FJM37/De sN5+TzQptv3IxB2hcr9H3LloD6tZDxKoWAMeV2rOWTVosuQ4mLHu6jCJV+U4KFRQXrTP bL0g== |
| X-Gm-Message-State | AG10YORU9KjDY6CApIWEsMf0TPmV+96fPSxlnbGK64Eej5fq1n1f+PpW0SMZ9IV1Xlqa1YOlT5LarsK2SPDv0A== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.111.111 with SMTP id ih15mr20837907igb.78.1454871596996; Sun, 07 Feb 2016 10:59:56 -0800 (PST) |
| X-Google-Sender-Auth | V1n4boLW4yRhmDFZ6ebjZr527WY |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Sascha Hauer <kernel@pengutronix.de>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Sun, 7 Feb 2016 19:59:56 +0100 |
| X-Original-Message-ID | <CAD7j7Q_=QeUGOMC0pPn5AXq50h3+vpabB8vRNV5Ac3YupwPxGQ@mail.gmail.com> |
| X-Original-References | <1450902610-27224-1-git-send-email-csotoalonso@gmail.com> <20160128063213.GJ9070@tiger> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1328560 |
Show key headers only | View raw
2016-01-28 7:32 GMT+01:00 Shawn Guo <shawnguo@kernel.org>: > On Wed, Dec 23, 2015 at 09:30:10PM +0100, Carlos Soto wrote: >> Set LCDC base clock (per_7) parent clock to UPLL clock. >> This is needed to allow finer resolution in pixelclock >> >> Signed-off-by: Carlos Soto <csotoalonso@gmail.com> >> --- >> drivers/clk/imx/clk-imx25.c | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/drivers/clk/imx/clk-imx25.c b/drivers/clk/imx/clk-imx25.c >> index c4c141c..656340e 100644 >> --- a/drivers/clk/imx/clk-imx25.c >> +++ b/drivers/clk/imx/clk-imx25.c >> @@ -238,6 +238,12 @@ static int __init __mx25_clocks_init(unsigned long osc_rate, >> clk_set_parent(clk[per5_sel], clk[ahb]); >> >> /* >> + * set LCDC base clock (per 7) to highest possible frequency (UPLL) >> + * to get best resolution for pixel clock >> + */ >> + clk_set_parent(clk[per7_sel], clk[upll]); > > This can be done in device tree via assigned-clock-parents without the > need of touching kernel. > > Shawn > Sorry, I was not aware of this feature. Already tested and it works fine via DT Thanks for the help Carlos
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 1/1] imx25: Fix LCD pixelclock configuration Shawn Guo <shawnguo@kernel.org> - 2016-01-28 07:40 +0100 Re: [PATCH 1/1] imx25: Fix LCD pixelclock configuration Carlos Soto <csotoalonso@gmail.com> - 2016-02-07 20:10 +0100
csiph-web