Re: Question regarding AMD Xilinx dt changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/3/25 10:06 AM, Mathieu Poirier wrote:
Good morning,

On Sat, 1 Mar 2025 at 01:49, Felix Kuhlmann <felix-kuhlmann@xxxxxx> wrote:

Hello everybody,

I have a question about the AMD Xilinx remoteproc driver.
In the past, the remoteproc driver for Xilinx products weren't part of
mainline. To use them, Xilinx required users to use their own fork,
linux-xlnx.

This tree contained the driver necessary for using remoteproc with the
R5 cores on the Zynq-family of devices. I have managed to configure the
device tree of my ZynqMP board so that the driver functions correctly.

This is where the problem lies: I have recently updated the kernel
version to 6.14, using mainline since Xilinx now follows a
"mainline-only" approach. There, I have discovered that the interfaces
inside the driver that get information from the device-tree have changed
significantly. So much in fact, that I have to rewrite the remoteproc
section of my device-tree.


That is expected.


Thanks Mathieu.

Yes New driver was re-designed. The device-tree interface is much more stable and designed in a way that removes some hard-codings from the driver. From mailine perspective nothing new there, because related bindings were never available in mainline kernel. SO if update is happening from vendor-kernel to mainline kernel, this is expected one-time. From now on, this interface will be stable for upcoming platforms as well.

However, there is no updated documentation provided by Xilinx, and with
their most recent documentation, it works on linux-xlnx 5.15, but not on
6.14 with the driver in its current form.



Next releases will contain this new driver in future releases and with that new documentation will be provided. So far only downstream driver was used in BSP release and so documentation was provided accordingly.

Thanks,
Tanmay

The driver itself is fairly simple and aligned with the other
remoteproc drivers.  Even without documentation, it should be
relatively easy to see what is expected from the DT.  The bindings [1]
are up to date and should also provide some guidance.

Mathieu

[1]. https://elixir.bootlin.com/linux/v6.13.5/source/Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml

Asking in the AMD help forum rarely yields any usable answer, that's why
wanted to ask you if there is any information present that I have
overlooked thus far.

Looking at the entry under the "Documentation" folder also hasn't
provided me with a satisfying answer, since the driver stopped at random
parts during initialization.

Thank you in advance and kind regards,

Felix






[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux