linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	mtitinger@baylibre.com, Kevin Hilman <khilman@baylibre.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Guenter Roeck <linux@roeck-us.net>,
	narmstrong@baylibre.com
Subject: ina226 as IIO device instead of HWMON
Date: Fri, 9 Aug 2019 12:37:57 +0200	[thread overview]
Message-ID: <24e73088-94f5-c231-37a4-90f1f63f0587@xilinx.com> (raw)

Hi,

we are dealing with one issue with ina226 on xilinx platform when hwmon
driver is used. We have board for battery monitoring with shunt resistor
setup to 10 Ohm which is out of config value in hwmon driver. I have
temporary code to workaround this but I have also found that ina226 is
supported via iio framework. I have seen that Baylibre was trying to add
generic iio support to sigrok.
http://wiki.baylibre.com/doku.php?id=acme:oldstart

I expect you wanted to use sigrok also for ina226.

Anyway my question is if there is any standard tool which is capable to
calculate and show information from iio ina226 chip which is can be used
instead of lm-sensors and hwmon driver.

I would expect that iio-hwmon could be also used but didn't try that yet
with ina226 chip.

Thanks,
Michal

             reply	other threads:[~2019-08-09 10:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 10:37 Michal Simek [this message]
2019-08-09 13:02 ` ina226 as IIO device instead of HWMON Guenter Roeck
2019-08-09 13:42   ` Michal Simek
2019-08-09 14:54     ` Guenter Roeck
2019-08-12 11:28       ` Michal Simek

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=24e73088-94f5-c231-37a4-90f1f63f0587@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=khilman@baylibre.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mtitinger@baylibre.com \
    --cc=narmstrong@baylibre.com \
    /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).