public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Samuel Ortiz <sameo@linux.intel.com>
Cc: Keerthy <j-keerthy@ti.com>,
	"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
	"khali@linux-fr.org" <khali@linux-fr.org>,
	"mikko.k.ylinen@nokia.com" <mikko.k.ylinen@nokia.com>,
	"amit.kucheria@canonical.com" <amit.kucheria@canonical.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 2/2 v2] hwmon: twl4030: Hwmon Driver for TWL4030 MADC
Date: Sun, 27 Feb 2011 19:41:08 -0800	[thread overview]
Message-ID: <20110228034108.GA2584@ericsson.com> (raw)
In-Reply-To: <20110228010306.GE2749@sortiz-mobl>

On Sun, Feb 27, 2011 at 08:03:07PM -0500, Samuel Ortiz wrote:
> Hi Keerthy,
> 
> On Thu, Feb 24, 2011 at 08:48:50PM +0530, Keerthy wrote:
> > This driver exposes the sysfs nodes of the TWL4030 MADC module.
> > All the voltage channel values are expressed in terms of mV. Channel 13
> > and channel 14 are reserved. There are channels which represent
> > temperature and current the output is represented by celcius
> > and mA respectively.
> It would make sense for me to carry both patches through the MFD tree, but
> I'd like to get Guenter's ACK before pushing it upstream.
> 
Main problem I have with the hwmon part is the sensor index value
and how it maps to adc channels. Specifically, channels 13 and 14 are
listed as reserved, yet index value 13 is used without further explanation
as bit map value passed on to twl4030_madc_conversion() to obtain the value
for channel 15. Either this is wrong, or it asks for a detailed explanation.
I didn't have time to track down which one it is. And even if it isn't wrong,
it doesn't seem to be the right thing to do since it adds a lot of confusion.

Guenter

  reply	other threads:[~2011-02-28  3:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 15:18 [PATCH 2/2 v2] hwmon: twl4030: Hwmon Driver for TWL4030 MADC Keerthy
2011-02-28  1:03 ` Samuel Ortiz
2011-02-28  3:41   ` Guenter Roeck [this message]
2011-02-28  3:49     ` J, KEERTHY

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=20110228034108.GA2584@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=amit.kucheria@canonical.com \
    --cc=j-keerthy@ti.com \
    --cc=khali@linux-fr.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=mikko.k.ylinen@nokia.com \
    --cc=sameo@linux.intel.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