Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1419758

[PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT
Date 2016-06-11 00:10 +0200
Message-ID <rICMO-2IE-13@gated-at.bofh.it> (permalink)
References <rICMO-2IE-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


With the new TCB clocksource driver, atmel platforms are now able to boot
without the PIT driver. Allow unselecting it.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-11 00:10 +0200
  Re: [PATCH 44/48] clocksource: atmel-pit: allow unselecting  ATMEL_PIT Thomas Gleixner <tglx@linutronix.de> - 2016-06-11 11:50 +0200
    Re: [PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-11 13:00 +0200
      Re: [PATCH 44/48] clocksource: atmel-pit: allow unselecting  ATMEL_PIT Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-13 21:10 +0200
        Re: [PATCH 44/48] clocksource: atmel-pit: allow unselecting  ATMEL_PIT Thomas Gleixner <tglx@linutronix.de> - 2016-06-13 21:20 +0200
          Re: [PATCH 44/48] clocksource: atmel-pit: allow unselecting  ATMEL_PIT Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-16 16:50 +0200

csiph-web