Skip to contentSkip to conversation

Add QPIC NAND support for IPQ6018

PATCH Superseded Kathiravan T 1 participant 2 messages Nov 4, 2020

Subsystems (4)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add QPIC NAND support for IPQ6018

IPQ6018 has the QPIC NAND controller of version 1.5.0, which uses the BAM DMA. Add support for the QPIC BAM, QPIC NAND and enable the same in the board DTS file.

[V2]:
- Rebased on v5.10-rc2
- Replaced "ok" with "okay" for status property
- Dropped the MTD and dt-bindings patch as they are already picked in MTD tree

Kathiravan T (1):
arm64: dts: ipq6018: Add the QPIC peripheral nodes

 arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 16 ++++++++
 arch/arm64/boot/dts/qcom/ipq6018.dtsi        | 41 ++++++++++++++++++++
 2 files changed, 57 insertions(+)

base-commit: 3cea11cd5e3b00d91caf0b4730194039b45c5891

Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
#1 lore raw

PATCH v2 1/1 arm64: dts: ipq6018: Add the QPIC peripheral nodes

Add the QPIC BAM and QPIC NAND controller support and enable the same in board DTS file.

---
 arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 16 ++++++++
 arch/arm64/boot/dts/qcom/ipq6018.dtsi        | 41 ++++++++++++++++++++
 2 files changed, 57 insertions(+)
arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts +16 -0
index e8eaa958c199..99cefe88f6f2 100644
@@ -62,3 +62,19 @@ spi_0_pins: spi-0-pins {
 		bias-pull-down;
 	};
 };
+
+&qpic_bam {
+	status = "okay";
+};
+
+&qpic_nand {
+	status = "okay";
+
+	nand@0 {
+		reg = <0>;
+
+		nand-ecc-strength = <4>;
+		nand-ecc-step-size = <512>;
+		nand-bus-width = <8>;
+	};
+};
arch/arm64/boot/dts/qcom/ipq6018.dtsi +41 -0

53 lines not on this page · raw message

Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation