u-boot/include/dm
Fabien Dessenne 641067fb0c dm: core: Introduce xxx_translate_dma_address()
Add the following functions to translate DMA address to CPU address:
- dev_translate_dma_address()
- ofnode_translate_dma_address()
- of_translate_dma_address()
- fdt_translate_dma_address()
These functions work the same way as xxx_translate_address(), with the
difference that the translation relies on the "dma-ranges" property
instead of the "ranges" property.

Add related test. Test report:
=> ut dm fdt_translation
Test: dm_test_fdt_translation: test-fdt.c
Test: dm_test_fdt_translation: test-fdt.c (flat tree)
Failures: 0

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
2019-07-22 09:21:28 +02:00
..
platform_data drivers: spi: cf_spi: convert to driver model 2019-05-24 08:11:57 -04:00
device-internal.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
device.h dm: core: Add a few more specific child-finding functions 2018-11-29 09:30:05 -07:00
fdtaddr.h dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
lists.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
of.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.h dm: core: Add of_alias_get_highest_id() 2019-02-08 06:24:57 +01:00
of_addr.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
pinctrl.h dm: pinctrl: Add driver-strength-microamp property 2019-06-12 11:50:02 +02:00
platdata.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
root.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
test.h test: dm: core: Add test case for uclass driver's child_post_probe() 2018-11-14 09:16:27 -08:00
uclass-id.h net: introduce MDIO DM class for MDIO devices 2019-07-15 13:32:25 -05:00
uclass-internal.h dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL 2018-12-10 06:05:32 +01:00
uclass.h dm: uclass: Add uclass_foreach_dev_probe 2018-11-16 16:51:55 -05:00
util.h dm: doc: add documentation for pre-reloc properties in SPL and TPL 2019-07-10 16:52:58 -06:00