Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753351AbbBYSii (ORCPT ); Wed, 25 Feb 2015 13:38:38 -0500 Received: from down.free-electrons.com ([37.187.137.238]:37441 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752634AbbBYSig (ORCPT ); Wed, 25 Feb 2015 13:38:36 -0500 Message-ID: <54EE16A2.7020804@free-electrons.com> Date: Wed, 25 Feb 2015 19:38:26 +0100 From: Gregory CLEMENT User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Ezequiel Garcia , Tyler Hall CC: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Zhang Rui , Eduardo Valentin Subject: Re: [PATCH] thermal: armada: read stable temp on Armada XP References: <1423608615-6575-1-git-send-email-tylerwhall@gmail.com> <54EE009E.8070206@free-electrons.com> <54EE11C5.8000307@free-electrons.com> In-Reply-To: <54EE11C5.8000307@free-electrons.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1532 Lines: 49 Hi Ezequiel, On 25/02/2015 19:17, Ezequiel Garcia wrote: > On 02/25/2015 02:04 PM, Gregory CLEMENT wrote: >>> >>> My conclusions about these registers are based on experimental data. The >>> documentation is very sparse, but the Thermal Manager Control and Status >>> Register looks like the preferred register given the way it is laid out in the >>> public spec. >> >> Ezequiel, >> >> as you worked on this do you know why we used the Thermal Sensor Status Register >> instead of the Thermal Manager Control and Status Register ? >> My first guess is that the giving the name of the registers the 1st one made >> more sens to use for a thermal sensor. >> > > Actually, we based this driver in the vendor bootloader. The specs weren't > of much use back then. > Thanks for your prompt feedback. So we don't have much more information about the sensor. :( I will try to get information from Marvell. Tyler, In the meantime could you double check your values? The temperature on my board seemed broken on my board. If needed I can check on an other board. By the way on which board/product did you try it? Thanks, Gregory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/