From: bjorn.andersson@linaro.org (Bjorn Andersson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: add XOADC and IIO HWMON to MSM8660/APQ8060
Date: Wed, 1 Feb 2017 10:31:05 -0800 [thread overview]
Message-ID: <20170201183105.GI10531@minitux> (raw)
In-Reply-To: <20170131102114.25085-1-linus.walleij@linaro.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 <linus.walleij@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
prev parent reply other threads:[~2017-02-01 18:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 10:21 [PATCH 1/2] ARM: dts: add XOADC and IIO HWMON to MSM8660/APQ8060 Linus Walleij
2017-01-31 10:21 ` [PATCH 2/2] ARM: dts: Qualcomm APQ8060 DragonBoard ALS sensor Linus Walleij
2017-02-01 18:36 ` Bjorn Andersson
2017-02-03 13:05 ` Linus Walleij
2017-02-09 1:42 ` Bjorn Andersson
2017-02-21 15:44 ` Linus Walleij
2017-02-01 18:31 ` Bjorn Andersson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170201183105.GI10531@minitux \
--to=bjorn.andersson@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).