Thread (8 messages) 8 messages, 3 authors, 2014-09-24

Re: [PATCH RESEND] thermal: Add QPNP PMIC temperature alarm driver

From: Ivan T. Ivanov <hidden>
Date: 2014-09-16 07:53:33
Also in: linux-arm-msm, linux-devicetree, lkml

On Mon, 2014-09-15 at 19:02 +0300, Georgi Djakov wrote:

<snip>
quoted
+Example:
+
+	thermal-alarm@2400 {
+		compatible = "qcom,qpnp-temp-alarm";
+		reg = <0x2400>;
+		interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
+		label = "pm8941_tz";
+		io-channels = <&pm8941_vadc VADC_DIE_TEMP>;
+		io-channel-names = "thermal";
+	};
Maybe describe the trip points in the DT?
I am not sure. Trip points are not arbitrary selectable. Hardware
have 4 predefined operating modes, if I could say.

0 = {105 C, 125 C, 145 C}
1 = {110 C, 130 C, 150 C}
2 = {115 C, 135 C, 155 C}
3 = {120 C, 140 C, 160 C}

Everything which driver could select is one of 0...3.

Rest of the comments will be fixed in next version.

Thanks,
Ivan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help