u-boot-brain/arch/sandbox
Simon Glass fefac0b064 dm: acpi: Enhance acpi_get_name()
For many device types it is possible to figure out the name just by
looking at its uclass or parent. Add a function to handle this, since it
allows us to cover the vast majority of cases automatically.

However it is sometimes impossible to figure out an ACPI name for a device
just by looking at its uclass. For example a touch device may have a
vendor-specific name. Add a new "acpi,name" property to allow a custom
name to be created.

With this new feature we can drop the get_name() methods in the sandbox
I2C and SPI drivers. They were only added for testing purposes. Update the
tests to use the new values.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-07-17 14:32:24 +08:00
..
cpu sandbox: Move section u_boot_list to make it RW 2020-07-09 22:00:29 -06:00
dts dm: acpi: Enhance acpi_get_name() 2020-07-17 14:32:24 +08:00
include/asm sandbox: make RAM size configurable 2020-07-09 18:57:22 -06:00
lib common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
config.mk sandbox: sdl: Move to use SDL2 2020-02-05 19:33:46 -07:00
Kconfig sandbox: make RAM size configurable 2020-07-09 18:57:22 -06:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00