Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3097ec71 authored by Sarangdhar Joshi's avatar Sarangdhar Joshi
Browse files

ARM: dts: msm: add reg names dt property for watchdog



Add reg-names property in device tree and modify driver to honor this
property. This is in preparation for using a register to disable watchdog
for one of the clusters on 8994 target.

Change-Id: Ic2d379daa34b9773f263d3ca685bab31a9b001f7
Signed-off-by: default avatarSarangdhar Joshi <spjoshi@codeaurora.org>
parent 0c694e68
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@ Required properties:

- compatible : "qcom,msm-watchdog"
- reg : offset and length of the register set for the watchdog block.
- reg-names : names corresponding to each reg property value.
	"wdt-base" - physical base address of watchdog timer registers
- interrupts : should contain bark and bite irq numbers
- qcom,pet-time : Non zero time interval at which watchdog should be pet in ms.
- qcom,bark-time : Non zero timeout value for a watchdog bark in ms.
@@ -29,6 +31,7 @@ Example:
	qcom,wdt@f9017000 {
		compatible = "qcom,msm-watchdog";
		reg = <0xf9017000 0x1000>;
		reg-names = "wdt-base";
		interrupts = <0 3 0>, <0 4 0>;
		qcom,bark-time = <11000>;
		qcom,pet-time = <10000>;
+1 −0
Original line number Diff line number Diff line
@@ -3128,6 +3128,7 @@
	qcom,wdt@f9017000 {
		compatible = "qcom,msm-watchdog";
		reg = <0xf9017000 0x1000>;
		reg-names = "wdt-base";
		interrupts = <0 3 0>, <0 4 0>;
		qcom,bark-time = <11000>;
		qcom,pet-time = <10000>;
+1 −0
Original line number Diff line number Diff line
@@ -465,6 +465,7 @@
	qcom,wdt@f9017000 {
		compatible = "qcom,msm-watchdog";
		reg = <0xf9017000 0x1000>;
		reg-names = "wdt-base";
		interrupts = <0 3 0>, <0 4 0>;
		qcom,bark-time = <11000>;
		qcom,pet-time = <10000>;
+1 −0
Original line number Diff line number Diff line
@@ -397,6 +397,7 @@
	qcom,wdt@f9017000 {
		compatible = "qcom,msm-watchdog";
		reg = <0xf9017000 0x1000>;
		reg-names = "wdt-base";
		interrupts = <1 2 0>, <1 1 0>;
		qcom,bark-time = <11000>;
		qcom,pet-time = <10000>;
+1 −0
Original line number Diff line number Diff line
@@ -707,6 +707,7 @@
	qcom,wdt@f9017000 {
		compatible = "qcom,msm-watchdog";
		reg = <0xf9017000 0x1000>;
		reg-names = "wdt-base";
		interrupts = <0 3 0>, <0 4 0>;
		qcom,bark-time = <11000>;
		qcom,pet-time = <10000>;
Loading