All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Ina219 with linux kernel driver
Date: Tue, 08 Apr 2014 16:00:55 +0000	[thread overview]
Message-ID: <20140408160055.GA14346@roeck-us.net> (raw)
In-Reply-To: <CAK=2HV2_fnfPcK41i2fnAsgR7BMruKq1XB846Tt87wgmBP=NXA@mail.gmail.com>

On Tue, Apr 08, 2014 at 05:57:03PM +0200, Pierre Kancir wrote:
> ok! thank you!
> 
Please don't top-post.

> Is there another way to use ina2xx driver without devicetree?
> 
You should be able to use it as-is and correct the reported values in
the sensors configuration file. Another option would be to provide
the shunt resistor value with platform data. Since that would mean
patching your kernel, it might be easier to back-port the missing patch.

Guenter

> 
>  *Kancir Pierre*
> pierre.kancir@gmail.com
> LinkedIn <http://www.linkedin.com/pub/pierre-kancir/4b/a1a/32a> |
> Viadeo<http://www.viadeo.com/fr/profile/pierre.kancir>
> 
> 
> 2014-04-08 17:08 GMT+02:00 Guenter Roeck <linux@roeck-us.net>:
> 
> > On Tue, Apr 08, 2014 at 04:13:00PM +0200, Pierre Kancir wrote:
> > > Hi,
> > >
> > > I am using beaglebone black default kernel, here is its informations :
> > > Linux arm 3.8.13-bone40 #1 SMP Fri Jan 31 10:36:05 UTC 2014 armv7l
> > > DISTRIB_ID=Ubuntu
> > > DISTRIB_RELEASE\x13.10
> > > DISTRIB_CODENAME=saucy
> > > DISTRIB_DESCRIPTION="Ubuntu 13.10"
> > >
> > Devicetree support was only added to the ina2xx driver with
> > kernel version 3.11. You would have to back-port commit 31e7ad7
> > into your kernel to get it.
> >
> > Guenter
> >

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

      parent reply	other threads:[~2014-04-08 16:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 13:29 [lm-sensors] Ina219 with linux kernel driver Pierre Kancir
2014-04-08 13:50 ` Guenter Roeck
2014-04-08 14:13 ` Pierre Kancir
2014-04-08 15:08 ` Guenter Roeck
2014-04-08 15:57 ` Pierre Kancir
2014-04-08 16:00 ` Guenter Roeck [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=20140408160055.GA14346@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.