Skip to content
  • Mikael's avatar
    Add resource table entry for address translation · 9d0ea8bc
    Mikael authored
    
    
    To avoid having to use a hardcoded memory map to translate between the
    Linux physical addresses to device addresses in the firmware, a new
    entry type has been added to the resource table that allows the NPU
    remoteproc driver to provide the memory map to the firmware.
    
    With this change, the device tree layout has been changed to wrap the
    ethosu-rproc node with an ethosu parent node that represents the NPU
    subsystem. This makes it possible to use the APIs provided by the Linux
    kernel to perform address translation etc.
    
    The "ethosu,dma-ranges" property has been removed from ethosu-proc
    because the ethosu parent node provides information for how to translate
    between the Linux Kernel physical addresses and device addresses with a
    "dma-ranges" property.
    
    Change-Id: I48719ee808a5e9391c5a3e967042d26dd92d5026
    Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
    9d0ea8bc
Loading