From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jorge Ramirez-Ortiz Subject: Re: [RFCv2: PATCH 1/2] mtd: mediatek: device tree docs for MTK Smart Device Gen1 NAND Date: Sat, 26 Mar 2016 14:38:31 -0400 Message-ID: <56F6D727.8070001@linaro.org> References: <1458653560-2679-1-git-send-email-jorge.ramirez-ortiz@linaro.org> <1458653560-2679-2-git-send-email-jorge.ramirez-ortiz@linaro.org> <20160322145258.44945c64@bbrezillon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160322145258.44945c64@bbrezillon> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Boris Brezillon Cc: robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, daniel.thompson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, erin.lo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, xiaolei.li-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org List-Id: linux-mediatek@lists.infradead.org On 03/22/2016 09:52 AM, Boris Brezillon wrote: >> > + compatible = "mediatek,mt2701-nfc"; >> > + reg = <0 0x1100d000 0 0x1000>; >> > + interrupts = ; >> > + clocks = <&pericfg CLK_PERI_NFI>, >> > + <&pericfg CLK_PERI_NFI_PAD>; >> > + clock-names = "nfi_clk", "pad_clk"; >> > + nand-on-flash-bbt; >> > + status = "disabled"; >> > + mediatek,ecc-controller = <&bch>; > Now that 2 different drivers use the same way to link the ECC engine > and the NAND controller we can think about defining a generic property > (ecc-engine ?), and provide a generic framework. > > The generic framework part is not something I'm asking right now, but I > think we should start using a generic property here. > we have done all the changes required for v3 except this one. so please let me check my understanding before going ahead: are you suggesting that we replace "mediatek,ecc-controller" for "ecc-engine" (even though this generic property doesn't exist yet)? and then afterwards, generate another patch-set set to define and document "ecc-engine"?