From: daniel.lezcano@linaro.org (Daniel Lezcano)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/12] clocksource: sti: Provide 'use timer as sched clock' capability
Date: Mon, 11 May 2015 10:47:44 +0200 [thread overview]
Message-ID: <55506CB0.2030909@linaro.org> (raw)
In-Reply-To: <1431085625.13593.39.camel@x220>
On 05/08/2015 01:47 PM, Paul Bolle wrote:
> On Fri, 2015-05-08 at 11:29 +0100, Lee Jones wrote:
>> Ah, you mean from menuconfig. I almost forgot what that was. ;)
>>
>> I can add a menu option, no problem.
>
> It's not just menuconfig:
> $ grep -e CONFIG_ARCH_STI -e CONFIG_CLKSRC_ST_LPC .config
> CONFIG_ARCH_STI=y
> CONFIG_CLKSRC_ST_LPC=y
> CONFIG_CLKSRC_ST_LPC_TIMER_SCHED_CLOCK=y
> $ vim .config
> $ grep -e CONFIG_ARCH_STI -e CONFIG_CLKSRC_ST_LPC .config
> CONFIG_ARCH_STI=y
> # CONFIG_CLKSRC_ST_LPC is not set
> # CONFIG_CLKSRC_ST_LPC_TIMER_SCHED_CLOCK is not set
> $ make ARCH=arm silentoldconfig
> scripts/kconfig/conf --silentoldconfig Kconfig
> #
> # configuration written to .config
> #
> $ grep -e CONFIG_ARCH_STI -e CONFIG_CLKSRC_ST_LPC .config
> CONFIG_ARCH_STI=y
> CONFIG_CLKSRC_ST_LPC=y
> CONFIG_CLKSRC_ST_LPC_TIMER_SCHED_CLOCK=y
>
> So I think that, if you want to be able to set
> CLKSRC_ST_LPC_TIMER_SCHED_CLOCK to 'n' even though CLKSRC_ST_LPC is 'y',
> you need to add a prompt. Or have you found a way around this?
The general policy is to have non-prompted options in the clocksource's
Kconfig and let the platform's config to select the right components.
--
<http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
next prev parent reply other threads:[~2015-05-11 8:47 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-07 13:38 [PATCH 00/12] mfd: watchdog: rtc: Add LPC Clocksource driver Lee Jones
2015-05-07 13:38 ` [PATCH 01/12] mfd: dt-bindings: Provide human readable define for Clocksource mode Lee Jones
2015-05-07 13:38 ` [PATCH 02/12] clocksource: sti: Provide support for the ST LPC Clocksource IP Lee Jones
2015-05-07 15:04 ` [STLinux Kernel] " Peter Griffin
2015-05-07 19:13 ` Lee Jones
2015-05-08 10:09 ` Paul Bolle
2015-05-08 10:28 ` Lee Jones
2015-05-08 11:30 ` Paul Bolle
2015-05-11 8:42 ` Daniel Lezcano
2015-05-11 10:53 ` Lee Jones
2015-05-07 13:38 ` [PATCH 03/12] clocksource: sti: Provide 'use timer as sched clock' capability Lee Jones
2015-05-08 8:44 ` Paul Bolle
2015-05-08 9:36 ` Lee Jones
2015-05-08 9:52 ` Paul Bolle
2015-05-08 10:29 ` Lee Jones
2015-05-08 11:47 ` Paul Bolle
2015-05-11 8:47 ` Daniel Lezcano [this message]
2015-05-11 9:22 ` Paul Bolle
2015-05-07 13:38 ` [PATCH 04/12] clocksource: bindings: Provide bindings for ST's LPC Clocksource device Lee Jones
2015-05-07 13:38 ` [PATCH 05/12] watchdog: st_wdt: Update IP layout information to include Clocksource Lee Jones
2015-05-08 0:04 ` Guenter Roeck
2015-05-07 13:38 ` [PATCH 06/12] watchdog: bindings: Supply knowledge of a third supported device - clocksource Lee Jones
2015-05-07 14:18 ` [STLinux Kernel] " Peter Griffin
2015-05-07 19:19 ` Lee Jones
2015-05-07 19:55 ` Peter Griffin
2015-05-08 6:49 ` Lee Jones
2015-05-08 7:16 ` Peter Griffin
2015-05-08 7:25 ` Lee Jones
2015-05-07 13:38 ` [PATCH 07/12] rtc: st: Update IP layout information to include Clocksource Lee Jones
2015-05-09 13:58 ` [rtc-linux] " Alexandre Belloni
2015-05-11 10:54 ` Lee Jones
2015-05-11 11:03 ` Alexandre Belloni
2015-05-11 11:52 ` Lee Jones
2015-05-07 13:38 ` [PATCH 08/12] rtc: bindings: Supply knowledge of a third supported device - clocksource Lee Jones
2015-05-07 14:12 ` [STLinux Kernel] " Peter Griffin
2015-05-07 19:21 ` Lee Jones
2015-05-07 13:38 ` [PATCH 09/12] MAINTAINERS: Add the LPC Clocksource to STi maintained driver list Lee Jones
2015-05-07 13:38 ` [PATCH 10/12] ARM: STi: DT: STih407: Switch LPC mode from RTC to Clocksource Lee Jones
2015-05-07 13:38 ` [PATCH 11/12] ARM: STi: Enable LPC Clocksource Lee Jones
2015-05-07 13:38 ` [PATCH 12/12] ARM: STi: Update platform level menuconfig 'help' Lee Jones
2015-05-07 14:15 ` [STLinux Kernel] " Peter Griffin
2015-05-07 19:20 ` Lee Jones
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=55506CB0.2030909@linaro.org \
--to=daniel.lezcano@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;
as well as URLs for NNTP newsgroup(s).