power: pmic: tps65941: Add compatible for LP876441
authorGowtham Tammana <g-tammana@ti.com>
Wed, 14 Jul 2021 20:52:56 +0000 (15:52 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 Jul 2021 12:26:04 +0000 (17:56 +0530)
TI J7200 EVM has lp876441 pmic that is similar to tps65941. Add support
for same with existing driver with new compatible.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Link: https://lore.kernel.org/r/20210714205300.17424-2-g-tammana@ti.com
drivers/power/pmic/tps65941.c
include/power/tps65941.h

index 3dfc191..114ef4d 100644 (file)
@@ -72,6 +72,7 @@ static struct dm_pmic_ops tps65941_ops = {
 static const struct udevice_id tps65941_ids[] = {
        { .compatible = "ti,tps659411", .data = TPS659411 },
        { .compatible = "ti,tps659413", .data = TPS659413 },
+       { .compatible = "ti,lp876441",  .data =  LP876441 },
        { }
 };
 
index 2d48b31..a2bc681 100644 (file)
@@ -2,6 +2,7 @@
 #define TPS659412              0x1
 #define TPS659413              0x2
 #define TPS659414              0x3
+#define  LP876441              0x4
 
 /* I2C device address for pmic tps65941 */
 #define TPS65941_I2C_ADDR      (0x12 >> 1)