From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753498AbcFJWFj (ORCPT ); Fri, 10 Jun 2016 18:05:39 -0400 Received: from down.free-electrons.com ([37.187.137.238]:44269 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161083AbcFJWEX (ORCPT ); Fri, 10 Jun 2016 18:04:23 -0400 From: Alexandre Belloni To: Nicolas Ferre Cc: Boris Brezillon , Jean-Christophe Plagniol-Villard , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni , Daniel Lezcano , Thomas Gleixner Subject: [PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT Date: Sat, 11 Jun 2016 00:03:47 +0200 Message-Id: <1465596231-21766-45-git-send-email-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1465596231-21766-1-git-send-email-alexandre.belloni@free-electrons.com> References: <1465596231-21766-1-git-send-email-alexandre.belloni@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With the new TCB clocksource driver, atmel platforms are now able to boot without the PIT driver. Allow unselecting it. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1860f6f9b380..c651661bf43c 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -251,7 +251,14 @@ config ARMV7M_SYSTICK config ATMEL_PIT select CLKSRC_OF if OF - def_bool SOC_AT91SAM9 || SOC_SAMA5 + bool "Atmel Periodic Interval Timer (PIT)" + depends on SOC_AT91SAM9 || SOC_SAMA5 + default SOC_AT91SAM9 || SOC_SAMA5 + help + Select this to get a clocksource based on the Atmel Periodic Interval + Timer. It has a relatively low resolution and the TC Block clocksource + should be preferred. + It also provides a clock event device. config ATMEL_ST bool -- 2.8.1