]> git.baikalelectronics.ru Git - uboot.git/commitdiff
pmic: pca9450: Add upstream regulators subnode match
authorMarek Vasut <marex@denx.de>
Fri, 20 May 2022 03:10:16 +0000 (05:10 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 10:36:48 +0000 (12:36 +0200)
The upstream DT regulators node subnodes are named BUCKn and LDOn,
the downstream DT regulators node subnodes are named buckn and ldon,
add the upstream match.

Reviewed-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
drivers/power/pmic/pca9450.c

index 2394b196c562221dfc6c8dd92a37a406cf5ba8a2..26c876c9c45a00ed64e0c023c374e5fdf45ed913 100644 (file)
@@ -19,8 +19,10 @@ DECLARE_GLOBAL_DATA_PTR;
 static const struct pmic_child_info pmic_children_info[] = {
        /* buck */
        { .prefix = "b", .driver = PCA9450_REGULATOR_DRIVER},
+       { .prefix = "B", .driver = PCA9450_REGULATOR_DRIVER},
        /* ldo */
        { .prefix = "l", .driver = PCA9450_REGULATOR_DRIVER},
+       { .prefix = "L", .driver = PCA9450_REGULATOR_DRIVER},
        { },
 };