From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Thu, 29 Jan 2015 14:52:56 +0100 Subject: [PATCH 6/9] clocksource: Driver for Conexant Digicolor SoC timer In-Reply-To: <1422538656.32520.4.camel@x220> References: <54CA3044.6070501@linaro.org> <1422536899-16609-1-git-send-email-daniel.lezcano@linaro.org> <1422536899-16609-6-git-send-email-daniel.lezcano@linaro.org> <1422538656.32520.4.camel@x220> Message-ID: <54CA3B38.507@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/29/2015 02:37 PM, Paul Bolle wrote: > On Thu, 2015-01-29 at 14:08 +0100, Daniel Lezcano wrote: >> From: Baruch Siach >> >> Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs >> series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future >> watchdog driver so we don't use it here. Use timer B for sched_clock, and timer >> C for clock_event. >> >> Signed-off-by: Baruch Siach >> Signed-off-by: Daniel Lezcano >> --- >> drivers/clocksource/Kconfig | 3 + >> drivers/clocksource/Makefile | 1 + >> drivers/clocksource/timer-digicolor.c | 199 ++++++++++++++++++++++++++++++++++ >> 3 files changed, 203 insertions(+) >> create mode 100644 drivers/clocksource/timer-digicolor.c >> >> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig >> index a89120b..72a3827 100644 >> --- a/drivers/clocksource/Kconfig >> +++ b/drivers/clocksource/Kconfig >> @@ -18,6 +18,9 @@ config CLKBLD_I8253 >> config CLKSRC_MMIO >> bool >> >> +config DIGICOLOR_TIMER >> + bool >> + > > And the select for this symbol (see https://lkml.org/lkml/2015/1/26/360) > will be provided in a separate patch? Because this patch, by itself, > won't allow DIGICOLOR_TIMER to be set, will it? You are right, that should be done in a separate patch. I believe Baruch should have done that. -- Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog