Re: [PATCH V3 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-16 Thread Daniel Baluta
On Fri, Jan 16, 2015 at 3:41 AM, Kevin Tsai kt...@capellamicro.com wrote: CM3232 is an advanced ambient light sensor with I2C protocol interface. The I2C slave address is internally hardwired as 0x10 (7-bit). Writing to configure register is byte mode, but reading ALS register requests to use

Re: [PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-12 Thread Daniel Baluta
it to cm3232_chip structure. Modified cm3232_read_als_it() and cm3232_write_als_it() to support val2. Thanks comments from Jeremiah Mahler, Peter Meerwald, Daniel Baluta, and Joe Perches. v1: Added cm3232.c to support Capella Microsystems CM3232 Ambient Light Sensor. Usually, we keep history out

Re: [PATCH V1 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-05 Thread Daniel Baluta
On Thu, Jan 1, 2015 at 2:10 AM, Kevin Tsai kt...@capellamicro.com wrote: CM3232 is an advanced ambient light sensor with I2C protocol interface. The I2C slave address is internally hardwired as 0x10 (7-bit). Writing to configure register is byte mode, but reading ALS register requests to use

Re: [PATCH V1 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-05 Thread Daniel Baluta
On Mon, Jan 5, 2015 at 3:09 PM, Joe Perches j...@perches.com wrote: On Mon, 2015-01-05 at 12:51 +0200, Daniel Baluta wrote: On Thu, Jan 1, 2015 at 2:10 AM, Kevin Tsai kt...@capellamicro.com wrote: CM3232 is an advanced ambient light sensor with I2C protocol interface. The I2C slave address

Re: [PATCH V1 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-05 Thread Daniel Baluta
On Mon, Jan 5, 2015 at 6:42 PM, Joe Perches j...@perches.com wrote: On Mon, 2015-01-05 at 16:20 +0200, Daniel Baluta wrote: On Mon, Jan 5, 2015 at 3:09 PM, Joe Perches j...@perches.com wrote: On Mon, 2015-01-05 at 12:51 +0200, Daniel Baluta wrote: On Thu, Jan 1, 2015 at 2:10 AM, Kevin Tsai

[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
-off-by: Daniel Baluta daniel.bal...@intel.com --- 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

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

2014-08-20 Thread Daniel Baluta
From: Octavian Purdila octavian.purd...@intel.com 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

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

2014-08-20 Thread Daniel Baluta
From: Laurentiu Palcu laurentiu.pa...@intel.com 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