From: peter.griffin@linaro.org (Peter Griffin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.
Date: Mon, 20 Apr 2015 08:14:17 +0100 [thread overview]
Message-ID: <20150420071417.GA17802@griffinp-ThinkPad-X1-Carbon-2nd> (raw)
In-Reply-To: <1429305405.16771.114.camel@x220>
Hi Paul,
On Fri, 17 Apr 2015, Paul Bolle wrote:
> On Fri, 2015-04-17 at 11:50 +0100, Peter Griffin wrote:
> > --- a/drivers/clocksource/Kconfig
> > +++ b/drivers/clocksource/Kconfig
>
> > +config CLKSRC_ST_LPC_CLOCK
> > + bool
> > + depends on ARCH_STI
> > + select CLKSRC_OF if OF
> > + help
> > + Enable this option to use the Low Power controller timer
> > + as clock source.
> > +
> > +config CLKSRC_ST_LPC_TIMER_SCHED_CLOCK
> > + bool
> > + depends on ST_LPC_CLOCK
>
> It looks like you meant
> depends on CLKSRC_ST_LPC_CLOCK
Yes your correct, will fix in v2. I did a last minute change to append CLKSRC_,
and seem to have messed it up.
<snip>
> > --- /dev/null
> > +++ b/drivers/clocksource/st_lpc.c
>
> > +#ifdef CONFIG_CLKSRC_LPC_TIMER_SCHED_CLOCK
>
> #ifdef CONFIG_CLKSRC_ST_LPC_TIMER_SCHED_CLOCK here?
Yes, will fix in v2
>
> > +static u64 notrace st_lpc_sched_clock_read(void)
> > +{
> > + return st_lpc_counter_read();
> > +}
> > +#endif
>
> > +#ifdef CONFIG_CLKSRC_LPC_TIMER_SCHED_CLOCK
>
> Again, #ifdef CONFIG_CLKSRC_ST_LPC_TIMER_SCHED_CLOCK here?
Yes, will fix in v2
>
> > + sched_clock_register(st_lpc_sched_clock_read, 64, rate);
> > +#endif
>
> Assuming the above suggestions are correct: checkkconfigsymbols.py, as
> shipped in linux-next, helps detect stuff like this. See
> scripts/checkkconfigsymbols.py --help.
Thanks for the pointer to the script, I'd not heard of that before, so
will take a look.
Thanks for reviewing,
regards,
Peter.
next prev parent reply other threads:[~2015-04-20 7:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 10:50 [PATCH 0/5] Add st_lpc clocksource timer driver Peter Griffin
2015-04-17 10:50 ` [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource Peter Griffin
2015-04-17 21:16 ` Paul Bolle
2015-04-20 7:14 ` Peter Griffin [this message]
2015-04-21 9:56 ` Thomas Gleixner
2015-04-29 15:48 ` Maxime Coquelin
2015-05-02 16:36 ` Peter Griffin
2015-04-17 10:50 ` [PATCH 2/5] clocksource: st_lpc: Add DT bindings documentation for lpc timer Peter Griffin
2015-04-17 10:50 ` [PATCH 3/5] MAINTAINERS: Add st_lpc.c to ARCH/STI section of maintainers Peter Griffin
2015-04-17 10:50 ` [PATCH 4/5] ARM: sti: Always enable CLKSRC_ST_LPC_CLOCK Peter Griffin
2015-04-17 10:50 ` [PATCH 5/5] ARM: DT: STi: STiH407: Add DT node for st-lpc timer Peter Griffin
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=20150420071417.GA17802@griffinp-ThinkPad-X1-Carbon-2nd \
--to=peter.griffin@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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