[PATCH] i2c-omap: Set latency requirements only once for several messages

2010-11-18 Thread Samu Onkalo
latency adjustment operations between the messages. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com Acked-by: Kevin Hilman khil...@deeprootsystems.com Acked-by: Paul Walmsley p...@pwsan.com --- drivers/i2c/busses/i2c-omap.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions

[PATCH 0/6] Small corrections to lp552x led drivers

2010-11-11 Thread Samu Onkalo
are done to top my lp5523 and lp5521 driver patches which are waiting to go in. Samu Onkalo (6): leds: lp5521: Change some macros to functions leds: lp5523: Change some macros to functions leds: lp5521: Adjust delays and add comments to them leds: lp5523: Adjust delays and add comments

[PATCH 1/6] leds: lp5521: Change some macros to functions

2010-11-11 Thread Samu Onkalo
Some small macros changed to inline functions to have proper type checking. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5521.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds

[PATCH 2/6] leds: lp5523: Change some macros to functions

2010-11-11 Thread Samu Onkalo
A small macro changed to inline function to have proper type checking. Inline added to two similar small functions. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5523.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/leds/leds

[PATCH 3/6] leds: lp5521: Adjust delays and add comments to them

2010-11-11 Thread Samu Onkalo
Delays were little bit too long. Adjust delay times and add some comments to them. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5521.c | 25 - 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5521.c b

[PATCH 4/6] leds: lp5523: Adjust delays and add comments to them

2010-11-11 Thread Samu Onkalo
Delays were little bit too long. Adjust delay times and add some comments to them. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5523.c | 31 +-- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/leds/leds-lp5523.c

[PATCH 5/6] leds: lp5521: Perform SW reset before detection

2010-11-11 Thread Samu Onkalo
Chip detection may fail if the chip is in some odd state for example after system restart. Chip doesn't have HW reset line. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5521.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH 6/6] leds: lp5523: Perform SW reset before detection

2010-11-11 Thread Samu Onkalo
Chip detection may fail if the chip is in some odd state for example after system restart. Chip doesn't have HW reset line. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5523.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCHv2] hwmon: lis3: Short explanations of platform data fields

2010-10-23 Thread Samu Onkalo
Short documentation at kernel doc format. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- include/linux/lis3lv02d.h | 46 + 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/include/linux/lis3lv02d.h b/include/linux/lis3lv02d.h

[PATCH 03/12] hwmon: lis3: Cleanup interrupt handling

2010-10-22 Thread Samu Onkalo
that there was an interrupt. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 33 +++-- drivers/hwmon/lis3lv02d.h |2 ++ 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/drivers/hwmon/lis3lv02d.c b/drivers/hwmon

[PATCH 02/12] hwmon: lis3: regulator control

2010-10-22 Thread Samu Onkalo
Based on pm_runtime control, turn lis3 regulators on and off. Perform context save and restore on transitions. Feature is optional and must be enabled in platform data. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 52

[PATCH 04/12] hwmon: lis3: Update coordinates at polled device open

2010-10-22 Thread Samu Onkalo
Call input device poll function at device open to refresh coordinates immediately. This is needed for the case where poll interval is set to zero and coordinate updates happens purely under interrupt control. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c |5

[PATCH 05/12] hwmon: lis3: Power on corrections

2010-10-22 Thread Samu Onkalo
Sometimes lis3 chip seems to fail to setup factory tuning at boot up. This probably happens if there is some odd power ramp down ramp up sequence for example in device restart. Set boot bit in control2 register to trig boot sequence manually and wait until it is finished. Signed-off-by: Samu

[PATCH 12/12] hwmon: lis3: Release resources is case of failure

2010-10-22 Thread Samu Onkalo
If lis3lv02d_init_device fails, HW resources were not released properly. In case of failure call release_resources if available. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d_i2c.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[PATCH 11/12] hwmon: lis3: Short explanations of platform data fields

2010-10-22 Thread Samu Onkalo
Short documentation at kernel doc format. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- include/linux/lis3lv02d.h | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/include/linux/lis3lv02d.h b/include/linux/lis3lv02d.h index

[PATCH 08/12] hwmon: lis3: Adjust fuzziness for 8 bit device

