u-boot/drivers/power/pmic
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
..
act8846.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
as3722.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
as3722_gpio.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
bd71837.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
da9063.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fan53555.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
i2c_pmic_emul.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig power: pmic: Add SPL Kconfig entry for PFUZE100 2020-06-08 10:42:50 +02:00
lp873x.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lp87565.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile power: pmic: add driver for Dialog DA9063 PMIC 2020-01-27 19:54:20 -05:00
max8997.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
max8998.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
max77686.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mc34708.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
muic_max8997.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
palmas.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pca9450.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pfuze100.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pm8916.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmic_hi6553.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
pmic_ltc3676.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_max8997.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmic_max8998.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_max77696.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_mc34vr500.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_pca9450.c power: Add new PMIC PCA9450 driver 2020-01-08 13:20:08 +01:00
pmic_pfuze100.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_pfuze3000.c power: pmic: Let PFUZE3000 see all 256 registers 2018-06-27 09:47:46 +02:00
pmic_tps62362.c power: make most tps drivers and the twl4030 driver compatible with DM_I2C 2018-12-10 06:17:30 +01:00
pmic_tps65217.c power: make most tps drivers and the twl4030 driver compatible with DM_I2C 2018-12-10 06:17:30 +01:00
pmic_tps65218.c power: make most tps drivers and the twl4030 driver compatible with DM_I2C 2018-12-10 06:17:30 +01:00
pmic_tps65910.c power: make most tps drivers and the twl4030 driver compatible with DM_I2C 2018-12-10 06:17:30 +01:00
pmic_tps65910_dm.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rk8xx.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
rn5t567.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s2mps11.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s5m8767.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
stpmic1.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
tps65090.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tps65941.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00