From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: Re: [PATCH 1/2] ARM: dts: add XOADC and IIO HWMON to MSM8660/APQ8060 Date: Wed, 1 Feb 2017 10:31:05 -0800 Message-ID: <20170201183105.GI10531@minitux> References: <20170131102114.25085-1-linus.walleij@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pg0-f41.google.com ([74.125.83.41]:33679 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752835AbdBASbJ (ORCPT ); Wed, 1 Feb 2017 13:31:09 -0500 Received: by mail-pg0-f41.google.com with SMTP id 204so111246771pge.0 for ; Wed, 01 Feb 2017 10:31:09 -0800 (PST) Content-Disposition: inline In-Reply-To: <20170131102114.25085-1-linus.walleij@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Andy Gross , Stephen Boyd , David Brown On Tue 31 Jan 02:21 PST 2017, Linus Walleij wrote: > This adds the PM8058 XOADC node to the PM8058 PMIC node, > defines the 16 channels and further also define an IIO HWMON > node for the channels that are used for housekeeping of > voltages and die temperature for the PMIC chip die. > > Tested on the APQ8060 DragonBoard: > cd /sys/class/hwmon/hwmon0 > cat in2_input > 4773 (DC mains ~5V) > cat in4_input > 625 (0.625V reference voltage) > cat in5_input > 1250 (1.25V reference voltage) > cat temp1_input > 35852 (die temperature) > > Signed-off-by: Linus Walleij Acked-by: Bjorn Andersson Regards, Bjorn From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjorn.andersson@linaro.org (Bjorn Andersson) Date: Wed, 1 Feb 2017 10:31:05 -0800 Subject: [PATCH 1/2] ARM: dts: add XOADC and IIO HWMON to MSM8660/APQ8060 In-Reply-To: <20170131102114.25085-1-linus.walleij@linaro.org> References: <20170131102114.25085-1-linus.walleij@linaro.org> Message-ID: <20170201183105.GI10531@minitux> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue 31 Jan 02:21 PST 2017, Linus Walleij wrote: > This adds the PM8058 XOADC node to the PM8058 PMIC node, > defines the 16 channels and further also define an IIO HWMON > node for the channels that are used for housekeeping of > voltages and die temperature for the PMIC chip die. > > Tested on the APQ8060 DragonBoard: > cd /sys/class/hwmon/hwmon0 > cat in2_input > 4773 (DC mains ~5V) > cat in4_input > 625 (0.625V reference voltage) > cat in5_input > 1250 (1.25V reference voltage) > cat temp1_input > 35852 (die temperature) > > Signed-off-by: Linus Walleij Acked-by: Bjorn Andersson Regards, Bjorn