forked from Minki/linux
d0f0b43f78
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>
24 lines
672 B
C
24 lines
672 B
C
/* Cragganmore 6410 shared definitions
|
|
*
|
|
* Copyright 2011 Wolfson Microelectronics plc
|
|
* Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef MACH_CRAG6410_H
|
|
#define MACH_CRAG6410_H
|
|
|
|
#include <linux/gpio.h>
|
|
|
|
#define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START
|
|
#define GLENFARCLAS_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 + 16)
|
|
|
|
#endif
|