u-boot/test/dm
Masahiro Yamada 40b6f2d020 devres: add debug command to dump device resources
This new command can dump all device resources associated to
each device.  The fields in every line shows:
  - The address of the resource
  - The size of the resource
  - The name of the release function
  - The stage in which the resource has been acquired (BIND/PROBE)

Currently, there is no driver using devres, but if such drivers are
implemented, the output of this command should look like this:

=> dm devres
- root_driver
- soc
- extbus
- serial@54006800
    bfb541e8 (8 byte) devm_kmalloc_release  BIND
    bfb54440 (4 byte) devm_kmalloc_release  PROBE
    bfb54460 (4 byte) devm_kmalloc_release  PROBE
- serial@54006900
    bfb54270 (8 byte) devm_kmalloc_release  BIND
- gpio@55000000
- i2c@58780000
    bfb5bce8 (12 byte) devm_kmalloc_release  PROBE
    bfb5bd10 (4 byte) devm_kmalloc_release  PROBE
- eeprom
    bfb54418 (12 byte) devm_kmalloc_release  BIND

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-08-06 07:44:29 -06:00
..
bus.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
clk.c dm: test: Add tests for the clk uclass 2015-07-21 17:39:30 -06:00
cmd_dm.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
core.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
eth.c test: dm: eth: Handle failed test env cleanup 2015-05-21 09:16:17 -04:00
gpio.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
i2c.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
led.c dm: test: Add a test for the LED uclass 2015-07-21 17:39:32 -06:00
Makefile test: Add a test for regmap 2015-07-21 17:39:33 -06:00
mmc.c dm: test: Add a test for the mmc uclass 2015-07-21 17:39:32 -06:00
pci.c dm: pci: Allow PCI bus numbering aliases 2015-06-04 03:34:47 -06:00
pmic.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
ram.c dm: test: Add a test for the ram uclass 2015-07-21 17:39:32 -06:00
regmap.c test: Add a test for regmap 2015-07-21 17:39:33 -06:00
regulator.c dm: pmic: Split output from function 2015-07-21 17:39:26 -06:00
reset.c dm: test: Add a test for the reset uclass 2015-07-21 17:39:31 -06:00
rtc.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
sf.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
spi.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
syscon.c dm: test: Add a test for the system controller uclass 2015-07-21 17:39:33 -06:00
test-dm.sh test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
test-driver.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-fdt.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-main.c dm: test: Allow test names to leave out the dm_test_ prefix 2015-07-21 17:39:30 -06:00
test-uclass.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
usb.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00