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, Eduardo Valentin
wrote:
Hello Guenter
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 17-07-2013 18:09, Guenter Roeck wrote:
On Wed
operating systems. Your proposal is clearly operating system
and even subsystem specific. It does _not_ describe hardware.
NACK.
Guenter
Cc: Jean Delvare kh...@linux-fr.org
Cc: Guenter Roeck li...@roeck-us.net
Cc: lm-sens...@lm-sensors.org
Cc: linux-ker...@vger.kernel.org
Signed-off-by: Eduardo
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 for
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 working in a way to represent thermal data
using device tree [1
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
wrote:
Hello all,
As you noticed, I am working
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 to me
On Mon, Jul 15, 2013 at 08:29:15AM -0600, Jonathan Corbet wrote:
On Mon, 15 Jul 2013 10:36:22 +0200
Linus Walleij linus.wall...@linaro.org wrote:
Devicetree is supposed to describe the hardware, but in many cases there
is
an overlap between hardware description and configuration
On Sun, Jul 14, 2013 at 01:46:45AM +0200, Linus Walleij wrote:
On Sat, Jul 13, 2013 at 10:49 PM, Guenter Roeck li...@roeck-us.net 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,
show some rules
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_raw. Also,
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 temperature
sensor, expose
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 alexandre.bell...@free-electrons.com
---
Wouldn't it make more sense to use
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 - are
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 to
On Wed, Jun 19, 2013 at 02:50:20PM +0800, yuantian.t...@freescale.com wrote:
From: Tang Yuantian yuantian.t...@freescale.com
Adding another way that is device tree to pass the shunt resistor
value to driver except for platform data.
Signed-off-by: Tang Yuantian yuantian.t...@freescale.com
On Wed, Jun 19, 2013 at 10:15:56PM +0200, Arnaud Ebalard wrote:
Hi Simon,
Simon Guinot simon.gui...@sequanux.org 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
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 simon.gui...@sequanux.org writes:
I have tested this patch on my
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 to
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...@lm-sensors.org; devicetree-
disc
Warren swar...@wwwdotorg.org
Cc: Wim Van Sebroeck w...@iguana.be
Cc: Guenter Roeck li...@roeck-us.net
Cc: linux-rpi-ker...@lists.infradead.org
Cc: linux-watch...@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
Reviewed-by: Guenter Roeck li...@roeck-us.net
---
Changes for v2
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 to
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 to
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 to
On Tue, Jun 04, 2013 at 09:14:47AM +0200, Arnaud Ebalard wrote:
Signed-off-by: Arnaud Ebalard a...@natisbad.org
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 Tue, Jun 04, 2013 at 09:14:29AM +0200, Arnaud Ebalard wrote:
Signed-off-by: Arnaud Ebalard a...@natisbad.org
---
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile |1 +
drivers/hwmon/g762.c |
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 simon.gui...@sequanux.org writes:
On Sat, Jun 01, 2013 at 07:26:54PM +0200, Arnaud Ebalard wrote:
Hi Simon and Guenter,
Simon
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.
Actually,
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 completed
On Sun, Jun 02, 2013 at 10:14:19PM +0200, Arnaud Ebalard wrote:
Signed-off-by: Arnaud Ebalard a...@natisbad.org
---
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile |1 +
drivers/hwmon/g762.c | 1179
On Tue, May 28, 2013 at 12:03:14AM +0200, Arnaud Ebalard wrote:
Signed-off-by: Arnaud Ebalard a...@natisbad.org
---
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile |1 +
drivers/hwmon/g762.c | 1012
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 a...@arndb.de writes:
On Tuesday 28 May 2013 00:02:29 Arnaud Ebalard wrote:
This series adds support for GMT G762/G763. This
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 wrote:
Hi Arnd,
Arnd Bergmann
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 BOOKE_WDT_DEFAULT_TIMEOUT
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 BOOKE_WDT_DEFAULT_TIMEOUT
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/Kconfig b/drivers/watchdog/Kconfig
index e89fc31..6048593 100644
--- a/drivers
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
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 (if
linus.wall...@linaro.org
Reviewed-by: Guenter Roeck li...@roeck-us.net
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
On Wed, Apr 24, 2013 at 12:06:08AM +0200, Arnaud Ebalard wrote:
Signed-off-by: Arnaud Ebalard a...@natisbad.org
---
Documentation/hwmon/g762 | 67
++
1 file changed, 67 insertions(+)
create mode 100644 Documentation/hwmon/g762
diff --git
On Wed, Apr 24, 2013 at 10:28:47PM +0200, Arnaud Ebalard wrote:
Hi,
Guenter Roeck li...@roeck-us.net writes:
You could consider using regmap for holding this cache.
http://elceurope2012.sched.org/event/100619b669ce5767341624253aa03659?iframe=now=900sidebar=yesbg=no#.UXdspHLQ5jM
On Wed, Apr 24, 2013 at 12:05:56AM +0200, Arnaud Ebalard wrote:
Signed-off-by: Arnaud Ebalard a...@natisbad.org
Tested-by: Arnaud Ebalard a...@natisbad.org
Tested-by is not needed here; I sure hope you tested your own code.
It is only used if someone else tested it.
---
On Mon, Apr 22, 2013 at 11:55:05AM +0200, Linus Walleij wrote:
From: Linus Walleij linus.wall...@linaro.org
This adds support for probing the COH 901 327 watchdog from
the device tree and also adds associated bindings.
Cc: Wim Van Sebroeck w...@iguana.be
Signed-off-by: Linus Walleij
On Fri, Apr 19, 2013 at 01:30:51PM +0200, Arnaud Ebalard wrote:
Hi,
Andrew Lunn and...@lunn.ch 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 a...@natisbad.org
Tested-by: Arnaud Ebalard a...@natisbad.org
---
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile |1 +
drivers/hwmon/g762.c | 1159
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/null
+++
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'
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: In function `at91_wdt_close':
at91_adc.c
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 at 05:23:35AM -, Sebastian
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 to
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
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
i2c programmable clock generators
-end functions and call of_get_mac_address() and
of_get_phy_mode() directly instead.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
drivers/net/ethernet/cadence/macb.c | 43 +--
1 file changed, 6 insertions(+), 37 deletions(-)
diff --git a/drivers/net
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
is not configured.
This is safe because all callers do check the return values.
Cc: David Daney david.da...@cavium.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
Acked-by: Rob Herring rob.herr...@calxeda.com
---
include/linux/of_net.h | 10 ++
1 file changed, 10 insertions(+)
diff --git
-end functions and call of_get_mac_address() and
of_get_phy_mode() directly instead.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
drivers/net/ethernet/cadence/at91_ether.c | 44 -
1 file changed, 6 insertions(+), 38 deletions(-)
diff --git a/drivers/net
an 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 li...@roeck-us.net
---
drivers/net/ethernet/freescale/fec.c | 19
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 li...@roeck-us.net
---
drivers/net/ethernet/nxp/lpc_eth.c |2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net
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 david.da...@cavium.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
include/linux/of_net.h | 10
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
who do require #ifdef around
On Fri, Mar 22, 2013 at 02:55:14PM +, Ian Lartey wrote:
From: Graeme Gregory g...@slimlogic.co.uk
Add support for the Palmas watchdog timer which has a timeout configurable
from 1s to 128s.
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Ian Lartey
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 i...@slimlogic.co.uk
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
---
I think this patch should be merged with the previous one.
Guenter
Guenter Roeck, Its wonderful working with you. Thanks.
.../devicetree/bindings/hwmon/ntc_thermistor.txt | 29
drivers/hwmon/Kconfig |1 +
drivers/hwmon/ntc_thermistor.c | 145
+---
include/linux/platform_data
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 to get
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 patches.
.../devicetree/bindings/hwmon/ntc_thermistor.txt | 29
drivers/hwmon/Kconfig
the ADC converted value.
Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com
---
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.
My pleasure.
Patch looks ok to me now
/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
Guenter Roeck, Its wonderful working with you. Thanks
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.
During the probe ntc driver
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 value.
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 ch.nav...@samsung.com
---
drivers
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 li...@roeck-us.net
Looks fine to me. Will give it a few more days to see what others
have to say
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 li...@roeck-us.net
---
v5:
- Updated examples in bindings.
v4:
- Fixed wrong parameter
On Wed, Feb 20, 2013 at 06:51:08PM +, Jonathan Cameron wrote:
Guenter Roeck li...@roeck-us.net 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 and parse OF data during initialization.
Signed
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 acour...@nvidia.com
Signed-off-by: Wei Ni w...@nvidia.com
---
drivers/hwmon/lm90.c | 38
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 w...@nvidia.com
---
arch/arm/boot/dts/tegra30-cardhu.dtsi |1 +
drivers/hwmon/lm90.c
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
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
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
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
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 li...@roeck-us.net
looks good to me. Couple of little queries inline.
---
v4
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 li...@roeck-us.net
looks good to me. Couple of little queries inline
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 li...@roeck-us.net
---
One open question is how to assign of_node to the iio device. We can either
do it
in each driver (which turns out
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 here.
that would leave chan-data uninitialized, and I would
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, 2013 at 12:52:40PM +0100, Tomasz Figa 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 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
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 Sunday 03 of February 2013 19:55:47 Lars
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 li...@roeck-us.net
---
drivers/extcon/extcon-adc-jack.c|3 +--
drivers/iio/inkern.c| 11
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
Provide bindings and parse OF data during initialization.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
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
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 li...@roeck-us.net
Note: One of the parameters to the dummy function of_iio_channel_get_by_name()
used when CONFIG_OF is undefined is wrong
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 li...@roeck-us.net
---
- Documentation update per feedback
- Dropped io-channel
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 Roeck wrote:
On Sat, Feb 02, 2013 at 10:29
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 Saturday 02 of February 2013 16:59:40 Guenter Roeck wrote:
Provide
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,
Some comments inline
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 li...@roeck-us.net
Applied to togreg branch of iio.git.
Note I'll probably rebase the togreg branch if / when Greg has pulled
last pull request (sent
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 li...@roeck-us.net
Applied to togreg
On Sat, Feb 02, 2013 at 10:29:02AM +, Jonathan Cameron wrote:
On 01/31/2013 09:43 PM, Guenter Roeck wrote:
Provide bindings, new API access functions, and parse OF data
during initialization.
Firstly thanks for working on this Guenter, it's been a big hole
for a while largely because
On Sat, Feb 02, 2013 at 10:33:12AM +, Jonathan Cameron wrote:
On 01/31/2013 09:43 PM, Guenter Roeck wrote:
Signed-off-by: Guenter Roeck li...@roeck-us.net
Mostly fine. Comments below are on the fact I'd prefer
a reference voltage coming from a regulator than being
a bit of platform data
On Sat, Feb 02, 2013 at 03:37:46PM +0100, Lars-Peter Clausen wrote:
On 02/01/2013 08:42 PM, Guenter Roeck wrote:
On Fri, Feb 01, 2013 at 03:59:17PM +0100, Lars-Peter Clausen wrote:
On 02/01/2013 03:33 PM, Guenter Roeck wrote:
On Fri, Feb 01, 2013 at 12:58:02PM +0100, Lars-Peter Clausen
This patch set adds basic device tree support to the IIO subsystem. It is the
result of the [1] and [2] discussions.
The first two patches are actually updates to the MAX1363 driver. The first
patch updates the driver to use devm_ functions, and the second patch adds
support for an external
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
drivers/iio/adc/max1363.c | 29 ++---
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
index ef868c9..1353fda 100644
--- a/drivers/iio/adc/max1363.c
Implement external reference voltage as regulator named vref.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
v2: Use regulator API to specify vref instead of creating new devicetree
bindings.
Keep reference voltage internally in uV, as this is the scale provided
by the regulator
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 li...@roeck-us.net
---
drivers/extcon/extcon-adc-jack.c|3 +--
drivers/iio/inkern.c| 11
1 - 100 of 131 matches
Mail list logo