diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/arm-ux500-pm.h | 21 | ||||
| -rw-r--r-- | include/linux/platform_data/asoc-ux500-msp.h | 27 | ||||
| -rw-r--r-- | include/linux/platform_data/clk-ux500.h | 3 |
3 files changed, 50 insertions, 1 deletions
diff --git a/include/linux/platform_data/arm-ux500-pm.h b/include/linux/platform_data/arm-ux500-pm.h new file mode 100644 index 000000000000..8dff64b29ec0 --- /dev/null +++ b/include/linux/platform_data/arm-ux500-pm.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) ST-Ericsson SA 2010-2013 | ||
| 3 | * Author: Rickard Andersson <rickard.andersson@stericsson.com> for | ||
| 4 | * ST-Ericsson. | ||
| 5 | * Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro. | ||
| 6 | * License terms: GNU General Public License (GPL) version 2 | ||
| 7 | * | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef ARM_UX500_PM_H | ||
| 11 | #define ARM_UX500_PM_H | ||
| 12 | |||
| 13 | int prcmu_gic_decouple(void); | ||
| 14 | int prcmu_gic_recouple(void); | ||
| 15 | bool prcmu_gic_pending_irq(void); | ||
| 16 | bool prcmu_pending_irq(void); | ||
| 17 | bool prcmu_is_cpu_in_wfi(int cpu); | ||
| 18 | int prcmu_copy_gic_settings(void); | ||
| 19 | void ux500_pm_init(u32 phy_base, u32 size); | ||
| 20 | |||
| 21 | #endif /* ARM_UX500_PM_H */ | ||
diff --git a/include/linux/platform_data/asoc-ux500-msp.h b/include/linux/platform_data/asoc-ux500-msp.h new file mode 100644 index 000000000000..9991aea3d577 --- /dev/null +++ b/include/linux/platform_data/asoc-ux500-msp.h | |||
| @@ -0,0 +1,27 @@ | |||
| 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 | #ifndef __MSP_H | ||
| 9 | #define __MSP_H | ||
| 10 | |||
| 11 | #include <linux/platform_data/dma-ste-dma40.h> | ||
| 12 | |||
| 13 | enum msp_i2s_id { | ||
| 14 | MSP_I2S_0 = 0, | ||
| 15 | MSP_I2S_1, | ||
| 16 | MSP_I2S_2, | ||
| 17 | MSP_I2S_3, | ||
| 18 | }; | ||
| 19 | |||
| 20 | /* Platform data structure for a MSP I2S-device */ | ||
| 21 | struct msp_i2s_platform_data { | ||
| 22 | enum msp_i2s_id id; | ||
| 23 | struct stedma40_chan_cfg *msp_i2s_dma_rx; | ||
| 24 | struct stedma40_chan_cfg *msp_i2s_dma_tx; | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif | ||
diff --git a/include/linux/platform_data/clk-ux500.h b/include/linux/platform_data/clk-ux500.h index 3af0da1f3be5..320d9c39ea0a 100644 --- a/include/linux/platform_data/clk-ux500.h +++ b/include/linux/platform_data/clk-ux500.h | |||
| @@ -10,7 +10,8 @@ | |||
| 10 | #ifndef __CLK_UX500_H | 10 | #ifndef __CLK_UX500_H |
| 11 | #define __CLK_UX500_H | 11 | #define __CLK_UX500_H |
| 12 | 12 | ||
| 13 | void u8500_clk_init(void); | 13 | void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, |
| 14 | u32 clkrst5_base, u32 clkrst6_base); | ||
| 14 | void u9540_clk_init(void); | 15 | void u9540_clk_init(void); |
| 15 | void u8540_clk_init(void); | 16 | void u8540_clk_init(void); |
| 16 | 17 | ||
