[PATCH v4 3/5] arm64: dts: imx8mq: Add SAI2 node

2019-02-26 Thread Daniel Baluta
SAI2 is part of AIPS-3 memory region. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 9d48450453fb

[PATCH v4 5/5] arm64: dts: imx8mq-evk: Enable wm8524 codec

2019-02-26 Thread Daniel Baluta
This uses simple-audio-card machine driver adding 1 CPU DAI and 1 Codec DAI. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot

[PATCH v2] ASoC: core: Don't set platform name when of_node is set

2021-03-25 Thread Daniel Baluta
From: Daniel Baluta A DAI link has 3 components: * CPU * platform * codec(s) A component is specified via: * name * of_node * dai_name In order to avoid confusion when building a sound card we disallow matching by both name and of_node (1

Re: [PATCH] ASoC: wm8962: Relax bit clock divider searching

2021-03-05 Thread Daniel Baluta
t; > wm8962 3-001a: Unsupported BCLK ratio 9 > > Fix this by relaxing bitclk divider searching, so that when > no exact value can be derived from sysclk pick the closest > value greater than expected bitclk. > > Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta

Re: [PATCH] ASoC: core: Don't set platform name when of_node is set

2021-03-17 Thread Daniel Baluta
On Fri, Mar 12, 2021 at 4:24 PM Mark Brown wrote: > > On Fri, Mar 12, 2021 at 02:37:30PM +0200, Daniel Baluta wrote: > > On Fri, Mar 12, 2021 at 1:59 PM Mark Brown wrote: > > > > No, just the opposite! If there's an explict name configured why do you > > >

Re: [PATCH] ASoC: core: Don't set platform name when of_node is set

2021-03-12 Thread Daniel Baluta
On Tue, Mar 9, 2021 at 5:38 PM Mark Brown wrote: > > On Tue, Mar 09, 2021 at 10:23:28AM +0200, Daniel Baluta wrote: > > From: Daniel Baluta > > > > Platform may be specified by either name or OF node but not > > both. > > > > For OF node platforms (e

Re: [PATCH] ASoC: core: Don't set platform name when of_node is set

2021-03-12 Thread Daniel Baluta
On Fri, Mar 12, 2021 at 12:50 PM Mark Brown wrote: > > On Fri, Mar 12, 2021 at 10:32:54AM +0200, Daniel Baluta wrote: > > On Tue, Mar 9, 2021 at 5:38 PM Mark Brown wrote: > > > > > + if (!dai_link->platforms->of_node) > > > > +

Re: [PATCH] ASoC: core: Don't set platform name when of_node is set

2021-03-12 Thread Daniel Baluta
On Fri, Mar 12, 2021 at 1:59 PM Mark Brown wrote: > > On Fri, Mar 12, 2021 at 12:59:29PM +0200, Daniel Baluta wrote: > > On Fri, Mar 12, 2021 at 12:50 PM Mark Brown wrote: > > > > If an explicit name has been provided why would we override it with an > > > autog

[PATCH] ASoC: core: Don't set platform name when of_node is set

2021-03-09 Thread Daniel Baluta
From: Daniel Baluta Platform may be specified by either name or OF node but not both. For OF node platforms (e.g i.MX) we end up with both platform name and of_node set and sound card registration will fail with the error: asoc-simple-card sof-sound-wm8960: ASoC: Neither/both platform name

Re: [firefly] [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Daniel Baluta
>> Signed-off-by: Matei Oprea >> Cc: ROSEdu Kernel Community > > Why the cc: for a non-maintainer / person? We try to keep track of student's contributions in this way. Also, patches are internally reviewed on this mailing list before sending them to maintainers. thanks, Daniel. -- To unsubscri

[PATCH] net: remove empty lines from tcp_syn_flood_action

2014-03-19 Thread Daniel Baluta
Signed-off-by: Daniel Baluta --- net/ipv4/tcp_ipv4.c |2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c4f1d9a..4555244 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -880,8 +880,6 @@ bool tcp_syn_flood_action(struct sock *sk

[PATCH] net: remove empty lines from tcp_syn_flood_action

2014-03-19 Thread Daniel Baluta
Signed-off-by: Daniel Baluta --- net/ipv4/tcp_ipv4.c |2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c4f1d9a..4555244 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -880,8 +880,6 @@ bool tcp_syn_flood_action(struct sock *sk

Re: [PATCH] net: remove empty lines from tcp_syn_flood_action

2014-03-19 Thread Daniel Baluta
On Wed, Mar 19, 2014 at 3:58 PM, Daniel Baluta wrote: > Signed-off-by: Daniel Baluta > --- > net/ipv4/tcp_ipv4.c |2 -- > 1 file changed, 2 deletions(-) > > diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c > index c4f1d9a..4555244 100644 > --- a/net/ipv4/tcp

Re: [PATCH v3] IIO: add si7020 driver

2014-09-24 Thread Daniel Baluta
On Wed, Sep 24, 2014 at 6:02 PM, David Barksdale wrote: > This patch adds support to the Industrial IO subsystem > for the Silicon Labs Si7013/20/21 Relative Humidity and > Temperature Sensors. > > Website: > http://www.silabs.com/products/sensors/humidity-sensors/Pages/si7013-20-21.aspx > > Thes

Re: [PATCH v7] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-10 Thread Daniel Baluta
On Wed, Sep 10, 2014 at 10:28 PM, Jonathan Cameron wrote: > On 10/09/14 18:57, Hartmut Knaack wrote: >> Daniel Baluta schrieb, Am 10.09.2014 08:57: >>> Minimal implementation. This driver provides raw illuminance readings. >>> >>> This is based on drivers/hwm

Re: [RESEND PATCH] iio: light: add support for TI's opt3001 light sensor

2014-09-29 Thread Daniel Baluta
On Mon, Sep 29, 2014 at 9:53 PM, Felipe Balbi wrote: > Hi, > > On Mon, Sep 29, 2014 at 01:38:56PM -0500, Michael Welling wrote: >> On Mon, Sep 29, 2014 at 09:02:27AM -0500, Felipe Balbi wrote: >> > Alright, this is already ridiculous. Andrew, if I resend the patch can >> > you apply it since maint

[PATCH] iio: hid-sensors: make hid_sensor_get_reporting_interval static

2014-06-30 Thread Daniel Baluta
This fixes the following sparse warning: CHECK drivers/iio/common/hid-sensors/hid-sensor-attributes.c drivers/iio/common/hid-sensors/hid-sensor-attributes.c:346:5: warning: symbol 'hid_sensor_get_reporting_interval' was not declared. Should it be static? Signed-off-by: Dan

[PATCH] staging: iio: remove duplicate case labels

2014-07-07 Thread Daniel Baluta
staging: add recently added modifiers to iio_event_monitor) Signed-off-by: Daniel Baluta --- drivers/staging/iio/Documentation/iio_event_monitor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/iio/Documentation/iio_event_monitor.c b/drivers/staging/iio/Documentation

[PATCH] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-21 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- drivers/iio/light/Kconfig | 10 ++ drivers/iio

Re: [PATCH] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-21 Thread Daniel Baluta
esource.com/kernel/msm.git >> >> Signed-off-by: Daniel Baluta > > comments inline below I addressed most of your comments in v2. See below. > >> --- >> drivers/iio/light/Kconfig | 10 ++ >> drivers/iio/light/Makefile | 1 + >> drivers/iio/light/

[PATCH v2] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-21 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v1: (reported by Peter Meerwald

[PATCH] io: accel: kxcjk1013: Remove redundant assignment

2014-08-22 Thread Daniel Baluta
data->range is already set by kxcjk1013_set_range. Signed-off-by: Daniel Baluta --- drivers/iio/accel/kxcjk-1013.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 70a5679..01e86d0 100644 --- a/drivers/iio/accel/kx

Re: [PATCH v2] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-22 Thread Daniel Baluta
ooglesource.com/kernel/msm.git > > some more comments on minor things below... > >> Signed-off-by: Daniel Baluta >> --- >> Changes since v1: (reported by Peter Meerwald) >> * used u8 instead of int for passing gain and mean_time >> * used i2c_smbus

[PATCH v3] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-22 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v2: (reported by Peter Meerwald

[PATCH v6] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-08 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v5: (reported by Hartmut

Re: [PATCH v6] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-09 Thread Daniel Baluta
On Wed, Sep 10, 2014 at 1:07 AM, Hartmut Knaack wrote: > Daniel Baluta schrieb, Am 08.09.2014 10:13: >> Minimal implementation. This driver provides raw illuminance readings. >> >> This is based on drivers/hwmon/al3320.c (*) driver from msm tree written >> by

[PATCH v7] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-09 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v6: (reported by Hartmut

[PATCH 1/3] usb: add support for Diolan DLN-2 devices

2014-08-20 Thread Daniel Baluta
From: Octavian Purdila This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be found in the Programmer's Reference Manual [1], see

[PATCH 0/3] dln-2: Add support for Diolan DLN-2 devices

2014-08-20 Thread Daniel Baluta
This patch series adds support for Diolan USB-I2C/GPIO Master Adapter DLN-2. Details about device can be found here: https://www.diolan.com/i2c/i2c_interface.html. There is no support for SPI part yet. Daniel Baluta (1): gpio: add support for the Diolan DLN-2 USB-GPIO driver Laurentiu Palcu

[PATCH 3/3] gpio: add support for the Diolan DLN-2 USB-GPIO driver

2014-08-20 Thread Daniel Baluta
igned-off-by: Daniel Baluta --- drivers/gpio/Kconfig | 13 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-dln2.c | 571 +++ 3 files changed, 585 insertions(+) create mode 100644 drivers/gpio/gpio-dln2.c diff --git a/drivers/gpio/Kconfig b/dr

[PATCH 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-08-20 Thread Daniel Baluta
From: Laurentiu Palcu This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 6.2.2 for the I2C master mod

[PATCH] iio: accel: kxcjk-1013: Fix defined but unused warning

2014-09-03 Thread Daniel Baluta
Noticed when compiling with CONFIG_PM_RUNTIME not set: kxcjk-1013.c: warning: ‘kxcjk1013_get_startup_times’ defined but not used [-Wunused-function] Introduced by commit 124e1b1d (iio: accel: kxcjk-1013: support runtime pm). Reviewed-by: Srinivas Pandruvada Signed-off-by: Daniel Baluta

Re: [PATCH v5] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-05 Thread Daniel Baluta
On 09/05/2014 12:36 PM, Hartmut Knaack wrote: Daniel Baluta schrieb: Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Almost there

Re: [PATCH v3] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-30 Thread Daniel Baluta
On Sat, Aug 30, 2014 at 1:00 PM, Jonathan Cameron wrote: > On 27/08/14 09:49, Hartmut Knaack wrote: >> Daniel Baluta schrieb: >>> Minimal implementation. This driver provides raw illuminance readings. >>> >>> This is based on drivers/hwmon/al3320.c (*) driver

Re: [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008

2014-08-30 Thread Daniel Baluta
On Tue, Aug 19, 2014 at 6:25 PM, Daniel Baluta wrote: > This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor. > KXCJ9-1008 uses the same register definitions as KXCJK-1013. > > The specification for KXCJ9-1008 can be downloaded from: > http://www.kionix.com/site

[PATCH v4] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-01 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v3: (reported by Hartmut and Jonathan

Re: [PATCH v4] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-01 Thread Daniel Baluta
* https://android.googlesource.com/kernel/msm.git >> >> Signed-off-by: Daniel Baluta >> --- >> Changes since v3: (reported by Hartmut and Jonathan) >> * dropped the local store for the range, instead read it when necessary >> * removed wrapper function

[PATCH v5] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-09-01 Thread Daniel Baluta
Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin * https://android.googlesource.com/kernel/msm.git Signed-off-by: Daniel Baluta --- Changes since v4: (reported by Peter) * no

[PATCH] iio: accel: kxcjk-1013: add support for kxtj2-1009

2014-09-03 Thread Daniel Baluta
Pandruvada Signed-off-by: Daniel Baluta --- drivers/iio/accel/Kconfig | 3 +- drivers/iio/accel/kxcjk-1013.c | 111 + 2 files changed, 92 insertions(+), 22 deletions(-) diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index 01b857e

Re: [PATCH 1/2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Daniel Baluta
On Tue, Oct 21, 2014 at 5:48 AM, Brian Vandre wrote: > This fixes the checkpatch.pl warning: > WARNING: line over 80 characters > > Signed-off-by: Brian Vandre As a part of OPW [1] IIO cleanup project [2] we analyzed all checkpatch.pl warnings / errors and we decided not to fix some of them as t

[PATCH] iio: imu: Add support for Kionix KMX61 sensor

2014-11-06 Thread Daniel Baluta
Minimal implementation for KMX61 6-axis accelerometer/magnetometer. It exports raw accel/magn readings together with scale and sampling frequency. Datasheet will be available at: http://www.kionix.com/6-axis-accelerometer-magnetometer/kmx61 Signed-off-by: Daniel Baluta --- Accelerometer is

Re: [PATCH] iio: (ms5637) Add Measurement Specialties MS5637 support

2014-11-06 Thread Daniel Baluta
Quick review: Use iio: ms5637: Add Measurement Specialties MS5637 support instead of iio: (ms5637) Add Measurement Specialties MS5637 support for subject. If available please add a link to the datasheet here. On Thu, Nov 6, 2014 at 11:46 AM, Markezana, William wrote: > Signed-off-by: Ludovic

[PATCH v3 0/7] Introduce IIO interface for Android advanced features

2014-10-28 Thread Daniel Baluta
* use int instead of unsigned long for ret in iio_evgen_poke * remove TRANSITION event and use THRESHOLD instead * remove IIO_HEIGHT channel and use CALIBHEIGHT mask instead * adapt iio_dummy modules and iio_event_monitor to reflect IIO interface changes.

[PATCH v3 5/7] iio: core: Introduce IIO_CHAN_INFO_CALIBHEIGHT

2014-10-28 Thread Daniel Baluta
er to determine distance, speed and activity type. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/sysfs-bus-iio | 8 drivers/iio/industrialio-core.c | 1 + include/linux/iio/iio.h | 1 + 3 files changed, 10 insertions(+)

[PATCH v3 6/7] iio: dummy: Demonstrate the usage of new channel types

2014-10-28 Thread Daniel Baluta
bit for reading and writing user's height. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/staging/iio/iio_simple_dummy.c| 199 +++--- drivers/staging/iio/iio_simple_dummy.h| 5 + drivers/staging/iio/iio_simple_dummy_events.c

[PATCH v3 7/7] iio: event_monitor: Add support for new channel types

2014-10-28 Thread Daniel Baluta
na Tirdea Signed-off-by: Daniel Baluta --- .../staging/iio/Documentation/iio_event_monitor.c | 23 +++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/Documentation/iio_event_monitor.c b/drivers/staging/iio/Documentation/iio_event_monito

[PATCH v3 4/7] iio: core: Introduce STEPS channel, ENABLE mask and INSTANCE event

2014-10-28 Thread Daniel Baluta
/devices/sensors/composite_sensors.html#detector. A device that has the pedometer functionality this interface needs to support is Freescale's MMA9553L: http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Irina Tirdea Signed-off-by: Daniel B

[PATCH v3 3/7] iio: core: Introduce IIO_EV_DIR_NONE

2014-10-28 Thread Daniel Baluta
From: Irina Tirdea For some events (e.g.: step detector) a direction does not make sense. Add IIO_EV_DIR_NONE to be used with such events and generate sysfs event attributes that do not contain direction. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/iio/industrialio

[PATCH v3 2/7] iio: core: Introduce IIO_ACTIVITY channel

2014-10-28 Thread Daniel Baluta
http://freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/sysfs-bus-iio | 44 + drivers/iio/industrialio-core.c | 5 include/linux/iio/types.h

[PATCH v3 1/7] iio: dummy: Add virtual registers for dummy device

2014-10-28 Thread Daniel Baluta
> /sys/bus/iio/devices/iio_evgen/poke2 id_reg 0x02, id_data 0x04 This means, event of type 4 was generated by fake device 2. We currently use a hardcoded mapping of virtual events to IIO events. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/staging/iio/iio_dummy_evge

Re: [RFC PATCH v2 4/7] iio: core: Introduce STEPS channel type, ENABLE mask and INSTANCE event

2014-10-28 Thread Daniel Baluta
On Sat, Oct 25, 2014 at 10:18 PM, Jonathan Cameron wrote: > On 24/10/14 23:31, Hartmut Knaack wrote: >> Daniel Baluta schrieb am 09.10.2014 14:39: >>> From: Irina Tirdea >>> >>> These changes are needed to support the functionality of a pedometer. >>&

Re: [RFC PATCH 1/8] iio: dummy: Introduce virtual registers for dummy device

2014-10-06 Thread Daniel Baluta
On Sat, Oct 4, 2014 at 3:48 PM, Jonathan Cameron wrote: > On 02/10/14 14:43, Daniel Baluta wrote: >> We need a way to store events generated by iio_dummy_evgen module, >> in order to correctly process IRQs in iio_simple_dummy_events. >> >> For the moment, we add tw

Re: [RFC PATCH 3/8] iio: core: Introduce new MOTION event

2014-10-06 Thread Daniel Baluta
On 10/04/2014 04:12 PM, Jonathan Cameron wrote: On 02/10/14 14:43, Daniel Baluta wrote: This is to be used by drivers to signal detection of motion. We also add some possible values for motion as IIO events modifiers: * running * jogging * walking * still

Re: [RFC PATCH 3/8] iio: core: Introduce new MOTION event

2014-10-07 Thread Daniel Baluta
On Sat, Oct 4, 2014 at 4:12 PM, Jonathan Cameron wrote: > On 02/10/14 14:43, Daniel Baluta wrote: >> This is to be used by drivers to signal detection of motion. We also >> add some possible values for motion as IIO events modifiers: >> * running >> *

[RFC PATCH] iio: Introduce activity channel

2014-10-02 Thread Daniel Baluta
[1] http://source.android.com/devices/sensors/composite_sensors.html [2] http://marc.info/?l=linux-iio&m=138374342831057&w=2 [3] http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Daniel Baluta (5): iio: dummy: Introduce virtual registers for dummy device ii

[RFC PATCH 8/8] iio: event_monitor: Add support for activity channel

2014-10-02 Thread Daniel Baluta
0 Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/staging/iio/Documentation/iio_event_monitor.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/staging/iio/Documentation/iio_event_monitor.c b/drivers/staging/iio/Documentation/iio_event_monito

[RFC PATCH 6/8] iio: core: Introduce new STEP_DETECT event

2014-10-02 Thread Daniel Baluta
://source.android.com/devices/sensors/composite_sensors.html#detector. A device that has the pedometer functionality this interface needs to support is Freescale's MMA9553L: http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Irina Tirdea Signed-off-by: Daniel B

[RFC PATCH 7/8] iio: dummy: Demonstrate the usage of activity channel

2014-10-02 Thread Daniel Baluta
Adds support for the activity channel in the dummy driver: - a new channel IIO_ACTIVITY - support for reading and writing pedometer step counter - step detect event - motion detect event Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/staging/iio/iio_simple_dummy.c

[RFC PATCH 4/8] iio: core: Introduce pedometer STEP counter modifier

2014-10-02 Thread Daniel Baluta
Freescale's MMA9553L: http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h

[RFC PATCH 2/8] iio: core: Introduce IIO_ACTIVITY channel

2014-10-02 Thread Daniel Baluta
://source.android.com/devices/sensors/composite_sensors.html This sensors are supported by Freescale's MMA9553 device. http://freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Daniel Baluta Signed-off-by: Irina Tirdea --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/ty

[RFC PATCH 3/8] iio: core: Introduce new MOTION event

2014-10-02 Thread Daniel Baluta
s/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Daniel Baluta Signed-off-by: Irina Tirdea --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 4 drivers/iio/industrialio-event.c| 1 + include/linux/iio/types.h | 7 +

[RFC PATCH 5/8] iio: core: Introduce ENABLE channel info mask

2014-10-02 Thread Daniel Baluta
From: Irina Tirdea This change is needed for the step counter functionality of a pedometer. The step counter needs to be enabled and then it will count the steps in its hardware register. Whenever the applications need to check the step count, they will read the step counter register. Since the

[RFC PATCH 1/8] iio: dummy: Introduce virtual registers for dummy device

2014-10-02 Thread Daniel Baluta
> /sys/bus/iio/devices/iio_evgen/poke2 id_reg 0x02, id_data 0x04 This means, event of type 4 was generated by fake device 2. We currently use a hardcoded mapping of virtual events to IIO events. Signed-off-by: Daniel Baluta Signed-off-by: Irina Tirdea --- drivers/staging/iio/iio_dummy_evge

Re: [RFC PATCH v2 2/7] iio: core: Introduce IIO_ACTIVITY channel and TRANSITION event

2014-10-25 Thread Daniel Baluta
On Sat, Oct 25, 2014 at 10:01 PM, Jonathan Cameron wrote: > On 09/10/14 13:39, Daniel Baluta wrote: >> This channel will be used for exposing information about >> activity composite sensors. Activities supported so far: >> * running >> * jogging >>

Re: [RFC PATCH v2 1/7] iio: dummy: Add virtual registers for dummy device

2014-10-25 Thread Daniel Baluta
On Sat, Oct 25, 2014 at 10:49 PM, Hartmut Knaack wrote: > Jonathan Cameron schrieb am 25.10.2014 20:55: >> On 09/10/14 13:39, Daniel Baluta wrote: >>> We need a way to store events generated by iio_dummy_evgen module, >>> in order to correctly process IRQs in iio_simpl

Re: [PATCH] iio: imu: Add support for Kionix KMX61 sensor

2014-11-08 Thread Daniel Baluta
On Sat, Nov 8, 2014 at 2:37 PM, Jonathan Cameron wrote: > On 06/11/14 12:29, Daniel Baluta wrote: >> Minimal implementation for KMX61 6-axis accelerometer/magnetometer. It >> exports >> raw accel/magn readings together with scale and sampling frequency. >> >&g

[PATCH] iio: accel: kxcjk-1013: Fix kxcjk10013_set_range

2014-11-10 Thread Daniel Baluta
) Signed-off-by: Daniel Baluta Reviewed-by: Srinivas Pandruvada --- drivers/iio/accel/kxcjk-1013.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 98909a9..21f1279 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio

[PATCH v4 0/7] Introduce IIO interface for Android advanced features

2014-11-10 Thread Daniel Baluta
e CALIBHEIGHT mask instead * adapt iio_dummy modules and iio_event_monitor to reflect IIO interface changes. Daniel Baluta (4): iio: dummy: Add virtual registers for dummy device iio: core: Introduce IIO_ACTIVITY channel iio: dummy: Demonstrate the usage of new channel types

[PATCH v4 6/7] iio: dummy: Demonstrate the usage of new channel types

2014-11-10 Thread Daniel Baluta
bit for reading and writing user's height. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/staging/iio/iio_simple_dummy.c| 199 +++--- drivers/staging/iio/iio_simple_dummy.h| 5 + drivers/staging/iio/iio_simple_dummy_events.c

[PATCH v4 5/7] iio: core: Introduce IIO_CHAN_INFO_CALIBHEIGHT

2014-11-10 Thread Daniel Baluta
er to determine distance, speed and activity type. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/sysfs-bus-iio | 8 drivers/iio/industrialio-core.c | 1 + include/linux/iio/iio.h | 1 + 3 files changed, 10 insertions(+)

[PATCH v4 2/7] iio: core: Introduce IIO_ACTIVITY channel

2014-11-10 Thread Daniel Baluta
http://freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/sysfs-bus-iio | 44 + drivers/iio/industrialio-core.c | 5 include/linux/iio/types.h

[PATCH v4 4/7] iio: core: Introduce STEPS channel, ENABLE mask and INSTANCE event

2014-11-10 Thread Daniel Baluta
/devices/sensors/composite_sensors.html#detector. A device that has the pedometer functionality this interface needs to support is Freescale's MMA9553L: http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by: Irina Tirdea Signed-off-by: Daniel B

[PATCH v4 7/7] iio: event_monitor: Add support for new channel types

2014-11-10 Thread Daniel Baluta
na Tirdea Signed-off-by: Daniel Baluta --- .../staging/iio/Documentation/iio_event_monitor.c | 23 +++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/Documentation/iio_event_monitor.c b/drivers/staging/iio/Documentation/iio_event_monito

[PATCH v4 1/7] iio: dummy: Add virtual registers for dummy device

2014-11-10 Thread Daniel Baluta
> /sys/bus/iio/devices/iio_evgen/poke2 id_reg 0x02, id_data 0x04 This means, event of type 4 was generated by fake device 2. We currently use a hardcoded mapping of virtual events to IIO events. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/staging/iio/iio_dummy_evge

[PATCH v4 3/7] iio: core: Introduce IIO_EV_DIR_NONE

2014-11-10 Thread Daniel Baluta
From: Irina Tirdea For some events (e.g.: step detector) a direction does not make sense. Add IIO_EV_DIR_NONE to be used with such events and generate sysfs event attributes that do not contain direction. Signed-off-by: Irina Tirdea Signed-off-by: Daniel Baluta --- drivers/iio/industrialio

Re: [PATCH 2/3] iio: temperature: add max6675 thermocouple converter driver

2015-08-04 Thread Daniel Baluta
On Mon, Aug 3, 2015 at 11:56 PM, Matt Porter wrote: > Add a driver for the MAX6675 thermocouple converter. This > device interfaces with K-type thermocouples and provides > cold-junction compensated temperature readings via a > SPI interface. ./scripts/checkpatch.pl --strict says: CHECK: braces

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Daniel Baluta
On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: > When compile iio related driver the following warning shown: > > include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' > declared inside parameter list > int (*set_trigger_state)(struct iio_trigger *trig, bool state); > > include/linu

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Daniel Baluta
On Tue, Aug 4, 2015 at 11:11 AM, Pengyu Ma wrote: > > > On 08/04/2015 04:03 PM, Daniel Baluta wrote: >> >> On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: >>> >>> When compile iio related driver the following warning shown: >>> >>> includ

Re: [PATCH V3] iio: declare struct to fix warning

2015-08-04 Thread Daniel Baluta
on for these structs to fix warning. > > Signed-off-by: Pengyu Ma Acked-by: Daniel Baluta > --- > include/linux/iio/trigger.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/linux/iio/trigger.h b/include/linux/iio/trigger.h > index fa76c79..1c9e028 10064

Re: [PATCH v4] DocBook: Add initial documentation for IIO

2015-08-04 Thread Daniel Baluta
On Mon, Aug 3, 2015 at 12:24 PM, Peter Meerwald wrote: > On Fri, 31 Jul 2015, 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. > > comments inl

Re: [PATCH v4] DocBook: Add initial documentation for IIO

2015-08-04 Thread Daniel Baluta
Sorry, hit send by mistake :) >>> + An IIO buffer has an associated attributes directory under >>> + /sys/bus/iio/iio:deviceX/buffer/. Here are the existing >>> + attributes: >>> + >>> + >>> + length, number of data samples contained by the >>> +buffer. >>

[PATCH v5] DocBook: Add initial documentation for IIO

2015-08-04 Thread Daniel Baluta
this patchseries: http://marc.info/?l=linux-iio&m=143774363900903&w=2 Daniel Baluta (1): DocBook: Add initial documentation for IIO Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/iio.tmpl | 697 + 2 files changed, 698

[PATCH v5] DocBook: Add initial documentation for IIO

2015-08-04 Thread Daniel Baluta
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 Acked-by: Crt Mori Reviewed-by: Lars-Peter Clausen --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook

Re: [PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-04 Thread Daniel Baluta
Looks good to me. Thanks Adriana! Acked-by: Daniel Baluta > --- > Changes since v1: added data-sheet link to commit message > drivers/iio/light/Kconfig | 10 + > drivers/iio/light/Makefile | 1 + > drivers/iio/light/us5182d.c | 539 >

Re: [PATCH 0/3] MAX6675 IIO temperature driver

2015-08-05 Thread Daniel Baluta
On Tue, Aug 4, 2015 at 8:34 PM, Matt Porter wrote: > On Tue, Aug 04, 2015 at 05:52:17PM +0100, Jonathan Cameron wrote: >> >> >> On 3 August 2015 21:56:47 BST, Matt Porter wrote: >> >This series adds a driver for the MAX6675 SPI thermocouple converter. >> >The device supports temperature measureme

Re: [PATCH] staging: iio_simple_dummy: Fix indentation errors

2015-08-05 Thread Daniel Baluta
On Wed, Aug 5, 2015 at 3:15 PM, Lars Svensson wrote: > Fixing indentation errors in > drivers/staging/iio/iio_simple_dummy_events.c. > > Signed-off-by: Lars Svensson Good catch. Acked-by: Daniel Baluta > --- > drivers/staging/iio/iio_simple_dummy_events.c | 4 ++-- &g

Re: [PATCH] iio: Documentation: Add trigger name attribute ABI documentation

2015-08-06 Thread Daniel Baluta
+ linux-iio. On Wed, Aug 5, 2015 at 8:09 PM, Cristina Opriceana wrote: > This patch adds an entry in the ABI Documentation for the > name attribute issued when a trigger is created. > > Signed-off-by: Cristina Opriceana > --- > Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 9 +

Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation

2015-08-06 Thread Daniel Baluta
On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana wrote: > This patch adds an entry in ABI Documentation for the name attribute > issued when a trigger is created. > > Signed-off-by: Cristina Opriceana Acked-by: Daniel Baluta > --- > Changes in v2: > - deviceX to device

[PATCH] DocBook: Add initial documentation for IIO

2015-07-08 Thread Daniel Baluta
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

[PATCH] DocBook documentation for IIO

2015-07-08 Thread Daniel Baluta
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

Re: [PATCH] iio: accel: kxcjk-1013: Remove blank lines

2015-07-08 Thread Daniel Baluta
inov Looks good 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/

[PATCH v3] DocBook documentation for IIO

2015-07-28 Thread Daniel Baluta
tina sent this patchseries: http://marc.info/?l=linux-iio&m=143774363900903&w=2 Daniel Baluta (1): DocBook: Add initial documentation for IIO Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/iio.tmpl | 701 + 2 fil

Re: [PATCH v2] DocBook: Add initial documentation for IIO

2015-07-28 Thread Daniel Baluta
>> + converters (DACs), that functionality is also supported. > > > I wouldn't necessarily treat DACs and ADCs differently here. Maybe something > like: > > The main purpose of the Industrial I/O subsystem (IIO) is to provide > support for devices that in some sense perform either analog

[PATCH v3] DocBook: Add initial documentation for IIO

2015-07-28 Thread Daniel Baluta
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 | 701 + 2

Re: [PATCH v7 4/5] iio: trigger: Introduce IIO hrtimer based trigger

2015-08-17 Thread Daniel Baluta
On Mon, Aug 17, 2015 at 3:45 PM, Vladimir Barinov wrote: > Hello Daniel, > > I've verified that your hrtimer trigger works. > > I have minor suggestions. > > Will not it be useful to have ability to stop/start hrtimer polling > not only during attach/detach trigger. > > f.e. writing 0 to sampling_

[PATCH] scripts: Extract kernel headers for out of tree modules build

2015-08-18 Thread Daniel Baluta
scripts/package/builddeb already creates a linux-keader .deb package, but we need this feature also for non-Debian distros (e.g. Android or LFS). Signed-off-by: Daniel Baluta --- Makefile | 10 +- scripts/modules_headers_install.sh | 40

Re: [PATCH] scripts: Extract kernel headers for out of tree modules build

2015-08-20 Thread Daniel Baluta
On Wed, Aug 19, 2015 at 10:09 PM, Ken Moffat wrote: > On Wed, Aug 19, 2015 at 09:50:36AM +0300, Daniel Baluta wrote: >> scripts/package/builddeb already creates a linux-keader .deb >> package, but we need this feature also for non-Debian distros >> (e.g. Android or LFS)

Re: [PATCH 3/3] iio: magnetometer: mmc35240: fix SET/RESET sequence

2015-07-16 Thread Daniel Baluta
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

Re: [PATCH 0/2] Add DT binding support for mmc35240

2015-07-17 Thread Daniel Baluta
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 > > .../devicetree/bindings/iio/magnetometer/mmc35240.txt

Re: [PATCH] DocBook: Add initial documentation for IIO

2015-07-17 Thread Daniel Baluta
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. &

<    1   2   3   4   5   6   7   8   9   10   >