diff options
author | Adam Ford <aford173@gmail.com> | 2020-04-11 20:33:51 -0500 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-04-15 13:20:00 +0200 |
commit | ea06a482a47c41f5d04565dffbc21156bcfdd3e8 (patch) | |
tree | df04b2ef46ce8ac5e4c32085ca2f54d09df1c2a8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 616844408de7f21546c3c2a71ea7f8d364f45e0d (diff) |
gpiolib: of: improve gpiolib-of support of pull up/down on expanders
When using GPIO expanders attached to I2C ports, their set_config function
needs to be passed a config setting which contains options to enable pull
up or pull down bias feature. In order to set this config properly,
the gpio parser needs to handle GPIO_PULL_UP and GPIO_PULL_DOWN.
This patch enables the flags corresponding to GPIO_PULL_UP and
GPIO_PULL_DOWN.
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions