Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'MyungJoo Ham' <myungjoo.ham@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org,
	'Jongpill Lee' <boyko.lee@samsung.com>,
	ben-linux@fluff.org
Subject: RE: [PATCH 10/14] ARM: S5PV310: Adds uart clocks
Date: Fri, 20 Aug 2010 15:58:47 +0900	[thread overview]
Message-ID: <00aa01cb4035$385833e0$a9089ba0$%kim@samsung.com> (raw)
In-Reply-To: <AANLkTi=LexGc0WfjLUOdV9PFJciTckus81=j62zmDzEE@mail.gmail.com>

MyungJoo Ham wrote:
> 
> Hello,
> 
Hi,

> Did you intentionally omit uart:0? Then, why uart:0 clock is not being
> registered while other uart clocks are?
> 
Just missed...thanks for finding it.

Will fix it.

> On Wed, Aug 18, 2010 at 11:01 PM, Kukjin Kim <kgene.kim@samsung.com>
wrote:
> > From: Jongpill Lee <boyko.lee@samsung.com>
> >
> > This patch adds uart clocks for S5PV310/S5PC210.
> >
> > Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
> > Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> > ---
> >  arch/arm/mach-s5pv310/clock.c |   37
> +++++++++++++++++++++++++++++++------
> >  1 files changed, 31 insertions(+), 6 deletions(-)
> >
> > diff --git a/arch/arm/mach-s5pv310/clock.c
b/arch/arm/mach-s5pv310/clock.c
> > index 8728504..843f4d0 100644
> > --- a/arch/arm/mach-s5pv310/clock.c
> > +++ b/arch/arm/mach-s5pv310/clock.c
> > @@ -61,6 +61,11 @@ static int s5pv310_clk_ip_fsys_ctrl(struct clk *clk,
int
> enable)
> >        return s5p_gatectrl(S5P_CLKGATE_IP_FSYS, clk, enable);
> >  }
> >
> > +static int s5pv310_clk_ip_peril_ctrl(struct clk *clk, int enable)
> > +{
> > +       return s5p_gatectrl(S5P_CLKGATE_IP_PERIL, clk, enable);
> > +}
> > +
> >  /* Core list of CMU_CPU side */
> >
> >  static struct clksrc_clk clk_mout_apll = {
> > @@ -257,11 +262,6 @@ static struct clksrc_clk clk_sclk_vpll = {
> >        .reg_src        = { .reg = S5P_CLKSRC_TOP0, .shift = 8, .size = 1
},
> >  };
> >
> > -static int s5pv310_clk_ip_peril_ctrl(struct clk *clk, int enable)
> > -{
> > -       return s5p_gatectrl(S5P_CLKGATE_IP_PERIL, clk, enable);
> > -}
> > -
> >  static struct clk init_clocks_disable[] = {
> >        {
> >                .name           = "timers",
> > @@ -303,7 +303,32 @@ static struct clk init_clocks_disable[] = {
> >  };
> >
> >  static struct clk init_clocks[] = {
> > -       /* Nothing here yet */
> > +       {
> > +               .name           = "uart",
> > +               .id             = 1,
> > +               .enable         = s5pv310_clk_ip_peril_ctrl,
> > +               .ctrlbit        = (1 << 1),
> > +       }, {
> > +               .name           = "uart",
> > +               .id             = 2,
> > +               .enable         = s5pv310_clk_ip_peril_ctrl,
> > +               .ctrlbit        = (1 << 2),
> > +       }, {
> > +               .name           = "uart",
> > +               .id             = 3,
> > +               .enable         = s5pv310_clk_ip_peril_ctrl,
> > +               .ctrlbit        = (1 << 3),
> > +       }, {
> > +               .name           = "uart",
> > +               .id             = 4,
> > +               .enable         = s5pv310_clk_ip_peril_ctrl,
> > +               .ctrlbit        = (1 << 4),
> > +       }, {
> > +               .name           = "uart",
> > +               .id             = 5,
> > +               .enable         = s5pv310_clk_ip_peril_ctrl,
> > +               .ctrlbit        = (1 << 5),
> > +       }
> >  };
> >
> >  static struct clk *clkset_group_list[] = {
> > --
> > 1.6.2.5


Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

  reply	other threads:[~2010-08-20  6:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 14:01 [PATCH 00/14] ARM: S5PV310: Updates clock Kukjin Kim
2010-08-18 14:01 ` [PATCH 01/14] ARM: S5PV310: Adds clock addresses for S5PV310 Kukjin Kim
2010-08-18 14:01 ` [PATCH 02/14] ARM: S5PV310: Removed unused clock Kukjin Kim
2010-08-19  2:57   ` MyungJoo Ham
2010-08-20  7:10     ` Kukjin Kim
2010-08-18 14:01 ` [PATCH 03/14] ARM: S5PV310: Adds clkset_aclk for removing clkset_aclk_xxx Kukjin Kim
2010-08-18 14:01 ` [PATCH 04/14] ARM: S5PV310: Fix on PLL setting for S5PV310 Kukjin Kim
2010-08-18 14:01 ` [PATCH 05/14] ARM: S5PV310: Adds clk_sclk_usbphy0, _usbphy1, and _hdmiphy Kukjin Kim
2010-08-18 14:01 ` [PATCH 06/14] ARM: S5PV310: Should be clk_sclk_apll not clk_mout_apll Kukjin Kim
2010-08-18 14:01 ` [PATCH 07/14] ARM: S5PV310: Adds printing ACLK200, ACLK100, ACLK160 and ACLK133 Kukjin Kim
2010-08-18 14:01 ` [PATCH 08/14] ARM: S5PV310: Adds enable and ctrlbit for clk_vpllsrc Kukjin Kim
2010-08-18 14:01 ` [PATCH 09/14] ARM: S5PV310: Adds SDMMC clock for S5PV310 Kukjin Kim
2010-08-18 14:01 ` [PATCH 10/14] ARM: S5PV310: Adds uart clocks Kukjin Kim
2010-08-19  8:40   ` MyungJoo Ham
2010-08-20  6:58     ` Kukjin Kim [this message]
2010-08-18 14:01 ` [PATCH 11/14] ARM: S5PV310: Bug fix on uclk1 and sclk_pwm Kukjin Kim
2010-08-18 14:01 ` [PATCH 12/14] ARM: S5PV310: Add various clocks Kukjin Kim
2010-08-19  8:52   ` MyungJoo Ham
2010-08-20  7:00     ` Kukjin Kim
2010-08-18 14:01 ` [PATCH 13/14] ARM: S5PV310: Add video clocks Kukjin Kim
2010-08-19 10:04   ` MyungJoo Ham
2010-08-19 10:28     ` MyungJoo Ham
2010-08-20  7:35       ` Kukjin Kim
2010-08-18 14:01 ` [PATCH 14/14] ARM: S5PV310: Adds various special clocks Kukjin Kim
2010-08-23  2:05 ` [PATCH 00/14] ARM: S5PV310: Updates clock Kyungmin Park
2010-08-23  2:21   ` Kukjin Kim

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='00aa01cb4035$385833e0$a9089ba0$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=boyko.lee@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=myungjoo.ham@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox