linux-xiaomi-chiron/include/linux/spi
Marc Kleine-Budde 4a22b8a4ad gpio: max730x: make pullups configurable via platformdata
The gpios on the max730x chips have support for internal pullups while in
input mode.

This patch adds support for configuring these pullups via platform data.
A new member ("input_pullup_active") to the platform data struct is
introduced.  A set bit in this variable activates the pullups while the
respective port is in input mode.  This is a compatible enhancement since
unset bits lead to disables pullups which was the default in the original
driver.

_Note_: the 4 lowest bits in "input_pullup_active" are unused because the
first 4 ports of the controller are not used, too.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-11 08:59:08 -07:00
..
ad7877.h
ad7879.h Input: ad7879 - support auxiliary GPIOs via gpiolib 2010-01-19 00:31:51 -08:00
ads7846.h Input: ads7846 - do not allow altering platform data 2010-07-03 13:13:22 -07:00
at73c213.h
corgi_lcd.h [ARM] corgi_lcd: use GPIO API for BACKLIGHT_ON and BACKLIGHT_CONT 2008-09-25 09:38:14 +01:00
ds1305.h rtc: ds1305/ds1306 driver 2008-07-24 10:47:33 -07:00
dw_spi.h spi/dw_spi: enable platform specific chipselect. 2010-01-21 07:24:29 -07:00
eeprom.h memory_accessor: implement the new memory_accessor interfaces for SPI EEPROMs 2009-04-02 19:04:50 -07:00
flash.h
Kbuild
l4f00242t03.h backlight: Add Epson L4F00242T03 LCD driver 2010-03-16 19:47:53 +00:00
libertas_spi.h net/libertas: remove GPIO-CS handling in SPI interface code 2009-06-10 13:27:50 -04:00
lms283gf05.h backlight: spi driver for LMS283GF05 LCD 2009-09-07 15:08:06 +01:00
max7301.h gpio: max730x: make pullups configurable via platformdata 2010-08-11 08:59:08 -07:00
mc33880.h gpio: add MC33880 driver 2009-09-23 07:39:46 -07:00
mcp23s08.h gpio: mcp23s08 handles multiple chips per chipselect 2008-07-25 10:53:30 -07:00
mmc_spi.h mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
orion_spi.h orion_spi: handle 88F6183 erratum 2008-10-16 11:21:38 -07:00
sh_msiof.h spi: SuperH MSIOF SPI Master driver V2 2009-12-13 00:48:27 -07:00
spi.h include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
spi_bitbang.h spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_gpio.h spi-gpio: allow operation without CS signal 2009-04-02 19:04:51 -07:00
spidev.h spi: new spi->mode bits 2009-06-30 18:56:00 -07:00
tdo24m.h backlight: add support for Toppoly TDO35S series to tdo24m lcd driver 2009-01-08 20:11:07 +00:00
tle62x0.h
wl12xx.h wl1251: add support for dedicated IRQ line 2010-04-16 15:47:14 -04:00
xilinx_spi.h xilinx_spi: add support for the DS570 IP. 2009-12-08 18:48:14 -07:00