mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
dc0b1aa3e2
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>
6 lines
198 B
C
6 lines
198 B
C
int u300_gpio_config_get(struct gpio_chip *chip,
|
|
unsigned offset,
|
|
unsigned long *config);
|
|
int u300_gpio_config_set(struct gpio_chip *chip, unsigned offset,
|
|
enum pin_config_param param);
|