blob: 7e3a16097672b67d2f48cc25784d0c2cf4d2441b [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-only */
* Remote Processor - omap-specific bits
* Copyright (C) 2011 Texas Instruments, Inc.
* Copyright (C) 2011 Google, Inc.
struct rproc_ops;
struct platform_device;
* struct omap_rproc_pdata - omap remoteproc's platform data
* @name: the remoteproc's name
* @oh_name: omap hwmod device
* @oh_name_opt: optional, secondary omap hwmod device
* @firmware: name of firmware file to load
* @mbox_name: name of omap mailbox device to use with this rproc
* @ops: start/stop rproc handlers
* @device_enable: omap-specific handler for enabling a device
* @device_shutdown: omap-specific handler for shutting down a device
* @set_bootaddr: omap-specific handler for setting the rproc boot address
struct omap_rproc_pdata {
const char *name;
const char *oh_name;
const char *oh_name_opt;
const char *firmware;
const char *mbox_name;
const struct rproc_ops *ops;
int (*device_enable)(struct platform_device *pdev);
int (*device_shutdown)(struct platform_device *pdev);
void (*set_bootaddr)(u32);
void __init omap_rproc_reserve_cma(void);
static inline void __init omap_rproc_reserve_cma(void)
#endif /* _PLAT_REMOTEPROC_H */