mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
4e330ae4ab
There are two PMICs on Cragganmore, currently one dynamically assign its IRQ base and the other uses a fixed base. It is possible for the statically assigned PMIC to fail if its IRQ is taken by the dynamically assigned one. Fix this by statically assigning both the IRQ bases. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Cc: <stable@vger.kernel.org> Signed-off-by: Kukjin Kim <kgene@kernel.org>
26 lines
784 B
C
26 lines
784 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 <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
|