lkml.org 
[lkml]   [2023]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 2/3] remoteproc: k4: Split out functions common with M4 driver
From
Date
On Thu, 2023-03-09 at 12:04 -0600, Hari Nagalla wrote:
> On 3/2/23 11:14, Martyn Welch wrote:
> > + * @ti_sci_id: TI-SCI device identifier
> > + * @mbox: mailbox channel handle
> > + * @client: mailbox client to request the mailbox channel
> > + * @ipc_only: flag to indicate IPC-only mode
> > + */
> > +struct k3_rproc {
> > +       struct device *dev;
> > +       struct rproc *rproc;
> > +       struct k3_rproc_mem *mem;
> > +       int num_mems;
> > +       struct k3_rproc_mem *rmem;
> > +       int num_rmems;
> > +       struct reset_control *reset;
> > +       const struct k3_rproc_dev_data *data;
> > +       struct ti_sci_proc *tsp;
> > +       const struct ti_sci_handle *ti_sci;
> > +       u32 ti_sci_id;
> > +       struct mbox_chan *mbox;
> > +       struct mbox_client client;
> > +};
> > +
> "ipc_only" mode element is missing in the structure.

That's added with the M4F driver in the next patch - it's not part of
the structure in the DSP driver.
\
 
 \ /
  Last update: 2023-03-27 00:53    [W:0.062 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site