diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2017-03-16 08:04:40 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-30 08:23:18 +0200 |
commit | 04c88ff32c242bb520662b3a2074707c0aaac2c1 (patch) | |
tree | 5a9aea3c30d0f1ae1a9bdca9e5d94d8d44b03044 /arch/arm/mach-at91 | |
parent | e6cff67ca14c2590bdf6e2b78e29e996a47c17d6 (diff) | |
download | barebox-04c88ff32c242bb520662b3a2074707c0aaac2c1.tar.gz barebox-04c88ff32c242bb520662b3a2074707c0aaac2c1.tar.xz |
clk: at91: Port at91 DT clock code
Port at91 DT clock code from Linux 4.9-rc3.
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/Kconfig | 20 | ||||
-rw-r--r-- | arch/arm/mach-at91/Makefile | 7 |
2 files changed, 26 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 2d4721a26a..4ac69fc558 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -9,6 +9,26 @@ config HAVE_AT91_DBGU1 config HAVE_AT91_DBGU2 bool +config HAVE_AT91_UTMI + bool + +config HAVE_AT91_USB_CLK + bool + +config COMMON_CLK_AT91 + bool + select COMMON_CLK + select MFD_SYSCON + +config HAVE_AT91_SMD + bool + +config HAVE_AT91_H32MX + bool + +config HAVE_AT91_GENERATED_CLK + bool + config HAVE_AT91_LOWLEVEL_INIT bool diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile index 1f63b09aaa..e20769015a 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile @@ -1,4 +1,9 @@ -obj-y += setup.o clock.o irq_fixup.o +obj-y += setup.o irq_fixup.o + +ifeq ($(CONFIG_COMMON_CLK_OF_PROVIDER),) +obj-y += clock.o +endif + obj-$(CONFIG_CMD_AT91_BOOT_TEST) += boot_test_cmd.o obj-$(CONFIG_AT91_BOOTSTRAP) += bootstrap.o |