2010-10-22 Thread Samu Onkalo
Default fuziness is set smaller for 8 device. In 12 bit device LSB is quite close to 1 mg (mg = 1 / 1000 of earth gravity). In 8bit device LSB is about 18 mg. Set fuziness to 1 for 8 bit device. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 18

[PATCH 09/12] hwmon: lis3: use block read to access data registers

2010-10-22 Thread Samu Onkalo
of operations and interrupts needed for one data update. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 21 ++--- drivers/hwmon/lis3lv02d.h |1 + drivers/hwmon/lis3lv02d_i2c.c | 13 + include/linux/lis3lv02d.h |1 + 4

[PATCH 10/12] hwmon: lis3: Enhance lis3 selftest with IRQ line test

2010-10-22 Thread Samu Onkalo
Configure chip to data ready mode in selftest and count received interrupts to see that interrupt line(s) are working. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 87 drivers/hwmon/lis3lv02d.h |3 +- 2

[PATCH 01/12] hwmon: lis3: pm_runtime support

2010-10-22 Thread Samu Onkalo
Add pm_runtime support to lis3 core driver. Add pm_runtime support to lis3 i2c driver. spi and hp_accel drivers are not yet supported. Old always on functionality remains for those. For sysfs there is 5 second delay before turning off the chip to avoid long ramp up delay. Signed-off-by: Samu

[PATCH 00/12] lis3 accelerator feature update

2010-10-22 Thread Samu Onkalo
Short explanations in kernel doc format 0012: Release resources is case of failure I2C interface driver was not releasing HW resources if the probe failed. That made re-attempt to always fail. Samu Onkalo (12): hwmon: lis3: pm_runtime support hwmon: lis3: regulator control hwmon: lis3

[PATCHv4 3/5] misc: Driver for APDS990X ALS and proximity sensors

2010-10-19 Thread Samu Onkalo
This is a driver for Avago APDS990X combined ALS and proximity sensor. Interface is sysfs based. The driver uses interrupts to provide new data. The driver supports pm_runtime and regulator frameworks. See Documentation/misc-devices/apds990x.txt for details Signed-off-by: Samu Onkalo samu.p.onk

