mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
71b9114d2c
s3c24xx and s3c64xx have a lot in common, but are split across three separate directories, which makes the interaction of the header files more complicated than necessary. Move all three directories into a new mach-s3c, with a minimal set of changes to each file. Signed-off-by: Arnd Bergmann <arnd@arndb.de> [krzk: Rebase, add s3c24xx and s3c64xx suffix to several files, add SPDX headers to new files, remove plat-samsung from MAINTAINERS] Co-developed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> https://lore.kernel.org/r/20200806182059.2431-39-krzk@kernel.org
23 lines
633 B
C
23 lines
633 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Cragganmore 6410 shared definitions
|
|
*
|
|
* Copyright 2011 Wolfson Microelectronics plc
|
|
* Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
*/
|
|
|
|
#ifndef MACH_CRAG6410_H
|
|
#define MACH_CRAG6410_H
|
|
|
|
#include <mach/gpio-samsung.h>
|
|
|
|
#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
|
|
#define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
|
|
|
|
#define PCA935X_GPIO_BASE GPIO_BOARD_START
|
|
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
|
|
#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
|
|
#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
|
|
#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)
|
|
|
|
#endif
|