2023-01-23 10:16:58

by Robert Marko

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: nvmem: qfprom: add IPQ8074 compatible

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

Signed-off-by: Robert Marko <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
---
Changes in v2:
* Add ACK tag from Krzysztof
---
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 9ddf3cef9e84..2173fe82317d 100644
--- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
+++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
@@ -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
--
2.39.1



2023-01-23 10:17:00

by Robert Marko

[permalink] [raw]
Subject: [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.

Signed-off-by: Robert Marko <[email protected]>
---
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(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index 8eba586065a3..ff59a2f38293 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -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>;
--
2.39.1


2023-01-23 10:59:14

by Kathiravan Thirumoorthy

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


On 1/23/2023 3:46 PM, Robert Marko wrote:
> 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.
>
> Signed-off-by: Robert Marko <[email protected]>

Reviewed-by: Kathiravan T <[email protected]>

> ---
> 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(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> index 8eba586065a3..ff59a2f38293 100644
> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> @@ -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>;

2023-01-23 12:35:07

by Konrad Dybcio

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



On 23.01.2023 11:16, Robert Marko wrote:
> 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.
>
> Signed-off-by: Robert Marko <[email protected]>
> ---
> Changes in v2:
> * Enlarge the register space size due to info from Kathiravan T.
> ---
Reviewed-by: Konrad Dybcio <[email protected]>

Konrad
> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> index 8eba586065a3..ff59a2f38293 100644
> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> @@ -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>;

2023-01-27 09:30:03

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: nvmem: qfprom: add IPQ8074 compatible



On 23/01/2023 10:16, Robert Marko wrote:
> Document IPQ8074 compatible for QFPROM, its compatible with the generic
> QFPROM fallback.
>
> Signed-off-by: Robert Marko <[email protected]>
> Acked-by: Krzysztof Kozlowski <[email protected]>
> ---

Applied thanks,

--srin
> Changes in v2:
> * Add ACK tag from Krzysztof
> ---
> 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 9ddf3cef9e84..2173fe82317d 100644
> --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> @@ -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

2023-02-09 04:26:20

by Bjorn Andersson

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

On Mon, 23 Jan 2023 11:16:30 +0100, Robert Marko wrote:
> 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,
--
Bjorn Andersson <[email protected]>