u-boot/doc/driver-model
Simon Glass b0dcc87106 dm: core: Read parent ofdata before children
At present a device can read its ofdata before its parent has done the
same. This can cause problems in the case where the parent has a 'ranges'
property, thus affecting the operation of dev_read_addr(), for example.

We already probe parent devices before children so it does not seem to be
a large step to do the same with ofdata.

Make the change and update the documentation in this area.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Ley Foon Tan <ley.foon.tan@intel.com>
2020-04-16 08:07:58 -06:00
..
debugging.rst doc: dm: debugging: Fix the steps for activating debug 2020-02-05 19:33:46 -07:00
design.rst dm: core: Read parent ofdata before children 2020-04-16 08:07:58 -06:00
ethernet.rst doc: net: Rewrite network driver documentation 2020-03-09 18:11:24 -05:00
fdt-fixup.rst
fs_firmware_loader.rst doc: driver-model: Convert fs_firmware_loader.txt to reST 2019-07-24 10:07:24 -04:00
i2c-howto.rst doc: driver-model: Convert i2c-howto.txt to reST 2019-07-24 10:07:24 -04:00
index.rst doc: net: Rewrite network driver documentation 2020-03-09 18:11:24 -05:00
livetree.rst doc: driver-model: Convert livetree.txt to reST 2019-07-24 10:07:24 -04:00
migration.rst dm: MIGRATION: Add migration plan for CONFIG_DM 2019-09-19 12:54:30 -04:00
of-plat.rst dm: doc: Add a note about of-platdata and header files 2019-12-15 11:44:22 +08:00
pci-info.rst sandbox: Update PCI nodes in dts files 2020-04-16 08:07:57 -06:00
pmic-framework.rst doc: driver-model: Convert pmic-framework.txt to reST 2019-07-24 10:07:24 -04:00
remoteproc-framework.rst doc: driver-model: Convert remoteproc-framework.txt to reST 2019-07-24 10:07:24 -04:00
serial-howto.rst doc: driver-model: Convert serial-howto.txt to reST 2019-07-24 10:07:24 -04:00
spi-howto.rst dm: spi: Change cs_info op to return -EINVAL for invalid cs num 2019-10-25 00:48:31 +05:30
usb-info.rst doc: driver-model: Convert usb-info.txt to reST 2019-07-24 10:07:24 -04:00