Commit | Line | Data |
---|---|---|
9e4e7fe1 RV |
1 | /* |
2 | * Copyright (C) ST-Ericsson SA 2010 | |
3 | * | |
4 | * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson | |
5 | * License terms: GNU General Public License (GPL) version 2 | |
6 | */ | |
7 | ||
8 | #include <linux/kernel.h> | |
9 | #include <linux/platform_device.h> | |
10 | #include <linux/interrupt.h> | |
11 | #include <linux/io.h> | |
12 | #include <linux/amba/bus.h> | |
5d7b8467 | 13 | #include <linux/amba/pl022.h> |
05ec260e | 14 | #include <linux/mfd/dbx500-prcmu.h> |
7b8ddb06 | 15 | |
e657bcf6 | 16 | #include "setup.h" |
eba52748 | 17 | #include "irqs.h" |
9e4e7fe1 | 18 | |
174e7796 | 19 | #include "db8500-regs.h" |
05ec260e | 20 | #include "devices-db8500.h" |
7b8ddb06 | 21 | |
05ec260e LW |
22 | struct prcmu_pdata db8500_prcmu_pdata = { |
23 | .ab_platdata = &ab8500_platdata, | |
55b175d7 AB |
24 | .ab_irq = IRQ_DB8500_AB8500, |
25 | .irq_base = IRQ_PRCMU_BASE, | |
05ec260e LW |
26 | .version_offset = DB8500_PRCMU_FW_VERSION_OFFSET, |
27 | .legacy_offset = DB8500_PRCMU_LEGACY_OFFSET, | |
28 | }; |