ctrl_* is deprecated. We should to use __raw_*.
Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org
---
drivers/i2c/busses/i2c-sh7760.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c
index
Op 22-10-10 13:57, Samu Onkalo schreef:
Changes are tested only with I2C interface using 8bit sensor since I don't
have other possibilities. Some features are not enabled
by default since I can't test them with all possible configurations.
Platform data contains field which controls new
Op 22-10-10 13:57, Samu Onkalo schreef:
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
Op 22-10-10 13:57, Samu Onkalo schreef:
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
Op 22-10-10 13:57, Samu Onkalo schreef:
Irqcfg moved to chip data instead of platform data.
This simplifies access in interrupt handler little bit.
Input device open and close functions set status for
interrupt threaded handler once.
Unnecessary check for interrupt source removed since
it is
Op 22-10-10 13:57, Samu Onkalo schreef:
All axis enable bits are set to 0 at module remove.
Restore reset default value at init.
Signed-off-by: Samu Onkalosamu.p.onk...@nokia.com
Acked-by: Eric Piel eric.p...@tremplin-utc.net
---
drivers/hwmon/lis3lv02d_i2c.c |2 +-
Op 22-10-10 13:57, Samu Onkalo schreef:
Added default output data rate setting to platform data.
If default rate is 0, reset default value is used.
Added control for duration via platform data.
Added possibility to configure interrupts to trig on
both rising and falling edge. The lis3 WU unit
Op 22-10-10 13:57, Samu Onkalo schreef:
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 Onkalosamu.p.onk...@nokia.com
Acked-by:
Op 22-10-10 13:57, Samu Onkalo schreef:
Add optional blockread function to interface driver. If available
the chip driver uses it for data register access. For 12 bit device
it reads 6 bytes to get 3*16bit data. For 8 bit device it reads out
5 bytes since every second byte is dummy.
This
Op 22-10-10 13:57, Samu Onkalo schreef:
Configure chip to data ready mode in selftest and count received
interrupts to see that interrupt line(s) are working.
Signed-off-by: Samu Onkalosamu.p.onk...@nokia.com
Acked-by: Eric Piel eric.p...@tremplin-utc.net
---
drivers/hwmon/lis3lv02d.c |
Op 23-10-10 15:39, Samu Onkalo schreef:
Short documentation at kernel doc format.
Signed-off-by: Samu Onkalosamu.p.onk...@nokia.com
Acked-by: Eric Piel eric.p...@tremplin-utc.net
---
include/linux/lis3lv02d.h | 46 +
1 files changed, 46
Op 22-10-10 13:57, Samu Onkalo schreef:
If lis3lv02d_init_device fails, HW resources were not released
properly. In case of failure call release_resources if available.
Signed-off-by: Samu Onkalosamu.p.onk...@nokia.com
Acked-by: Eric Piel eric.p...@tremplin-utc.net
---
Op 22-10-10 13:57, Samu Onkalo schreef:
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 Onkalosamu.p.onk...@nokia.com
I have very little knowledge about
Op 22-10-10 13:57, Samu Onkalo schreef:
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
On Sun, Oct 24, 2010 at 11:05:33AM -0400, Éric Piel wrote:
Op 22-10-10 13:57, Samu Onkalo schreef:
Changes are tested only with I2C interface using 8bit sensor since I don't
have other possibilities. Some features are not enabled
by default since I can't test them with all possible
On Sun, Oct 24, 2010 at 11:35:48AM -0400, Guenter Roeck wrote:
On Sun, Oct 24, 2010 at 11:05:33AM -0400, Éric Piel wrote:
Op 22-10-10 13:57, Samu Onkalo schreef:
Changes are tested only with I2C interface using 8bit sensor since I don't
have other possibilities. Some features are not
On Sun, Oct 24, 2010 at 05:37:46PM +0900, Nobuhiro Iwamatsu wrote:
ctrl_* is deprecated. We should to use __raw_*.
Given iobase is ioremap() returned, there should be an explicit reason
for using __raw_xxx() instead of read/writel().
Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org
---
On Sat, Oct 23, 2010 at 07:07:00AM +0900, Nobuhiro Iwamatsu wrote:
ctrl_* is deprecated. We should to use __raw_*.
Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org
Applied, thanks.
--
To unsubscribe from this list: send the line unsubscribe linux-i2c in
the body of a message to
18 matches
Mail list logo