diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-11-16 15:58:10 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-03-12 17:49:03 -0400 |
commit | dc0b1aa3e2fefa6372f38d7f6d5d33581567a1b5 (patch) | |
tree | cd0f71588255f4b456f4d2e6f1f5b2446a91a51c /drivers/pinctrl/pinctrl-coh901.h | |
parent | a050b3eee61666421df786c8d898ec22c129f4af (diff) |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-coh901.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-coh901.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-coh901.h b/drivers/pinctrl/pinctrl-coh901.h new file mode 100644 index 000000000000..87294222583e --- /dev/null +++ b/drivers/pinctrl/pinctrl-coh901.h | |||
@@ -0,0 +1,5 @@ | |||
1 | int u300_gpio_config_get(struct gpio_chip *chip, | ||
2 | unsigned offset, | ||
3 | unsigned long *config); | ||
4 | int u300_gpio_config_set(struct gpio_chip *chip, unsigned offset, | ||
5 | enum pin_config_param param); | ||