OpenCloudOS-Kernel/include/linux/i2c
Nick Dyer 7f3884f7de Input: atmel_mxt_ts - use deep sleep mode when stopped
The hardcoded 0x83 CTRL setting overrides other settings in that byte,
enabling extra reporting that may not be useful on a particular platform.

Implement improved suspend mechanism via deep sleep. By writing zero to
both the active and idle cycle times the maXTouch device can be put into a
deep sleep mode, using minimal power. It is necessary to issue a calibrate
command after the chip has spent any time in deep sleep, however a soft
reset is unnecessary.

Use the old method on Chromebook Pixel via platform data option.

This patch also deals with the situation where the power configuration is
zero on probe, which would mean that the device never wakes up to execute
commands.

After a config download, the T7 power configuration may have changed so it
is necessary to re-read it.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-08-04 17:03:52 -07:00
..
adp5588.h gpio: adp5588 - use "unsigned" for the setup and teardown callbacks 2014-02-13 13:51:17 +01:00
adp8860.h
adp8870.h
ads1015.h
apds990x.h
bfin_twi.h i2c: bfin-twi: move bits macros and structs in header from arch include to generic include 2014-03-09 08:40:41 +01:00
bh1770glc.h
dm355evm_msp.h
ds620.h
i2c-hid.h HID: i2c-hid: add DT bindings 2013-07-31 12:10:31 +02:00
i2c-rcar.h i2c: add Renesas R-Car I2C driver 2012-10-08 12:46:25 +02:00
i2c-sh_mobile.h i2c: i2c-sh_mobile: support I2C hardware block with a faster operating clock 2012-11-16 09:09:12 +01:00
lm8323.h
ltc4245.h
max732x.h
max6639.h
mcs.h
mms114.h Input: add MELFAS mms114 touchscreen driver 2012-07-17 23:16:17 -07:00
mpr121_touchkey.h
pca954x.h i2c-mux: Add support for device auto-detection 2012-10-05 22:23:51 +02:00
pcf857x.h gpio: pcf857x: use client->irq for gpio_to_irq() 2012-12-07 09:16:12 +01:00
pmbus.h hwmon: (pmbus) Add regulator support 2014-11-30 20:13:13 -08:00
pxa-i2c.h i2c: pxa: enable high speed mode for i2c bus 2013-08-07 16:58:07 +02:00
sx150x.h
tc35876x.h
tps65010.h
tsc2007.h Input: tsc2007 - remove unused poll_delay from platform data 2013-11-25 18:27:54 -08:00
twl.h mfd: twl4030-power: Fix pmic for boards that need AC charger disabled 2015-06-22 12:25:04 +01:00
twl4030-madc.h mfd: twl4030-madc: Cleanup driver 2014-03-18 08:13:39 +00:00