2022-05-03 00:22:50

by Kaushal Kumar

[permalink] [raw]
Subject: [PATCH v3 0/4] Add QPIC BAM and QPIC NAND devicetree support for SDX65

Hello,

This series adds and enables devicetree nodes for QPIC BAM
and QPIC NAND for Qualcomm SDX65 platform.

Changes since v2:
- Modify status as "okay" for the nodes added for sdx65-mtp.

Changes since v1:
- Sort the nodes added for sdx65-mtp in alphabetical order.
- Rebased on top of 5.18-rc5.

Kaushal Kumar (4):
ARM: dts: qcom: sdx65: Add QPIC BAM support
ARM: dts: qcom: sdx65: Add QPIC NAND support
ARM: dts: qcom: sdx65-mtp: Enable QPIC BAM support
ARM: dts: qcom: sdx65-mtp: Enable QPIC NAND support

arch/arm/boot/dts/qcom-sdx65-mtp.dts | 27 +++++++++++++++++++++++----
arch/arm/boot/dts/qcom-sdx65.dtsi | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+), 4 deletions(-)

--
2.7.4


2022-05-03 00:28:07

by Kaushal Kumar

[permalink] [raw]
Subject: [PATCH v3 1/4] ARM: dts: qcom: sdx65: Add QPIC BAM support

Add devicetree node to enable support for QPIC
BAM DMA controller on Qualcomm SDX65 platform.

Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Kaushal Kumar <[email protected]>
---
arch/arm/boot/dts/qcom-sdx65.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi
index a64be20..d6a6087 100644
--- a/arch/arm/boot/dts/qcom-sdx65.dtsi
+++ b/arch/arm/boot/dts/qcom-sdx65.dtsi
@@ -199,6 +199,18 @@
qcom,bcm-voters = <&apps_bcm_voter>;
};

+ qpic_bam: dma-controller@1b04000 {
+ compatible = "qcom,bam-v1.7.0";
+ reg = <0x01b04000 0x1c000>;
+ interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&rpmhcc RPMH_QPIC_CLK>;
+ clock-names = "bam_clk";
+ #dma-cells = <1>;
+ qcom,ee = <0>;
+ qcom,controlled-remotely;
+ status = "disabled";
+ };
+
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x01f40000 0x40000>;
--
2.7.4

2022-05-03 00:40:39

by Kaushal Kumar

[permalink] [raw]
Subject: [PATCH v3 4/4] ARM: dts: qcom: sdx65-mtp: Enable QPIC NAND support

Enable QPIC NAND devicetree node for Qualcomm SDX65-MTP board.

Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Kaushal Kumar <[email protected]>
---
arch/arm/boot/dts/qcom-sdx65-mtp.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-sdx65-mtp.dts b/arch/arm/boot/dts/qcom-sdx65-mtp.dts
index e9c8df9..e747ec0 100644
--- a/arch/arm/boot/dts/qcom-sdx65-mtp.dts
+++ b/arch/arm/boot/dts/qcom-sdx65-mtp.dts
@@ -249,6 +249,21 @@
status = "okay";
};

+&qpic_nand {
+ status = "okay";
+
+ nand@0 {
+ reg = <0>;
+
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
+ nand-bus-width = <8>;
+ /* ico and efs2 partitions are secured */
+ secure-regions = /bits/ 64 <0x500000 0x500000
+ 0xa00000 0xb00000>;
+ };
+};
+
&usb {
status = "okay";
};
--
2.7.4

2022-06-28 20:52:58

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH v3 0/4] Add QPIC BAM and QPIC NAND devicetree support for SDX65

On Mon, 2 May 2022 10:08:02 -0700, Kaushal Kumar wrote:
> This series adds and enables devicetree nodes for QPIC BAM
> and QPIC NAND for Qualcomm SDX65 platform.
>
> Changes since v2:
> - Modify status as "okay" for the nodes added for sdx65-mtp.
>
> Changes since v1:
> - Sort the nodes added for sdx65-mtp in alphabetical order.
> - Rebased on top of 5.18-rc5.
>
> [...]

Applied, thanks!

[1/4] ARM: dts: qcom: sdx65: Add QPIC BAM support
commit: ab11b74d87ddadb1e6e6d8dc36f3145a26158ef2
[2/4] ARM: dts: qcom: sdx65: Add QPIC NAND support
commit: 0ec15b6f7621c2e5ded3d3d1a67361da1895c26b
[3/4] ARM: dts: qcom: sdx65-mtp: Enable QPIC BAM support
commit: eae61fddd64861fc496a7786b02449abe8188145
[4/4] ARM: dts: qcom: sdx65-mtp: Enable QPIC NAND support
commit: 59e73f67e14b95eddbbff2f009c98a55cef47f8a

Best regards,
--
Bjorn Andersson <[email protected]>