of: Introduce of_translate_dma_region()
authorThierry Reding <treding@nvidia.com>
Fri, 20 Jan 2023 17:42:48 +0000 (18:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 25 Jan 2023 10:48:27 +0000 (11:48 +0100)
commite251c21372c07694f547afe3c9828f7f6ef01267
tree2796ba3a2d1109af85300a86c54b7065ad9fc000
parentbb649412d39f18eb2a8b7956209a068a08f4bc1e
of: Introduce of_translate_dma_region()

This function is similar to of_translate_dma_address() but also reads a
length in addition to an address from a device tree property.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20230120174251.4004100-2-thierry.reding@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/of/address.c
include/linux/of_address.h