kernel_optimize_test/drivers/i2c
Patrice Chotard 24e9e157d5 i2c: nomadik: adopt pinctrl support
Amend the I2C nomadik pin controller to optionally take a pin control
handle and set the state of the pins to:

- "default" on boot, resume and before performing an i2c transfer
- "idle" after initial default, after resume default, and after each
   i2c xfer
- "sleep" on suspend()

This should make it possible to optimize energy usage for the pins
both for the suspend/resume cycle, and for runtime cases inbetween
I2C transfers.

Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[wsa: fixed braces on one else-branch]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2013-01-28 05:26:43 +01:00
..
algos
busses i2c: nomadik: adopt pinctrl support 2013-01-28 05:26:43 +01:00
muxes i2c: muxes: fix wrong use of sizeof(ptr) 2013-01-22 09:54:32 +01:00
i2c-boardinfo.c
i2c-core.c i2c: core: Remove definition of i2c_smbus_process_call 2013-01-28 05:26:41 +01:00
i2c-core.h
i2c-dev.c
i2c-mux.c
i2c-smbus.c
i2c-stub.c i2c-stub: Move to drivers/i2c 2012-10-28 21:37:00 +01:00
Kconfig
Makefile i2c-stub: Move to drivers/i2c 2012-10-28 21:37:00 +01:00