of: Read dma_offset from device tree
This reads the dma-ranges property from the device tree and sets dma_offset in the devices accordingly. The code is mostly taken from the Kernel as of v5.5-rc1. of_dma_configure() is trimmed down to the cases we want to support currently. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/of/address.c |
---|
drivers/of/platform.c |
---|
include/of_address.h |
---|