2 * TI DaVinci AEMIF platform glue.
4 * Copyright (C) 2017 BayLibre SAS
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #ifndef __TI_DAVINCI_AEMIF_DATA_H__
15 #define __TI_DAVINCI_AEMIF_DATA_H__
17 #include <linux/of_platform.h>
20 * struct aemif_abus_data - Async bus configuration parameters.
22 * @cs - Chip-select number.
24 struct aemif_abus_data {
29 * struct aemif_platform_data - Data to set up the TI aemif driver.
31 * @dev_lookup: of_dev_auxdata passed to of_platform_populate() for aemif
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.
39 struct aemif_platform_data {
40 struct of_dev_auxdata *dev_lookup;
42 struct aemif_abus_data *abus_data;
44 struct platform_device *sub_devices;
45 size_t num_sub_devices;
48 #endif /* __TI_DAVINCI_AEMIF_DATA_H__ */