Commit a4ac1f5c authored by Vinod Koul's avatar Vinod Koul Committed by Sebastian Reichel
Browse files

power: reset: qcom-pon: Add pms405 pon support



Update the binding and driver for pms405 pon.

Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 457b42f0
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -6,7 +6,10 @@ and resin along with the Android reboot-mode.
This DT node has pwrkey and resin as sub nodes.
This DT node has pwrkey and resin as sub nodes.


Required Properties:
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
-reg: Specifies the physical address of the pon register


Optional subnode:
Optional subnode:
+1 −0
Original line number Original line Diff line number Diff line
@@ -74,6 +74,7 @@ static int pm8916_pon_probe(struct platform_device *pdev)


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