commit | 13de6e3b24e4dbd748cab4bb24f164e20a0842c0 | [log] [tgz] |
---|---|---|
author | Erwan Gouriou <erwan.gouriou@linaro.org> | Thu Mar 25 17:26:01 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 06 14:31:13 2021 -0400 |
tree | 85855b0a9d821858da53298757cb37c0f2981b0a | |
parent | c73060333271ff5ea31d9cdca234c14073c7eea6 [diff] |
drivers/gpio: stm32: Enable PM_DEVICE services Implement power mgmt hooks to support PM_DEVICE and PM_DEVICE_RUNTIME. In case of PM_DEVICE_RUNTIME, clock is requested for bank writes so it is requested before configuring and released only if pin is not configured as output. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>