2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/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
ds1305.h
dw_spi.h spi/dw_spi: enable platform specific chipselect. 2010-01-21 07:24:29 -07:00
eeprom.h
flash.h
Kbuild
l4f00242t03.h backlight: Add Epson L4F00242T03 LCD driver 2010-03-16 19:47:53 +00:00
libertas_spi.h
lms283gf05.h
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
mmc_spi.h
orion_spi.h
sh_msiof.h spi: SuperH MSIOF SPI Master driver V2 2009-12-13 00:48:27 -07: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.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
spidev.h
tdo24m.h
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