Skip to content

Commit a4ac1f5

Browse files
vinodkoulsre
authored andcommitted
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>
1 parent 457b42f commit a4ac1f5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Documentation/devicetree/bindings/power/reset/qcom,pon.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ and resin along with the Android reboot-mode.
66
This DT node has pwrkey and resin as sub nodes.
77

88
Required Properties:
9-
-compatible: "qcom,pm8916-pon"
9+
-compatible: Must be one of:
10+
"qcom,pm8916-pon"
11+
"qcom,pms405-pon"
12+
1013
-reg: Specifies the physical address of the pon register
1114

1215
Optional subnode:

drivers/power/reset/qcom-pon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ static int pm8916_pon_probe(struct platform_device *pdev)
7474

7575
static const struct of_device_id pm8916_pon_id_table[] = {
7676
{ .compatible = "qcom,pm8916-pon" },
77+
{ .compatible = "qcom,pms405-pon" },
7778
{ }
7879
};
7980
MODULE_DEVICE_TABLE(of, pm8916_pon_id_table);

0 commit comments

Comments
 (0)