Skip to contentSkip to conversation

dt-bindings: nvmem: qfprom: add IPQ8074 compatible

PATCH Applied Robert Marko 5 participants 6 messages Jan 23, 2023 – Feb 9, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 dt-bindings: nvmem: qfprom: add IPQ8074 compatible

Document IPQ8074 compatible for QFPROM, its compatible with the generic QFPROM fallback.

---
Changes in v2:
* Add ACK tag from Krzysztof

---
 Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +1 -0
index 9ddf3cef9e84..2173fe82317d 100644
@@ -19,6 +19,7 @@ properties:
           - qcom,apq8064-qfprom
           - qcom,apq8084-qfprom
           - qcom,ipq8064-qfprom
+          - qcom,ipq8074-qfprom
           - qcom,msm8916-qfprom
           - qcom,msm8974-qfprom
           - qcom,msm8976-qfprom
Signature · 1 line
2.39.1
#1 lore raw

PATCH v2 2/2 arm64: dts: qcom: ipq8074: add QFPROM node

IPQ8074 has efuses like other Qualcomm SoC-s that are required for determining various HW quirks which will be required later for CPR etc, so lets add the QFPROM node for start.

Individidual fuses will be added as they are required.

---
Changes in v2:
* Enlarge the register space size due to info from Kathiravan T.

---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +7 -0
index 8eba586065a3..ff59a2f38293 100644
@@ -301,6 +301,13 @@ mdio: mdio@90000 {
 			status = "disabled";
 		};
 
+		qfprom: efuse@a4000 {
+			compatible = "qcom,ipq8074-qfprom", "qcom,qfprom";
+			reg = <0x000a4000 0x2000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+
 		prng: rng@e3000 {
 			compatible = "qcom,prng-ee";
 			reg = <0x000e3000 0x1000>;
Signature · 1 line
2.39.1
Reviewed-by on v2 2/2
#2 lore raw

Re: [PATCH v2 2/2] arm64: dts: qcom: ipq8074: add QFPROM node

Quoted 7 lines · Robert Marko

IPQ8074 has efuses like other Qualcomm SoC-s that are required for determining various HW quirks which will be required later for CPR etc, so lets add the QFPROM node for start.

Individidual fuses will be added as they are required.

Quoted 25 lines

---
Changes in v2:
* Enlarge the register space size due to info from Kathiravan T.

---
  arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++
  1 file changed, 7 insertions(+)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +7 -0
index 8eba586065a3..ff59a2f38293 100644
@@ -301,6 +301,13 @@ mdio: mdio@90000 {
  			status = "disabled";
  		};
 
+		qfprom: efuse@a4000 {
+			compatible = "qcom,ipq8074-qfprom", "qcom,qfprom";
+			reg = <0x000a4000 0x2000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+
  		prng: rng@e3000 {
  			compatible = "qcom,prng-ee";
  			reg = <0x000e3000 0x1000>;
Reviewed-by on v2 2/2
#3 lore raw

Re: [PATCH v2 2/2] arm64: dts: qcom: ipq8074: add QFPROM node

In reply to Robert Marko
Quoted 11 lines · Robert Marko

IPQ8074 has efuses like other Qualcomm SoC-s that are required for determining various HW quirks which will be required later for CPR etc, so lets add the QFPROM node for start.

Individidual fuses will be added as they are required.

---
Changes in v2:
* Enlarge the register space size due to info from Kathiravan T.
---

Konrad

Quoted 21 lines
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +7 -0
index 8eba586065a3..ff59a2f38293 100644
@@ -301,6 +301,13 @@ mdio: mdio@90000 {
 			status = "disabled";
 		};
 
+		qfprom: efuse@a4000 {
+			compatible = "qcom,ipq8074-qfprom", "qcom,qfprom";
+			reg = <0x000a4000 0x2000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+
 		prng: rng@e3000 {
 			compatible = "qcom,prng-ee";
 			reg = <0x000e3000 0x1000>;
#4 lore raw
In reply to Robert Marko
Quoted 6 lines · Robert Marko

Document IPQ8074 compatible for QFPROM, its compatible with the generic QFPROM fallback.

---

Applied thanks,

--srin

Quoted 18 lines

Changes in v2:
* Add ACK tag from Krzysztof

---
  Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
  1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +1 -0
index 9ddf3cef9e84..2173fe82317d 100644
@@ -19,6 +19,7 @@ properties:
            - qcom,apq8064-qfprom
            - qcom,apq8084-qfprom
            - qcom,ipq8064-qfprom
+          - qcom,ipq8074-qfprom
            - qcom,msm8916-qfprom
            - qcom,msm8974-qfprom
            - qcom,msm8976-qfprom
maintainer Applied
#5 lore raw

Re: (subset) [PATCH v2 1/2] dt-bindings: nvmem: qfprom: add IPQ8074 compatible

In reply to Robert Marko
Quoted 4 lines · Robert Marko

Document IPQ8074 compatible for QFPROM, its compatible with the generic QFPROM fallback.

Applied, thanks!

[2/2] arm64: dts: qcom: ipq8074: add QFPROM node

      commit: a1ab382704f59c917a497b44e7552c4f2eb4faf7

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>