This is intended to help developers faster find their way
inside the Industrial I/O core and reduce time spent on IIO
drivers development.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
Documentation/DocBook/Makefile | 2 +-
Documentation/DocBook/iio.tmpl | 680
On Fri, Jul 17, 2015 at 11:34 AM, Jandy Gou wrote:
> Signed-off-by: Jandy Gou
Acked-by: Daniel Baluta
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.
On Thu, Jul 16, 2015 at 10:31 PM, Jonathan Cameron wrote:
Thanks for your review Jonathan! I will try to address your
comments in v2.
>>+ The main purpose of the Industrial I/O subsystem (IIO) is to
>>provide
>>+ support for devices that in some sense are analog to digital
>>converts
On Thu, Jul 16, 2015 at 1:24 PM, Jonathan Corbet wrote:
> On Wed, 8 Jul 2015 15:04:48 +0300
> Daniel Baluta wrote:
>
>> This is intended to help developers faster find their way
>> inside the Industrial I/O core and reduce time spent on IIO
>> drivers development
On Fri, Jul 17, 2015 at 10:35 AM, Jandy Gou wrote:
> Add basic DT binding for mmc35240
> Add DT binding doc for mmc35240
>
> Jandy Gou (2):
> iio: magnetometer: mmc35240: Add DT binding
> iio: magnetometer: mmc35240: Add DT binding doc
>
>
On Thu, Jul 16, 2015 at 1:24 PM, Jonathan Corbet cor...@lwn.net wrote:
On Wed, 8 Jul 2015 15:04:48 +0300
Daniel Baluta daniel.bal...@intel.com wrote:
This is intended to help developers faster find their way
inside the Industrial I/O core and reduce time spent on IIO
drivers development
On Fri, Jul 17, 2015 at 10:35 AM, Jandy Gou qingsong@ck-telecom.com wrote:
Add basic DT binding for mmc35240
Add DT binding doc for mmc35240
Jandy Gou (2):
iio: magnetometer: mmc35240: Add DT binding
iio: magnetometer: mmc35240: Add DT binding doc
On Fri, Jul 17, 2015 at 11:34 AM, Jandy Gou qingsong@ck-telecom.com wrote:
Signed-off-by: Jandy Gou qingsong@ck-telecom.com
Acked-by: Daniel Baluta daniel.bal...@intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
On Thu, Jul 16, 2015 at 10:31 PM, Jonathan Cameron ji...@kernel.org wrote:
Thanks for your review Jonathan! I will try to address your
comments in v2.
+ The main purpose of the Industrial I/O subsystem (IIO) is to
provide
+ support for devices that in some sense are analog to digital
On Tue, Jul 14, 2015 at 11:04 PM, Jonathan Cameron wrote:
>
>
> On 14 July 2015 15:56:54 BST, Daniel Baluta wrote:
>>From: Viorel Suman
>>
>>The RESET operation invoked in the last instance will align
>>in the natural way all 3 axis and the chip top view.
> W
On Tue, Jul 14, 2015 at 11:04 PM, Jonathan Cameron ji...@kernel.org wrote:
On 14 July 2015 15:56:54 BST, Daniel Baluta daniel.bal...@intel.com wrote:
From: Viorel Suman viorel.su...@intel.com
The RESET operation invoked in the last instance will align
in the natural way all 3 axis and the chip
Trace:
[ 322.573217] [<80c0d2d1>] pm_generic_suspend+0x21/0x30
[ 322.578284] [<80d042ab>] i2c_device_pm_suspend+0x1b/0x30
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/driver
This fixes setting the SET/RESET bit in the REG_CTRL0
register.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35240.c
index e89b059
From: Viorel Suman
The RESET operation invoked in the last instance will align
in the natural way all 3 axis and the chip top view.
Signed-off-by: Viorel Suman
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions
Found while testing with a compass Android app.
Jonathan, this is a follow up of the first patch in this series,
initially sent for review before merged window was closed:
See: https://lkml.org/lkml/2015/6/21/68
Daniel Baluta (2):
iio: magnetometer: mmc35240: Fix crash in pm suspend
iio
From: Viorel Suman viorel.su...@intel.com
The RESET operation invoked in the last instance will align
in the natural way all 3 axis and the chip top view.
Signed-off-by: Viorel Suman viorel.su...@intel.com
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer
This fixes setting the SET/RESET bit in the REG_CTRL0
register.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer
:
[ 322.573217] [80c0d2d1] pm_generic_suspend+0x21/0x30
[ 322.578284] [80d042ab] i2c_device_pm_suspend+0x1b/0x30
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers
Found while testing with a compass Android app.
Jonathan, this is a follow up of the first patch in this series,
initially sent for review before merged window was closed:
See: https://lkml.org/lkml/2015/6/21/68
Daniel Baluta (2):
iio: magnetometer: mmc35240: Fix crash in pm suspend
iio
Hi Randy,
On Fri, Jul 10, 2015 at 10:13 PM, Randy Dunlap wrote:
> On 07/08/15 05:04, Daniel Baluta wrote:
>> In our effort to support vendors writing drivers for their own
>> sensors we introduce IIO documentation in DocBook format.
>>
>> It documents Industrial I/O
Hi Randy,
On Fri, Jul 10, 2015 at 10:13 PM, Randy Dunlap rdun...@infradead.org wrote:
On 07/08/15 05:04, Daniel Baluta wrote:
In our effort to support vendors writing drivers for their own
sensors we introduce IIO documentation in DocBook format.
It documents Industrial I/O core including
d to me.
Reviewed-by: Daniel Baluta
Thanks Ana!
Daniel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This is intended to help developers faster find their way
inside the Industrial I/O core and reduce time spent on IIO
drivers development.
Signed-off-by: Daniel Baluta
---
Documentation/DocBook/Makefile | 2 +-
Documentation/DocBook/iio.tmpl | 593 +
2
could run make htmldocs in the root of your kernel repo to get them.
Daniel Baluta (1):
DocBook: Add initial documentation for IIO
Documentation/DocBook/Makefile | 2 +-
Documentation/DocBook/iio.tmpl | 588 +
2 files changed, 589 insertions(+), 1
This is intended to help developers faster find their way
inside the Industrial I/O core and reduce time spent on IIO
drivers development.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
Documentation/DocBook/Makefile | 2 +-
Documentation/DocBook/iio.tmpl | 593
could run make htmldocs in the root of your kernel repo to get them.
Daniel Baluta (1):
DocBook: Add initial documentation for IIO
Documentation/DocBook/Makefile | 2 +-
Documentation/DocBook/iio.tmpl | 588 +
2 files changed, 589 insertions(+), 1
...@gmail.com
Looks good to me.
Reviewed-by: Daniel Baluta daniel.bal...@intel.com
Thanks Ana!
Daniel.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
|
> - printf(e1, e2);
> + fprintf(stderr, tdres, e2);
> |
> - fprintf(stdout, e1)
> + fprintf(stderr, tdres)
> |
> - fprintf(stdout, e1, e2)
> + fprintf(stderr, tdres, e2)
> )
Nit: s/failiure/failure this appears in several places.
With this fixed:
Reviewed-by: Daniel
, e1, e2)
+ fprintf(stderr, tdres, e2)
)
Nit: s/failiure/failure this appears in several places.
With this fixed:
Reviewed-by: Daniel Baluta daniel.bal...@intel.com
thanks,
Daniel.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
On Tue, Jun 30, 2015 at 2:26 PM, Martin Kepplinger wrote:
> The one that supports the existing event interrupt settings, uses it. The
> others use their motion detection interrupts.
>
> This is tested on the MMA8653FC.
Would be nice to explicitly add here the names of the new supported
chips,
On Mon, Jun 29, 2015 at 10:17 PM, Hartmut Knaack wrote:
> Daniel Baluta schrieb am 29.06.2015 um 09:52:
>> On Mon, Jun 29, 2015 at 2:07 AM, Hartmut Knaack wrote:
>>> Daniel Baluta schrieb am 24.04.2015 um 17:58:
>>>> Minimal implementation for MMC35240 3
On Tue, Jun 30, 2015 at 2:26 PM, Martin Kepplinger mart...@posteo.de wrote:
The one that supports the existing event interrupt settings, uses it. The
others use their motion detection interrupts.
This is tested on the MMA8653FC.
Would be nice to explicitly add here the names of the new
On Mon, Jun 29, 2015 at 10:17 PM, Hartmut Knaack knaac...@gmx.de wrote:
Daniel Baluta schrieb am 29.06.2015 um 09:52:
On Mon, Jun 29, 2015 at 2:07 AM, Hartmut Knaack knaac...@gmx.de wrote:
Daniel Baluta schrieb am 24.04.2015 um 17:58:
Minimal implementation for MMC35240 3-axis magnetometer
On Mon, Jun 29, 2015 at 2:07 AM, Hartmut Knaack wrote:
> Daniel Baluta schrieb am 24.04.2015 um 17:58:
>> Minimal implementation for MMC35240 3-axis magnetometer
>> sensor. It provides processed readings and possiblity to change
>> the sampling frequency.
>>
>
&g
On Mon, Jun 29, 2015 at 2:07 AM, Hartmut Knaack knaac...@gmx.de wrote:
Daniel Baluta schrieb am 24.04.2015 um 17:58:
Minimal implementation for MMC35240 3-axis magnetometer
sensor. It provides processed readings and possiblity to change
the sampling frequency.
Hi Daniel,
please find a few
On Sun, Jun 14, 2015 at 1:20 PM, Jonathan Cameron wrote:
> On 11/06/15 13:06, Cristina Opriceana wrote:
>> This patch renames the top half handler and the bottom half handler
>> of iio_triggered_buffer_setup() in accordance with their usage.
>> The names of the parameters were swapped, thus
On Sun, Jun 14, 2015 at 1:20 PM, Jonathan Cameron ji...@kernel.org wrote:
On 11/06/15 13:06, Cristina Opriceana wrote:
This patch renames the top half handler and the bottom half handler
of iio_triggered_buffer_setup() in accordance with their usage.
The names of the parameters were swapped,
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta
---
Changes since v3:
* use GENMASK instead BIT(x) | BIT(y)
* remove (now) unused RPR0521_PXS_MAX_VAL because of PXS ABI
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
Changes since v3:
* use GENMASK instead BIT(x) | BIT(y)
* remove (now) unused
Trace:
[ 322.573217] [<80c0d2d1>] pm_generic_suspend+0x21/0x30
[ 322.578284] [<80d042ab>] i2c_device_pm_suspend+0x1b/0x30
Fixes: 553a776b7 ("iio: magnetometer: mmc35240: Add PM sleep support")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file c
:
[ 322.573217] [80c0d2d1] pm_generic_suspend+0x21/0x30
[ 322.578284] [80d042ab] i2c_device_pm_suspend+0x1b/0x30
Fixes: 553a776b7 (iio: magnetometer: mmc35240: Add PM sleep support)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1
On Sun, Jun 14, 2015 at 1:51 PM, Jonathan Cameron wrote:
> On 10/06/15 15:21, Daniel Baluta wrote:
>> This patch adds support for ROHM RPR0521 ambient light and proximity
>> sensor. It offers raw readings for intensity and proximity.
>>
>> Signed-off-by: Daniel Baluta
On Sun, Jun 14, 2015 at 1:51 PM, Jonathan Cameron ji...@kernel.org wrote:
On 10/06/15 15:21, Daniel Baluta wrote:
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta daniel.bal
On Sat, Jun 13, 2015 at 9:21 PM, Jonathan Cameron wrote:
> On 12/06/15 08:40, Vlad Dogaru wrote:
>> On Thu, Jun 11, 2015 at 06:49:34PM +0300, Daniel Baluta wrote:
>>> Because of the ABI confusion proximity value exposed by SX9500
>>> was inverted.
>>&
On Sat, Jun 13, 2015 at 9:21 PM, Jonathan Cameron ji...@kernel.org wrote:
On 12/06/15 08:40, Vlad Dogaru wrote:
On Thu, Jun 11, 2015 at 06:49:34PM +0300, Daniel Baluta wrote:
Because of the ABI confusion proximity value exposed by SX9500
was inverted.
Signed-off-by: Daniel Baluta daniel.bal
Because of the ABI confusion proximity value exposed by SX9500
was inverted.
Signed-off-by: Daniel Baluta
---
drivers/iio/proximity/sx9500.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/proximity/sx9500.c b/drivers/iio/proximity/sx9500.c
index 2042e37..01494cd
API, while not being a true proximity sensor.
Fixes: 614e8842ddf ("iio: ABI: add clarification for proximity")
Signed-off-by: Daniel Baluta
---
Documentation/ABI/testing/sysfs-bus-iio | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/ABI/testing/sys
the fix was trivial and it is included here, for stk3310 there
are more things to do and will try to fix in the near future.
Daniel Baluta (2):
iio: ABI: Clarify proximity output value
iio: proximity: sx9500: Fix proximity value
Documentation/ABI/testing/sysfs-bus-iio | 6 ++
drivers/iio
ff-by: Cristina Opriceana
Reviewed-by: Daniel Baluta
Thanks Cristina!
Daniel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the F
On Sun, Jun 7, 2015 at 12:08 AM, Jonathan Cameron wrote:
>
>
> On 06/03/2015 09:56 AM, Daniel Baluta wrote:
>>
>> On Thu, May 28, 2015 at 5:17 PM, Daniel Baluta
>> wrote:
>>>
>>>
>>>
>>>>>>> +static const struct iio_c
On Sun, Jun 7, 2015 at 12:08 AM, Jonathan Cameron ji...@kernel.org wrote:
On 06/03/2015 09:56 AM, Daniel Baluta wrote:
On Thu, May 28, 2015 at 5:17 PM, Daniel Baluta daniel.bal...@intel.com
wrote:
snip
+static const struct iio_chan_spec rpr0521_channels
-off-by: Cristina Opriceana cristina.oprice...@gmail.com
Reviewed-by: Daniel Baluta daniel.bal...@intel.com
Thanks Cristina!
Daniel.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
the fix was trivial and it is included here, for stk3310 there
are more things to do and will try to fix in the near future.
Daniel Baluta (2):
iio: ABI: Clarify proximity output value
iio: proximity: sx9500: Fix proximity value
Documentation/ABI/testing/sysfs-bus-iio | 6 ++
drivers/iio
Because of the ABI confusion proximity value exposed by SX9500
was inverted.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/proximity/sx9500.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/proximity/sx9500.c b/drivers/iio/proximity/sx9500.c
API, while not being a true proximity sensor.
Fixes: 614e8842ddf (iio: ABI: add clarification for proximity)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
Documentation/ABI/testing/sysfs-bus-iio | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/ABI
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta
---
Changes since v2: (after Peter's review)
* replaced calibscale with scale
* several style fixes (new lines, spellings
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
Changes since v2: (after Peter's review)
* replaced calibscale with scale
* several style fixes
This avoid nasty crashes when registering the IIO device.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/magnetometer/mmc
This patch adds compensation formula to raw readings, borrowed
from Memsic's input driver.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 62 ++---
1 file changed, 58 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/magnetometer
According to datasheet, Page 8, minimum wait time to complete
measurement is 10ms. Adjusting this value will increase the
userspace polling rate.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc3
This is the standard convention for i2c device name and
also this is the name used in some Intel platforms DT
files.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file changed, 1
and spelling erorrs
* added MMC35240_ prefix to some macro's
Daniel Baluta (6):
iio: magnetometer: mmc35240: i2c device name should be lower case
iio: magnetometer: mmc35240: NULL terminate attribute array
iio: magnetometer: mmc35240: Fix broken processed value
iio
operation are more relaxed.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 43 +++--
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/drivers/iio/ma
t;iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35240.c
index 7bc72b3..73fa111 100644
---
operation are more relaxed.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 43 +++--
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git
and spelling erorrs
* added MMC35240_ prefix to some macro's
Daniel Baluta (6):
iio: magnetometer: mmc35240: i2c device name should be lower case
iio: magnetometer: mmc35240: NULL terminate attribute array
iio: magnetometer: mmc35240: Fix broken processed value
iio
: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35240.c
index 7bc72b3..73fa111
This patch adds compensation formula to raw readings, borrowed
from Memsic's input driver.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 62 ++---
1 file changed, 58 insertions(+), 4 deletions(-)
diff --git
According to datasheet, Page 8, minimum wait time to complete
measurement is 10ms. Adjusting this value will increase the
userspace polling rate.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio
This avoid nasty crashes when registering the IIO device.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio
This is the standard convention for i2c device name and
also this is the name used in some Intel platforms DT
files.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file
On Thu, May 28, 2015 at 5:17 PM, Daniel Baluta wrote:
>
>
>>> >> +static const struct iio_chan_spec rpr0521_channels[] = {
>>> >> + {
>>> >> + .type = IIO_INTENSITY,
>>> >> + .mo
According to datasheet, Page 8, minimum wait time to complete
measurement is 10ms. Adjusting this value will increase the
userspace polling rate.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc3
This is the standard convention for i2c device name and
also this is the name used in some Intel platforms DT
files.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file changed, 1
This patch adds compensation formula to raw readings, borrowed
from Memsic's input driver.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 62 ++---
1 file changed, 58 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/magnetometer
t;iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35240.c
index 35eb6fd..88be660 100644
---
This avoid nasty crashes when registering the IIO device.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/magnetometer/mmc
are more relaxed.
Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240")
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 43 +++--
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/drivers/iio/ma
First 5 patches are bugfixes or small enhancements found during
tests with a real platform.
The last patch adds compensation for raw values allowing proper
calibration for Android compass apps.
Daniel Baluta (6):
iio: magnetometer: mmc35240: i2c device name should be lower case
iio
This patch adds compensation formula to raw readings, borrowed
from Memsic's input driver.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 62 ++---
1 file changed, 58 insertions(+), 4 deletions(-)
diff --git
This is the standard convention for i2c device name and
also this is the name used in some Intel platforms DT
files.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file
According to datasheet, Page 8, minimum wait time to complete
measurement is 10ms. Adjusting this value will increase the
userspace polling rate.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio
On Thu, May 28, 2015 at 5:17 PM, Daniel Baluta daniel.bal...@intel.com wrote:
snip
+static const struct iio_chan_spec rpr0521_channels[] = {
+ {
+ .type = IIO_INTENSITY,
+ .modified = 1,
+ .address = RPR0521_CHAN_ALS_DATA0
First 5 patches are bugfixes or small enhancements found during
tests with a real platform.
The last patch adds compensation for raw values allowing proper
calibration for Android compass apps.
Daniel Baluta (6):
iio: magnetometer: mmc35240: i2c device name should be lower case
iio
This avoid nasty crashes when registering the IIO device.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio
: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35240.c
index 35eb6fd..88be660
are more relaxed.
Fixes: abeb6b1e7b (iio: magnetometer: Add support for MEMSIC MMC35240)
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/magnetometer/mmc35240.c | 43 +++--
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/drivers
>> >> +static const struct iio_chan_spec rpr0521_channels[] = {
>> >> + {
>> >> + .type = IIO_INTENSITY,
>> >> + .modified = 1,
>> >> + .address = RPR0521_CHAN_ALS_DATA0,
>> >> + .channel2 = IIO_MOD_LIGHT_BOTH,
>> >> +
On Thu, May 28, 2015 at 2:35 PM, Peter Meerwald wrote:
> On Thu, 28 May 2015, Daniel Baluta wrote:
>
>> This patch adds support for ROHM RPR0521 ambient light and proximity
>> sensor. It offers raw readings for intensity and proximity.
>
> comments below
>
>
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta
---
Changes since v1: (after Jonathan's review)
* add static const to some structures
* make some local functions static
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
Changes since v1: (after Jonathan's review)
* add static const to some structures
* make some
On Thu, May 28, 2015 at 2:35 PM, Peter Meerwald pme...@pmeerw.net wrote:
On Thu, 28 May 2015, Daniel Baluta wrote:
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
comments below
Signed-off-by: Daniel Baluta
snip
+static const struct iio_chan_spec rpr0521_channels[] = {
+ {
+ .type = IIO_INTENSITY,
+ .modified = 1,
+ .address = RPR0521_CHAN_ALS_DATA0,
+ .channel2 = IIO_MOD_LIGHT_BOTH,
+ .info_mask_separate =
On Sat, May 23, 2015 at 1:51 PM, Jonathan Cameron wrote:
> On 22/05/15 13:36, Daniel Baluta wrote:
>> This patch adds support for ROHM RPR0521 ambient light and proximity
>> sensor. It offers raw readings for intensity and proximity.
>>
>> Signed-off-by: Daniel Baluta
On Sat, May 23, 2015 at 1:51 PM, Jonathan Cameron ji...@kernel.org wrote:
On 22/05/15 13:36, Daniel Baluta wrote:
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta daniel.bal
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta
---
drivers/iio/light/Kconfig | 11 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/rpr0521.c | 579
On Fri, May 22, 2015 at 4:56 AM, Greg KH wrote:
> On Thu, May 21, 2015 at 05:30:40PM -0700, Kevin Tsai wrote:
>> Signed-off-by: Kevin Tsai
>> ---
>
> Your whole changelog ended up in the Subject line :(
Hi Kevin,
Few comments:
1) Please also add a cover letter. Use --cover-letter parameter of
On Fri, May 22, 2015 at 4:56 AM, Greg KH gre...@linuxfoundation.org wrote:
On Thu, May 21, 2015 at 05:30:40PM -0700, Kevin Tsai wrote:
Signed-off-by: Kevin Tsai kt...@capellamicro.com
---
Your whole changelog ended up in the Subject line :(
Hi Kevin,
Few comments:
1) Please also add a
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta daniel.bal...@intel.com
---
drivers/iio/light/Kconfig | 11 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/rpr0521.c | 579
ctionality needed.
On Mon, May 18, 2015 at 8:34 PM, Peter Meerwald wrote:
> On Mon, 18 May 2015, Daniel Baluta wrote:
>
>> We need this in order to avoid reimplementing the same functions each time
>> we add PM runtime support in a driver.
>
> comments below
>
>
901 - 1000 of 1513 matches
Mail list logo