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>
This commit is contained in:
Vinod Koul 2018-09-19 18:50:44 -07:00 committed by Sebastian Reichel
parent 457b42f0aa
commit a4ac1f5ced
2 changed files with 5 additions and 1 deletions

View File

@ -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:

View File

@ -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);