mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 09:05:03 +07:00
2203747c97
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the omap include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Cc: Kevin Hilman <khilman@ti.com> Cc: "Benoît Cousson" <b-cousson@ti.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Ohad Ben-Cohen <ohad@wizery.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Omar Ramirez Luna <omar.ramirez@ti.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com> Cc: Liam Girdwood <lrg@ti.com> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Cc: Jean Pihet <j-pihet@ti.com> Cc: J Keerthy <j-keerthy@ti.com> Cc: linux-omap@vger.kernel.org
24 lines
392 B
C
24 lines
392 B
C
#ifndef _OMAP2_MCSPI_H
|
|
#define _OMAP2_MCSPI_H
|
|
|
|
#define OMAP2_MCSPI_REV 0
|
|
#define OMAP3_MCSPI_REV 1
|
|
#define OMAP4_MCSPI_REV 2
|
|
|
|
#define OMAP4_MCSPI_REG_OFFSET 0x100
|
|
|
|
struct omap2_mcspi_platform_config {
|
|
unsigned short num_cs;
|
|
unsigned int regs_offset;
|
|
};
|
|
|
|
struct omap2_mcspi_dev_attr {
|
|
unsigned short num_chipselect;
|
|
};
|
|
|
|
struct omap2_mcspi_device_config {
|
|
unsigned turbo_mode:1;
|
|
};
|
|
|
|
#endif
|