]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
power: reset: qcom-pon: Add pms405 pon support
authorVinod Koul <vkoul@kernel.org>
Thu, 20 Sep 2018 01:50:44 +0000 (18:50 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 20 Sep 2018 09:40:00 +0000 (11:40 +0200)
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>
Documentation/devicetree/bindings/power/reset/qcom,pon.txt
drivers/power/reset/qcom-pon.c

index 651491bb63b728814ea4923c7a5b371a3e4a5ef1..5705f575862df71254d7fa92861bbd757f2c5204 100644 (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:
index 0c4caaa7e88f67eea0fac12b0efe6cb75486d987..3fa1642d4c543480086018c0d1938f27cba6616d 100644 (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);