From: Grazvydas Ignotas <notasas@gmail.com>
To: "Nagarajan, Rajkumar" <x0133774@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Tomi Valkeinen <tomi.valkeinen@nokia.com>,
linux-fbdev@vger.kernel.org
Subject: Re: [PATCH] OMAP: DSS: Fix for dsi_pll to dpll4 clk switch
Date: Mon, 21 Jun 2010 13:38:28 +0000 [thread overview]
Message-ID: <AANLkTim28bTkt71iKyydzg2RkusPQh8sTD_qrTun1aOf@mail.gmail.com> (raw)
In-Reply-To: <FF55437E1F14DA4BAEB721A458B6701706BDA5E730@dbde02.ent.ti.com>
when sending DSS patches, CC Tomi and fbdev.
On Thu, Jun 17, 2010 at 8:12 AM, Nagarajan, Rajkumar <x0133774@ti.com> wrote:
>
> When switching between clocks, The new functional clock is
> effective when the next vertical blanking interval occurs.
> GOLCD bit has to be set for the new clock to take effect.
>
> Signed-off-by: Kishore Y <kishore.y@ti.com>
> Signed-off-by: Mukund Mittal <mmittal@ti.com>
> Signed-off-by: Rajkumar N <rajkumar.nagarajan@ti.com>
> ---
> drivers/video/omap2/dss/dpi.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c
> index 960e977..5d778d6 100644
> --- a/drivers/video/omap2/dss/dpi.c
> +++ b/drivers/video/omap2/dss/dpi.c
> @@ -214,10 +214,15 @@ void omapdss_dpi_display_disable(struct omap_dss_device *dssdev)
>
> #ifdef CONFIG_OMAP2_DSS_USE_DSI_PLL
> dss_select_dispc_clk_source(DSS_SRC_DSS1_ALWON_FCLK);
> + dispc_go(OMAP_DSS_CHANNEL_LCD);
> + while (dispc_go_busy(OMAP_DSS_CHANNEL_LCD))
> + ;
> dsi_pll_uninit();
> dss_clk_disable(DSS_CLK_FCK2);
> #endif
>
> + dispc_enable_channel(OMAP_DSS_CHANNEL_LCD, 0);
> +
> dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK1);
>
> if (cpu_is_omap34xx())
> --
> 1.5.4.3
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
parent reply other threads:[~2010-06-21 13:38 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <FF55437E1F14DA4BAEB721A458B6701706BDA5E730@dbde02.ent.ti.com>]
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=AANLkTim28bTkt71iKyydzg2RkusPQh8sTD_qrTun1aOf@mail.gmail.com \
--to=notasas@gmail.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=tomi.valkeinen@nokia.com \
--cc=x0133774@ti.com \
/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;
as well as URLs for NNTP newsgroup(s).