Skip to content

Conversation

@petrosyan-van
Copy link
Contributor

Added a runtime PM support for LIS2DH driver, which was already supporting RESUME and SUSPEND. Moved chip init routine into separate function to be called from PM_DEVICE_ACTION_TURN_ON. Added a 5ms delay after power-up (AN5005: After the power supply is applied, the LIS2DH12 performs a 5 ms boot procedure). Tested on a custom board that carries LIS2DH

Registers driver with pm_device_driver_init(). Moved
chip init routine into separate function to be called
from PM_DEVICE_ACTION_TURN_ON. Added a delay after
power-up.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
@petrosyan-van petrosyan-van force-pushed the lis2dh_runtime_pm_support branch from cecf77a to 442b6c1 Compare June 5, 2025 15:52
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 5, 2025

@kartben kartben merged commit b12717b into zephyrproject-rtos:main Jun 16, 2025
26 checks passed
@petrosyan-van petrosyan-van deleted the lis2dh_runtime_pm_support branch July 4, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants