soc/arm/silabs: support BLE with PM in Series 2 SoCs

Using EM2 or deeper sleep states (where HF clocks are off) requires
special care if BLE radio is used, since BLE radio relies on that clock,
and its power/clock requirements need to be taken into account
On SiLabs, radio PM is implemented as part of RAIL blob, which relies
on sl_power_manager HAL service. I've implemented SoC PM
state changes using sl_power_manager instead of emlib, and added
call to RAIL PM initialization in Gecko HCI driver.

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
This commit is contained in:
Roman Dobrodii 2023-05-11 18:09:24 +02:00 committed by Anas Nashif
commit defb159ab1
9 changed files with 156 additions and 10 deletions

View file

@ -0,0 +1 @@
CONFIG_PM=y