diff options
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | 2022-04-22 17:36:08 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-05-02 00:25:58 +0300 |
commit | c954531bc5d84fc13e035204750c3761c5fc93b0 (patch) | |
tree | 19e45e32a09b914a73de0e5c8fdc06c2e8ab68fe /drivers/pinctrl/meson | |
parent | f930b69a8944ab3f018e2a175ddbd16e71348df9 (diff) | |
download | linux-c954531bc5d84fc13e035204750c3761c5fc93b0.tar.xz |
pinctrl: stm32: improve bank clocks management
Instead of enabling/disabling the clock at each IO configuration update,
just keep the clock enabled from the probe.
This makes things simpler and more efficient (e.g. the time required to
toggle an output IO is drastically decreased) without significantly
increasing the power consumption.
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220422143608.226580-1-fabien.dessenne@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/meson')
0 files changed, 0 insertions, 0 deletions