mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
![Linus Walleij](/assets/img/avatar_default.png)
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>
5 lines
198 B
C
5 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);
|