This patch refactors the power management initialization for the DMIC driver across ACE15, ACE20, and ACE30 generations to align with the recommended practices outlined in the documentation. The changes include: 1. Replacing the conditional initialization of power management state with a call to `pm_device_driver_init` in the `dai_dmic_initialize_device` function. 2. Adding the `zephyr,pm-device-runtime-auto` property to the DMIC nodes in the device tree files for ACE15, ACE20, and ACE30. These changes ensure that the DMIC driver is initialized with the appropriate power management state and that runtime power management is automatically enabled based on the device tree configuration. The functionality of the power management state remains unchanged, ensuring consistent behavior. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dmic.c | ||
| dmic.h | ||
| dmic_nhlt.c | ||
| dmic_nhlt.h | ||
| Kconfig.dmic | ||