diff options
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/cpuidle-exynos.h | 20 | ||||
-rw-r--r-- | include/linux/platform_data/ipmmu-vmsa.h | 24 | ||||
-rw-r--r-- | include/linux/platform_data/irda-sa11x0.h | 20 | ||||
-rw-r--r-- | include/linux/platform_data/mmc-omap.h | 4 | ||||
-rw-r--r-- | include/linux/platform_data/regulator-haptic.h | 29 | ||||
-rw-r--r-- | include/linux/platform_data/st21nfca.h | 2 | ||||
-rw-r--r-- | include/linux/platform_data/st21nfcb.h | 4 | ||||
-rw-r--r-- | include/linux/platform_data/tpm_stm_st33.h | 39 | ||||
-rw-r--r-- | include/linux/platform_data/vsp1.h | 27 |
9 files changed, 111 insertions, 58 deletions
diff --git a/include/linux/platform_data/cpuidle-exynos.h b/include/linux/platform_data/cpuidle-exynos.h new file mode 100644 index 000000000000..bfa40e4c5d5f --- /dev/null +++ b/include/linux/platform_data/cpuidle-exynos.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | ||
3 | * http://www.samsung.com | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | ||
9 | |||
10 | #ifndef __CPUIDLE_EXYNOS_H | ||
11 | #define __CPUIDLE_EXYNOS_H | ||
12 | |||
13 | struct cpuidle_exynos_data { | ||
14 | int (*cpu0_enter_aftr)(void); | ||
15 | int (*cpu1_powerdown)(void); | ||
16 | void (*pre_enter_aftr)(void); | ||
17 | void (*post_enter_aftr)(void); | ||
18 | }; | ||
19 | |||
20 | #endif | ||
diff --git a/include/linux/platform_data/ipmmu-vmsa.h b/include/linux/platform_data/ipmmu-vmsa.h deleted file mode 100644 index 5275b3ac6d37..000000000000 --- a/include/linux/platform_data/ipmmu-vmsa.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | /* | ||
2 | * IPMMU VMSA Platform Data | ||
3 | * | ||
4 | * Copyright (C) 2014 Renesas Electronics Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; version 2 of the License. | ||
9 | */ | ||
10 | |||
11 | #ifndef __IPMMU_VMSA_H__ | ||
12 | #define __IPMMU_VMSA_H__ | ||
13 | |||
14 | struct ipmmu_vmsa_master { | ||
15 | const char *name; | ||
16 | unsigned int utlb; | ||
17 | }; | ||
18 | |||
19 | struct ipmmu_vmsa_platform_data { | ||
20 | const struct ipmmu_vmsa_master *masters; | ||
21 | unsigned int num_masters; | ||
22 | }; | ||
23 | |||
24 | #endif /* __IPMMU_VMSA_H__ */ | ||
diff --git a/include/linux/platform_data/irda-sa11x0.h b/include/linux/platform_data/irda-sa11x0.h new file mode 100644 index 000000000000..38f77b5e56cf --- /dev/null +++ b/include/linux/platform_data/irda-sa11x0.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * arch/arm/include/asm/mach/irda.h | ||
3 | * | ||
4 | * Copyright (C) 2004 Russell King. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | #ifndef __ASM_ARM_MACH_IRDA_H | ||
11 | #define __ASM_ARM_MACH_IRDA_H | ||
12 | |||
13 | struct irda_platform_data { | ||
14 | int (*startup)(struct device *); | ||
15 | void (*shutdown)(struct device *); | ||
16 | int (*set_power)(struct device *, unsigned int state); | ||
17 | void (*set_speed)(struct device *, unsigned int speed); | ||
18 | }; | ||
19 | |||
20 | #endif | ||
diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h index 5c188f4e9bec..929469291406 100644 --- a/include/linux/platform_data/mmc-omap.h +++ b/include/linux/platform_data/mmc-omap.h | |||
@@ -31,10 +31,6 @@ struct omap_mmc_platform_data { | |||
31 | void (*cleanup)(struct device *dev); | 31 | void (*cleanup)(struct device *dev); |
32 | void (*shutdown)(struct device *dev); | 32 | void (*shutdown)(struct device *dev); |
33 | 33 | ||
34 | /* To handle board related suspend/resume functionality for MMC */ | ||
35 | int (*suspend)(struct device *dev, int slot); | ||
36 | int (*resume)(struct device *dev, int slot); | ||
37 | |||
38 | /* Return context loss count due to PM states changing */ | 34 | /* Return context loss count due to PM states changing */ |
39 | int (*get_context_loss_count)(struct device *dev); | 35 | int (*get_context_loss_count)(struct device *dev); |
40 | 36 | ||
diff --git a/include/linux/platform_data/regulator-haptic.h b/include/linux/platform_data/regulator-haptic.h new file mode 100644 index 000000000000..5658e58e0738 --- /dev/null +++ b/include/linux/platform_data/regulator-haptic.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * Regulator Haptic Platform Data | ||
3 | * | ||
4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | ||
5 | * Author: Jaewon Kim <jaewon02.kim@samsung.com> | ||
6 | * Author: Hyunhee Kim <hyunhee.kim@samsung.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef _REGULATOR_HAPTIC_H | ||
14 | #define _REGULATOR_HAPTIC_H | ||
15 | |||
16 | /* | ||
17 | * struct regulator_haptic_data - Platform device data | ||
18 | * | ||
19 | * @max_volt: maximum voltage value supplied to the haptic motor. | ||
20 | * <The unit of the voltage is a micro> | ||
21 | * @min_volt: minimum voltage value supplied to the haptic motor. | ||
22 | * <The unit of the voltage is a micro> | ||
23 | */ | ||
24 | struct regulator_haptic_data { | ||
25 | unsigned int max_volt; | ||
26 | unsigned int min_volt; | ||
27 | }; | ||
28 | |||
29 | #endif /* _REGULATOR_HAPTIC_H */ | ||
diff --git a/include/linux/platform_data/st21nfca.h b/include/linux/platform_data/st21nfca.h index 5087fff96d86..cc2bdafb0c69 100644 --- a/include/linux/platform_data/st21nfca.h +++ b/include/linux/platform_data/st21nfca.h | |||
@@ -26,6 +26,8 @@ | |||
26 | struct st21nfca_nfc_platform_data { | 26 | struct st21nfca_nfc_platform_data { |
27 | unsigned int gpio_ena; | 27 | unsigned int gpio_ena; |
28 | unsigned int irq_polarity; | 28 | unsigned int irq_polarity; |
29 | bool is_ese_present; | ||
30 | bool is_uicc_present; | ||
29 | }; | 31 | }; |
30 | 32 | ||
31 | #endif /* _ST21NFCA_HCI_H_ */ | 33 | #endif /* _ST21NFCA_HCI_H_ */ |
diff --git a/include/linux/platform_data/st21nfcb.h b/include/linux/platform_data/st21nfcb.h index c3b432f5b63e..b023373d9874 100644 --- a/include/linux/platform_data/st21nfcb.h +++ b/include/linux/platform_data/st21nfcb.h | |||
@@ -19,8 +19,6 @@ | |||
19 | #ifndef _ST21NFCB_NCI_H_ | 19 | #ifndef _ST21NFCB_NCI_H_ |
20 | #define _ST21NFCB_NCI_H_ | 20 | #define _ST21NFCB_NCI_H_ |
21 | 21 | ||
22 | #include <linux/i2c.h> | ||
23 | |||
24 | #define ST21NFCB_NCI_DRIVER_NAME "st21nfcb_nci" | 22 | #define ST21NFCB_NCI_DRIVER_NAME "st21nfcb_nci" |
25 | 23 | ||
26 | struct st21nfcb_nfc_platform_data { | 24 | struct st21nfcb_nfc_platform_data { |
@@ -28,4 +26,4 @@ struct st21nfcb_nfc_platform_data { | |||
28 | unsigned int irq_polarity; | 26 | unsigned int irq_polarity; |
29 | }; | 27 | }; |
30 | 28 | ||
31 | #endif /* _ST21NFCA_HCI_H_ */ | 29 | #endif /* _ST21NFCB_NCI_H_ */ |
diff --git a/include/linux/platform_data/tpm_stm_st33.h b/include/linux/platform_data/tpm_stm_st33.h new file mode 100644 index 000000000000..ff75310c0f47 --- /dev/null +++ b/include/linux/platform_data/tpm_stm_st33.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * STMicroelectronics TPM I2C Linux driver for TPM ST33ZP24 | ||
3 | * Copyright (C) 2009, 2010 STMicroelectronics | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
17 | * | ||
18 | * STMicroelectronics version 1.2.0, Copyright (C) 2010 | ||
19 | * STMicroelectronics comes with ABSOLUTELY NO WARRANTY. | ||
20 | * This is free software, and you are welcome to redistribute it | ||
21 | * under certain conditions. | ||
22 | * | ||
23 | * @Author: Christophe RICARD tpmsupport@st.com | ||
24 | * | ||
25 | * @File: stm_st33_tpm.h | ||
26 | * | ||
27 | * @Date: 09/15/2010 | ||
28 | */ | ||
29 | #ifndef __STM_ST33_TPM_H__ | ||
30 | #define __STM_ST33_TPM_H__ | ||
31 | |||
32 | #define TPM_ST33_I2C "st33zp24-i2c" | ||
33 | #define TPM_ST33_SPI "st33zp24-spi" | ||
34 | |||
35 | struct st33zp24_platform_data { | ||
36 | int io_lpcpd; | ||
37 | }; | ||
38 | |||
39 | #endif /* __STM_ST33_TPM_H__ */ | ||
diff --git a/include/linux/platform_data/vsp1.h b/include/linux/platform_data/vsp1.h deleted file mode 100644 index 63170e2614b3..000000000000 --- a/include/linux/platform_data/vsp1.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | /* | ||
2 | * vsp1.h -- R-Car VSP1 Platform Data | ||
3 | * | ||
4 | * Copyright (C) 2013 Renesas Corporation | ||
5 | * | ||
6 | * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | */ | ||
13 | #ifndef __PLATFORM_VSP1_H__ | ||
14 | #define __PLATFORM_VSP1_H__ | ||
15 | |||
16 | #define VSP1_HAS_LIF (1 << 0) | ||
17 | #define VSP1_HAS_LUT (1 << 1) | ||
18 | #define VSP1_HAS_SRU (1 << 2) | ||
19 | |||
20 | struct vsp1_platform_data { | ||
21 | unsigned int features; | ||
22 | unsigned int rpf_count; | ||
23 | unsigned int uds_count; | ||
24 | unsigned int wpf_count; | ||
25 | }; | ||
26 | |||
27 | #endif /* __PLATFORM_VSP1_H__ */ | ||