Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: milos: Add QFPROM efuse support
@ 2026-04-01  2:24 Alexander Koskovich
  2026-04-01  2:24 ` [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible Alexander Koskovich
  2026-04-01  2:25 ` [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node Alexander Koskovich
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Koskovich @ 2026-04-01  2:24 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio
  Cc: Luca Weiss, linux-arm-msm, devicetree, linux-kernel,
	Alexander Koskovich

Add dt-bindings and dt-node for Milos QFPROM efuse. The GPU speed bin child
node nvmem cell contains details of clk frequencies supported by the GPU,
which can then read by the GPU driver to select the correct set of operating
performance points (OPPs) for the device in the future once all the possible
speedbins for Milos are known.

Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
Alexander Koskovich (2):
      dt-bindings: nvmem: qfprom: Add Milos compatible
      arm64: dts: qcom: milos: Add qfprom efuse node

 Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml |  1 +
 arch/arm64/boot/dts/qcom/milos.dtsi                      | 12 ++++++++++++
 2 files changed, 13 insertions(+)
---
base-commit: 7aaa8047eafd0bd628065b15757d9b48c5f9c07d
change-id: 20260331-milos-qfprom-1b00c2892171

Best regards,
-- 
Alexander Koskovich <akoskovich@pm.me>



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

* [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible
  2026-04-01  2:24 [PATCH 0/2] arm64: dts: qcom: milos: Add QFPROM efuse support Alexander Koskovich
@ 2026-04-01  2:24 ` Alexander Koskovich
  2026-04-01 10:55   ` Krzysztof Kozlowski
  2026-05-12 20:47   ` Bjorn Andersson
  2026-04-01  2:25 ` [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node Alexander Koskovich
  1 sibling, 2 replies; 7+ messages in thread
From: Alexander Koskovich @ 2026-04-01  2:24 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio
  Cc: Luca Weiss, linux-arm-msm, devicetree, linux-kernel,
	Alexander Koskovich

Document compatible string for the QFPROM on Milos platform.

Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
 Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
index 839513d4b499..936878e74895 100644
--- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
+++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
@@ -26,6 +26,7 @@ properties:
           - qcom,ipq8064-qfprom
           - qcom,ipq8074-qfprom
           - qcom,ipq9574-qfprom
+          - qcom,milos-qfprom
           - qcom,msm8226-qfprom
           - qcom,msm8916-qfprom
           - qcom,msm8917-qfprom

-- 
2.53.0



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

* [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node
  2026-04-01  2:24 [PATCH 0/2] arm64: dts: qcom: milos: Add QFPROM efuse support Alexander Koskovich
  2026-04-01  2:24 ` [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible Alexander Koskovich
@ 2026-04-01  2:25 ` Alexander Koskovich
  2026-04-01  9:41   ` Konrad Dybcio
  2026-04-01 11:16   ` Dmitry Baryshkov
  1 sibling, 2 replies; 7+ messages in thread
From: Alexander Koskovich @ 2026-04-01  2:25 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio
  Cc: Luca Weiss, linux-arm-msm, devicetree, linux-kernel,
	Alexander Koskovich

Add the qfprom efuse node and describe where the GPU speedbin fuse is
located on Milos.

Note that for SM7635-AB at least, the value is "221", the max frequency
for this is 1050MHz. There's another speedbin out there for 1150MHz but
we do not know the value for it so just document in this commit.

Once the value is discovered we should add the speedbins to the A810
Adreno entry and update devicetree.

Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
 arch/arm64/boot/dts/qcom/milos.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi b/arch/arm64/boot/dts/qcom/milos.dtsi
index e1a51d43943f..d1d23dfe7806 100644
--- a/arch/arm64/boot/dts/qcom/milos.dtsi
+++ b/arch/arm64/boot/dts/qcom/milos.dtsi
@@ -1168,6 +1168,18 @@ tcsr: clock-controller@1fc0000 {
 			#reset-cells = <1>;
 		};
 
+		qfprom: efuse@221c8000 {
+			compatible = "qcom,milos-qfprom", "qcom,qfprom";
+			reg = <0x0 0x221c8000 0x0 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			gpu_speed_bin: gpu-speed-bin@138 {
+				reg = <0x138 0x2>;
+				bits = <0 9>;
+			};
+		};
+
 		remoteproc_adsp: remoteproc@3000000 {
 			compatible = "qcom,milos-adsp-pas";
 			reg = <0x0 0x03000000 0x0 0x10000>;

-- 
2.53.0



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

* Re: [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node
  2026-04-01  2:25 ` [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node Alexander Koskovich
@ 2026-04-01  9:41   ` Konrad Dybcio
  2026-04-01 11:16   ` Dmitry Baryshkov
  1 sibling, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2026-04-01  9:41 UTC (permalink / raw)
  To: Alexander Koskovich, Srinivas Kandagatla, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio
  Cc: Luca Weiss, linux-arm-msm, devicetree, linux-kernel

On 4/1/26 4:25 AM, Alexander Koskovich wrote:
> Add the qfprom efuse node and describe where the GPU speedbin fuse is
> located on Milos.
> 
> Note that for SM7635-AB at least, the value is "221", the max frequency
> for this is 1050MHz. There's another speedbin out there for 1150MHz but
> we do not know the value for it so just document in this commit.
> 
> Once the value is discovered we should add the speedbins to the A810
> Adreno entry and update devicetree.
> 
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

* Re: [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible
  2026-04-01  2:24 ` [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible Alexander Koskovich
@ 2026-04-01 10:55   ` Krzysztof Kozlowski
  2026-05-12 20:47   ` Bjorn Andersson
  1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-01 10:55 UTC (permalink / raw)
  To: Alexander Koskovich
  Cc: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio, Luca Weiss,
	linux-arm-msm, devicetree, linux-kernel

On Wed, Apr 01, 2026 at 02:24:57AM +0000, Alexander Koskovich wrote:
> Document compatible string for the QFPROM on Milos platform.
> 
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---
>  Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


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

* Re: [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node
  2026-04-01  2:25 ` [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node Alexander Koskovich
  2026-04-01  9:41   ` Konrad Dybcio
@ 2026-04-01 11:16   ` Dmitry Baryshkov
  1 sibling, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2026-04-01 11:16 UTC (permalink / raw)
  To: Alexander Koskovich
  Cc: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio, Luca Weiss,
	linux-arm-msm, devicetree, linux-kernel

On Wed, Apr 01, 2026 at 02:25:07AM +0000, Alexander Koskovich wrote:
> Add the qfprom efuse node and describe where the GPU speedbin fuse is
> located on Milos.
> 
> Note that for SM7635-AB at least, the value is "221", the max frequency
> for this is 1050MHz. There's another speedbin out there for 1150MHz but
> we do not know the value for it so just document in this commit.
> 
> Once the value is discovered we should add the speedbins to the A810
> Adreno entry and update devicetree.
> 
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---
>  arch/arm64/boot/dts/qcom/milos.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible
  2026-04-01  2:24 ` [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible Alexander Koskovich
  2026-04-01 10:55   ` Krzysztof Kozlowski
@ 2026-05-12 20:47   ` Bjorn Andersson
  1 sibling, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2026-05-12 20:47 UTC (permalink / raw)
  To: Alexander Koskovich
  Cc: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Konrad Dybcio, Luca Weiss, linux-arm-msm,
	devicetree, linux-kernel

On Wed, Apr 01, 2026 at 02:24:57AM +0000, Alexander Koskovich wrote:
> Document compatible string for the QFPROM on Milos platform.
> 
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>

Reviewed-by: Bjorn Andersson <andersson@kernel.org>

> ---
>  Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> index 839513d4b499..936878e74895 100644
> --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> @@ -26,6 +26,7 @@ properties:
>            - qcom,ipq8064-qfprom
>            - qcom,ipq8074-qfprom
>            - qcom,ipq9574-qfprom
> +          - qcom,milos-qfprom
>            - qcom,msm8226-qfprom
>            - qcom,msm8916-qfprom
>            - qcom,msm8917-qfprom
> 
> -- 
> 2.53.0
> 
> 

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

end of thread, other threads:[~2026-05-12 20:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01  2:24 [PATCH 0/2] arm64: dts: qcom: milos: Add QFPROM efuse support Alexander Koskovich
2026-04-01  2:24 ` [PATCH 1/2] dt-bindings: nvmem: qfprom: Add Milos compatible Alexander Koskovich
2026-04-01 10:55   ` Krzysztof Kozlowski
2026-05-12 20:47   ` Bjorn Andersson
2026-04-01  2:25 ` [PATCH 2/2] arm64: dts: qcom: milos: Add qfprom efuse node Alexander Koskovich
2026-04-01  9:41   ` Konrad Dybcio
2026-04-01 11:16   ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox