History log of /drivers/pinctrl/pinctrl-coh901.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dc0b1aa3e2fefa6372f38d7f6d5d33581567a1b5 16-Nov-2011 Linus Walleij <linus.walleij@linaro.org> pinctrl: support pinconfig on the U300

This adds pin configuration support for the U300 driver pair,
we can now read out the biasing and drive mode in debugfs and
configure it using the new configuration API.

ChangeLog v1->v2:
- Migrate to pin config and generic pin config changes.
ChangeLog v2->v3:
- Adjust to generic pin config changes in v7 patch set.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c
a050b3eee61666421df786c8d898ec22c129f4af 16-Nov-2011 Linus Walleij <linus.walleij@linaro.org> pinctrl/coh901: use generic pinconf enums and parameters

Adjust the COH 901 driver to use the standard enums for
biasing and driving pins, alter signature of config function
to suit the framework.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c
128a06d4bb997d90158e668173a6944d376c84cb 21-Feb-2012 Linus Walleij <linus.walleij@linaro.org> pinctrl: spawn U300 pinctrl from the COH901 GPIO

This solves the riddle on how the U300 pin controller shall be
able to reference the struct gpio_chip even though these are
two separate drivers: spawn the pinctrl child from the GPIO
driver and pass in the struct gpio_chip as platform data.
In the process we rename the U300 "pinmux-u300" to
"pinctrl-u300" so as not to confuse.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c
e93bcee00c43e2bd4037291262111016f4c05793 09-Feb-2012 Linus Walleij <linus.walleij@linaro.org> pinctrl: move generic functions to the pinctrl_ namespace

Since we want to use the former pinmux handles and mapping tables for
generic control involving both muxing and configuration we begin
refactoring by renaming them from pinmux_* to pinctrl_*.

ChangeLog v1->v2:
- Also rename the PINMUX_* macros in machine.h to PIN_ as indicated
in the documentation so as to reflect the generic nature of these
mapping entries from now on.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c
28a8d14cc74a0180323d9150c3d3dbf9dd60d55a 09-Feb-2012 Linus Walleij <linus.walleij@linaro.org> pinctrl: break out a pinctrl consumer header

This breaks out a <linux/pinctrl/consumer.h> header to be used by
all pinmux and pinconfig alike, so drivers needing services from
pinctrl does not need to include different headers. This is similar
to the approach taken by the regulator API.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c
b4e3ac74d5cd4152f2ec6b3280b1ff3428952f7f 16-Nov-2011 Linus Walleij <linus.walleij@linaro.org> pinctrl/coh901: driver to request its pins

This makes the COH 901 driver request muxing of its GPIO pins
from the pinmux-u300 driver using the standard API calls.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c
ca402d37dccf2b797440c5f03bd0db16f977acc9 16-Nov-2011 Linus Walleij <linus.walleij@linaro.org> pinctrl: move the U300 GPIO driver to pinctrl

This driver will be converted to a dual GPIO + pinctrl driver
since it supports biasing and driving control options. Hopefully
it can serve as an example.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/drivers/pinctrl/pinctrl-coh901.c