From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946758AbcBRPxL (ORCPT ); Thu, 18 Feb 2016 10:53:11 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:32769 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946732AbcBRPxH (ORCPT ); Thu, 18 Feb 2016 10:53:07 -0500 Date: Thu, 18 Feb 2016 07:53:02 -0800 From: Eduardo Valentin To: Sascha Hauer Cc: linux-pm@vger.kernel.org, Zhang Rui , linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger Subject: Re: [PATCH v12] Add Mediatek thermal support Message-ID: <20160218155300.GA20378@localhost.localdomain> References: <1448883753-19068-1-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448883753-19068-1-git-send-email-s.hauer@pengutronix.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 in your DT patch. >