mfd: lp87565: Add support for 4-phase LP87561 combination
authorKeerthy <j-keerthy@ti.com>
Wed, 15 May 2019 10:08:47 +0000 (15:38 +0530)
committerLee Jones <lee.jones@linaro.org>
Mon, 17 Jun 2019 07:00:24 +0000 (08:00 +0100)
Add support for 4-phase LP87561 combination.

Data Sheet: https://www.ti.com/lit/ds/symlink/lp87561-q1.pdf

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lp87565.c
include/linux/mfd/lp87565.h

index 32d2a07d435494c17416c08111ab52daf74cd158..8ad688fe75f90a19d8378542c9058ad5403ba333 100644 (file)
@@ -33,6 +33,10 @@ static const struct of_device_id of_lp87565_match_table[] = {
                .compatible = "ti,lp87565-q1",
                .data = (void *)LP87565_DEVICE_TYPE_LP87565_Q1,
        },
+       {
+               .compatible = "ti,lp87561-q1",
+               .data = (void *)LP87565_DEVICE_TYPE_LP87561_Q1,
+       },
        {}
 };
 MODULE_DEVICE_TABLE(of, of_lp87565_match_table);
index d0c91ba655255b37808c62ef47116bf020c867c3..976447607ea2cc4279513c4cd7f1d69aaa831231 100644 (file)
@@ -17,6 +17,7 @@
 
 enum lp87565_device_type {
        LP87565_DEVICE_TYPE_UNKNOWN     = 0,
+       LP87565_DEVICE_TYPE_LP87561_Q1,
        LP87565_DEVICE_TYPE_LP87565_Q1,
 };
 
@@ -249,6 +250,7 @@ enum LP87565_regulator_id {
        LP87565_BUCK_3,
        LP87565_BUCK_10,
        LP87565_BUCK_23,
+       LP87565_BUCK_3210,
 };
 
 /**