diff options
Diffstat (limited to 'include/linux/platform_data')
-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/vsp1.h | 27 |
6 files changed, 52 insertions, 34 deletions
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/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__ */ | ||