Thread (1 message) 1 message, 1 author, 2016-03-20

Re: [PATCH V2 3/4] ARM: dts: imx6ul: Add GPMI nand controller support

From: Michael Trimarchi <hidden>
Date: 2016-03-20 08:44:19
Also in: linux-arm-kernel

Hi Lothar

On Mon, Feb 22, 2016 at 9:26 AM, Lothar Waßmann [off-list ref] wrote:
Hi,

On Sun, 21 Feb 2016 12:29:53 +0100 Michael Trimarchi wrote:
quoted
Add support for GPMI nand controller.

Signed-off-by: Michael Trimarchi <michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
---
Changes V2:
      - drop special IMXUL type because seems that is compatible
        with IMX6Q

 arch/arm/boot/dts/imx6ul.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index f4daf97..1a486ac 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -142,6 +142,39 @@
                      reg = <0x00900000 0x20000>;
              };

+             dma_apbh: dma-apbh@01804000 {
+                     compatible = "fsl,imx6ul-dma-apbh", "fsl,imx28-dma-apbh";
+                     reg = <0x01804000 0x2000>;
+                     interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+                                  <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+                                  <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+                                  <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+                     interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
+                     #dma-cells = <1>;
+                     dma-channels = <4>;
+                     clocks = <&clks IMX6UL_CLK_APBHDMA>;
+             };
+
+             gpmi: gpmi-nand@01806000 {
+                     compatible = "fsl,imx6q-gpmi-nand";
You should still add an imx6ul specific compatible (likewise to the
dma_apbh).
I understand your point but this seems that imx6q and imx6sx are
defined in the same way

Michael

Lothar Waßmann


-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help