mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 21:24:29 +00:00
addf358bac
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> |
||
---|---|---|
.. | ||
acpi_pmc | ||
battery | ||
domain | ||
fuel_gauge | ||
mfd | ||
pmic | ||
regulator | ||
axp152.c | ||
axp209.c | ||
axp221.c | ||
axp809.c | ||
axp818.c | ||
exynos-tmu.c | ||
ftpmu010.c | ||
Kconfig | ||
Makefile | ||
mt6323.c | ||
palmas.c | ||
power_core.c | ||
power_dialog.c | ||
power_fsl.c | ||
power_i2c.c | ||
power_spi.c | ||
sy8106a.c | ||
tps6586x.c | ||
twl4030.c | ||
twl6030.c |