Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3822056imm; Mon, 20 Aug 2018 05:26:02 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxzrboRkUjU1KInXqnyWqs0vjxpAg73AmZBG8WxNPybgjYpfXpW4EX7xStEYaZJkym8/8ZP X-Received: by 2002:a63:6183:: with SMTP id v125-v6mr12093152pgb.242.1534767962722; Mon, 20 Aug 2018 05:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534767962; cv=none; d=google.com; s=arc-20160816; b=kd43D0DVYEmuZIL7sLVRS4hHdNiM5SSUi0dHXRgvhFwALaZ5ouIXxYCynAWEmmvoje jTIu6d80lTk+Ay8nl5sfwVl/d2f7wZgFXdrVmcS5+6lTUvqqVNbkbWKO3YSLm9ggCAqM 5fNwGLSgo9nZ8eRJxJ+otskrk46Z61bi9Bm1N63sEMHUqsKnZfG3hDtxlZPCzZYgSl9Y St0QoImvLw6FUhIbuU0/m+F2qHhx8T126zPQHO/36VbNcI4etUSKGd0DkaR2ARQhZDhi 7MQpSn62mV9dL3V7y21ExBTCX4UmP6RKZgTo4SL41FjuboMD7oY94NFYoMI7pjqze6Pq filg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=h1k3HwNrT6rumgX70ZHghuIpVVNLOb/7ac1XKQBwPnY=; b=K3qBVecVt7xOeirxz1clQkm5UV38o73YPp060GHs194FyFe6Ky1zEYCI01bW8HOD8i fNGAWUnKjnxSk1SPpxcTk/MJAt9NuBqLj/pB7oK01tmu0cFI/rhIL3D1/dMU55MHg7of SK62iPhWQacG1tXrStrb8to+iP5/QlU7LLPfy2jyUnhJZoarph5QdiCWYF+jiHT7Q1rP S8InQ7pqoO0iOfCYyuge0LWRdk/2oZ/35jmHyA95WlAJFmj93vy98JxRZimegb/0umNO K+MnALWWf645Pqg1vSoPUZPxR17tQDOWPCHSqsnocGx9/ts+Rlg0S9FQFXZqXV4/PWed azCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f65-v6si5617140pgc.20.2018.08.20.05.25.46; Mon, 20 Aug 2018 05:26:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726750AbeHTPkG (ORCPT + 99 others); Mon, 20 Aug 2018 11:40:06 -0400 Received: from mail.bootlin.com ([62.4.15.54]:39308 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbeHTPkG (ORCPT ); Mon, 20 Aug 2018 11:40:06 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 02AAD20DE0; Mon, 20 Aug 2018 14:24:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id 80EAB20618; Mon, 20 Aug 2018 14:24:22 +0200 (CEST) Date: Mon, 20 Aug 2018 14:24:22 +0200 From: Boris Brezillon To: Naga Sureshkumar Relli Cc: "richard@nod.at" , "absahu@codeaurora.org" , "linux-kernel@vger.kernel.org" , "marek.vasut@gmail.com" , "kyungmin.park@samsung.com" , "frieder.schrempf@exceet.de" , "linux-mtd@lists.infradead.org" , "miquel.raynal@bootlin.com" , "nagasureshkumarrelli@gmail.com" , Michal Simek , "computersforpeace@gmail.com" , "dwmw2@infradead.org" , "peterpandong@micron.com" Subject: Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller Message-ID: <20180820142422.73288ff7@bbrezillon> In-Reply-To: References: <1534511964-20342-1-git-send-email-naga.sureshkumar.relli@xilinx.com> <1534511964-20342-3-git-send-email-naga.sureshkumar.relli@xilinx.com> <20180817195903.49963b25@bbrezillon> <20180820105355.11bd50a8@bbrezillon> <20180820141026.0e7208ae@bbrezillon> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Aug 2018 12:21:12 +0000 Naga Sureshkumar Relli wrote: > Hi Boris, > > > -----Original Message----- > > From: Boris Brezillon [mailto:boris.brezillon@bootlin.com] > > Sent: Monday, August 20, 2018 5:40 PM > > To: Naga Sureshkumar Relli > > Cc: richard@nod.at; absahu@codeaurora.org; linux-kernel@vger.kernel.org; > > marek.vasut@gmail.com; kyungmin.park@samsung.com; frieder.schrempf@exceet.de; linux- > > mtd@lists.infradead.org; miquel.raynal@bootlin.com; nagasureshkumarrelli@gmail.com; > > Michal Simek ; computersforpeace@gmail.com; dwmw2@infradead.org; > > peterpandong@micron.com > > Subject: Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan > > NAND Flash Controller > > > > On Mon, 20 Aug 2018 10:49:38 +0000 > > Naga Sureshkumar Relli wrote: > > > > > > > > Thanks for your suggestion and are you saying something like Marvell parser patterns for > > nfcv1 as below? > > > > > > static const struct nand_op_parser marvell_nfcv1_op_parser = NAND_OP_PARSER( > > > /* Naked commands not supported, use a function for each pattern */ > > > NAND_OP_PARSER_PATTERN( > > > marvell_nfc_read_id_type_exec, > > > NAND_OP_PARSER_PAT_CMD_ELEM(false), > > > NAND_OP_PARSER_PAT_ADDR_ELEM(false, > > MAX_ADDRESS_CYC_NFCV1), > > > NAND_OP_PARSER_PAT_DATA_IN_ELEM(false, 8)), > > > NAND_OP_PARSER_PATTERN( > > > marvell_nfc_erase_cmd_type_exec, > > > NAND_OP_PARSER_PAT_CMD_ELEM(false), > > > NAND_OP_PARSER_PAT_ADDR_ELEM(false, > > MAX_ADDRESS_CYC_NFCV1), > > > NAND_OP_PARSER_PAT_CMD_ELEM(false), > > > NAND_OP_PARSER_PAT_WAITRDY_ELEM(false)), > > > ); > > > That means, a separate hook for each pattern, is that you are suggesting? > > > > Yes. > > Ok, I will update the driver and will send next version. Wait a bit before sending a new version, there were other things I wanted to comment on, this one was just the main issue.