Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae18847c authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

qcom: spmi-wled: Add compatible string for pm640l



Add compatible string "qcom,pm640l-spmi-wled" to select
pm640l configuration. Also, add the missing compatible
string for pm855l.

Change-Id: I7550337ed363924c38c5f70c3d02ceef09b4ec79
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 5a68fc45
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -7,7 +7,10 @@ platforms. The PMIC is connected to the host processor via SPMI bus.
- compatible
	Usage:      required
	Value type: <string>
	Definition: should be "qcom,pmi8998-spmi-wled".
	Definition: should be one of the below.
			"qcom,pmi8998-spmi-wled",
			"qcom,pm855l-spmi-wled",
			"qcom,pm640l-spmi-wled"

- reg
	Usage:      required
+1 −0
Original line number Diff line number Diff line
@@ -1514,6 +1514,7 @@ static int wled_probe(struct platform_device *pdev)
static const struct of_device_id wled_match_table[] = {
	{ .compatible = "qcom,pmi8998-spmi-wled", .data = &version_table[0] },
	{ .compatible = "qcom,pm855l-spmi-wled", .data = &version_table[2] },
	{ .compatible = "qcom,pm640l-spmi-wled", .data = &version_table[2] },
	{ },
};