Linux Remote Processor Subsystem development
 help / color / mirror / Atom feed
* [RFC] Passing device-tree to remoteproc?
@ 2024-01-23 13:32 Yann Sionneau
  2024-01-30 10:20 ` Yann Sionneau
  0 siblings, 1 reply; 5+ messages in thread
From: Yann Sionneau @ 2024-01-23 13:32 UTC (permalink / raw)
  To: linux-remoteproc
  Cc: Bjorn Andersson, Mathieu Poirier, Julian Vetter, Jonathan Borne,
	Arnaud POULIQUEN, Julien Hascoet, Damien Hedde, Titouan Huard

Hello,

How interesting to upstream Linux would it be to have a way for Linux 
kernel or user space to pass a device tree blob to remote processor when 
starting a remote proc FW?

For instance we could imagine something like this:

1/ user space does echo -n firmware.elf > 
/sys/class/remoteproc/remoteprocXXX/firmware

2/ user space does echo -n my_dt.dtb > 
/sys/class/remoteproc/remoteprocXXX/dtb

3/ user space does echo start > /sys/class/remoteproc/remoteprocXXX/state

We could also imagine that the kernel could load its own device tree 
into memory and puts the address to this memory zone in a resource of 
the resource table if some resource type is found.

But I think the user space based approach is more flexible as you could 
potentially specify a different DTB from the kernel itself.

What do you think?

Regards,

-- 

Yann






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-19 16:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 13:32 [RFC] Passing device-tree to remoteproc? Yann Sionneau
2024-01-30 10:20 ` Yann Sionneau
2024-02-02  9:14   ` Arnaud POULIQUEN
2024-02-05 21:05     ` Mathieu Poirier
2024-02-19 16:17       ` Yann Sionneau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox