[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160218155300.GA20378@localhost.localdomain>
Date: Thu, 18 Feb 2016 07:53:02 -0800
From: Eduardo Valentin <edubezval@...il.com>
To: Sascha Hauer <s.hauer@...gutronix.de>
Cc: linux-pm@...r.kernel.org, Zhang Rui <rui.zhang@...el.com>,
linux-kernel@...r.kernel.org, kernel@...gutronix.de,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
Matthias Brugger <matthias.bgg@...il.com>
Subject: Re: [PATCH v12] Add Mediatek thermal support
On Mon, Nov 30, 2015 at 12:42:30PM +0100, Sascha Hauer wrote:
> This series adds support for the thermal sensors included in the
> MT8173 SoC. Currently only basic temperature reading is supported
> without any interrupt support.
>
Merged v12.
>
> fan: gpio_fan {
> compatible = "gpio-fan";
> gpios = <&pio 24 0>;
> gpio-fan,speed-map = <0 0
> 4500 1>;
> #cooling-cells = <2>;
> };
>
> thermal-zones {
> cpu_thermal: cpu_thermal {
> polling-delay-passive = <1000>; /* milliseconds */
> polling-delay = <1000>; /* milliseconds */
>
> thermal-sensors = <&thermal>;
>
> trips {
> cpu_passive: cpu_passive {
> temperature = <47000>; /* millicelsius */
> hysteresis = <2000>; /* millicelsius */
> type = "passive";
> };
>
> cpu_crit {
> temperature = <90000>; /* millicelsius */
> hysteresis = <2000>; /* millicelsius */
> type = "critical";
> };
> };
>
> cooling-maps {
> map0 {
> trip = <&cpu_passive>;
> cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> };
> };
> };
> };
But, as usual, the dt changes go via your machine tree.
You may add my
Acked-by: Eduardo Valentin <edubezval@...il.com>
in your DT patch.
>
Powered by blists - more mailing lists