]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
power: pmic: palmas: support TI TPS65913 PMIC
authorSvyatoslav Ryhel <clamor95@gmail.com>
Fri, 27 Oct 2023 08:26:08 +0000 (11:26 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 3 Nov 2023 16:37:15 +0000 (12:37 -0400)
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.

Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/pmic/palmas.c

index eb83c88d5641c272be33ccbac3fed0368c6ccd14..b2e8a2930c166f1bf3f13d85307adc2efa175ef2 100644 (file)
@@ -88,6 +88,7 @@ static struct dm_pmic_ops palmas_ops = {
 
 static const struct udevice_id palmas_ids[] = {
        { .compatible = "ti,tps659038", .data = TPS659038 },
+       { .compatible = "ti,tps65913" , .data = TPS659038 },
        { .compatible = "ti,tps65917" , .data = TPS65917 },
        { }
 };