On Fri, Jul 19, 2013 at 12:48:39PM -0600, Stephen Warren wrote:
> On 07/18/2013 03:21 PM, Guenter Roeck wrote:
> > On Thu, Jul 18, 2013 at 11:18:05AM -0600, Stephen Warren wrote:
> >> On 07/18/2013 07:53 AM, Eduardo Valentin wrote:
> >>> Hello Guenter,
> >&
On Fri, Jul 19, 2013 at 02:56:19PM -0400, Eduardo Valentin wrote:
> On 19-07-2013 14:45, Stephen Warren wrote:
> > On 07/19/2013 07:38 AM, Eduardo Valentin wrote:
> >> On 18-07-2013 17:11, Guenter Roeck wrote:
> >>> On Thu, Jul 18, 2013 at 09:53:05AM -0400
On Fri, Jul 19, 2013 at 05:40:05PM +0200, Wolfram Sang wrote:
> On Mon, Jul 15, 2013 at 11:07:36PM +0200, Linus Walleij wrote:
> > On Mon, Jul 15, 2013 at 4:29 PM, Jonathan Corbet wrote:
> >
> > > Do we need a kernel summit discussion, or do we just need a good
> > > document? Or, to phrase the
On Thu, Jul 18, 2013 at 11:18:05AM -0600, Stephen Warren wrote:
> On 07/18/2013 07:53 AM, Eduardo Valentin wrote:
> > Hello Guenter,
> >
> > On 17-07-2013 18:09, Guenter Roeck wrote:
> >> On Wed, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin
> >> wrot
On Thu, Jul 18, 2013 at 09:53:05AM -0400, Eduardo Valentin wrote:
> Hello Guenter,
>
> On 17-07-2013 18:09, Guenter Roeck wrote:
> > On Wed, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin wrote:
> >> Hello all,
> >>
> >> As you noticed, I am
On Wed, Jul 17, 2013 at 11:17:28AM -0400, Eduardo Valentin wrote:
> This patch adds to tmp102 temperature sensor the possibility
> to expose itself as thermal zone device, registered on the
> thermal framework.
>
> The thermal zone is built only if a device tree node
> describing a thermal zone fo
upposed to be usable
across multiple operating systems. Your proposal is clearly operating system
and even subsystem specific. It does _not_ describe hardware.
NACK.
Guenter
> Cc: Jean Delvare
> Cc: Guenter Roeck
> Cc: lm-sens...@lm-sensors.org
> Cc: linux-ker...@vger.kerne
On Wed, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin wrote:
> Hello all,
>
> As you noticed, I am working in a way to represent thermal data
> using device tree [1]. Essentially, this should be a way to say
> what to do with a sensor and how to associate (cooling) actions
> with it.
>
Seems
On Mon, Jul 15, 2013 at 08:29:15AM -0600, Jonathan Corbet wrote:
> On Mon, 15 Jul 2013 10:36:22 +0200
> Linus Walleij wrote:
>
> > > Devicetree is supposed to describe the hardware, but in many cases there
> > > is
> > > an overlap between hardware description and configuration and/or use.
> >
On Sun, Jul 14, 2013 at 01:46:45AM +0200, Linus Walleij wrote:
> On Sat, Jul 13, 2013 at 10:49 PM, Guenter Roeck wrote:
> > On Sat, Jul 13, 2013 at 08:26:47PM +0100, Wolfram Sang wrote:
>
> >> I think the KS would be a good opportunity to present the status quo,
> >>
On Fri, Jun 28, 2013 at 05:24:43PM +0200, Lars-Peter Clausen wrote:
> On 06/28/2013 04:50 PM, Alexandre Belloni wrote:
> > On 28/06/2013 16:18, Lars-Peter Clausen wrote:
> >> On 06/27/2013 09:26 PM, Alexandre Belloni wrote:
> >>>
> >>> They are already registered as IIO_TEMP but only implement read
On Thu, Jun 27, 2013 at 11:17:32AM +0200, Maxime Ripard wrote:
> On Wed, Jun 26, 2013 at 07:39:27AM -0700, Guenter Roeck wrote:
> > On Wed, Jun 26, 2013 at 10:51:12AM +0200, Alexandre Belloni wrote:
> > > The low resolution ADC of the mxs is able to read an internal temper
On Wed, Jun 26, 2013 at 10:51:12AM +0200, Alexandre Belloni wrote:
> The low resolution ADC of the mxs is able to read an internal temperature
> sensor, expose that using hwmon.
>
> Signed-off-by: Alexandre Belloni
> ---
Wouldn't it make more sense to use iio-hwmon and improve it if necessary ?
On Sun, Jun 23, 2013 at 05:39:32PM +0200, Simon Guinot wrote:
> On Thu, Jun 20, 2013 at 10:21:04PM +0200, Arnaud Ebalard wrote:
> >
> > GMT G762/763 fan speed PWM controller is connected directly to a fan
> > and performs closed-loop or open-loop control of the fan speed. Two
> > modes - PWM or DC
On Thu, Jun 20, 2013 at 10:21:04PM +0200, Arnaud Ebalard wrote:
>
> GMT G762/763 fan speed PWM controller is connected directly to a fan
> and performs closed-loop or open-loop control of the fan speed. Two
> modes - PWM or DC - are supported by the chip. Introduced driver
> provides various knobs
On Thu, Jun 20, 2013 at 02:27:18AM +, Tang Yuantian-B29983 wrote:
>
>
> > -Original Message-
> > From: Guenter Roeck [mailto:li...@roeck-us.net]
> > Sent: 2013年6月19日 星期三 23:43
> > To: Tang Yuantian-B29983
> > Cc: kh...@linux-fr.org; lm-sens...@
On Wed, Jun 19, 2013 at 09:34:34PM +0200, Arnaud Ebalard wrote:
>
> GMT G762/763 fan speed PWM controller is connected directly to a fan
> and performs closed-loop or open-loop control of the fan speed. Two
> modes - PWM or DC - are supported by the chip. Introduced driver
> provides various knobs
On Wed, Jun 19, 2013 at 11:26:33PM +0200, Simon Guinot wrote:
> On Wed, Jun 19, 2013 at 01:53:21PM -0700, Guenter Roeck wrote:
> > On Wed, Jun 19, 2013 at 10:15:56PM +0200, Arnaud Ebalard wrote:
> > > Hi Simon,
> > >
> > > Simon Guinot writes:
> > >
On Wed, Jun 19, 2013 at 10:15:56PM +0200, Arnaud Ebalard wrote:
> Hi Simon,
>
> Simon Guinot writes:
>
> > I have tested this patch on my 2Big Network v2 board.
> >
> > Sometimes I get a weird "No such device" error while reading or writing
> > the hwmon sysfs attributes. For example:
> >
> > #
On Wed, Jun 19, 2013 at 02:50:20PM +0800, yuantian.t...@freescale.com wrote:
> From: Tang Yuantian
>
> Adding another way that is device tree to pass the shunt resistor
> value to driver except for platform data.
>
> Signed-off-by: Tang Yuantian
I noticed that of.h include was missing. No need
Warren
> Cc: Wim Van Sebroeck
> Cc: Guenter Roeck
> Cc: linux-rpi-ker...@lists.infradead.org
> Cc: linux-watch...@vger.kernel.org
> Cc: devicetree-discuss@lists.ozlabs.org
Reviewed-by: Guenter Roeck
> ---
> Changes for v2:
> - Use per-device structure instead of
On Sun, Jun 16, 2013 at 12:36:20AM +0200, Arnaud Ebalard wrote:
>
> GMT G762/763 fan speed PWM controller is connected directly to a fan
> and performs closed-loop or open-loop control of the fan speed. Two
> modes - PWM or DC - are supported by the chip. Introduced driver
> provides various knobs
On Sun, Jun 16, 2013 at 12:36:20AM +0200, Arnaud Ebalard wrote:
>
> GMT G762/763 fan speed PWM controller is connected directly to a fan
> and performs closed-loop or open-loop control of the fan speed. Two
> modes - PWM or DC - are supported by the chip. Introduced driver
> provides various knobs
On Sat, Jun 15, 2013 at 06:13:49PM +0200, Arnaud Ebalard wrote:
>
> GMT G762/763 fan speed PWM controller is connected directly to a fan
> and performs closed-loop or open-loop control of the fan speed. Two
> modes - PWM or DC - are supported by the chip. Introduced driver
> provides various knobs
On Tue, Jun 04, 2013 at 11:23:07PM +0200, Simon Guinot wrote:
> On Tue, Jun 04, 2013 at 08:52:12AM +0200, Arnaud Ebalard wrote:
> > Hi Simon,
> >
> > Simon Guinot writes:
> >
> > > On Sat, Jun 01, 2013 at 07:26:54PM +0200, Arnaud Ebalard wrote:
> > >> Hi Simon and Guenter,
> > >>
> > >> Simon G
On Tue, Jun 04, 2013 at 09:14:29AM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
> ---
> drivers/hwmon/Kconfig | 10 +
> drivers/hwmon/Makefile |1 +
> drivers/hwmon/g762.c |
>
> include/lin
On Tue, Jun 04, 2013 at 09:14:47AM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
Please merge the patches into one. I don't see the benefit of having three
patches as it is all part of one driver.
Thanks,
Guenter
> ---
> Documentation/hwmon/g762 | 62
>
On Sun, Jun 02, 2013 at 10:14:19PM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
> ---
> drivers/hwmon/Kconfig | 10 +
> drivers/hwmon/Makefile |1 +
> drivers/hwmon/g762.c | 1179
>
> include/lin
On Sun, Jun 02, 2013 at 10:14:05PM +0200, Arnaud Ebalard wrote:
> Hi,
>
> This series adds support for GMT G762/G763. This work is based on a
> basic version for 2.6.31 kernel developed Olivier Mouchet for LaCie
> NAS. Updates have been performed to run on recent kernels. Support has
> been comple
On Sun, Jun 02, 2013 at 05:45:58PM +0200, Arnaud Ebalard wrote:
> Hi,
>
> >> I haven't noticed this issue while testing your v1 patch series because
> >> at the time I was using a board with an U-Boot modified by LaCie. This
> >> last sets the set_cnt register to 0 while U-Boot mainline don't.
> >
On Tue, May 28, 2013 at 12:03:14AM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
> ---
> drivers/hwmon/Kconfig | 10 +
> drivers/hwmon/Makefile |1 +
> drivers/hwmon/g762.c | 1012
>
> include/lin
On Tue, May 28, 2013 at 03:47:49PM +0200, Thierry Reding wrote:
> On Tue, May 28, 2013 at 05:29:40AM -0700, Guenter Roeck wrote:
> > On Tue, May 28, 2013 at 01:19:23PM +0200, Thierry Reding wrote:
> > > On Tue, May 28, 2013 at 12:15:04PM +0200, Arnaud Ebalard wrot
On Tue, May 28, 2013 at 01:19:23PM +0200, Thierry Reding wrote:
> On Tue, May 28, 2013 at 12:15:04PM +0200, Arnaud Ebalard wrote:
> > Hi Arnd,
> >
> > Arnd Bergmann writes:
> >
> > > On Tuesday 28 May 2013 00:02:29 Arnaud Ebalard wrote:
> > >>
> > >> This series adds support for GMT G762/G763.
On Fri, May 03, 2013 at 08:30:03PM +0200, Dirk Eibach wrote:
>
>
> Am 03.05.2013 15:46, schrieb Guenter Roeck:
> >On Fri, May 03, 2013 at 10:33:13AM +0200, Dirk Eibach wrote:
> >>Hi Guenter,
> >>
> >>>>>>diff --git a/drivers/watchdog/Kc
On Fri, May 03, 2013 at 10:33:13AM +0200, Dirk Eibach wrote:
> Hi Guenter,
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index e89fc31..6048593 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -1172,6 +1172,38 @@ config BOOK
On Fri, May 03, 2013 at 10:33:13AM +0200, Dirk Eibach wrote:
> Hi Guenter,
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index e89fc31..6048593 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -1172,6 +1172,38 @@ config BOOK
Hi Dirk,
On Thu, May 02, 2013 at 09:11:19PM +0200, Dirk Eibach wrote:
> Hi Guenter,
>
> >>diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> >>index e89fc31..6048593 100644
> >>--- a/drivers/watchdog/Kconfig
> >>+++ b/drivers/watchdog/Kconfig
> >>@@ -1172,6 +1172,38 @@ config BOOK
On Sat, Apr 27, 2013 at 04:03:31PM +0200, Simon Guinot wrote:
> On Wed, Apr 24, 2013 at 12:05:56AM +0200, Arnaud Ebalard wrote:
> > + /*
> > +* Set default configuration values before passing the structure
> > +* to OF helpers to overload them using those provided by .dts
> > +* file
On Fri, Apr 26, 2013 at 04:33:53PM +0200, Linus Walleij wrote:
> From: Linus Walleij
>
> This adds support for probing the COH 901 327 watchdog from
> the device tree and also adds associated bindings.
>
> Cc: Wim Van Sebroeck
> Signed-off-by: Linus Walleij
Revie
On Wed, Apr 24, 2013 at 12:05:56AM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
> Tested-by: Arnaud Ebalard
Tested-by is not needed here; I sure hope you tested your own code.
It is only used if someone else tested it.
> ---
> drivers/hwmon/Kconfig | 10 +
> drivers/hwmon
On Wed, Apr 24, 2013 at 10:28:47PM +0200, Arnaud Ebalard wrote:
> Hi,
>
> Guenter Roeck writes:
>
> >> > You could consider using regmap for holding this cache.
> >> >
> >> > http://elceurope2012.sched.org/event/100619b669ce5767341624253aa0365
On Wed, Apr 24, 2013 at 12:06:08AM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
> ---
> Documentation/hwmon/g762 | 67
> ++
> 1 file changed, 67 insertions(+)
> create mode 100644 Documentation/hwmon/g762
>
> diff --git a/Documen
On Wed, Apr 24, 2013 at 11:06:57AM +0200, Arnaud Ebalard wrote:
> Hi Andrew,
>
> Andrew Lunn writes:
>
> >> +struct g762_data {
> >> + struct i2c_client *client;
> >> + struct device *hwmon_dev;
> >> +
> >> + /* update mutex */
> >> + struct mutex update_lock;
> >> +
> >> + /* board specifi
On Mon, Apr 22, 2013 at 11:55:05AM +0200, Linus Walleij wrote:
> From: Linus Walleij
>
> This adds support for probing the COH 901 327 watchdog from
> the device tree and also adds associated bindings.
>
> Cc: Wim Van Sebroeck
> Signed-off-by: Linus Walleij
> ---
> Hi Wim, I'm seeking an ACK o
On Fri, Apr 19, 2013 at 01:30:51PM +0200, Arnaud Ebalard wrote:
> Hi,
>
> Andrew Lunn writes:
>
> > Hi Arnaud
> >
> >> +static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
> >> +static DEVICE_ATTR(pwm1_polarity, S_IWUSR | S_IRUGO,
> >> + get_pwm_polarity, set_pwm_polarity)
On Fri, Apr 19, 2013 at 12:28:21AM +0200, Arnaud Ebalard wrote:
>
> Signed-off-by: Arnaud Ebalard
> Tested-by: Arnaud Ebalard
> ---
> drivers/hwmon/Kconfig | 10 +
> drivers/hwmon/Makefile |1 +
> drivers/hwmon/g762.c | 1159
>
> 3 file
On Tue, Apr 16, 2013 at 09:29:00AM -0700, Doug Anderson wrote:
> The i2c-arb-gpio-challenge driver implements an I2C arbitration scheme
> where masters need to claim the bus with a GPIO before they can start
> a transcation. This should generally only be used when standard I2C
I am having fun wit
On Tue, Apr 16, 2013 at 11:36:33AM +0200, Wolfram Sang wrote:
> Doug,
>
[ ... ]
>
> "callenge & response"?
>
> ...
>
> > diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
> > b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
> > new file mode 100644
> > index 000..bda020a
> > --- /dev/nul
On Wed, Apr 10, 2013 at 06:33:51AM -0700, Guenter Roeck wrote:
> On Wed, Apr 10, 2013 at 02:36:22PM +0200, Nicolas Ferre wrote:
> > Compiling the at91rm9200_wdt.c driver without at91rm9200
> > support was leading to several errors:
> >
> > drivers/built-in.o:
On Wed, Apr 10, 2013 at 02:36:22PM +0200, Nicolas Ferre wrote:
> Compiling the at91rm9200_wdt.c driver without at91rm9200
> support was leading to several errors:
>
> drivers/built-in.o: In function `at91_wdt_close':
> at91_adc.c:(.text+0xc9fe4): undefined reference to `at91_st_base'
> drivers/bui
On Mon, Apr 08, 2013 at 06:46:57PM +0200, Sebastian Hesselbarth wrote:
> This patch adds a common clock driver for Silicon Labs Si5351a/b/c
> i2c programmable clock generators. Currently, the driver does not
> support VXCO feature of si5351b. Passing platform_data or DT bindings
> selectively allow
On Mon, Apr 08, 2013 at 08:11:38AM +0200, Sebastian Hesselbarth wrote:
> On 04/08/2013 02:17 AM, Guenter Roeck wrote:
> >On Mon, Apr 08, 2013 at 01:49:24AM +0200, Sebastian Hesselbarth wrote:
> >>On 04/08/2013 12:50 AM, Guenter Roeck wrote:
> >>>On Fri, Apr 05, 2013
On Mon, Apr 08, 2013 at 01:49:24AM +0200, Sebastian Hesselbarth wrote:
> On 04/08/2013 12:50 AM, Guenter Roeck wrote:
> >On Fri, Apr 05, 2013 at 05:23:35AM -, Sebastian Hesselbarth wrote:
> >>This patch adds a common clock driver for Silicon Labs Si5351a/b/c
> >
On Fri, Apr 05, 2013 at 05:23:35AM -, Sebastian Hesselbarth wrote:
> This patch adds a common clock driver for Silicon Labs Si5351a/b/c
> i2c programmable clock generators. Currently, the driver supports
> DT kernels only and VXCO feature of si5351b is not implemented. DT
> bindings selectively
Since of_get_mac_address() is now declared even if CONFIG_OF_NET
is not configured, the ifdef is no longer necessary and can be
removed.
Signed-off-by: Guenter Roeck
---
drivers/net/ethernet/nxp/lpc_eth.c |2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/nxp/lpc_eth.c
OF dependent function as front-end. Also, the function depends
on OF_NET, not on OF, so the conditional code was not correct anyway.
Drop the front-end function and call of_get_phy_mode() directly.
Signed-off-by: Guenter Roeck
---
drivers/net/ethernet/freescale/fec.c | 19
-end functions and call of_get_mac_address() and
of_get_phy_mode() directly instead.
Signed-off-by: Guenter Roeck
---
drivers/net/ethernet/cadence/at91_ether.c | 44 -
1 file changed, 6 insertions(+), 38 deletions(-)
diff --git a/drivers/net/ethernet/cadence
unctions if OF_NET is not configured.
This is safe because all callers do check the return values.
Cc: David Daney
Signed-off-by: Guenter Roeck
Acked-by: Rob Herring
---
include/linux/of_net.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/include/linux/of_net.h b/include/lin
Provide empty functions for of_get_phy_mode() and of_get_mac_address()
if OF_NET is not configured. Modify affected drivers to rely on the
now available functions.
Guenter Roeck (5):
of_net.h: Provide dummy functions if OF_NET
-end functions and call of_get_mac_address() and
of_get_phy_mode() directly instead.
Signed-off-by: Guenter Roeck
---
drivers/net/ethernet/cadence/macb.c | 43 +--
1 file changed, 6 insertions(+), 37 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.c
On Mon, Apr 01, 2013 at 01:44:24PM -0500, Rob Herring wrote:
> On 04/01/2013 01:19 PM, Guenter Roeck wrote:
> > of_get_mac_address() and of_get_phy_mode() are only provided if OF_NET
> > is configured. While most callers check for the define, not all do, and
> > those
>
function declarations if OF_NET is not configured. This is safe
because all callers do check the return values. If desired, at least some of
the #ifdefs in the code can subsequently be removed.
Cc: David Daney
Signed-off-by: Guenter Roeck
---
include/linux/of_net.h | 10 ++
1 file change
On Fri, Mar 22, 2013 at 02:55:15PM +, Ian Lartey wrote:
> Add the Kconfig and Makefile for the Palmas watchdog driver
>
> Signed-off-by: Ian Lartey
> Signed-off-by: Graeme Gregory
> ---
I think this patch should be merged with the previous one.
Guenter
_
On Fri, Mar 22, 2013 at 02:55:14PM +, Ian Lartey wrote:
> From: Graeme Gregory
>
> Add support for the Palmas watchdog timer which has a timeout configurable
> from 1s to 128s.
>
> Signed-off-by: Graeme Gregory
> Signed-off-by: Ian Lartey
> ---
> drivers/watchdog/palmas_wdt.c | 169
> ++
as an iio device.
> >
> > During the probe ntc driver gets the respective channels of ADC
> > and uses iio_raw_read calls to get the ADC converted value.
> >
> > Signed-off-by: Naveen Krishna Chatradhi
> > ---
> > Changes since v3:
> > 1. Added a NULL
On Tue, Mar 12, 2013 at 09:52:26PM -0700, Guenter Roeck wrote:
> On Wed, Mar 13, 2013 at 09:38:20AM +0530, Naveen Krishna Chatradhi wrote:
> > This patch adds DT support to NTC driver to parse the
> > platform data.
> >
> > Also adds the support to work as an iio device
HOTPLUG_PCI
drivers/pci/hotplug/Kconfig:5: symbol HOTPLUG_PCI depends on SYSFS
So we can not just select IIO. I'll see if I can find a solution.
Guenter
> ---
> Changes since v3:
> 1. Added a NULL check before iio_channel_release
> 2. Modified a return statement
>
>
es iio_raw_read calls to get the ADC converted value.
>
> Signed-off-by: Naveen Krishna Chatradhi
> ---
> Changes since v3:
> 1. Added a NULL check before iio_channel_release
> 2. Modified a return statement
>
> Guenter Roeck, Its wonderful working with you. Thanks.
&g
d to
>null in case of non-DT
> 6. removed a typecase of (s64) which is not needed.
>
> Guenter Roeck, Thanks for your valuble time and comments. They really
> are helping me learn and do better on my future patches.
>
> Doug, Thanks for your support and testing these
On Tue, Mar 12, 2013 at 02:09:26PM +0530, Naveen Krishna Chatradhi wrote:
> This patch adds DT support to NTC driver to parse the
> platform data.
>
> Also adds the support to work as an iio device.
>
> During the probe ntc driver gets the respective channels of ADC
> and uses iio_raw_read calls
On Mon, Mar 11, 2013 at 05:21:44AM -0700, Guenter Roeck wrote:
> On Mon, Mar 11, 2013 at 07:39:46AM +0530, Naveen Krishna Chatradhi wrote:
> > This patch adds the DT support to NTC driver to parse the
> > platform data.
> >
> > Signed-off-by: Naveen Krishna Chatradhi
On Mon, Mar 11, 2013 at 07:39:47AM +0530, Naveen Krishna Chatradhi wrote:
> This patch adds the support to work as a iio device.
> iio_get_channel and iio_raw_read works.
>
> During the probe ntc driver gets the respective channels of ADC
> and uses iio_raw_read calls to get the ADC converted valu
On Mon, Mar 11, 2013 at 07:39:46AM +0530, Naveen Krishna Chatradhi wrote:
> This patch adds the DT support to NTC driver to parse the
> platform data.
>
> Signed-off-by: Naveen Krishna Chatradhi
> ---
> drivers/hwmon/ntc_thermistor.c | 93
>
> 1 file c
On Wed, Feb 20, 2013 at 06:51:08PM +, Jonathan Cameron wrote:
>
>
> Guenter Roeck wrote:
>
> >On Wed, Feb 20, 2013 at 11:38:22AM -0600, Rob Herring wrote:
> >> On 02/07/2013 11:09 AM, Guenter Roeck wrote:
> >> > Provide bindings
On Wed, Feb 20, 2013 at 11:38:22AM -0600, Rob Herring wrote:
> On 02/07/2013 11:09 AM, Guenter Roeck wrote:
> > Provide bindings and parse OF data during initialization.
> >
> > Signed-off-by: Guenter Roeck
> > ---
> > v5:
> > - Updated examples in bindin
On Fri, Feb 08, 2013 at 08:30:48AM +, Jonathan Cameron wrote:
> On 07/02/13 17:09, Guenter Roeck wrote:
> >Provide bindings and parse OF data during initialization.
> >
> >Signed-off-by: Guenter Roeck
> Looks fine to me. Will give it a few more days to see what oth
On Mon, Feb 18, 2013 at 07:30:28PM +0800, Wei Ni wrote:
> Register the remote sensor to the thermal framework.
> It can support to show the temperature and read/write threshold.
>
> Signed-off-by: Wei Ni
> ---
> arch/arm/boot/dts/tegra30-cardhu.dtsi |1 +
> drivers/hwmon/lm90.c
On Mon, Feb 18, 2013 at 07:30:25PM +0800, Wei Ni wrote:
> Add support to handle irq. When the temperature touch the limit value, the
> driver can handle the interrupt.
>
> Signed-off-by: Alexandre Courbot
> Signed-off-by: Wei Ni
> ---
> drivers/hwmon/lm90.c | 38 ++
On Mon, Feb 18, 2013 at 07:30:24PM +0800, Wei Ni wrote:
> Split set&show temp codes as common functions, so we can use it directly when
> implement linux thermal framework.
>
> Signed-off-by: Wei Ni
> ---
> drivers/hwmon/lm90.c | 117
> +++---
> 1 fi
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck
---
v5:
- Updated examples in bindings.
v4:
- Fixed wrong parameter to dummy of_iio_channel_get_by_name if CONFIG_OF is
undefined, and wrong return value.
- Initialize indio_dev->of_node
On Wed, Feb 06, 2013 at 07:37:37PM +, Jonathan Cameron wrote:
> On 02/06/2013 06:29 PM, Guenter Roeck wrote:
> > Provide bindings and parse OF data during initialization.
> >
> > Signed-off-by: Guenter Roeck
> looks good to me. Couple of little queries inline.
>
On Wed, Feb 06, 2013 at 07:37:37PM +, Jonathan Cameron wrote:
> On 02/06/2013 06:29 PM, Guenter Roeck wrote:
> > Provide bindings and parse OF data during initialization.
> >
> > Signed-off-by: Guenter Roeck
> looks good to me. Couple of little queries inline.
>
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck
---
v4:
- Fixed wrong parameter to dummy of_iio_channel_get_by_name if CONFIG_OF is
undefined, and wrong return value.
- Initialize indio_dev->of_node in iio_device_register if the calling driver
neglec
On Mon, Feb 04, 2013 at 12:26:06PM -0800, Guenter Roeck wrote:
> Provide bindings and parse OF data during initialization.
>
> Signed-off-by: Guenter Roeck
> ---
> One open question is how to assign of_node to the iio device. We can either
> do it
> in each driver (which t
On Mon, Feb 04, 2013 at 12:26:06PM -0800, Guenter Roeck wrote:
> Provide bindings and parse OF data during initialization.
>
> Signed-off-by: Guenter Roeck
Note: One of the parameters to the dummy function of_iio_channel_get_by_name()
used when CONFIG_OF is undefined is wrong. I'
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck
---
One open question is how to assign of_node to the iio device. We can either do
it
in each driver (which turns out to be a huge patchset), or add something like
the
following to iio_device_register
This patch set adds basic device tree support to the IIO subsystem. It is the
result of discussions [1] and [2].
Patch 1 changes the first parameter to iio_channel_get() to be the pointer to
the consumer device instead of the consumer device name.
Patch 2 adds basic OF support to the IIO subsyste
For iio_channel_get to work with OF based configurations, it needs the
consumer device pointer instead of the consumer device name as argument.
Signed-off-by: Guenter Roeck
---
drivers/extcon/extcon-adc-jack.c|3 +--
drivers/iio/inkern.c| 11 ++-
drivers/power
On Mon, Feb 04, 2013 at 07:00:55PM +0100, Tomasz Figa wrote:
> On Monday 04 of February 2013 09:51:34 Guenter Roeck wrote:
> > On Mon, Feb 04, 2013 at 09:12:14AM -0800, Guenter Roeck wrote:
> > > On Mon, Feb 04, 2013 at 12:14:52AM +0100, Tomasz Figa wrote:
> > > > On
On Mon, Feb 04, 2013 at 09:12:14AM -0800, Guenter Roeck wrote:
> On Mon, Feb 04, 2013 at 12:14:52AM +0100, Tomasz Figa wrote:
> > On Sunday 03 of February 2013 19:55:47 Lars-Peter Clausen wrote:
> > > On 02/03/2013 06:30 PM, Tomasz Figa wrote:
> > > > On Sunday 03 of
On Mon, Feb 04, 2013 at 12:14:52AM +0100, Tomasz Figa wrote:
> On Sunday 03 of February 2013 19:55:47 Lars-Peter Clausen wrote:
> > On 02/03/2013 06:30 PM, Tomasz Figa wrote:
> > > On Sunday 03 of February 2013 09:01:07 Guenter Roeck wrote:
> > >> On Sun, Feb 03, 20
On Sun, Feb 03, 2013 at 08:22:13AM -0800, Guenter Roeck wrote:
[ ... ]
> > > +
> > > + /* NULL terminated array to save passing size */
> > > + chans = kzalloc(sizeof(*chans)*(nummaps + 1), GFP_KERNEL);
> >
> > I think using kcalloc makes sense h
On Sun, Feb 03, 2013 at 06:02:57PM +, Jonathan Cameron wrote:
> On 02/03/2013 05:18 PM, Guenter Roeck wrote:
> > On Sun, Feb 03, 2013 at 12:10:32PM +, Jonathan Cameron wrote:
> >> On 02/03/2013 12:59 AM, Guenter Roeck wrote:
> >>> Signed-off-by: Guenter Roeck
On Sun, Feb 03, 2013 at 12:10:32PM +, Jonathan Cameron wrote:
> On 02/03/2013 12:59 AM, Guenter Roeck wrote:
> > Signed-off-by: Guenter Roeck
> Applied to togreg branch of iio.git.
>
> Note I'll probably rebase the togreg branch if / when Greg has pulled
> last pul
On Sun, Feb 03, 2013 at 12:52:40PM +0100, Tomasz Figa wrote:
> On Sunday 03 of February 2013 12:29:23 Lars-Peter Clausen wrote:
> > On 02/03/2013 03:06 AM, Guenter Roeck wrote:
> > > On Sun, Feb 03, 2013 at 02:30:24AM +0100, Tomasz Figa wrote:
> > >> Hi Guenter,
>
On Sun, Feb 03, 2013 at 12:29:23PM +0100, Lars-Peter Clausen wrote:
> On 02/03/2013 03:06 AM, Guenter Roeck wrote:
> > On Sun, Feb 03, 2013 at 02:30:24AM +0100, Tomasz Figa wrote:
> >> Hi Guenter,
> >>
> >> Some comments inline.
> >>
> >>
On Sun, Feb 03, 2013 at 11:57:53AM +, Jonathan Cameron wrote:
> On 02/03/2013 11:52 AM, Lars-Peter Clausen wrote:
> > On 02/03/2013 12:47 PM, Lars-Peter Clausen wrote:
> >> On 02/03/2013 12:39 PM, Jonathan Cameron wrote:
> >>> On 02/02/2013 04:10 PM, Guenter Roec
On Sun, Feb 03, 2013 at 03:17:57PM +0100, Lars-Peter Clausen wrote:
> On 02/03/2013 01:59 AM, Guenter Roeck wrote:
> > Provide bindings and parse OF data during initialization.
> >
> > Signed-off-by: Guenter Roeck
> > ---
> > - Documentation update per feedbac
On Sun, Feb 03, 2013 at 02:30:24AM +0100, Tomasz Figa wrote:
> Hi Guenter,
>
> Some comments inline.
>
> On Saturday 02 of February 2013 16:59:40 Guenter Roeck wrote:
> > Provide bindings and parse OF data during initialization.
> >
> > Signed-off-by: Guenter R
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck
---
- Documentation update per feedback
- Dropped io-channel-output-names from the bindings document. The property is
not used in the code, and it is not entirely clear what it would be used for.
If there
1 - 100 of 138 matches
Mail list logo