From: Naveen Krishna Ch <naveenkrishna.ch@gmail.com> To: Seungwhan Youn <claude.youn@gmail.com> Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jassisinghbrar@gmail.com, sbkim73@samsung.com, sw.youn@samsung.com, kgene.kim@samsung.com Subject: Re: [PATCH v2 3/3] ARM: EXYNOS4: Add EPLL clock operations Date: Thu, 30 Jun 2011 11:21:44 +0530 [thread overview] Message-ID: <BANLkTi=aGo3WPaftzBxR=Jy6oHAzt+Yhbw@mail.gmail.com> (raw) In-Reply-To: <BANLkTim2pK5qKwQ5fmJxRHmNHCU=oJtf3A@mail.gmail.com> Hi Seungwhan, On 22 June 2011 13:31, Seungwhan Youn <claude.youn@gmail.com> wrote: > Hi Naveen, > > On Wed, Jun 22, 2011 at 3:51 PM, Naveen Krishna Ch > <naveenkrishna.ch@gmail.com> wrote: >> Hi Every one, >> >> 1. Both S5P6440 and S5P6450 uses PLL90XX for EPLL. >> However, the same epll_ops is duplicated in the following files >> arch/arm/mach-s5p64x0/clock-s5p6440.c >> arch/arm/mach-s5p64x0/clock-s5p6450.c >> >> Please find attached patch which moves it to the common clock.c >> Attachment: "0001-ARM-S5P64X0-Move-duplicated-epll-code.patch" >> >> 2. Also, S5PV210, C110, C100, 6450/6440 and EXYNOS4 define their own >> epll_ops. >> >> The following attachment consolidates the same on the basis of PLL types >> "Eg: PLL90XX. PLL46XX, PLL45XX and PLL65XX" >> >> Kindly, review the approach and comment. >> Attachment: "0001-ARM-Samsung-organize-duplicated-EPLL-code.patch" > > I think this is a good try to clean-up Samsung platform's PLL settings. :) > But one thing that I concern is 'epll_div' values are not a common > value, it depends on board because of these values come from outer xtl > which was selected by OM on board side. So, I wonder if you want to > make PLL as a common platform, you may solve these 'epll_div' values > to be correct. For example, you may calculate 'epll_div' values with > formula which is in user manual or set 'epll_div' values in board > specific file not platform file. Thanks for your comments. So far i was not lucky in finding out a generic way of deriving the epll_div values. And it doesn't seem to 1. Save lines of code or 2. Consolidate the PLL code. Any suggestions for a simpler implementation are welcome. > > claude > -- Shine bright, (: Nav :)
WARNING: multiple messages have this Message-ID (diff)
From: naveenkrishna.ch@gmail.com (Naveen Krishna Ch) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] ARM: EXYNOS4: Add EPLL clock operations Date: Thu, 30 Jun 2011 11:21:44 +0530 [thread overview] Message-ID: <BANLkTi=aGo3WPaftzBxR=Jy6oHAzt+Yhbw@mail.gmail.com> (raw) In-Reply-To: <BANLkTim2pK5qKwQ5fmJxRHmNHCU=oJtf3A@mail.gmail.com> Hi Seungwhan, On 22 June 2011 13:31, Seungwhan Youn <claude.youn@gmail.com> wrote: > Hi Naveen, > > On Wed, Jun 22, 2011 at 3:51 PM, Naveen Krishna Ch > <naveenkrishna.ch@gmail.com> wrote: >> Hi Every one, >> >> 1. Both S5P6440 and S5P6450 uses PLL90XX for EPLL. >> ?However, the same epll_ops is duplicated in the following files >> ?arch/arm/mach-s5p64x0/clock-s5p6440.c >> ?arch/arm/mach-s5p64x0/clock-s5p6450.c >> >> ?Please find attached patch which moves it to the common clock.c >> ?Attachment: "0001-ARM-S5P64X0-Move-duplicated-epll-code.patch" >> >> 2. Also, S5PV210, C110, C100, 6450/6440 and EXYNOS4 define their own >> ?epll_ops. >> >> ?The following attachment consolidates the same on the basis of PLL types >> ?"Eg: PLL90XX. PLL46XX, PLL45XX and PLL65XX" >> >> ?Kindly, review the approach and comment. >> ?Attachment: "0001-ARM-Samsung-organize-duplicated-EPLL-code.patch" > > I think this is a good try to clean-up Samsung platform's PLL settings. :) > But one thing that I concern is 'epll_div' values are not a common > value, it depends on board because of these values come from outer xtl > which was selected by OM on board side. So, I wonder if you want to > make PLL as a common platform, you may solve these 'epll_div' values > to be correct. For example, you may calculate 'epll_div' values with > formula which is in user manual or set 'epll_div' values in board > specific file not platform file. Thanks for your comments. So far i was not lucky in finding out a generic way of deriving the epll_div values. And it doesn't seem to 1. Save lines of code or 2. Consolidate the PLL code. Any suggestions for a simpler implementation are welcome. > > ? ? ? ?claude > -- Shine bright, (: Nav :)
next prev parent reply other threads:[~2011-06-30 5:52 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-06-21 11:24 [PATCH V2 0/3] ARM: Add SPDIF support for EXYNOS4 Naveen Krishna Chatradhi 2011-06-21 11:24 ` Naveen Krishna Chatradhi 2011-06-21 11:24 ` [PATCH v2 1/3] ARM: Samsung: Move duplicate code Naveen Krishna Chatradhi 2011-06-21 11:24 ` Naveen Krishna Chatradhi 2011-07-18 5:35 ` Kukjin Kim 2011-07-18 5:35 ` Kukjin Kim 2011-06-21 11:24 ` [PATCH v2 2/3] ARM: EXYNOS4: Add sclk_spdif clocks Naveen Krishna Chatradhi 2011-06-21 11:24 ` Naveen Krishna Chatradhi 2011-07-18 5:33 ` Kukjin Kim 2011-07-18 5:33 ` Kukjin Kim 2011-07-18 11:25 ` Naveen Krishna Ch 2011-07-18 11:25 ` Naveen Krishna Ch 2011-07-20 9:52 ` Naveen Krishna Ch 2011-07-20 9:52 ` Naveen Krishna Ch 2011-06-21 11:24 ` [PATCH v2 3/3] ARM: EXYNOS4: Add EPLL clock operations Naveen Krishna Chatradhi 2011-06-21 11:24 ` Naveen Krishna Chatradhi 2011-06-22 6:51 ` Naveen Krishna Ch 2011-06-22 6:51 ` Naveen Krishna Ch 2011-06-22 8:01 ` Seungwhan Youn 2011-06-22 8:01 ` Seungwhan Youn 2011-06-30 5:51 ` Naveen Krishna Ch [this message] 2011-06-30 5:51 ` Naveen Krishna Ch 2011-06-30 7:28 ` Seungwhan Youn 2011-06-30 7:28 ` Seungwhan Youn 2011-07-18 5:52 ` Kukjin Kim 2011-07-18 5:52 ` Kukjin Kim 2011-07-18 11:44 ` Naveen Krishna Ch 2011-07-18 11:44 ` Naveen Krishna Ch 2011-06-30 5:54 ` [PATCH V2 0/3] ARM: Add SPDIF support for EXYNOS4 Naveen Krishna Ch 2011-06-30 5:54 ` Naveen Krishna Ch
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='BANLkTi=aGo3WPaftzBxR=Jy6oHAzt+Yhbw@mail.gmail.com' \ --to=naveenkrishna.ch@gmail.com \ --cc=claude.youn@gmail.com \ --cc=jassisinghbrar@gmail.com \ --cc=kgene.kim@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=sbkim73@samsung.com \ --cc=sw.youn@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.