u-boot/drivers/spmi
Stephen Warren 6e06acb732 fdt: allow fdtdec_get_addr_size_*() to translate addresses
Some code may want to read reg values from DT, but from nodes that aren't
associated with DM devices, so using dev_get_addr_index() isn't
appropriate. In this case, fdtdec_get_addr_size_*() are the functions to
use. However, "translation" (via the chain of ranges properties in parent
nodes) may still be desirable. Add a function parameter to request that,
and implement it. Update all call sites to default to the original
behaviour.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Squashed in build fix from Stephen:
Signed-off-by: Simon Glass <sjg@chromium.org>
2016-08-12 09:20:27 -06:00
..
Kconfig drivers: spmi: Add support for Qualcomm SPMI bus driver 2016-04-01 17:18:12 -04:00
Makefile drivers: spmi: Add support for Qualcomm SPMI bus driver 2016-04-01 17:18:12 -04:00
spmi-msm.c fdt: allow fdtdec_get_addr_size_*() to translate addresses 2016-08-12 09:20:27 -06:00
spmi-sandbox.c spmi: Fix sandbox spmi driver memory corruption 2016-04-11 20:48:22 -04:00
spmi-uclass.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00