diff options
author | Drew Fustini <[email protected]> | 2020-07-17 21:40:43 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-07-20 16:04:41 +0200 |
commit | 75dec56710dfafd37daa95e756c5d1840932ba90 (patch) | |
tree | 91b29332e5ef2c8f61630e4d950e6738699138d2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 50787be3ad732d804ee3ce828ee83b725e6491c8 (diff) |
gpio: omap: handle pin config bias flags
Modify omap_gpio_set_config() to handle pin config bias flags by calling
gpiochip_generic_config().
The pin group for the gpio line must have the corresponding pinconf
properties:
PIN_CONFIG_BIAS_PULL_UP requires "pinctrl-single,bias-pullup"
PIN_CONFIG_BIAS_PULL_DOWN requires "pinctrl-single,bias-pulldown"
This is necessary for pcs_pinconf_set() to find the requested bias
parameter in the PIN_MAP_TYPE_CONFIGS_GROUP pinctrl map.
Signed-off-by: Drew Fustini <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Grygorii Strashko <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions