Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751902AbbHTKGr (ORCPT ); Thu, 20 Aug 2015 06:06:47 -0400 Received: from webbox1416.server-home.net ([77.236.96.61]:59526 "EHLO webbox1416.server-home.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbbHTKGo (ORCPT ); Thu, 20 Aug 2015 06:06:44 -0400 From: Alexander Stein To: Marek Vasut Cc: linux-mtd@lists.infradead.org, vndao@altera.com, computersforpeace@gmail.com, dwmw2@infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ngachi86@gmail.com Subject: Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Date: Thu, 20 Aug 2015 12:06:36 +0200 Message-ID: <3030745.IsU6n2jnJj@ws-stein> User-Agent: KMail/4.14.8 (Linux/4.0.5-gentoo; KDE/4.14.8; x86_64; ; ) In-Reply-To: <201508201003.38179.marex@denx.de> References: <1440053705-3836-1-git-send-email-vndao@altera.com> <201508201003.38179.marex@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1799 Lines: 59 Hello Marek, On Thursday 20 August 2015 10:03:38, Marek Vasut wrote: > > +Example: > > + > > + quadspi_controller_0: quadspi@0x180014a0 { > > + compatible = "altr,quadspi-1.0"; > > + reg = <0x180014a0 0x00000020>, > > + <0x14000000 0x04000000>; > > + reg-names = "avl_csr", "avl_mem"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + flash0: epcq256@0 { > > + compatible = "altr,epcq256"; > > + #address-cells = <1>; > > + #size-cells = <1>; > > + partition@0 { > > + /* 16 MB for raw data. */ > > + label = "EPCQ Flash 0 raw data"; > > + reg = <0x0 0x1000000>; > > + }; > > + partition@1000000 { > > + /* 16 MB for jffs2 data. */ > > + label = "EPCQ Flash 0 JFFS 2"; > > + reg = <0x1000000 0x1000000>; > > + }; > > IIRC, encoding partitions into OF is deprecated (and it shouldn't be > part of the example anyway, so please remove this bit). Do you mean specifying partitions in OF is deprecated in general? Is there any link for that? What would be an alternative to it? Best regards, Alexander -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH alexander.stein@systec-electronic.com Legal and Commercial Address: Am Windrad 2 08468 Heinsdorfergrund Germany Office: +49 (0) 3765 38600-0 Fax: +49 (0) 3765 38600-4100 Managing Directors: Director Technology/CEO: Dipl.-Phys. Siegmar Schmidt; Director Commercial Affairs/COO: Dipl. Ing. (FH) Armin von Collrepp Commercial Registry: Amtsgericht Chemnitz, HRB 28082; USt.-Id Nr. DE150534010 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/