All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Kumar K <arunkk.samsung@gmail.com>
To: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Arun Kumar K <arun.kk@samsung.com>,
	linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
	Thomas Abraham <thomas.abraham@linaro.org>
Subject: Re: [PATCH] clk: Exynos5250: Add clocks for G3D
Date: Fri, 24 May 2013 10:04:29 +0530	[thread overview]
Message-ID: <CALt3h7_WMe00Pq+CQCMfFeymFG8CgBW6gfyk8CxdCe4wWtvD6Q@mail.gmail.com> (raw)
In-Reply-To: <59532716.tUOcOF6tE1@flatron>

Hi Tomasz,

Thanks for your review.

>> +     DIV(aclk_400_g3d, "aclk_400_g3d", "mout_aclk400", DIV_TOP0, 24,
> 3),
>
> Do you need to export this div clock? If it's a parent of a gate clock,
> then you can simply add CLK_SET_RATE_PARENT flag to the gate clock and
> calling set_rate on it will reconfigure the divider.
>

Yes this clock doesnt need to exported. But the current driver gets this clock
and will fail if its not exported. So that will need some changes from the
driver side also.


>>       DIV(none, "div_cam_bayer", "mout_cam_bayer", DIV_GSCL, 12, 4),
>>       DIV(none, "div_cam0", "mout_cam0", DIV_GSCL, 16, 4),
>>       DIV(none, "div_cam1", "mout_cam1", DIV_GSCL, 20, 4),
>> @@ -462,6 +471,7 @@ struct samsung_gate_clock exynos5250_gate_clks[]
>> __initdata = { GATE(dp, "dp", "aclk200", GATE_IP_DISP1, 4, 0, 0),
>>       GATE(mixer, "mixer", "aclk200", GATE_IP_DISP1, 5, 0, 0),
>>       GATE(hdmi, "hdmi", "aclk200", GATE_IP_DISP1, 6, 0, 0),
>> +     GATE(g3d, "g3d", "aclk_400_g3d", GATE_IP_G3D, 0, 0, 0),
>
> This would be then:
>
>         GATE(g3d, "g3d", "aclk_400_g3d", GATE_IP_G3D, 0,
>                                         CLK_SET_RATE_PARENT, 0),
>

Yes this would work. I will change it accordingly.

Thanks
Arun

      reply	other threads:[~2013-05-24  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21 12:36 [PATCH] clk: Exynos5250: Add clocks for G3D Arun Kumar K
2013-05-21 20:10 ` Doug Anderson
2013-05-21 22:43 ` Doug Anderson
2013-05-24  4:35   ` Arun Kumar K
2013-05-21 22:50 ` [PATCH] " Tomasz Figa
2013-05-24  4:34   ` Arun Kumar K [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=CALt3h7_WMe00Pq+CQCMfFeymFG8CgBW6gfyk8CxdCe4wWtvD6Q@mail.gmail.com \
    --to=arunkk.samsung@gmail.com \
    --cc=arun.kk@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=thomas.abraham@linaro.org \
    --cc=tomasz.figa@gmail.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 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.