Skip to content

Commit

Permalink
mfd: lp87565: Add support for 4-phase LP87561 combination
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Keerthy authored and Lee Jones committed Jun 17, 2019
1 parent c88dd60 commit 013e868
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/mfd/lp87565.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions include/linux/mfd/lp87565.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

enum lp87565_device_type {
LP87565_DEVICE_TYPE_UNKNOWN = 0,
LP87565_DEVICE_TYPE_LP87561_Q1,
LP87565_DEVICE_TYPE_LP87565_Q1,
};

Expand Down Expand Up @@ -249,6 +250,7 @@ enum LP87565_regulator_id {
LP87565_BUCK_3,
LP87565_BUCK_10,
LP87565_BUCK_23,
LP87565_BUCK_3210,
};

/**
Expand Down

0 comments on commit 013e868

Please sign in to comment.