* [PATCH] power: reset: qcom-pon: Add pms405 pon support
@ 2018-09-20 1:50 Bjorn Andersson
2018-09-20 9:42 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Andersson @ 2018-09-20 1:50 UTC (permalink / raw)
To: Sebastian Reichel, Rob Herring, Mark Rutland
Cc: linux-pm, devicetree, linux-kernel, linux-arm-msm
From: Vinod Koul <vkoul@kernel.org>
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>
---
Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 5 ++++-
drivers/power/reset/qcom-pon.c | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
index 651491bb63b7..5705f575862d 100644
--- a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
+++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
@@ -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:
diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c
index 0c4caaa7e88f..3fa1642d4c54 100644
--- a/drivers/power/reset/qcom-pon.c
+++ b/drivers/power/reset/qcom-pon.c
@@ -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);
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: reset: qcom-pon: Add pms405 pon support
2018-09-20 1:50 [PATCH] power: reset: qcom-pon: Add pms405 pon support Bjorn Andersson
@ 2018-09-20 9:42 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2018-09-20 9:42 UTC (permalink / raw)
To: Bjorn Andersson
Cc: Rob Herring, Mark Rutland, linux-pm, devicetree, linux-kernel,
linux-arm-msm
[-- Attachment #1: Type: text/plain, Size: 1713 bytes --]
Hi,
On Wed, Sep 19, 2018 at 06:50:44PM -0700, Bjorn Andersson wrote:
> From: Vinod Koul <vkoul@kernel.org>
>
> 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>
> ---
Thanks, queued.
-- Sebastian
> Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 5 ++++-
> drivers/power/reset/qcom-pon.c | 1 +
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
> index 651491bb63b7..5705f575862d 100644
> --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
> +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt
> @@ -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:
> diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c
> index 0c4caaa7e88f..3fa1642d4c54 100644
> --- a/drivers/power/reset/qcom-pon.c
> +++ b/drivers/power/reset/qcom-pon.c
> @@ -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);
> --
> 2.18.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-20 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-20 1:50 [PATCH] power: reset: qcom-pon: Add pms405 pon support Bjorn Andersson
2018-09-20 9:42 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).