From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 7 Dec 2018 10:42:54 +0100 From: Miquel Raynal To: Jianxin Pan Cc: Boris Brezillon , , Liang Yang , 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 , , , Subject: Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller Message-ID: <20181207104254.0ecfc1e5@xps13> In-Reply-To: <20181207102456.1dc67e07@xps13> References: <1542386439-30166-1-git-send-email-jianxin.pan@amlogic.com> <1542386439-30166-3-git-send-email-jianxin.pan@amlogic.com> <20181207102456.1dc67e07@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Jianxin, Miquel Raynal wrote on Fri, 7 Dec 2018 10:24:56 +0100: > Hi Jianxin, >=20 > Looks good to me overall, a few comments inline. >=20 > Jianxin Pan wrote on Sat, 17 Nov 2018 > 00:40:38 +0800: >=20 > > From: Liang Yang > >=20 > > Add initial support for the Amlogic NAND flash controller which found > > in the Meson-GXBB/GXL/AXG SoCs. > >=20 > > 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 > >=20 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_o= ps 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() i= s implemented ae2294b10b0f mtd: rawnand: Pass the CS line to be selected in struct nand_o= peration 1d0178593d14 mtd: rawnand: Add nand_[de]select_target() helpers Thanks, Miqu=C3=A8l