power: reset: qcom-pon: Add pms405 pon support
PATCH 1/1 power: reset: qcom-pon: Add pms405 pon support
From: Vinod Koul <[email protected]>
Update the binding and driver for pms405 pon.
Signed-off-by Vinod Koul <[email protected]>
Signed-off-by Bjorn Andersson <[email protected]>
--- Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 5 ++++- drivers/power/reset/qcom-pon.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/power/reset/qcom,pon.txt +4 -1
@@ -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:
drivers/power/reset/qcom-pon.c +1 -0
@@ -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);
Signature · 1 line
2.18.0
Hi,
Quoted 7 lines · Bjorn Andersson
From: Vinod Koul <[email protected]>
Update the binding and driver for pms405 pon.
Signed-off-by Vinod Koul <[email protected]>Signed-off-by Bjorn Andersson <[email protected]>---
Thanks, queued.
-- Sebastian
Quoted 35 lines
Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 5 ++++- drivers/power/reset/qcom-pon.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/power/reset/qcom,pon.txt +4
-1@@ -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:drivers/power/reset/qcom-pon.c +1
-0@@ -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);Signature · 1 line
2.18.0