浏览代码

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>
Vinod Koul 6 年之前
父节点
当前提交
a4ac1f5ced
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 4 1
      Documentation/devicetree/bindings/power/reset/qcom,pon.txt
  2. 1 0
      drivers/power/reset/qcom-pon.c

+ 4 - 1
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:

+ 1 - 0
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);