summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2024-05-23 13:07:45 +0800
committerAnup Patel <[email protected]>2024-05-23 15:42:52 +0530
commitd962db280725b03a0340e05a07e4c85c93f35bc5 (patch)
tree7c7988fd57cfeccab2023d2ac84563ae055e842b /lib/utils/timer
parentae5ef1848d8404e1acdaed5dc460dd1bf2d33140 (diff)
lib: utils/gpio: respect flag GPIO_FLAG_ACTIVE_LOW
"gpio-poweroff" and "gpio-restart" always set gpio to high to active the function, but some chips need a low signal to active. Fortunately, it can be achieved by setting GPIO_FLAG_ACTIVE_LOW for the gpio. Implement this flag support for the gpio library so the gpio reset can function well. Signed-off-by: Inochi Amaoto <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions