aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2018-09-19 21:50:44 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-09-20 05:40:00 -0400
commita4ac1f5ced58b0782252d5a8b2dfe28a1d7a5e19 (patch)
treececbfcae7cad021d14d3b99547719741d2bb6a38
parent457b42f0aa1c397745ada6083bf81b9479ab19fe (diff)
power: reset: qcom-pon: Add pms405 pon support
Update the binding and driver for pms405 pon. Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r--Documentation/devicetree/bindings/power/reset/qcom,pon.txt5
-rw-r--r--drivers/power/reset/qcom-pon.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
index 651491bb63b7..5705f575862d 100644
--- a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
+++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
@@ -6,7 +6,10 @@ and resin along with the Android reboot-mode.
6This DT node has pwrkey and resin as sub nodes. 6This DT node has pwrkey and resin as sub nodes.
7 7
8Required Properties: 8Required Properties:
9-compatible: "qcom,pm8916-pon" 9-compatible: Must be one of:
10 "qcom,pm8916-pon"
11 "qcom,pms405-pon"
12
10-reg: Specifies the physical address of the pon register 13-reg: Specifies the physical address of the pon register
11 14
12Optional subnode: 15Optional subnode:
diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c
index 0c4caaa7e88f..3fa1642d4c54 100644
--- a/drivers/power/reset/qcom-pon.c
+++ b/drivers/power/reset/qcom-pon.c
@@ -74,6 +74,7 @@ static int pm8916_pon_probe(struct platform_device *pdev)
74 74
75static const struct of_device_id pm8916_pon_id_table[] = { 75static const struct of_device_id pm8916_pon_id_table[] = {
76 { .compatible = "qcom,pm8916-pon" }, 76 { .compatible = "qcom,pm8916-pon" },
77 { .compatible = "qcom,pms405-pon" },
77 { } 78 { }
78}; 79};
79MODULE_DEVICE_TABLE(of, pm8916_pon_id_table); 80MODULE_DEVICE_TABLE(of, pm8916_pon_id_table);