commit | d64ce2531d152de54300119c662d2f5f26a74908 | [log] [tgz] |
---|---|---|
author | Dawid Niedzwiecki <dawidn@google.com> | Wed Dec 06 08:29:16 2023 +0100 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Dec 27 15:59:32 2023 +0000 |
tree | ef96cd849001ee8bc25e6256f84efd34633e394c | |
parent | debb9f63523d27439be1ee5899561ce4944019bf [diff] |
mgmt: ec_host_cmd: add PM for SPI STM32 backend The SPI STM32 Host Command backend doesn't use general SPI driver, so it has to implement Power Management on its own. The suspend procedure includes: setting pins to the sleep state, disabling device clock and disabling CS pin interrupt. Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>