u-boot-brain/arch/sandbox/dts
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
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
cros-ec-keyboard.dtsi cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_pmic.dtsi dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
sandbox.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
sandbox.dtsi sandbox: Update PCI nodes in dts files 2020-04-16 08:07:57 -06:00
sandbox64.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
test.dts dm: acpi: Enhance acpi_get_name() 2020-07-17 14:32:24 +08:00