dt-bindings: thermal: make cooling-maps property optional
authorYuantian Tang <andy.tang@nxp.com>
Mon, 9 Mar 2020 04:54:11 +0000 (12:54 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 20 Mar 2020 11:17:48 +0000 (12:17 +0100)
commitfd96a316d2647c7566a41987c8ba32c7d55cfdf1
treeccbbd7f273826da5cd1dfcbde4933267724a41cf
parent01c354e2ec1059def2234f2aa393e07520dd9aee
dt-bindings: thermal: make cooling-maps property optional

Cooling-maps doesn't have to be a required property because there may
be no cooling device on system, or there are no enough cooling devices for
each thermal zone in multiple thermal zone cases since cooling devices
can't be shared.
So make this property optional to remove such limitations.

For thermal zones with no cooling-maps, there could be critic trips
that can trigger CPU reset or shutdown. So they still can take actions.

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200309045411.21859-1-andy.tang@nxp.com
Documentation/devicetree/bindings/thermal/thermal.txt