mfd: lp87565: Add LP87524-Q1 variant
authorLuca Ceresoli <luca@lucaceresoli.net>
Wed, 2 Sep 2020 14:22:59 +0000 (16:22 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 30 Sep 2020 15:25:29 +0000 (16:25 +0100)
Add support for the LP87524B/J/P-Q1 Four 4-MHz Buck Converter. This is a
variant of the LP87565 having 4 single-phase outputs and up to 10 A of
total output current.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lp87565.c
include/linux/mfd/lp87565.h

index 2268be9113f1fd6be9910e769d33f9afac405915..9c21483d96535cedc48c73bc23d7e5289389b0e0 100644 (file)
@@ -26,6 +26,10 @@ static const struct mfd_cell lp87565_cells[] = {
 
 static const struct of_device_id of_lp87565_match_table[] = {
        { .compatible = "ti,lp87565", },
+       {
+               .compatible = "ti,lp87524-q1",
+               .data = (void *)LP87565_DEVICE_TYPE_LP87524_Q1,
+       },
        {
                .compatible = "ti,lp87565-q1",
                .data = (void *)LP87565_DEVICE_TYPE_LP87565_Q1,
index 43716aca46fa9818a1990ac45707d515f6b217d5..d44ddfb6bb63d615f943748381dca2f671efe2a6 100644 (file)
@@ -14,6 +14,7 @@
 
 enum lp87565_device_type {
        LP87565_DEVICE_TYPE_UNKNOWN     = 0,
+       LP87565_DEVICE_TYPE_LP87524_Q1,
        LP87565_DEVICE_TYPE_LP87561_Q1,
        LP87565_DEVICE_TYPE_LP87565_Q1,
 };