diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-12-12 04:36:42 -0500 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-01-02 07:47:18 -0500 |
commit | 1bc7523817215f94d8597f4daccb17a394a5703a (patch) | |
tree | a205ef8f008e789f7a344c9d76c6dcdfd80c99ef /Documentation | |
parent | ad3e72030bff0cbd4409074374a2a0f37ca1e20d (diff) |
dt-bindings: ap806: document the thermal interrupt capabilities
The thermal IP can produce interrupts on overheat situation.
Describe them.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt b/Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt index 3fd21bb7cb37..7b8b8eb0191f 100644 --- a/Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt +++ b/Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt | |||
@@ -114,12 +114,17 @@ Documentation/devicetree/bindings/thermal/thermal.txt | |||
114 | The thermal IP can probe the temperature all around the processor. It | 114 | The thermal IP can probe the temperature all around the processor. It |
115 | may feature several channels, each of them wired to one sensor. | 115 | may feature several channels, each of them wired to one sensor. |
116 | 116 | ||
117 | It is possible to setup an overheat interrupt by giving at least one | ||
118 | critical point to any subnode of the thermal-zone node. | ||
119 | |||
117 | Required properties: | 120 | Required properties: |
118 | - compatible: must be one of: | 121 | - compatible: must be one of: |
119 | * marvell,armada-ap806-thermal | 122 | * marvell,armada-ap806-thermal |
120 | - reg: register range associated with the thermal functions. | 123 | - reg: register range associated with the thermal functions. |
121 | 124 | ||
122 | Optional properties: | 125 | Optional properties: |
126 | - interrupts: overheat interrupt handle. Should point to line 18 of the | ||
127 | SEI irqchip. See interrupt-controller/interrupts.txt | ||
123 | - #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer | 128 | - #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer |
124 | to this IP and represents the channel ID. There is one sensor per | 129 | to this IP and represents the channel ID. There is one sensor per |
125 | channel. O refers to the thermal IP internal channel, while positive | 130 | channel. O refers to the thermal IP internal channel, while positive |
@@ -133,6 +138,8 @@ ap_syscon1: system-controller@6f8000 { | |||
133 | ap_thermal: thermal-sensor@80 { | 138 | ap_thermal: thermal-sensor@80 { |
134 | compatible = "marvell,armada-ap806-thermal"; | 139 | compatible = "marvell,armada-ap806-thermal"; |
135 | reg = <0x80 0x10>; | 140 | reg = <0x80 0x10>; |
141 | interrupt-parent = <&sei>; | ||
142 | interrupts = <18>; | ||
136 | #thermal-sensor-cells = <1>; | 143 | #thermal-sensor-cells = <1>; |
137 | }; | 144 | }; |
138 | }; | 145 | }; |