ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply
@ 2023-03-03  2:42 Konrad Dybcio
  2023-03-03  2:42 ` [PATCH 2/2] wifi: ath10k: snoc: Add VDD_SMPS regulator Konrad Dybcio
  2023-03-03  7:12 ` [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Krzysztof Kozlowski
  0 siblings, 2 replies; 5+ messages in thread
From: Konrad Dybcio @ 2023-03-03  2:42 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Konrad Dybcio, Kalle Valo, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, ath10k, linux-wireless, netdev, devicetree,
	linux-kernel

Mention the newly added vdd-smps supply.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
index b61c2d5a0ff7..8697e63aeffa 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
@@ -66,7 +66,7 @@ Optional properties:
 - <supply-name>-supply: handle to the regulator device tree node
 			   optional "supply-name" are "vdd-0.8-cx-mx",
 			   "vdd-1.8-xo", "vdd-1.3-rfa", "vdd-3.3-ch0",
-			   and "vdd-3.3-ch1".
+			   "vdd-3.3-ch1" and "vdd-smps".
 - memory-region:
 	Usage: optional
 	Value type: <phandle>
-- 
2.39.2


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] wifi: ath10k: snoc: Add VDD_SMPS regulator
  2023-03-03  2:42 [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Konrad Dybcio
@ 2023-03-03  2:42 ` Konrad Dybcio
  2023-03-03  7:12 ` [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Krzysztof Kozlowski
  1 sibling, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2023-03-03  2:42 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Konrad Dybcio, Kalle Valo, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, ath10k, linux-wireless, netdev, devicetree,
	linux-kernel

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@linaro.org>
---
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


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply
  2023-03-03  2:42 [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Konrad Dybcio
  2023-03-03  2:42 ` [PATCH 2/2] wifi: ath10k: snoc: Add VDD_SMPS regulator Konrad Dybcio
@ 2023-03-03  7:12 ` Krzysztof Kozlowski
  2023-03-03 11:28   ` Konrad Dybcio
  1 sibling, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-03  7:12 UTC (permalink / raw)
  To: Konrad Dybcio, linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Kalle Valo, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	ath10k, linux-wireless, netdev, devicetree, linux-kernel

On 03/03/2023 03:42, Konrad Dybcio wrote:
> Mention the newly added vdd-smps supply.

There is no explanation here, but looking at your driver change it
suggests name is not correct. You named it based on regulator (so the
provider), not the consumer.

Best regards,
Krzysztof


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply
  2023-03-03  7:12 ` [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Krzysztof Kozlowski
@ 2023-03-03 11:28   ` Konrad Dybcio
  2023-03-03 12:56     ` Kalle Valo
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2023-03-03 11:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Kalle Valo, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	ath10k, linux-wireless, netdev, devicetree, linux-kernel



On 3.03.2023 08:12, Krzysztof Kozlowski wrote:
> On 03/03/2023 03:42, Konrad Dybcio wrote:
>> Mention the newly added vdd-smps supply.
> 
> There is no explanation here, but looking at your driver change it
> suggests name is not correct. You named it based on regulator (so the
> provider), not the consumer.

Right, I admit this could have been posted with an RFC tag.
Maybe Kalle knows more.

Konrad
> 
> Best regards,
> Krzysztof
> 

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply
  2023-03-03 11:28   ` Konrad Dybcio
@ 2023-03-03 12:56     ` Kalle Valo
  0 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2023-03-03 12:56 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: Krzysztof Kozlowski, linux-arm-msm, andersson, agross,
	marijn.suijten, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, ath10k,
	linux-wireless, netdev, devicetree, linux-kernel

Konrad Dybcio <konrad.dybcio@linaro.org> writes:

> On 3.03.2023 08:12, Krzysztof Kozlowski wrote:
>> On 03/03/2023 03:42, Konrad Dybcio wrote:
>>> Mention the newly added vdd-smps supply.
>> 
>> There is no explanation here, but looking at your driver change it
>> suggests name is not correct. You named it based on regulator (so the
>> provider), not the consumer.

Yeah, it would be nice to have more than just one sentence in the commit
log.

> Right, I admit this could have been posted with an RFC tag.
> Maybe Kalle knows more.

Unfortunately not, but maybe Bjorn knows?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-03 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03  2:42 [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Konrad Dybcio
2023-03-03  2:42 ` [PATCH 2/2] wifi: ath10k: snoc: Add VDD_SMPS regulator Konrad Dybcio
2023-03-03  7:12 ` [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Krzysztof Kozlowski
2023-03-03 11:28   ` Konrad Dybcio
2023-03-03 12:56     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).