diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-04-15 22:17:12 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-04-28 23:08:44 -0700 |
commit | 5b7cc90496aaff4f0eb1750b91dedec342d69760 (patch) | |
tree | f97d41461a3019e2827903dff9160a20c926c092 /arch/arm/mach-ep93xx/include/mach/hardware.h | |
parent | ARM: ep93xx: move pinctrl interfaces into include/linux/soc (diff) | |
download | linux-dev-5b7cc90496aaff4f0eb1750b91dedec342d69760.tar.xz linux-dev-5b7cc90496aaff4f0eb1750b91dedec342d69760.zip |
ARM: ep93xx: move private headers out of mach/*
gpio-ep93xx.h, hardware.h, and platform.h are only used in
arch/arm/mach-ep93xx, so we can move them one there and no
longer expose them to device drivers.
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-ep93xx/include/mach/hardware.h')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/hardware.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/hardware.h b/arch/arm/mach-ep93xx/include/mach/hardware.h deleted file mode 100644 index 8938906e780a..000000000000 --- a/arch/arm/mach-ep93xx/include/mach/hardware.h +++ /dev/null @@ -1,25 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/arm/mach-ep93xx/include/mach/hardware.h - */ - -#ifndef __ASM_ARCH_HARDWARE_H -#define __ASM_ARCH_HARDWARE_H - -#include <mach/platform.h> - -/* - * The EP93xx has two external crystal oscillators. To generate the - * required high-frequency clocks, the processor uses two phase-locked- - * loops (PLLs) to multiply the incoming external clock signal to much - * higher frequencies that are then divided down by programmable dividers - * to produce the needed clocks. The PLLs operate independently of one - * another. - */ -#define EP93XX_EXT_CLK_RATE 14745600 -#define EP93XX_EXT_RTC_RATE 32768 - -#define EP93XX_KEYTCHCLK_DIV4 (EP93XX_EXT_CLK_RATE / 4) -#define EP93XX_KEYTCHCLK_DIV16 (EP93XX_EXT_CLK_RATE / 16) - -#endif |