Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753001AbbLNN4y (ORCPT ); Mon, 14 Dec 2015 08:56:54 -0500 Received: from mail.kernel.org ([198.145.29.136]:60772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750996AbbLNN4w (ORCPT ); Mon, 14 Dec 2015 08:56:52 -0500 MIME-Version: 1.0 In-Reply-To: <1449048790-25859-3-git-send-email-vladimir.murzin@arm.com> References: <1449048790-25859-1-git-send-email-vladimir.murzin@arm.com> <1449048790-25859-3-git-send-email-vladimir.murzin@arm.com> From: Rob Herring Date: Mon, 14 Dec 2015 07:56:29 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 02/10] clockevents/drivers: add MPS2 Timer driver To: Vladimir Murzin Cc: Arnd Bergmann , Russell King - ARM Linux , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Maxime Coquelin , Mark Rutland , Pawel Moll , Ian Campbell , Kumar Gala , Jiri Slaby , "devicetree@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-api@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1390 Lines: 36 On Wed, Dec 2, 2015 at 3:33 AM, Vladimir Murzin wrote: > MPS2 platform has simple 32 bits general purpose countdown timers. > > The driver uses the first detected timer as a clocksource and the rest > of the timers as a clockevent > > Signed-off-by: Vladimir Murzin > --- > drivers/clocksource/Kconfig | 5 + > drivers/clocksource/Makefile | 1 + > drivers/clocksource/mps2-timer.c | 277 ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 283 insertions(+) > create mode 100644 drivers/clocksource/mps2-timer.c > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > index 2eb5f0e..8bca09c 100644 > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > @@ -137,6 +137,11 @@ config CLKSRC_STM32 > depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) > select CLKSRC_MMIO > > +config CLKSRC_MPS2 > + bool "Clocksource for MPS2 SoCs" if COMPILE_TEST > + depends on OF && ARM Does this really depend on both of these for COMPILE_TEST? You need to select CLKSRC_OF rather than CLKSRC_MMIO as well. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/