Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp383656imu; Fri, 7 Dec 2018 02:42:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/VsZMqYoV3Yy1GSlrUndrkKiH2DzSR/Kh4XQn3FOgFEYVI/LPVZnKI/rcooyBW7oxwIFvAj X-Received: by 2002:a17:902:6a8c:: with SMTP id n12mr1649275plk.85.1544179341457; Fri, 07 Dec 2018 02:42:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544179341; cv=none; d=google.com; s=arc-20160816; b=025pbbFfYUoWxpYvofY6oG94YhENfoPAmfd2XXyabLx5e6/xAuJWGeyvIy06SxBqGv /FAoGAx8EZ7pnuGUWyAipqO30RvljxWsorbfNr/Ili7LGDbnhtgIVK6+tDO7rkmMl0Un OgoPgzJcH6qBistdoIyRqhGMwn5mEHBziLTRUWw5GKPPFGxKDGx4OUOqWzhED1UIb4Wj Gef4B++RE8KsRJUm/sqGoi/xvHJVEehcB92lyD3/tBEej4QxVNnX0F5NbEtKtMUBnfQ1 QILVHOH1NmlIoEsxWY4o8tLaovpEGe7LBztKFovtZ88fn6BLCOgY0BWMbkcEqUjm+LQF qFrg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UEu7/ke0IsDUG33NVHcRW94mAIuD49sjcXQdfv9D5A8=; b=umu+7N+1Hdhk3Ym1Tdxf6tPJsBG5K3MbU+yHpo5XlK2YWAErSPxrCVAcB/hr6O7ujk IXAZCkqcarMaMMLCmNDsipoItokNbW1Xq56avAf0tDXrRDcR+gr22xNWAG2P8+PZN9bV RRcCep4JqomPNysTyfWqTZ1dBx+Hu9c80EAtdRIiNJx+lBz+8rDU3YnCUzQgBPZB27+N mXRyhC1e0Ni/IwHFwcvwwhMB/nBesaYEJeWZYm+FT+gfDTjq1qFLpqBMY06LtFyGydbv NCvAIAtYdemekJnWY8d4Wyay0auXsL+s6nhf/qtty2KW6YubXbFNuScu2vqkaF0jaO0J sW8g== 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 m61si2622511plb.154.2018.12.07.02.42.06; Fri, 07 Dec 2018 02:42:21 -0800 (PST) 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 S1726008AbeLGKlb (ORCPT + 99 others); Fri, 7 Dec 2018 05:41:31 -0500 Received: from mail-sz2.amlogic.com ([211.162.65.114]:20458 "EHLO mail-sz2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbeLGKla (ORCPT ); Fri, 7 Dec 2018 05:41:30 -0500 Received: from [10.28.18.115] (10.28.18.115) by mail-sz2.amlogic.com (10.28.11.6) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 7 Dec 2018 18:41:39 +0800 Subject: Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller To: Miquel Raynal , Jianxin Pan CC: Boris Brezillon , , Yixun Lan , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Jerome Brunet , Neil Armstrong , Martin Blumenstingl , Carlo Caione , Kevin Hilman , Rob Herring , Jian Hu , Hanjie Lin , Victor Wan , , , References: <1542386439-30166-1-git-send-email-jianxin.pan@amlogic.com> <1542386439-30166-3-git-send-email-jianxin.pan@amlogic.com> <20181207102456.1dc67e07@xps13> <20181207104254.0ecfc1e5@xps13> From: Liang Yang Message-ID: Date: Fri, 7 Dec 2018 18:41:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: <20181207104254.0ecfc1e5@xps13> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.28.18.115] X-ClientProxiedBy: mail-sz2.amlogic.com (10.28.11.6) To mail-sz2.amlogic.com (10.28.11.6) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, Appreciate your time. I will follow the nand/next and rework some next week as soon as possible. On 2018/12/7 17:42, Miquel Raynal wrote: > Hi Jianxin, > > Miquel Raynal wrote on Fri, 7 Dec 2018 > 10:24:56 +0100: > >> Hi Jianxin, >> >> Looks good to me overall, a few comments inline. >> >> Jianxin Pan wrote on Sat, 17 Nov 2018 >> 00:40:38 +0800: >> >>> From: Liang Yang >>> >>> Add initial support for the Amlogic NAND flash controller which found >>> in the Meson-GXBB/GXL/AXG SoCs. >>> >>> Signed-off-by: Liang Yang >>> Signed-off-by: Yixun Lan >>> Signed-off-by: Jianxin Pan >>> --- >>> drivers/mtd/nand/raw/Kconfig | 10 + >>> drivers/mtd/nand/raw/Makefile | 1 + >>> drivers/mtd/nand/raw/meson_nand.c | 1417 +++++++++++++++++++++++++++++++++++++ >>> 3 files changed, 1428 insertions(+) >>> create mode 100644 drivers/mtd/nand/raw/meson_nand.c >>> > > I forgot to mention, Boris has done more cleanup which breaks your > patches, please have a look at the following commits in the nand/next > branch, they will force you to do some light rework to get the driver > building (especially, you should not export the ->select_chip hook anymore): > > 7a08dbaedd36 mtd: rawnand: Move ->setup_data_interface() to nand_controller_ops > f2abfeb2078b mtd: rawnand: Move the ->exec_op() method to nand_controller_ops > 7d6c37e90cf9 mtd: rawnand: Deprecate the ->select_chip() hook > 1770022ffa85 mtd: rawnand: ams-delta: Stop implementing ->select_chip() > 653c57c7da08 mtd: rawnand: vf610: Stop implementing ->select_chip() > 2ace451cae22 mtd: rawnand: tegra: Stop implementing ->select_chip() > b25251414f6e mtd: rawnand: marvell: Stop implementing ->select_chip() > 550b9fc4e3af mtd: rawnand: fsmc: Stop implementing ->select_chip() > 02b4a52604a4 mtd: rawnand: Make ->select_chip() optional when ->exec_op() is implemented > ae2294b10b0f mtd: rawnand: Pass the CS line to be selected in struct nand_operation > 1d0178593d14 mtd: rawnand: Add nand_[de]select_target() helpers > > Thanks, > Miquèl > > . >