Add QPIC NAND support for IPQ6018
v3 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.
[V3]:
- Rebased on v5.10-rc6
- Renamed the qpic bam dma node name from 'dma' to 'dma-controller'
- Update the device register space to 64bit format
Above mentioned last two points based on the latest changes in the QCOM tree.
[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: b65054597872ce3aefbc6a666385eabdf9e288da
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
PATCH v3 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
@@ -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
This patch was applied to qcom/linux.git (refs/heads/for-next):
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
Quoted 10 lines · On Mon, 30 Nov 2020 16:31:44 +0530 you wrote:
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.
[V3]:
- Rebased on v5.10-rc6
- Renamed the qpic bam dma node name from 'dma' to 'dma-controller'
- Update the device register space to 64bit format[...]
Here is the summary with links:
- [V3,1/1] arm64: dts: ipq6018: Add the QPIC peripheral nodes
https://git.kernel.org/qcom/c/74ab8ccfb8f3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html