Skip to content
Commit 2a88cb50 authored by Jordan Yates's avatar Jordan Yates Committed by Chris Friedt
Browse files

spi: stm32: initialise according to `zephyr,pm-device-runtime-auto`



Don't automatically enable device runtime PM on the SPI port just
because `PM_DEVICE_RUNTIME` is enabled. Require the user to explicitly
call `pm_device_runtime_enable` on the port, or add
`zephyr,pm-device-runtime-auto` to the devicetree node.

Through the usage of `pm_device_driver_init`, the default clock control
and pinctrl handling can all be contained in `spi_stm32_pm_action`.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent d8f87a6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment