On Thu, May 14, 2015 at 10:14 PM, Fabian Frederick wrote:
>
>
>> On 14 May 2015 at 12:41 Daniel Baluta wrote:
>>
>>
>> On Wed, Apr 29, 2015 at 8:01 PM, Fabian Frederick wrote:
>> > config_item_init() is only used in item.c
>> >
>> > Si
On Wed, May 13, 2015 at 8:32 PM, Jonathan Cameron wrote:
> On 13/05/15 12:14, Lars-Peter Clausen wrote:
>> Hi,
>>
>> I'd like to go back to the issue of having one folder per trigger type and
>> create triggers for a type in their respective folder.
>>
>> I'm not convinced that it is an intentiona
On Wed, Apr 29, 2015 at 8:01 PM, Fabian Frederick wrote:
> config_item_init() is only used in item.c
>
> Signed-off-by: Fabian Frederick
Nack! Have a look at drivers/usb/gadget/configfs.c
> ---
> fs/configfs/item.c | 3 +--
> include/linux/configfs.h | 1 -
> 2 files changed, 1 insertion(
On Thu, Apr 16, 2015 at 12:01 PM, Robert Dolca wrote:
> Until now calling iio_trigger_register_with_dev after registering the IIO
> device
> added the trigger to the device's trigger list and saved a reference to the
> device in the trigger's struct but it did not create the symlink.
>
> In order
On Thu, Apr 16, 2015 at 12:01 PM, Robert Dolca wrote:
> This patch adds a new function called iio_trigger_register_with_dev
> which is a wrapper for iio_trigger_register. Besides the iio_trigger
> struct this function requires iio_dev struct. It adds the trigger in
> the device's trigger list and
On Fri, May 8, 2015 at 9:41 PM, Jonathan Cameron wrote:
> On 08/05/15 09:33, Daniel Baluta wrote:
>> This patchset introduces IIO software triggers, offers a way of configuring
>> them via configfs and adds the IIO hrtimer based interrupt source to be used
>> with softwar
On Sat, May 9, 2015 at 9:45 PM, Gabriele Mazzotta
wrote:
> On Saturday 02 May 2015 14:30:57 Gabriele Mazzotta wrote:
>> This driver adds the initial support for the ACPI Ambient Light Sensor
>> as defined in Section 9.2 of the ACPI specification (Revision 5.0) [1].
>>
>> Sensors complying with the
Signed-off-by: Daniel Baluta
---
Documentation/ABI/testing/configfs-iio | 20
Documentation/iio/iio_configfs.txt | 58 ++
2 files changed, 78 insertions(+)
create mode 100644 Documentation/ABI/testing/configfs-iio
create mode 100644
based on
an older version from Marten and Lars-Peter.
Signed-off-by: Marten Svanfeldt
Signed-off-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
drivers/iio/trigger/Kconfig| 10 ++
drivers/iio/trigger/Makefile | 2 +
drivers/iio/trigger/iio-trig-hrtimer.c | 194
kernel module is loaded.
Software triggers can be created directly from drivers or from user
space via configfs interface.
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +++
drivers/iio/Makefile | 1 +
drivers/iio/industrialio-sw-trigger.c | 115
* patch 3/4
- none
* patch 4/4
- removed "Further work" chapter in iio_configfs.txt
- added configfs-iio file in Documentation/ABI/testing
Daniel Baluta (4):
iio: core: Introduce IIO software triggers
iio: core: Intro
igger core:
$ mkdir /config/iio/triggers/hrtimer-instance1
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +++
drivers/iio/Makefile| 1 +
drivers/iio/industrialio-configfs.c | 117
include/linux/iio/sw_trigger.h
On Sun, Apr 26, 2015 at 8:00 PM, Jonathan Cameron wrote:
> On 24/04/15 16:58, Daniel Baluta wrote:
>> This adds support for Memsic's MMC35240 magnetometer. The sensor does
>> not offer an interrupt line for data ready so for the moment we only
>> expose raw re
On Thu, May 7, 2015 at 12:19 PM, Jonathan Cameron wrote:
> On 06/05/15 18:37, Daniel Baluta wrote:
>> On Wed, May 6, 2015 at 8:16 PM, Jonathan Cameron wrote:
>>> On 06/05/15 17:25, Daniel Baluta wrote:
>>>>
>>>>
>>>> On 05/05/2015 04:51 PM, J
On Thu, May 7, 2015 at 1:00 AM, Fabio Estevam wrote:
> On Wed, May 6, 2015 at 6:48 PM, Alexey Khoroshilov
> wrote:
>> If prox_parse_report() fails, memory allocated for channels is not
>> deallocated, since it is still in local variable channels
>> while kfree() is called with indio_dev->channels
On Wed, May 6, 2015 at 8:16 PM, Jonathan Cameron wrote:
> On 06/05/15 17:25, Daniel Baluta wrote:
>>
>>
>> On 05/05/2015 04:51 PM, Jonathan Cameron wrote:
>>>
>>>
>>> On 4 May 2015 20:54:08 GMT+01:00, Lars-Peter Clausen
>>>
On 05/05/2015 04:51 PM, Jonathan Cameron wrote:
On 4 May 2015 20:54:08 GMT+01:00, Lars-Peter Clausen wrote:
On 05/04/2015 12:50 PM, Daniel Baluta wrote:
[...]
+IIO_HRTIMER_INFO_ATTR(sampling_frequency, S_IRUGO | S_IWUSR,
+ iio_hrtimer_info_show_sampling_frequency
On 05/04/2015 10:59 PM, Lars-Peter Clausen wrote:
On 05/04/2015 12:50 PM, Daniel Baluta wrote:
This creates an IIO configfs subystem named "iio", with a default
"triggers"
group.
Triggers group is used for handling software triggers. To create a new
software
trigg
On Mon, May 4, 2015 at 11:11 PM, Lars-Peter Clausen wrote:
> On 05/04/2015 12:50 PM, Daniel Baluta wrote:
>>
>> A software trigger associates an IIO device trigger with a software
>> interrupt source (e.g: timer, sysfs). This patch adds the generic
>> infrastructure for
> Signed-off-by: Kuppuswamy Sathyanarayanan
>
Reviewed-by: Daniel Baluta
> ---
> drivers/iio/light/ltr501.c | 71
> +-
> 1 file changed, 64 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/
On 05/03/2015 10:22 PM, Lars-Peter Clausen wrote:
On 05/03/2015 09:20 PM, Jonathan Cameron wrote:
On 26/04/15 20:35, Jonathan Cameron wrote:
On 20/04/15 15:02, Daniel Baluta wrote:
This patchset introduces IIO software triggers, offers a way of
configuring
them via configfs and adds the IIO
kernel module is loaded.
Software triggers can be created directly from drivers or from user
space via configfs interface.
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +++
drivers/iio/Makefile | 1 +
drivers/iio/industrialio-sw-trigger.c | 112
Signed-off-by: Daniel Baluta
---
Documentation/ABI/testing/configfs-iio | 26 ++
Documentation/iio/iio_configfs.txt | 63 ++
2 files changed, 89 insertions(+)
create mode 100644 Documentation/ABI/testing/configfs-iio
create mode 100644
based on
an older version from Marten and Lars-Peter.
Signed-off-by: Marten Svanfeldt
Signed-off-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
drivers/iio/trigger/Kconfig| 9 ++
drivers/iio/trigger/Makefile | 2 +
drivers/iio/trigger/iio-trig-hrtimer.c | 201
* patch 4/4
- removed "Further work" chapter in iio_configfs.txt
- added configfs-iio file in Documentation/ABI/testing
Changes since v3:
* addressed comments from Jonathan for previous version
* https://lkml.org/lkml/2015/4/6/111
Dani
igger core:
$ mkdir /config/iio/triggers/hrtimer-instance1
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +++
drivers/iio/Makefile| 1 +
drivers/iio/industrialio-configfs.c | 117
3 files changed, 126 insertions(+)
Hi Gabriele,
Please keep the version numbering from previous patches,
I think this should be v8 :).
On Wed, Apr 29, 2015 at 2:27 PM, Gabriele Mazzotta
wrote:
> Add basic implementation of the ACPI0008 Ambient Light Sensor driver.
> This driver currently supports only the ALI property, yet is rea
On Sun, Apr 26, 2015 at 10:30 PM, Jonathan Cameron wrote:
> On 20/04/15 15:02, Daniel Baluta wrote:
>> Signed-off-by: Daniel Baluta
> Probably need to start Documentation/ABI/testing/configfs-iio (or something
> like that)
> as well to document the ABI elements fully.
Yes, t
On Sun, Apr 26, 2015 at 10:26 PM, Jonathan Cameron wrote:
> On 20/04/15 15:02, Daniel Baluta wrote:
>> This creates an IIO configfs subystem named "iio", with a default "triggers"
>> group.
>>
>> Triggers group is used for handling software trigge
On Sun, Apr 26, 2015 at 10:21 PM, Jonathan Cameron wrote:
> On 20/04/15 15:02, Daniel Baluta wrote:
>> A software trigger associates an IIO device trigger with a software
>> interrupt source (e.g: timer, sysfs). This patch adds the generic
>> infrastructure for handl
On Fri, Apr 24, 2015 at 7:00 PM, Daniel Baluta wrote:
> On Sun, Apr 19, 2015 at 4:28 PM, Jonathan Cameron wrote:
>> On 15/04/15 12:02, Daniel Baluta wrote:
>>> Minimal implementation for MMC35240 3-axis magnetometer
>>> sensor. It provides processed readings and p
Minimal implementation for MMC35240 3-axis magnetometer
sensor. It provides processed readings and possiblity to change
the sampling frequency.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/Kconfig| 11 +
drivers/iio/magnetometer/Makefile | 1 +
drivers/iio/magnetometer
We rely on regmap to save the state of the registers at suspend,
and then we do an explicit sync at resume.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/drivers/iio/magnetometer
On Sun, Apr 19, 2015 at 4:28 PM, Jonathan Cameron wrote:
> On 15/04/15 12:02, Daniel Baluta wrote:
>> Minimal implementation for MMC35240 3-axis magnetometer
>> sensor. It provides processed readings and possiblity to change
>> the sampling frequency.
>>
>>
Peter and Jonathan
* https://lkml.org/lkml/2015/4/15/186
Daniel Baluta (3):
iio: magnetometer: Add support for MEMSIC MMC35240 sensor
iio: magnetometer: mmc35240: Add PM sleep support
iio: magnetometer: Add ACPI support for MMC35240
drivers/iio/magnetometer/Kconfig| 11 +
driver
We assume that ACPI device tables use MMC35240 to
identify MEMSIC's 3 axis magnetic sensor.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35
We need this earlier in the boot process to allow various subsystems
to use configfs (e.g Industrial IIO).
Also, debugfs is at core_initcall level and configfs should be on
the same level from infrastructure point of view.
Suggested-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
Reviewed
On Tue, Apr 21, 2015 at 9:43 PM, Tomasz Duszynski wrote:
> Add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light
> sensors.
>
> Signed-off-by: Tomasz Duszynski
> ---
> drivers/iio/light/Kconfig | 10 ++
> drivers/iio/light/Makefile | 1 +
> drivers/iio/light/bh1750.c | 322
>
its own set of
attributes.
Changes since v3:
* addressed comments from Jonathan for previous version
* https://lkml.org/lkml/2015/4/6/111
Daniel Baluta (4):
iio: core: Introduce IIO software triggers
iio: core: Introduce IIO configfs support
iio: trigger: Introduce IIO
igger core:
$ mkdir /config/iio/triggers/hrtimer-instance1
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +++
drivers/iio/Makefile| 1 +
drivers/iio/industrialio-configfs.c | 117
3 files changed, 126 insertions(+)
Signed-off-by: Daniel Baluta
---
Documentation/iio/iio_configfs.txt | 67 ++
1 file changed, 67 insertions(+)
create mode 100644 Documentation/iio/iio_configfs.txt
diff --git a/Documentation/iio/iio_configfs.txt
b/Documentation/iio/iio_configfs.txt
new file
kernel module is loaded.
Software triggers can be created directly from drivers or from user
space via configfs interface.
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +++
drivers/iio/Makefile | 1 +
drivers/iio/industrialio-sw-trigger.c | 111
based on
an older version from Marten and Lars-Peter.
Signed-off-by: Marten Svanfeldt
Signed-off-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
drivers/iio/trigger/Kconfig| 9 ++
drivers/iio/trigger/Makefile | 2 +
drivers/iio/trigger/iio-trig-hrtimer.c | 201
On Sun, Apr 12, 2015 at 6:40 PM, Jonathan Cameron wrote:
> On 10/04/15 10:02, Daniel Baluta wrote:
>> On Thu, Apr 9, 2015 at 8:09 PM, Jonathan Cameron wrote:
>>> On 06/04/15 15:18, Daniel Baluta wrote:
>>>> This patch adds a new trigger type - the high resoluto
On Sun, Apr 12, 2015 at 6:55 PM, Jonathan Cameron wrote:
> On 10/04/15 12:08, Daniel Baluta wrote:
>> On Thu, Apr 9, 2015 at 8:15 PM, Jonathan Cameron wrote:
>>> On 06/04/15 15:18, Daniel Baluta wrote:
>>>> This module is the core of IIO configfs. It creates t
;
> possibility
Ok.
>
> link to datasheet missing
>
Unfortunately the datasheet isn't public.
>> Signed-off-by: Daniel Baluta
>> ---
>> drivers/iio/magnetometer/Kconfig| 11 +
>> drivers/iio/magnetometer/Makefile | 1 +
>> drivers/iio/ma
We rely on regmap to save the state of the registers at suspend,
and then we do an explicit sync at resume.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/drivers/iio/magnetometer
This adds support for Memsic's MMC35240 magnetometer. The sensor does
not offer an interrupt line for data ready so for the moment we only
expose raw readings via sysfs interface.
This patchset also adds ACPI and Power Management support.
Daniel Baluta (3):
iio: magnetometer: Add suppor
We assume that ACPI device tables use MMC35240 to
identify MEMSIC's 3 axis magnetic sensor.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/mmc35240.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/iio/magnetometer/mmc35240.c
b/drivers/iio/magnetometer/mmc35
Minimal implementation for MMC35240 3-axis magnetometer
sensor. It provides processed readings and possiblity to change
the sampling frequency.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/Kconfig| 11 +
drivers/iio/magnetometer/Makefile | 1 +
drivers/iio/magnetometer
On 04/09/2015 05:51 PM, Kuppuswamy, Sathyanarayanan wrote:
Hi Daniel,
You have asked me to include this patch in my LTR501 patch set. I have already
sent few versions of my patch set with your patch. Do you want to submit it
again separately?
Hi Sathya,
After Jonathan's comments on patch
This makes ltr501 code consistent with the coding style adopted
for the new drivers added to IIO.
We prepare the path for adding support for LTR559 chip.
Reported by checkpatch.pl
Signed-off-by: Daniel Baluta
---
Changes since v1:
* rebased on top of 1ca510b0ea6 ("iio: light: l
On 04/09/2015 04:39 PM, Jonathan Cameron wrote:
On 31/03/15 11:37, Daniel Baluta wrote:
This device is register compatible with LTR501, with a minor difference for
ALS control register as showed below:
ALS Control register for LTR501:
7 6 5 4 3 2 1 0
On Mon, Apr 6, 2015 at 5:18 PM, Daniel Baluta wrote:
> This module is the core of IIO configfs. It creates the "iio" subsystem under
> configfs mount point root, with one default group for "triggers".
>
> It offers basic interface for registering software trigge
We need this earlier in the boot process to allow various subsystems
to use configfs (e.g Industrial IIO).
Also, debugfs is at core_initcall level and configfs should be on
the same level from infrastructure point of view.
Suggested-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
On Tue, Apr 7, 2015 at 11:18 AM, Tom Van Braeckel
wrote:
> The private_data member of the /dev/lguest device file is used to hold
> the current struct lguest and needs to be set to NULL to signify that
> no initialization has taken place.
>
> We explicitly set it to NULL to be independent of whate
gger types. To add a new trigger type we must
create a new kernel module which implements iio_configfs_trigger.h interface.
See Documentation/iio/iio_configfs.txt for more details on how configfs
support for IIO works.
Signed-off-by: Daniel Baluta
---
Changes since v2:
* Fix build erro
he trigger is the same as the dir
name. Each trigger will have a "delay" attribute representing the delay
between two successive IIO trigger_poll calls.
Signed-off-by: Marten Svanfeldt
Signed-off-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
Changes since v2:
* n
s Documentation
Changes since last version are listed in each individual patch.
Daniel Baluta (3):
iio: configfs: Add configfs support to IIO
iio: trigger: Add support for highres timer trigger type
iio: Documentation: Add documentation for IIO configfs
Documentation/iio/iio_configfs.txt
Signed-off-by: Daniel Baluta
---
Changes since v2:
* fix some whitespace issues reported by Paul
Changes since v1:
* addressed feedback for v1:
* https://lkml.org/lkml/2015/3/25/648
* adapted to match the changes in patches 1 and 2
* fixed some
On Sat, Apr 4, 2015 at 9:26 PM, Paul Bolle wrote:
> On Fri, 2015-04-03 at 18:57 +0300, Daniel Baluta wrote:
>> --- a/drivers/iio/Kconfig
>> +++ b/drivers/iio/Kconfig
>> +config IIO_CONFIGFS
>> + tristate "Enable IIO configuration via configfs"
>
he trigger is the same as the dir
name. Each trigger will have a "delay" attribute representing the delay
between two successive IIO trigger_poll calls.
Signed-off-by: Marten Svanfeldt
Signed-off-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
Changes since v2:
* replace
gger types. To add a new trigger type we must
create a new kernel module which implements iio_configfs_trigger.h interface.
See Documentation/iio/iio_configfs.txt for more details on how configfs
support for IIO works.
Signed-off-by: Daniel Baluta
---
Changes since v1:
* addressed f
Signed-off-by: Daniel Baluta
---
Changes since v1:
* addressed feedback for v1:
* https://lkml.org/lkml/2015/3/25/648
* adapted to match the changes in patches 1 and 2
* fixed some typos and clarified further work
Documentation/iio/iio_configfs.txt | 82
s Documentation
Changes since v1 are listed in each individual patch.
Daniel Baluta (3):
iio: configfs: Add configfs support to IIO
iio: trigger: Add support for highres timer trigger type
iio: Documentation: Add documentation for IIO configfs
Documentation/iio/iio_configfs.txt | 82
On Wed, Mar 18, 2015 at 9:56 PM, Daniel Baluta wrote:
> We need this earlier in the boot process to allow various subsystems
> to use configfs (e.g Industrial IIO).
>
> Also, debugfs is at core_initcall level and configfs should be on
> the same level from infrastructur
On Sat, Mar 28, 2015 at 1:53 PM, Jonathan Cameron wrote:
> On 25/03/15 19:28, Daniel Baluta wrote:
>> On Wed, Mar 25, 2015 at 7:22 PM, Peter Meerwald wrote:
>>> On Wed, 25 Mar 2015, Daniel Baluta wrote:
>>>
>>>> This file wants to be a starting point docu
On Sat, Mar 28, 2015 at 1:50 PM, Jonathan Cameron wrote:
> On 27/03/15 17:17, Lars-Peter Clausen wrote:
>> On 03/25/2015 06:00 PM, Daniel Baluta wrote:
>>> This creates an IIO configfs subsystem named "iio", which has one default
>>> group named "triggers
First patch does some cleanups in order to make alignment style
consistent with the rest of IIO drivers. Then second patch adds
support for Lite On LTR559 ambient light and proximity sensor.
This is a RFC because the code is compile tested only. The
chip should arrive in a few days.
Daniel
difference by introducing ltr501_chip_info.
Datasheet for LTR559 is at:
http://optoelectronics.liteon.com/upload/download/DS86-2013-0003/S_110_LTR-559ALS-01_DS_V1.pdf
Signed-off-by: Daniel Baluta
---
drivers/iio/light/ltr501.c | 196 +
1 file changed, 163
This makes ltr501 code consistent with the coding style adopted
for the new drivers added to IIO.
We prepare the path for adding support for LTR559 chip.
Reported by checkpatch.pl
Signed-off-by: Daniel Baluta
---
drivers/iio/light/ltr501.c | 46 +-
1
This makes ltr501 code consistent with the coding style adopted
for the new drivers added to IIO.
We prepare the path for adding support for LTR559 chip.
Reported by checkpatch.pl
Signed-off-by: Daniel Baluta
---
drivers/iio/light/ltr501.c | 46 +-
1
First patch does some cleanups in order to make alignment style
consistent with the rest of IIO drivers. Then second patch adds
support for Lite On LTR559 ambient light and proximity sensor.
This is a RFC because the code is compile tested only. The
chip should arrive in a few days.
Daniel
difference by introducing ltr501_chip_info.
Datasheet for LTR559 is at:
http://optoelectronics.liteon.com/upload/download/DS86-2013-0003/S_110_LTR-559ALS-01_DS_V1.pdf
Signed-off-by: Daniel Baluta
---
drivers/iio/light/ltr501.c | 196 +
1 file changed, 163
, the extracted generic name
> is "in" (when it should be "in_accel"). This is used in generic_buffer
> to generate scale and offset paths (in_accel_scale).
>
> Consider the in_ or out_ prefix when extracting the generic name
> from the full name.
>
>
On 03/25/2015 10:14 PM, Paul Bolle wrote:
A license nit.
On Wed, 2015-03-25 at 19:00 +0200, Daniel Baluta wrote:
--- /dev/null
+++ b/drivers/iio/industrialio-configfs.c
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General
On Wed, Mar 25, 2015 at 7:22 PM, Peter Meerwald wrote:
> On Wed, 25 Mar 2015, Daniel Baluta wrote:
>
>> This file wants to be a starting point document for anyone wanting
>> to use IIO configfs support or adding new IIO configfs functionality.
>
> typos below; I'm jus
This patch adds an IIO trigger driver which uses a high resolution
timer to provide a frequency based trigger.
Signed-off-by: Marten Svanfeldt
Signed-off-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
drivers/iio/industrialio-configfs.c | 4 +
drivers/iio/trigger/Kconfig
l" trigger type - hrtimer.
* patch 3 - adds Documentation
Daniel Baluta (3):
iio: configfs: Add configfs support to IIO
iio: trigger: Add support for highres timer trigger
iio: Documentation: Add initial documentaton for IIO
Documentation/iio/iio_configfs.txt | 74
configfs core.
See Documentation/iio/iio_configfs.txt for more details on how configfs
support for IIO works.
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +
drivers/iio/Makefile | 1 +
drivers/iio/industrialio-c
This file wants to be a starting point document for anyone wanting
to use IIO configfs support or adding new IIO configfs functionality.
Signed-off-by: Daniel Baluta
---
Documentation/iio/iio_configfs.txt | 74 ++
1 file changed, 74 insertions(+)
create mode
On Tue, Mar 24, 2015 at 5:22 PM, Lars-Peter Clausen wrote:
> Add Alexandre and linux-gpio to Cc.
>
>
> On 03/24/2015 04:06 PM, Mika Westerberg wrote:
>>
>> On Tue, Mar 24, 2015 at 02:57:49PM +0100, Linus Walleij wrote:
>>>
>>> On Tue, Mar 24, 2015 at 2:38 PM, Lars-Peter Clausen
>>> wrote:
>>
On Mon, Mar 23, 2015 at 5:18 PM, Mika Westerberg
wrote:
> On Mon, Mar 23, 2015 at 03:40:24PM +0200, Robert Dolca wrote:
>> Signed-off-by: Robert Dolca
>> ---
>> drivers/iio/common/st_sensors/st_sensors_i2c.c | 35
>> ++
>> drivers/iio/gyro/st_gyro_i2c.c |
We need this earlier in the boot process to allow various subsystems
to use configfs (e.g Industrial IIO).
Also, debugfs is at core_initcall level and configfs should be on
the same level from infrastructure point of view.
Suggested-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
First
We need this earlier in the boot process to allow various subsystems
to use configfs (e.g Industrial IIO).
Also, debugfs is at core_initcall level and configfs should be on
the same level from infrastructure point of view.
Suggested-by: Lars-Peter Clausen
Signed-off-by: Daniel Baluta
---
fs
On Wed, Mar 18, 2015 at 6:47 PM, Lars-Peter Clausen wrote:
> On 03/18/2015 04:04 PM, Daniel Baluta wrote:
>>
>> On Sat, Mar 14, 2015 at 7:21 PM, Jonathan Cameron
>> wrote:
>>>
>>> On 12/03/15 12:48, Daniel Baluta wrote:
>>>>
>>>> O
On Sat, Mar 14, 2015 at 7:21 PM, Jonathan Cameron wrote:
> On 12/03/15 12:48, Daniel Baluta wrote:
>> On Thu, Mar 12, 2015 at 10:40 AM, Lars-Peter Clausen wrote:
>>> On 03/12/2015 09:16 AM, Octavian Purdila wrote:
>>>>
>>>> On Wed, Mar 11,
On Sun, Mar 15, 2015 at 10:49 PM, Jonathan Cameron wrote:
> On 15/03/15 20:34, Daniel Baluta wrote:
>> On Sat, Mar 14, 2015 at 7:21 PM, Jonathan Cameron wrote:
>>> On 12/03/15 12:48, Daniel Baluta wrote:
>>>> On Thu, Mar 12, 2015 at 10:40 AM, Lars-Peter Clausen
&
On Sat, Mar 14, 2015 at 7:21 PM, Jonathan Cameron wrote:
> On 12/03/15 12:48, Daniel Baluta wrote:
>> On Thu, Mar 12, 2015 at 10:40 AM, Lars-Peter Clausen wrote:
>>> On 03/12/2015 09:16 AM, Octavian Purdila wrote:
>>>>
>>>> On Wed, Mar 11,
160 ms | 0.045
320 ms | 0.0225
640 ms | 0.01125
1280 ms | 0.005625
Signed-off-by: Daniel Baluta
---
Changes since v2:
* use iio_device_register instead of devm_* variant, in order
to better control call order at remove
* introduce cm3323_disable and call
On Thu, Mar 12, 2015 at 10:40 AM, Lars-Peter Clausen wrote:
> On 03/12/2015 09:16 AM, Octavian Purdila wrote:
>>
>> On Wed, Mar 11, 2015 at 6:36 PM, Daniel Baluta
>> wrote:
>>>
>>>
>>> As written in Documentation/ABI/testing/sysfs-bus-iio the tri
As written in Documentation/ABI/testing/sysfs-bus-iio the trigger
attribute for sampling frequency should be sampling_frequency.
Fix this for iio-trig-periodic-rtc module in order to prepare it
for moving out of staging.
Signed-off-by: Daniel Baluta
---
Jonathan, this module is very useful for
On Mon, Mar 9, 2015 at 5:45 PM, Jonathan Cameron wrote:
> On 02/03/15 19:03, Kevin Tsai wrote:
>> Hi Daniel,
>>
>> Ambient light sensor is trying to match the brightness sensitivity of human
>> visual system. Please see the following links:
>> http://en.wikipedia.org/wiki/Color_vision#mediaviewe
Hi Tomasz,
On Sun, Mar 8, 2015 at 7:29 PM, Tomasz Duszynski wrote:
> Add support for Measurement Specialities MS5611 pressure
> and temperature sensor.
>
> Signed-off-by: Tomasz Duszynski
> +++ b/drivers/iio/pressure/ms5611_i2c.c
> @@ -0,0 +1,131 @@
> +/*
> + * MS5611 pressure and temperature
On Sun, Mar 8, 2015 at 2:39 PM, Greg KH wrote:
> On Sun, Mar 08, 2015 at 12:53:17PM +0200, Ioana Antoche wrote:
>> Fix checkpatch.pl warnings such as:
>> * missing blank line after declarations
>> * line over 80 characters
>>
>> Signed-off-by: Ioana Antoche
>
> The subject: of "nits" doesn't real
gt; reported as not present and vice versa.
>
> Fix this by shifting left rather than right.
>
> Fixes: 472fdec7380c("regmap: rbtree: Reduce number of nodes, take 2")
> Reported-by: Daniel Baluta
> Signed-off-by: Lars-Peter Clausen
Thanks Lars! I confirm that t
On Fri, Mar 6, 2015 at 7:36 PM, Lars-Peter Clausen wrote:
> On 03/06/2015 06:26 PM, Daniel Baluta wrote:
> [...]
>>
>> I can reproduce the problem with:
>>
>> static struct reg_default xxx_reg_defaults[] = {
>> { XXX_REG_CTRL0, 0x00 }
On Fri, Mar 6, 2015 at 3:27 PM, Daniel Baluta wrote:
> On Fri, Mar 6, 2015 at 2:45 PM, Lars-Peter Clausen wrote:
>> On 03/06/2015 12:21 PM, Mark Brown wrote:
>>>
>>> On Thu, Mar 05, 2015 at 08:14:14PM +0200, Daniel Baluta wrote:
>>>>
>>&
On Fri, Mar 6, 2015 at 2:45 PM, Lars-Peter Clausen wrote:
> On 03/06/2015 12:21 PM, Mark Brown wrote:
>>
>> On Thu, Mar 05, 2015 at 08:14:14PM +0200, Daniel Baluta wrote:
>>>
>>> On Mar 5, 2015 7:54 PM, "Mark Brown" wrote:
>>
>>
>>>
Hi Mark,
Is it possible to use regmap_update_bits to update the values
of some bits in a write only register?
I was hoping that by filling the .reg_defaults field of regmap_config
the regmap_update_bits function will not try to read the register
from hardware.
Instead I think first call of regma
701 - 800 of 953 matches
Mail list logo