From: Rahul Sharma <r.sh.open@gmail.com> To: Tomasz Figa <t.figa@samsung.com> Cc: Rahul Sharma <rahul.sharma@samsung.com>, linux-samsung-soc <linux-samsung-soc@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Mike Turquette <mturquette@linaro.org>, Kukjin Kim <kgene.kim@samsung.com>, Thomas Abraham <thomas.ab@samsung.com>, Tomasz Figa <tomasz.figa@gmail.com>, sunil joshi <joshi@samsung.com>, PANKAJ KUMAR DUBEY <pankaj.dubey@samsung.com>, Young-Gun Jang <yg1004.jang@samsung.com>, Arun Kumar <arun.kk@samsung.com> Subject: Re: [PATCH 6/7] clk/samsung: add support for pll2650xx Date: Mon, 6 Jan 2014 17:14:48 +0530 [thread overview] Message-ID: <CAPdUM4P9tE5ohtAb5heMRj3GGjdYrNYp5iX7u-uZySiaCikA7Q@mail.gmail.com> (raw) In-Reply-To: <1419145.DZQg0ZkHVU@amdc1227> Hi Tomasz, On 19 December 2013 17:15, Tomasz Figa <t.figa@samsung.com> wrote: > Hi Rahul, > > On Friday 06 of December 2013 21:26:30 Rahul Sharma wrote: >> Add support for pll2650xx in samsung pll file. This pll variant >> is close to pll36xx but uses CON2 registers instead of CON1. > > If the ops are otherwise idential, why not reuse the ops for pll36xx > and use CON1 or CON2 register conditionally based on pll->type field? > (Just as it is already done for pll4600, 4650 and 4650c.) > I verified the difference and found that pll2650xx is fairly different in terms of Bit Fields, Con2 register, and additional PLL config bits than pll36xx. Due to this, I have to add lot of if-else code based on pll type which doesn't looks clean. Regards, Rahul Sharma. > Best regards, > Tomasz >
WARNING: multiple messages have this Message-ID (diff)
From: r.sh.open@gmail.com (Rahul Sharma) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/7] clk/samsung: add support for pll2650xx Date: Mon, 6 Jan 2014 17:14:48 +0530 [thread overview] Message-ID: <CAPdUM4P9tE5ohtAb5heMRj3GGjdYrNYp5iX7u-uZySiaCikA7Q@mail.gmail.com> (raw) In-Reply-To: <1419145.DZQg0ZkHVU@amdc1227> Hi Tomasz, On 19 December 2013 17:15, Tomasz Figa <t.figa@samsung.com> wrote: > Hi Rahul, > > On Friday 06 of December 2013 21:26:30 Rahul Sharma wrote: >> Add support for pll2650xx in samsung pll file. This pll variant >> is close to pll36xx but uses CON2 registers instead of CON1. > > If the ops are otherwise idential, why not reuse the ops for pll36xx > and use CON1 or CON2 register conditionally based on pll->type field? > (Just as it is already done for pll4600, 4650 and 4650c.) > I verified the difference and found that pll2650xx is fairly different in terms of Bit Fields, Con2 register, and additional PLL config bits than pll36xx. Due to this, I have to add lot of if-else code based on pll type which doesn't looks clean. Regards, Rahul Sharma. > Best regards, > Tomasz >
next prev parent reply other threads:[~2014-01-06 11:44 UTC|newest] Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-12-06 15:56 [PATCH 0/7] exynos: add basic support for exynos5260 SoC Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-06 15:56 ` [PATCH 1/7] ARM: EXYNOS: initial board " Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-09 6:23 ` Sachin Kamat 2013-12-09 6:23 ` Sachin Kamat 2013-12-09 6:33 ` Rahul Sharma 2013-12-09 6:33 ` Rahul Sharma [not found] ` <CAK9yfHzX1+Rp3DCZiJSjE7VO6+TaDW7iqUZVpgRNkjVJofWauA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-12-23 4:39 ` Rahul Sharma 2013-12-23 4:39 ` Rahul Sharma 2013-12-10 15:57 ` Tomasz Figa 2013-12-10 15:57 ` Tomasz Figa 2014-01-03 9:24 ` Rahul Sharma 2014-01-03 9:24 ` Rahul Sharma 2013-12-06 15:56 ` [PATCH 2/7] pinctrl: exynos: add exynos5260 SoC specific data Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-09 4:51 ` Sachin Kamat 2013-12-09 4:51 ` Sachin Kamat 2013-12-09 6:36 ` Rahul Sharma 2013-12-09 6:36 ` Rahul Sharma 2014-01-03 9:25 ` Rahul Sharma 2014-01-03 9:25 ` Rahul Sharma 2013-12-10 16:04 ` Tomasz Figa 2013-12-10 16:04 ` Tomasz Figa 2014-01-03 9:26 ` Rahul Sharma 2014-01-03 9:26 ` Rahul Sharma [not found] ` <1386345391-23482-1-git-send-email-rahul.sharma-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 2013-12-06 15:56 ` [PATCH 3/7] ARM: dts: add dts files for exynos5260 SoC Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-10 17:10 ` Tomasz Figa 2013-12-10 17:10 ` Tomasz Figa 2014-01-06 9:40 ` Rahul Sharma 2014-01-06 9:40 ` Rahul Sharma 2013-12-06 15:56 ` [PATCH 7/7] clk/exynos5260: add clock file for exynos5260 Rahul Sharma 2013-12-06 15:56 ` [PATCH 4/7] clk/samsung: add support for multuple clock providers Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-11 11:15 ` Tomasz Figa 2013-12-11 11:15 ` Tomasz Figa 2014-01-06 11:35 ` Rahul Sharma 2014-01-06 11:35 ` Rahul Sharma 2013-12-06 15:56 ` [PATCH 5/7] clk/samsung: add support for pll2550xx Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-09 8:06 ` Sachin Kamat 2013-12-09 8:06 ` Sachin Kamat 2013-12-19 12:01 ` Tomasz Figa 2013-12-19 12:01 ` Tomasz Figa 2014-01-06 11:36 ` Rahul Sharma 2014-01-06 11:36 ` Rahul Sharma 2013-12-06 15:56 ` [PATCH 6/7] clk/samsung: add support for pll2650xx Rahul Sharma 2013-12-06 15:56 ` Rahul Sharma 2013-12-09 8:09 ` Sachin Kamat 2013-12-09 8:09 ` Sachin Kamat 2013-12-19 11:45 ` Tomasz Figa 2013-12-19 11:45 ` Tomasz Figa 2014-01-06 11:44 ` Rahul Sharma [this message] 2014-01-06 11:44 ` Rahul Sharma 2014-01-08 0:37 ` Tomasz Figa 2014-01-08 0:37 ` Tomasz Figa
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=CAPdUM4P9tE5ohtAb5heMRj3GGjdYrNYp5iX7u-uZySiaCikA7Q@mail.gmail.com \ --to=r.sh.open@gmail.com \ --cc=arun.kk@samsung.com \ --cc=devicetree@vger.kernel.org \ --cc=joshi@samsung.com \ --cc=kgene.kim@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=mturquette@linaro.org \ --cc=pankaj.dubey@samsung.com \ --cc=rahul.sharma@samsung.com \ --cc=t.figa@samsung.com \ --cc=thomas.ab@samsung.com \ --cc=tomasz.figa@gmail.com \ --cc=yg1004.jang@samsung.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: linkBe 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.