From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCHv5 5/5] ARM: dts: Enable thermal_zone for exynos5422-odroidxu3 Date: Wed, 13 May 2015 19:05:41 +0900 Message-ID: References: <1431499020-3912-1-git-send-email-linux.amoon@gmail.com> <1431499020-3912-6-git-send-email-linux.amoon@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-samsung-soc-owner@vger.kernel.org To: Anand Moon Cc: Krzysztof Kozlowski , Lukasz Majewski , Guenter Roeck , Markus Reichl , Eduardo Valentin , Sjoerd Simons , Russell King , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" List-Id: devicetree@vger.kernel.org 2015-05-13 17:39 GMT+09:00 Anand Moon : > On 13 May 2015 at 13:10, Krzysztof Kozlowski wrote: >> 2015-05-13 15:37 GMT+09:00 Anand Moon : >>> Include exynos5-cpu-thermal.dtsi to enable thermal_zone support. >> >> I am a little confused because you named this file as >> exynos5-cpu-thermal, meaning it is common for all Exynos5 boards. Bu= t: >> 1. It references some specific phandles like &fan0 (cooling-device =3D >> <&fan0 2 3>). >> 2. You include it only here. >> >> So the question: is "exynos5-cpu-thermal.dtsi" a generic thermal DTS= I? >> What is your intention? >> >> Lukasz, you acked the patchset, is it fine? >> >> Best regards, >> Krzysztof > > Hi Krysxtof, > > This file almost similar to below patch > > https://patchwork.kernel.org/patch/5693321/ It is similar but it has major difference: it references external (to the file) phandle: fan0. > I had to create this new file as I was not able to register > #thermal-sensors to tmu_cpu0. > > + thermal-zones { > + cpu0_thermal: cpu0-thermal { > + thermal-sensors =3D <&tmu_cpu0 0>; > + polling-delay-passive =3D <0>; > + polling-delay =3D <0>; > > Earlier the DTS sensor's were not getting registers to the tmu_cpu0 s= ensors. > > I am not aware If this file will be common to Exynos5 series. > I could not include any common dts file as I would through me > compilation error hence .dtsi extension, So this looks exynos5420-odroidxu3 specific. =C5=81ukasz, does this design looks good to you? You acked this but: 1. I cannot find your ack for patch 3/5. 2. I have doubts. :) Best regards, Krzysztof