Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC9DAC433FE for ; Fri, 4 Nov 2022 13:28:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4719A85198; Fri, 4 Nov 2022 14:28:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="NR0/6i/d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 62E958510F; Fri, 4 Nov 2022 14:28:01 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B1CB38510F for ; Fri, 4 Nov 2022 14:27:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3878BB82CFE; Fri, 4 Nov 2022 13:27:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFCFDC433C1; Fri, 4 Nov 2022 13:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667568476; bh=xKsUZrZ4Z3Z07kNZfmJKmQ/liMdjetlHFtOO2qeN6T8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NR0/6i/dSsVCoOlrdLT94Q3RhYapNxRj3omctITgX4ySz0vlSGj49c9k5N25ZXZ9b EJh0BBUWx13RX31BNVDu0CjfckL4G3bJFh6NTP47GTUWW5hubwIZiD1gcK5KYRnycS UgxB9tkKUCFxHRQOht7CTTwuUDgT4LetLQJH9dfw1PFa6xXJjR27rREFMIFeo5A4sD Kmx7TbgAw/MU6hUKqNtNf8pmH1V7NlwaUkfXHQyezWE1tVZ+ENhWZd//u3CzeckFO8 s54CENOja8P0PfFACkybK/HMLdJJdhKQ6dmCMWD6abA3wHwS0AJsdO685ll53Qlm8f sq1mIbw7ziuHw== Message-ID: <2488ec3d-c07e-0df9-21c7-18b865ae53d6@kernel.org> Date: Fri, 4 Nov 2022 15:27:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support Content-Language: en-US To: dario.binacchi@amarulasolutions.com, michael@amarulasolutions.com, trini@konsulko.com Cc: u-boot@lists.denx.de References: <20221011115012.6181-1-rogerq@kernel.org> From: Roger Quadros In-Reply-To: <20221011115012.6181-1-rogerq@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Hi, On 11/10/2022 14:49, Roger Quadros wrote: > Hi, > > This series adds driver model support for rawnand: omap_gpmc > and omap_elm drivers. > > This will enable the driver to be used on K2/K3 platforms as well. Any comments on patches 5 and later? Thanks cheers, -roger > > cheers, > -roger > > Roger Quadros (14): > mtd: rawnand: omap_gpmc: Deprecate asm/arch/mem.h > mtd: rawnand: omap_gpmc: Enable build for K2/K3 platforms > mtd: rawnand: omap_gpmc: Fix build warning on 64-bit platforms > mtd: rawnand: omap_gpmc: Optimize NAND reads > mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction > mtd: rawnand: nand_base: Allow base driver to be used in SPL without > nand_bbt > mtd: rawnand: nand_spl_loaders: Fix cast type build warning > mtd: rawnand: omap_gpmc: Reduce .bss usage > dt-bindings: mtd: Add ti,gpmc-nand DT binding documentation > mtd: rawnand: omap_gpmc: support u-boot driver model > mtd: rawnand: omap_gpmc: Add SPL NAND support > mtd: rawnand: omap_gpmc: Enable SYS_NAND_PAGE_COUNT for OMAP_GPMC > dt-bindings: mtd: Add ti,elm DT binding documentation > mtd: rawnand: omap_elm: u-boot driver model support > > doc/device-tree-bindings/mtd/ti,elm.yaml | 72 +++ > .../mtd/ti,gpmc-nand.yaml | 129 +++++ > drivers/mtd/nand/raw/Kconfig | 11 +- > drivers/mtd/nand/raw/Makefile | 2 +- > drivers/mtd/nand/raw/nand_base.c | 18 +- > drivers/mtd/nand/raw/nand_spl_loaders.c | 2 +- > drivers/mtd/nand/raw/omap_elm.c | 33 +- > .../mtd => drivers/mtd/nand/raw}/omap_elm.h | 6 + > drivers/mtd/nand/raw/omap_gpmc.c | 500 +++++++++++++----- > 9 files changed, 637 insertions(+), 136 deletions(-) > create mode 100644 doc/device-tree-bindings/mtd/ti,elm.yaml > create mode 100644 doc/device-tree-bindings/mtd/ti,gpmc-nand.yaml > rename {include/linux/mtd => drivers/mtd/nand/raw}/omap_elm.h (97%) >