Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp261678ybz; Wed, 15 Apr 2020 08:17:02 -0700 (PDT) X-Google-Smtp-Source: APiQypKo4F+YNawj0m5ajk0gcdqDlXZVy85pl4iNl4Z4DgutoboWwsD9JttqafJKcHPPllD65PCO X-Received: by 2002:a50:9ea3:: with SMTP id a32mr5194460edf.18.1586963822045; Wed, 15 Apr 2020 08:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586963822; cv=none; d=google.com; s=arc-20160816; b=wtoXNNQ6CZ+IqB3P7N7hZLyLqDY59JfPmpIPq4DnvfBXJCwKFk0oHN0IeVn1995UY5 7weEWpw1XHSH6LpV9OQeAer+/ItsxWK14BmX2E5vBS7eUm4G5txJ7sxF9z142deT2E/6 iigIbpvU5i8eF+PqNktio2N4AuIZU/sWGLEimcAuD4o13NK1b6yEGpeDRIcCb1UGzVhp PcZjyJFS4pRWgIfrwFCrFAgDE8BD88oImk55VZQ4Z1/IRUZO1TnzQ/u5XNWTm3oMpZtm eUERYhhLyXsFyb8hIM/eywtwWff6tq9ZTme3PJyG0n152ASP/BT3FubJJaGVi2p/8j5g x7hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=Aaws+d+XGzjWRR/wl8aXxMlqZTt4qRkyxr8TWkCi/Ik=; b=z4OOpYUO5L61tkThG80l7P1hXj/SCoZAWmgUmB3ca9qAtcDVbMNYXGLgWAYRNQuMew dhtIBJ6k+BAwe2Gx3C20GYl+4zDg4+QKoppzZpy1NCPctuAGMgwpR5IQBSQoWZtwrRMC 8ZVrpU+RXLPx/CxA8LrGHgvvYcI6k2pwNbaPluCUwV7C6tYsUTa4CbLUC8Ie8erC/vz9 hpP54XLyxvmrZhzFTi6gdLBt36K2Cx3WKQ7cG2YkKjPZXzMhBoXsyDdhSs8zfy+PUuoF TKZMGykjwaWzz7IhyMWO0ftyveXYTiMmr0BQunJi0vNgJuRZnfFC84GEV6wDwAV5XW3R 6aqQ== 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 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce2si11578513edb.26.2020.04.15.08.16.34; Wed, 15 Apr 2020 08:17:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441087AbgDOGCI (ORCPT + 99 others); Wed, 15 Apr 2020 02:02:08 -0400 Received: from mga12.intel.com ([192.55.52.136]:32283 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441080AbgDOGCF (ORCPT ); Wed, 15 Apr 2020 02:02:05 -0400 IronPort-SDR: Xdzih+kU46ceIYw9T+hfpavmsDBJtylee84zd1JoMTUPmUKaBaMClpq5IwBw5vNC6cXwo9y7He oBhBrXAEO65g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2020 23:02:03 -0700 IronPort-SDR: XI465BG+7j67qXFLT9dIcHvFNQBQDHurw6IfghYezG/NpWEdYCVIsNDT2k6ZC1QusTyPJdtTbR h6Ep06sJKl6g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,385,1580803200"; d="scan'208";a="332402681" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 14 Apr 2020 23:02:03 -0700 Received: from [10.214.160.145] (unknown [10.214.160.145]) by linux.intel.com (Postfix) with ESMTP id 218755802C9; Tue, 14 Apr 2020 23:01:56 -0700 (PDT) Subject: Re: [PATCH v1 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC To: Boris Brezillon Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, arnd@arndb.de, brendanhiggins@google.com, tglx@linutronix.de, anders.roxell@linaro.org, masonccyang@mxic.com.tw, piotrs@cadence.com, robh+dt@kernel.org, andriy.shevchenko@intel.com, qi-ming.wu@intel.com, cheol.yong.kim@intel.com References: <20200414022433.36622-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200414022433.36622-3-vadivel.muruganx.ramuthevar@linux.intel.com> <20200414092132.525053f1@collabora.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: Date: Wed, 15 Apr 2020 14:01:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200414092132.525053f1@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris,     Thank you so much for review comments and your time... On 14/4/2020 3:21 pm, Boris Brezillon wrote: > Hello Ramuthevar, > > On Tue, 14 Apr 2020 10:24:33 +0800 > "Ramuthevar,Vadivel MuruganX" > wrote: > >> + lgm_host->chip.legacy.read_byte = lgm_read_byte; >> + lgm_host->chip.legacy.read_buf = lgm_read_buf; >> + lgm_host->chip.legacy.write_buf = lgm_write_buf; >> + lgm_host->chip.legacy.select_chip = lgm_select_chip; >> + lgm_host->chip.legacy.dev_ready = lgm_dev_ready; >> + lgm_host->chip.legacy.cmd_ctrl = lgm_cmd_ctrl; >> + lgm_host->chip.legacy.chip_delay = 30; >> + lgm_host->chip.legacy.dummy_controller.ops = &lgm_nand_controller_ops; >> + > Seriously, what's not clear in [1]? Okay, let's say you overlooked this > comment, isn't the name of the field explicit enough? We received a > few other drivers implementing the legacy interface in the last few > months so maybe there's something to improve on our end (update the > doc, move legacy drivers to a legacy sub-dir?). Understood the legacy to latest implementation based ->exec_op(), Thanks! > > Back to more constructive comment now: please implement ->exec_op() to > replace those legacy hooks. Agreed, will do the implementation of exec_op() hook and update the patches. Regards Vadivel > > Regards, > > Boris > > [1]https://elixir.bootlin.com/linux/v5.7-rc1/source/include/linux/mtd/rawnand.h#L987