linux/arch/arm/mach-u300
Stephen Warren 46919ae63d pinctrl: introduce PINCTRL_STATE_DEFAULT, define hogs as that state
This provides a single centralized name for the default state.

Update PIN_MAP_* macros to use this state name, instead of requiring the
user to pass a state name in.

With this change, hog entries in the mapping table are defined as those
with state name PINCTRL_STATE_DEFAULT, i.e. all entries have the same
name. This interacts badly with the nested iteration over mapping table
entries in pinctrl_hog_maps() and pinctrl_hog_map() which would now
attempt to claim each hog mapping table entry multiple times. Replacing
the custom hog code with a simple pinctrl_get()/pinctrl_enable().

Update documentation and mapping tables to use this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-03-02 16:18:24 +01:00
..
include/mach pinctrl: spawn U300 pinctrl from the COH901 GPIO 2012-02-22 17:59:33 +01:00
clock.c Fix common misspellings 2011-03-31 11:26:23 -03:00
clock.h ARM: 6949/2: mach-u300: fix compilaton warning in IO accessors 2011-06-09 10:15:06 +01:00
core.c pinctrl: introduce PINCTRL_STATE_DEFAULT, define hogs as that state 2012-03-02 16:18:24 +01:00
dummyspichip.c spi/pl022: Add spi->mode support to AMBA SPI driver 2010-10-12 21:37:37 -06:00
i2c.c mfd: Delete ab3550 driver 2011-10-24 14:09:16 +02:00
i2c.h ARM: 5668/2: U300 I2C board setup 2009-08-15 15:36:29 +01:00
Kconfig pinctrl: rename U300 and SIRF pin controllers 2012-01-03 09:10:08 +01:00
Makefile pinctrl: add a driver for the U300 pinmux 2011-10-13 12:57:45 +02:00
Makefile.boot Merge branch 'next/cleanup' of git://git.linaro.org/people/arnd/arm-soc 2011-11-01 20:11:00 -07:00
mmc.c ARM: u300: localize GPIO assignments 2012-01-03 09:10:03 +01:00
mmc.h
regulator.c ARM: 5724/1: U300 AB3100 boardinfo v5 2009-10-19 17:10:09 +01:00
spi.c pinctrl: add a driver for the U300 pinmux 2011-10-13 12:57:45 +02:00
spi.h ARM: 5667/3: U300 SSP/SPI board setup and test 2009-08-15 15:36:29 +01:00
timer.c ARM: 7205/2: sched_clock: allow sched_clock to be selected at runtime 2011-12-18 23:00:26 +00:00
u300-gpio.h ARM: u300: localize GPIO assignments 2012-01-03 09:10:03 +01:00
u300.c Merge branch 'depends/rmk/restart' into next/cleanup 2012-01-07 11:51:28 +00:00