diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/ti-aemif.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/platform_data/ti-aemif.h b/include/linux/platform_data/ti-aemif.h index ac72e115093c..e6407bafcbf8 100644 --- a/include/linux/platform_data/ti-aemif.h +++ b/include/linux/platform_data/ti-aemif.h | |||
| @@ -16,8 +16,33 @@ | |||
| 16 | 16 | ||
| 17 | #include <linux/of_platform.h> | 17 | #include <linux/of_platform.h> |
| 18 | 18 | ||
| 19 | /** | ||
| 20 | * struct aemif_abus_data - Async bus configuration parameters. | ||
| 21 | * | ||
| 22 | * @cs - Chip-select number. | ||
| 23 | */ | ||
| 24 | struct aemif_abus_data { | ||
| 25 | u32 cs; | ||
| 26 | }; | ||
| 27 | |||
| 28 | /** | ||
| 29 | * struct aemif_platform_data - Data to set up the TI aemif driver. | ||
| 30 | * | ||
| 31 | * @dev_lookup: of_dev_auxdata passed to of_platform_populate() for aemif | ||
| 32 | * subdevices. | ||
| 33 | * @cs_offset: Lowest allowed chip-select number. | ||
| 34 | * @abus_data: Array of async bus configuration entries. | ||
| 35 | * @num_abus_data: Number of abus entries. | ||
| 36 | * @sub_devices: Array of platform subdevices. | ||
| 37 | * @num_sub_devices: Number of subdevices. | ||
| 38 | */ | ||
| 19 | struct aemif_platform_data { | 39 | struct aemif_platform_data { |
| 20 | struct of_dev_auxdata *dev_lookup; | 40 | struct of_dev_auxdata *dev_lookup; |
| 41 | u32 cs_offset; | ||
| 42 | struct aemif_abus_data *abus_data; | ||
| 43 | size_t num_abus_data; | ||
| 44 | struct platform_device *sub_devices; | ||
| 45 | size_t num_sub_devices; | ||
| 21 | }; | 46 | }; |
| 22 | 47 | ||
| 23 | #endif /* __TI_DAVINCI_AEMIF_DATA_H__ */ | 48 | #endif /* __TI_DAVINCI_AEMIF_DATA_H__ */ |
