Skip to content

Commit

Permalink
power: reset: qcom-pon: Add pms405 pon support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinod Koul authored and Sebastian Reichel committed Sep 20, 2018
1 parent 457b42f commit a4ac1f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/devicetree/bindings/power/reset/qcom,pon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ and resin along with the Android reboot-mode.
This DT node has pwrkey and resin as sub nodes.

Required Properties:
-compatible: "qcom,pm8916-pon"
-compatible: Must be one of:
"qcom,pm8916-pon"
"qcom,pms405-pon"

-reg: Specifies the physical address of the pon register

Optional subnode:
Expand Down
1 change: 1 addition & 0 deletions drivers/power/reset/qcom-pon.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ static int pm8916_pon_probe(struct platform_device *pdev)

static const struct of_device_id pm8916_pon_id_table[] = {
{ .compatible = "qcom,pm8916-pon" },
{ .compatible = "qcom,pms405-pon" },
{ }
};
MODULE_DEVICE_TABLE(of, pm8916_pon_id_table);
Expand Down

0 comments on commit a4ac1f5

Please sign in to comment.