u-boot/drivers/power
Walter Lozano addf358bac core: add support for U_BOOT_DRIVER_ALIAS
Currently when using OF_PLATDATA the binding between devices and drivers
is done trying to match the compatible string in the node with a driver
name. However, usually a single driver supports multiple compatible strings
which causes that only devices which its compatible string matches a
driver name get bound.

To overcome this issue, this patch adds the U_BOOT_DRIVER_ALIAS macro,
which generates no code at all, but allows an easy way to declare driver
name aliases. Thanks to this, dtoc could be improve to look for the driver
name based on its alias when it populates the U_BOOT_DEVICE entry.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-09 18:57:22 -06:00
..
acpi_pmc common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
battery common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
domain common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fuel_gauge common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mfd common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmic core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
regulator drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
axp152.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
axp209.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
axp221.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
axp809.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
axp818.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
exynos-tmu.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ftpmu010.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig poweroff: add poweroff for mt6323 pmic 2020-01-10 10:25:13 -05:00
Makefile poweroff: add poweroff for mt6323 pmic 2020-01-10 10:25:13 -05:00
mt6323.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
palmas.c power: make most tps drivers and the twl4030 driver compatible with DM_I2C 2018-12-10 06:17:30 +01:00
power_core.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_dialog.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_fsl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
power_i2c.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_spi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sy8106a.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tps6586x.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
twl4030.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
twl6030.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00