summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100/assabet.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sa1100/assabet.c')
-rw-r--r--arch/arm/mach-sa1100/assabet.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index 2a267122b4a1..84649207dbb9 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -438,6 +438,22 @@ static struct resource neponset_resources[] = {
};
#endif
+static struct gpiod_lookup_table assabet_uda1341_gpio_table = {
+ .dev_id = "uda134x-codec",
+ .table = {
+ GPIO_LOOKUP("assabet", 21, "qmute", GPIO_ACTIVE_HIGH),
+ { },
+ },
+};
+
+static struct gpiod_lookup_table assabet_audio_gpio_table = {
+ .dev_id = "assabet-asoc",
+ .table = {
+ GPIO_LOOKUP("assabet", 23, "spkr-shtdn", GPIO_ACTIVE_HIGH),
+ { },
+ },
+};
+
static struct gpiod_lookup_table assabet_cf_gpio_table = {
.dev_id = "sa11x0-pcmcia.1",
.table = {
@@ -543,6 +559,9 @@ static struct gpiod_lookup_table assabet_uart3_gpio_table = {
static void __init assabet_init(void)
{
+ gpiod_add_lookup_table(&assabet_uda1341_gpio_table);
+ gpiod_add_lookup_table(&assabet_audio_gpio_table);
+
/*
* Ensure that the power supply is in "high power" mode.
*/