All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Amit Daniel Kachhap <amit.kachhap@linaro.org>,
	"linux-samsung-soc@vger.kernel.org"
	<linux-samsung-soc@vger.kernel.org>,
	"linaro-dev@lists.linaro.org" <linaro-dev@lists.linaro.org>,
	"patches@linaro.org" <patches@linaro.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-pm@lists.linux-foundation.org"
	<linux-pm@lists.linux-foundation.org>
Subject: Re: [lm-sensors] [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory
Date: Sat, 3 Mar 2012 10:04:02 -0800	[thread overview]
Message-ID: <20120303180402.GA30062@ericsson.com> (raw)
In-Reply-To: <20120303164410.GB1495@sirena.org.uk>

On Sat, Mar 03, 2012 at 11:44:10AM -0500, Mark Brown wrote:
> On Sat, Mar 03, 2012 at 04:36:05PM +0530, Amit Daniel Kachhap wrote:
> > This movement is needed because the hwmon entries and corresponding
> > sysfs interface is a duplicate of utilities already provided by
> > driver/thermal/thermal_sys.c. The goal is to place it in mfd folder
> > and add necessary calls to get the temperature information.
> 
> > --- a/Documentation/hwmon/exynos4_tmu
> > +++ /dev/null
> 
> Moving this seems to be a failure, the device is exposing a hwmon
> interface even if you've moved the code to mfd (though it doesn't
> actually look like a multi-function device at all as far as I can see -
> usually a MFD would have a bunch of unrelated functionality while this
> has one function used by two subsystems).
> 
> If anything it looks like the ADC driver ought to be moved into IIO with
> either generic or Exynos specific function drivers layered on top of it
> in hwmon and thermal making use of the values that are read.
> 
I would agree. Or maybe move it all to thermal, since thermal devices register
the hwmon subsystem.

Guenter

WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Amit Daniel Kachhap <amit.kachhap@linaro.org>,
	"linux-samsung-soc@vger.kernel.org"
	<linux-samsung-soc@vger.kernel.org>,
	"linaro-dev@lists.linaro.org" <linaro-dev@lists.linaro.org>,
	"patches@linaro.org" <patches@linaro.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-pm@lists.linux-foundation.org"
	<linux-pm@lists.linux-foundation.org>
Subject: Re: [lm-sensors] [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd dir
Date: Sat, 03 Mar 2012 18:04:02 +0000	[thread overview]
Message-ID: <20120303180402.GA30062@ericsson.com> (raw)
In-Reply-To: <20120303164410.GB1495@sirena.org.uk>

On Sat, Mar 03, 2012 at 11:44:10AM -0500, Mark Brown wrote:
> On Sat, Mar 03, 2012 at 04:36:05PM +0530, Amit Daniel Kachhap wrote:
> > This movement is needed because the hwmon entries and corresponding
> > sysfs interface is a duplicate of utilities already provided by
> > driver/thermal/thermal_sys.c. The goal is to place it in mfd folder
> > and add necessary calls to get the temperature information.
> 
> > --- a/Documentation/hwmon/exynos4_tmu
> > +++ /dev/null
> 
> Moving this seems to be a failure, the device is exposing a hwmon
> interface even if you've moved the code to mfd (though it doesn't
> actually look like a multi-function device at all as far as I can see -
> usually a MFD would have a bunch of unrelated functionality while this
> has one function used by two subsystems).
> 
> If anything it looks like the ADC driver ought to be moved into IIO with
> either generic or Exynos specific function drivers layered on top of it
> in hwmon and thermal making use of the values that are read.
> 
I would agree. Or maybe move it all to thermal, since thermal devices register
the hwmon subsystem.

Guenter

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

  reply	other threads:[~2012-03-03 18:04 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 11:06 [PATCH 0/4] thermal: exynos: Add kernel thermal support for exynos platform Amit Daniel Kachhap
2012-03-03 11:18 ` [lm-sensors] " Amit Daniel Kachhap
2012-03-03 11:06 ` Amit Daniel Kachhap
2012-03-03 11:06 ` [PATCH 1/4] thermal: exynos: Add thermal interface support for linux thermal layer Amit Daniel Kachhap
2012-03-03 11:18   ` [lm-sensors] " Amit Daniel Kachhap
2012-03-03 11:06   ` Amit Daniel Kachhap
2012-03-12 10:51   ` R, Durgadoss
2012-03-12 10:51     ` [lm-sensors] " R, Durgadoss
2012-03-13  4:22     ` Amit Kachhap
2012-03-13  4:34       ` [lm-sensors] " Amit Kachhap
2012-03-13  4:22       ` Amit Kachhap
2012-03-13  4:48       ` R, Durgadoss
2012-03-13  4:48         ` R, Durgadoss
2012-03-13  4:48         ` [lm-sensors] " R, Durgadoss
2012-03-03 11:06 ` [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory Amit Daniel Kachhap
2012-03-03 11:18   ` [lm-sensors] " Amit Daniel Kachhap
2012-03-03 11:06   ` Amit Daniel Kachhap
2012-03-03 12:21   ` Sylwester Nawrocki
2012-03-03 12:21     ` [lm-sensors] " Sylwester Nawrocki
2012-03-05  8:44     ` Amit Kachhap
2012-03-05  8:56       ` [lm-sensors] " Amit Kachhap
2012-03-03 14:52   ` Guenter Roeck
2012-03-03 14:52     ` Guenter Roeck
2012-03-03 16:44   ` Mark Brown
2012-03-03 16:44     ` [linux-pm] " Mark Brown
2012-03-03 16:44     ` [lm-sensors] [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd dir Mark Brown
2012-03-03 18:04     ` Guenter Roeck [this message]
2012-03-03 18:04       ` Guenter Roeck
2012-03-05  9:11       ` [lm-sensors] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory Amit Kachhap
2012-03-05  9:23         ` [lm-sensors] [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd dir Amit Kachhap
2012-03-05  9:11         ` [lm-sensors] [linux-pm] [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory Amit Kachhap
2012-03-03 11:06 ` [PATCH 3/4] thermal: exynos4: Register the tmu sensor with the thermal interface layer Amit Daniel Kachhap
2012-03-03 11:18   ` [lm-sensors] " Amit Daniel Kachhap
2012-03-03 11:06   ` Amit Daniel Kachhap
2012-03-03 14:55   ` [lm-sensors] " Guenter Roeck
2012-03-03 14:55     ` [lm-sensors] [PATCH 3/4] thermal: exynos4: Register the tmu sensor with the thermal interface la Guenter Roeck
2012-03-03 11:06 ` [PATCH 4/4] ARM: exynos4: Add thermal sensor driver platform device support Amit Daniel Kachhap
2012-03-03 11:18   ` [lm-sensors] " Amit Daniel Kachhap
2012-03-03 11:06   ` Amit Daniel Kachhap

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=20120303180402.GA30062@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=amit.kachhap@linaro.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=patches@linaro.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.