power: pwrseq: add a driver for the PMU module on the QCom WCN chipsets
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 5 Jun 2024 12:38:50 +0000 (14:38 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Jun 2024 07:20:13 +0000 (09:20 +0200)
commit2f1630f437dff20d02e4b3f07e836f42869128dd
treefcaa15e8039b72d11a61663570962d007d4222a7
parent249ebf3f65f8530beb2cbfb91bff1d83ba88d23c
power: pwrseq: add a driver for the PMU module on the QCom WCN chipsets

This adds the power sequencing driver for the PMU modules present on the
Qualcomm WCN Bluetooth and Wifi chipsets. It uses the pwrseq subsystem
and knows how to match the sequencer to the consumer device by verifying
the relevant properties and DT layout. Using this driver will allow the
BT and WLAN drivers to respect the required delays between enabling the
two modules.

Tested-by: Amit Pundir <amit.pundir@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD, SM8650-QRD & SM8650-HDK
Tested-by: Caleb Connolly <caleb.connolly@linaro.org> # OnePlus 8T
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240605123850.24857-3-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/power/sequencing/Kconfig
drivers/power/sequencing/Makefile
drivers/power/sequencing/pwrseq-qcom-wcn.c [new file with mode: 0644]