[PATCH 2/2] wifi: ath10k: snoc: Add VDD_SMPS regulator

From: Konrad Dybcio
Date: Thu Mar 02 2023 - 21:43:02 EST


At least SM6375 (bundled with soc_id 0x400e0000) and SM4350 (bundled
with unknown, probably the same) expect one more supply, called vdd-smps
downstream. It's set to 0.984V and connected to a - you guessed it - SMPS
regulator on PM6125. Add support for it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
---
The smps name sounds like a quick downstream hack and is probably
something more exquisite in reality.. Not something I know, though.

drivers/net/wireless/ath/ath10k/snoc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c
index 9a82f0336d95..6443523131db 100644
--- a/drivers/net/wireless/ath/ath10k/snoc.c
+++ b/drivers/net/wireless/ath/ath10k/snoc.c
@@ -48,6 +48,7 @@ static const char * const ath10k_regulators[] = {
"vdd-1.3-rfa",
"vdd-3.3-ch0",
"vdd-3.3-ch1",
+ "vdd-smps",
};

static const char * const ath10k_clocks[] = {
--
2.39.2