diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-19 09:40:07 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-09-19 03:32:36 -0400 |
commit | d0f0b43f78b88b42e795e4c28f3591cb57590692 (patch) | |
tree | 7ecd262fb0dc8df08c035b784dd3b3662fe390cd /arch/arm/mach-s3c64xx/include/mach | |
parent | 986afc98ce24901865828dab9ba876fd9be6beb2 (diff) |
ARM: S3C64XX: Use module identification for Cragganmore system builds
The Cragganmore system is modular with I2C based identification chips on
the system allowing identification of the system build. Provide a stub I2C
driver which parses the module IDs and uses them to select the appropriate
audio subsystem components to register. To avoid confusion due to having
the mini-driver in the system the driver is placed in a separate file.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/include/mach')
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/crag6410.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h b/arch/arm/mach-s3c64xx/include/mach/crag6410.h new file mode 100644 index 000000000000..be9074e17dfd --- /dev/null +++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* Cragganmore 6410 shared definitions | ||
2 | * | ||
3 | * Copyright 2011 Wolfson Microelectronics plc | ||
4 | * Mark Brown <broonie@opensource.wolfsonmicro.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef MACH_CRAG6410_H | ||
12 | #define MACH_CRAG6410_H | ||
13 | |||
14 | #include <linux/gpio.h> | ||
15 | |||
16 | #define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START | ||
17 | #define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) | ||
18 | |||
19 | #define PCA935X_GPIO_BASE GPIO_BOARD_START | ||
20 | #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) | ||
21 | #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 16) | ||
22 | |||
23 | #endif | ||