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
34 lines
893 B
C
34 lines
893 B
C
#ifndef __OMAP_DSP_H__
|
|
#define __OMAP_DSP_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct omap_dsp_platform_data {
|
|
void (*dsp_set_min_opp) (u8 opp_id);
|
|
u8 (*dsp_get_opp) (void);
|
|
void (*cpu_set_freq) (unsigned long f);
|
|
unsigned long (*cpu_get_freq) (void);
|
|
unsigned long mpu_speed[6];
|
|
|
|
/* functions to write and read PRCM registers */
|
|
void (*dsp_prm_write)(u32, s16 , u16);
|
|
u32 (*dsp_prm_read)(s16 , u16);
|
|
u32 (*dsp_prm_rmw_bits)(u32, u32, s16, s16);
|
|
void (*dsp_cm_write)(u32, s16 , u16);
|
|
u32 (*dsp_cm_read)(s16 , u16);
|
|
u32 (*dsp_cm_rmw_bits)(u32, u32, s16, s16);
|
|
|
|
void (*set_bootaddr)(u32);
|
|
void (*set_bootmode)(u8);
|
|
|
|
phys_addr_t phys_mempool_base;
|
|
phys_addr_t phys_mempool_size;
|
|
};
|
|
|
|
#if defined(CONFIG_TIDSPBRIDGE) || defined(CONFIG_TIDSPBRIDGE_MODULE)
|
|
extern void omap_dsp_reserve_sdram_memblock(void);
|
|
#else
|
|
static inline void omap_dsp_reserve_sdram_memblock(void) { }
|
|
#endif
|
|
|
|
#endif
|