[PATCHv4 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor

2010-10-19 Thread Samu Onkalo
-by: Samu Onkalo samu.p.onk...@nokia.com Acked-by: Jonathan Cameron ji...@cam.ac.uk --- drivers/misc/bh1770glc.c | 1413 + include/linux/i2c/bh1770glc.h | 53 ++ 2 files changed, 1466 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/bh1770glc.c

[PATCHv4 5/5] Documentation: Short descriptions for bh1770glc and apds990x drivers

2010-10-19 Thread Samu Onkalo
Add short documentation for two ALS / proximity chip drivers. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com Acked-by: Jonathan Cameron ji...@cam.ac.uk --- Documentation/misc-devices/apds990x.txt | 111 Documentation/misc-devices/bh1770glc.txt | 116

[PATCH 2/2] drivers: i2c-omap: Add support for shorten I2C timeout

2010-10-13 Thread Samu Onkalo
Use short I2C timeout if requested by i2c-message flag. This is for cases where the it is known that target chip causes timeout. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/i2c/busses/i2c-omap.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git

[PATCH 1/2] drivers: i2c-core: Add a flag to allow short timeout

2010-10-13 Thread Samu Onkalo
and release the bus faster. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/i2c/i2c-core.c |2 +- include/linux/i2c.h|1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 6649176..8c0e443 100644

[PATCHv3 0/5] [PATCHv3 0/6] BH1770GLC, SFH7770 and APDS990x als / proximity sensor drivers

2010-10-11 Thread Samu Onkalo
duplicate code removed to one function - documentation updated and typing errors corrected - platform data documentation moved to header file as kernel-doc format - bhsfh - bh1770glc Tested on top of 2.6.36-rc5 Samu Onkalo (5): misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor misc

[PATCHv3 4/5] misc: update apds990x driver to Kconfig and Makefile

2010-10-11 Thread Samu Onkalo
Compilation support for apds990x driver Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 11 +++ drivers/misc/Makefile |1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index a0ada25

[PATCHv3 2/5] misc: update bh1770glc driver to Kconfig and Makefile

2010-10-11 Thread Samu Onkalo
Compilation support for bh1770glc driver Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index b743312

[PATCHv3 5/5] Documentation: Short descriptions for bh1770glc and apds990x drivers

2010-10-11 Thread Samu Onkalo
Add short documentation for two ALS / proximity chip drivers. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- Documentation/misc-devices/apds990x.txt | 113 Documentation/misc-devices/bh1770glc.txt | 118 ++ 2 files changed, 231

[PATCHv3 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor

2010-10-11 Thread Samu Onkalo
-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/bh1770glc.c | 1413 + include/linux/i2c/bh1770glc.h | 53 ++ 2 files changed, 1466 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/bh1770glc.c create mode 100644 include/linux/i2c

[PATCHv3 3/5] misc: Driver for APDS990X ALS and proximity sensors

2010-10-11 Thread Samu Onkalo
This is a driver for Avago APDS990X combined ALS and proximity sensor. Interface is sysfs based. The driver uses interrupts to provide new data. The driver supports pm_runtime and regulator frameworks. See Documentation/misc-devices/apds990x.txt for details Signed-off-by: Samu Onkalo samu.p.onk

[PATCHv2 2/5] misc: update bhsfh driver to Kconfig and Makefile

2010-10-08 Thread Samu Onkalo
Compilation support for bhsfh driver Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index b743312..f2e8065

[PATCHv2 4/5] misc: update apds990x driver to Kconfig and Makefile

2010-10-08 Thread Samu Onkalo
Compilation support for apds990x driver Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 11 +++ drivers/misc/Makefile |1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index f2e8065

[PATCHv2 5/5] Documentation: Short descriptions for bhsfh and apds990x drivers

2010-10-08 Thread Samu Onkalo
Add short documentation for two ALS / proximity chip drivers. bhsfh document update Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- Documentation/misc-devices/apds990x.txt | 152 +++ Documentation/misc-devices/bhsfh.txt| 148

[PATCHv2 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor

2010-10-08 Thread Samu Onkalo
. + * + * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). + * + * Contact: Samu Onkalo samu.p.onk...@nokia.com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software

[PATCHv2 3/5] misc: Driver for APDS990X ALS and proximity sensors

2010-10-08 Thread Samu Onkalo
This is a driver for Avago APDS990X combined ALS and proximity sensor. Interface is sysfs based. The driver uses interrupts to provide new data. The driver supports pm_runtime and regulator frameworks. See Documentation/misc-devices/apds990x.txt for details Signed-off-by: Samu Onkalo samu.p.onk

[PATCH 4/5] misc: update apds990x driver to Kconfig and Makefile

2010-10-05 Thread Samu Onkalo
Compilation support for apds990x driver Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 11 +++ drivers/misc/Makefile |1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index f2e8065

[PATCH 3/5] misc: Driver for APDS990X ALS and proximity sensors

2010-10-05 Thread Samu Onkalo
This is a driver for Avago APDS990X combined ALS and proximity sensor. Interface is sysfs based. The driver uses interrupts to provide new data. The driver supports pm_runtime and regulator frameworks. See Documentation/misc-devices/apds990x.txt for details Signed-off-by: Samu Onkalo samu.p.onk

[PATCH 0/5] BH1770GLC, SFH7770 and APDS990x als / proximity sensor drivers

2010-10-05 Thread Samu Onkalo
access. Samu Onkalo (5): misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor misc: update bhsfh driver to Kconfig and Makefile misc: Driver for APDS990X ALS and proximity sensors misc: update apds990x driver to Kconfig and Makefile Documentation: Short descriptions for bhsfh

[PATCH 5/5] Documentation: Short descriptions for bhsfh and apds990x drivers

2010-10-05 Thread Samu Onkalo
Add short documentation for two ALS / proximity chip drivers. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- Documentation/misc-devices/apds990x.txt | 126 +++ Documentation/misc-devices/bhsfh.txt| 125 ++ 2 files changed, 251

[PATCH 2/5] misc: update bhsfh driver to Kconfig and Makefile

2010-10-05 Thread Samu Onkalo
Compilation support for bhsfh driver Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index b743312..f2e8065

[PATCH 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor

2010-10-05 Thread Samu Onkalo
. + * + * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). + * + * Contact: Samu Onkalo samu.p.onk...@nokia.com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software

[RFC PATCH 2/9] hwmon: lis3: regulator control

2010-10-01 Thread Samu Onkalo
Based on pm_runtime control, turn lis3 regulators on and off. Perform context save and restore on transitions. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 48 + drivers/hwmon/lis3lv02d.h | 19

[RFC PATCH 1/9] hwmon: lis3: pm_runtime support

2010-10-01 Thread Samu Onkalo
Add pm_runtime support to lis3 core driver. Add pm_runtime support to lis3 i2c driver. spi and hp_accel drivers are not yet supported. Old always on functionality remains for those. For sysfs there is 5 second delay before turning off the chip to avoid long ramp up delay. Signed-off-by: Samu

[RFC PATCH 7/9] hwmon: lis3: Adjust fuzziness for 8 bit device

2010-10-01 Thread Samu Onkalo
Default fuziness is set smaller for 8 device. In 12 bit device LSB is quite close to 1 mg. In 8bit device LSB is about 18 mg. This add default sensitivity for 8 bit device. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 18 ++ 1 files changed

[RFC PATCH 5/9] hwmon: lis3: Power on corrections

2010-10-01 Thread Samu Onkalo
Sometimes lis3 chip seems to fail to setup factory tuning at boot up. This probably happens if there is some odd power ramp down ramp up sequence for example in device restart. Set boot bit in control2 register to trig boot sequence manually and wait until it is finished. Also restore axis enable

[RFC PATCH 3/9] hwmon: lis3: Cleanup interrupt handling

2010-10-01 Thread Samu Onkalo
that there was an interrupt. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 37 + drivers/hwmon/lis3lv02d.h |2 ++ 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/drivers/hwmon/lis3lv02d.c b/drivers

[RFC PATCH 0/9] lis3 accelerator feature update

2010-10-01 Thread Samu Onkalo
interrupt during selftest and calculating number of received interrupts during the test. Samu Onkalo (9): hwmon: lis3: pm_runtime support hwmon: lis3: regulator control hwmon: lis3: Cleanup interrupt handling hwmon: lis3: Update coordinates at polled device open hwmon: lis3: Power

[RFC PATCH 8/9] hwmon: lis3: use block read to access data registers

2010-10-01 Thread Samu Onkalo
of operations and interrupts needed for one data update. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 21 ++--- drivers/hwmon/lis3lv02d.h |1 + drivers/hwmon/lis3lv02d_i2c.c |9 + 3 files changed, 28 insertions(+), 3 deletions

[RFC PATCH 6/9] hwmon: lis3: New parameters to platform data

2010-10-01 Thread Samu Onkalo
away. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/hwmon/lis3lv02d.c | 21 ++--- include/linux/lis3lv02d.h |7 ++- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/drivers/hwmon/lis3lv02d.c b/drivers/hwmon/lis3lv02d.c index 81e2313

[PATCHv2 4/4] Documentation: led drivers lp5521 and lp5523

2010-09-29 Thread Samu Onkalo
Create sub directory Documentation/leds and add short documentation for LP5521 and LP5523 drivers. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- Documentation/leds/leds-lp5521.txt | 88 Documentation/leds/leds-lp5523.txt | 84

[PATCHv2 0/4] Led driver support for LP5521 and LP5523 chips

2010-09-29 Thread Samu Onkalo
Semiconductor www pages. Tested to work in top of 2.6.36-RC5 kernel. Samu Onkalo (4): leds: driver for National Semiconductor LP5521 chip leds: Driver for National Semiconductors LP5523 chip leds: Update LP552x support Kconfig and Makefile Documentation: led drivers lp5521 and lp5523

[PATCHv2 3/4] leds: Update LP552x support Kconfig and Makefile

2010-09-29 Thread Samu Onkalo
Provide configuration and compilation support for LP5521 and LP5523 Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/Kconfig | 18 ++ drivers/leds/Makefile |2 ++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/leds/Kconfig b

[PATCHv2 2/4] leds: Driver for National Semiconductors LP5523 chip

2010-09-29 Thread Samu Onkalo
LP5523 chip is nine channel led driver with programmable engines. Driver provides support for that chip for direct access via led class or via programmable engines. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5523.c | 1065

[PATCHv2 1/4] leds: driver for National Semiconductor LP5521 chip

2010-09-29 Thread Samu Onkalo
LP5521 chip is three channel led driver with programmable engines. Driver provides support for that chip for direct access via led class or via programmable engines. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5521.c | 821

[PATCH 1/4] leds: driver for National Semiconductor LP5521 chip

2010-09-16 Thread Samu Onkalo
LP5521 chip is three channel led driver with programmable engines. Driver provides support for that chip for direct access via led class or via programmable engines. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5521.c | 820

[PATCH 2/4] leds: Driver for National Semiconductors LP5523 chip

2010-09-16 Thread Samu Onkalo
LP5523 chip is nine channel led driver with programmable engines. Driver provides support for that chip for direct access via led class or via programmable engines. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/leds-lp5523.c | 1063

[PATCH 0/4] Led driver support for LP5521 and LP5523 chips

2010-09-16 Thread Samu Onkalo
* documentation should be moved there. Datasheets are freely available at National Semiconductor www pages. Tested to work in top of 2.6.36-RC4 kernel. Samu Onkalo (4): leds: driver for National Semiconductor LP5521 chip leds: Driver for National Semiconductors LP5523 chip leds: Update

[PATCH 4/4] Documentation: led drivers lp5521 and lp5523

2010-09-16 Thread Samu Onkalo
Create sub directory Documentation/leds and add short documentation for LP5521 and LP5523 drivers. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- Documentation/leds/leds-lp5521.txt | 85 Documentation/leds/leds-lp5523.txt | 81

[PATCH 3/4] leds: Update LP552x support Kconfig and Makefile

2010-09-16 Thread Samu Onkalo
Provide configuration and compilation support for LP5521 and LP5523 Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/leds/Kconfig | 18 ++ drivers/leds/Makefile |2 ++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/leds/Kconfig b

[PATCH 0/3] ak8974 / ami305 magnetometer driver

2010-08-27 Thread Samu Onkalo
in the documentation. Provided data is raw magnetic field density for 3 axis. For compass purposes data requires further processing. Samu Onkalo (3): drivers: misc: ak8974 / ami305 magnetometer driver drivers: misc: ak8974 support to Kconfig and Makefile Documentation: Documentation for ak8974

[PATCH 2/3] drivers: misc: ak8974 support to Kconfig and Makefile

2010-08-27 Thread Samu Onkalo
Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 11 +++ drivers/misc/Makefile |1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 0b591b6..65615a8 100644 --- a/drivers/misc/Kconfig

[PATCH 3/3] Documentation: Documentation for ak8974 magnetometer chip driver

2010-08-27 Thread Samu Onkalo
Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- Documentation/misc-devices/ak8974 | 66 + 1 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 Documentation/misc-devices/ak8974 diff --git a/Documentation/misc-devices/ak8974 b

[PATCH 1/3] drivers: misc: ak8974 / ami305 magnetometer driver

2010-08-27 Thread Samu Onkalo
Patch provides support for ak8974 / ami305 3-axis magnetometer chip. Results are provided via misc character device. Driver supports multiple instaces of the chip. Driver has PM and regulator framework support. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/ak8974.c

[PATCH 0/1] BH1770GLC / SFH7770 combined ambient light / proximity sensor

2010-04-15 Thread Samu Onkalo
and revision information Tested in top of 2.6.32 kernel. Applies to 2.6.34-RC3. Samu Onkalo (1): misc: bh1770glc: Driver for bh1770glc combined als and ps sensor drivers/misc/Kconfig | 12 + drivers/misc/Makefile |3 + drivers/misc/bh1770glc.h | 169 drivers

[PATCH 1/1] misc: bh1770glc: Driver for bh1770glc combined als and ps sensor

2010-04-15 Thread Samu Onkalo
Driver for combined ambient light and proximity sensor. BH1770GLC and SW compatible SFH7770 sensors are supported. Signed-off-by: Samu Onkalo samu.p.onk...@nokia.com --- drivers/misc/Kconfig | 12 + drivers/misc/Makefile |3 + drivers/misc/bh1770glc.h | 169