diff options
author | Asmaa Mnebhi <[email protected]> | 2023-08-18 12:43:14 -0400 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-08-21 14:34:55 +0200 |
commit | 38a700efc51080c7184f71edbf5e49561da9754f (patch) | |
tree | 33665ea90d7c5e9ebb826ac59f24cbd9ec803c25 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9e0fa5d85a4f49496e1a92889418c9d7767c1ab9 (diff) |
gpio: mlxbf3: Support add_pin_ranges()
Support add_pin_ranges() so that pinctrl_gpio_request() can be called.
The GPIO value is not modified when the user runs the "gpioset" tool.
This is because when gpiochip_generic_request is invoked by the gpio-mlxbf3
driver, "pin_ranges" is empty so it skips "pinctrl_gpio_request()".
pinctrl_gpio_request() is essential in the code flow because it changes the
mux value so that software has control over modifying the GPIO value.
Adding add_pin_ranges() creates a dependency on the pinctrl-mlxbf3.c driver.
Fixes: cd33f216d24 ("gpio: mlxbf3: Add gpio driver support")
Signed-off-by: Asmaa Mnebhi <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions