From patchwork Thu Jan 5 08:10:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1721687 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=Z0ion9Qt; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NnfLb4bSrz23fC for ; Thu, 5 Jan 2023 19:11:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 75F2D85595; Thu, 5 Jan 2023 09:11:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Z0ion9Qt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6AAEE85592; Thu, 5 Jan 2023 09:11:09 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4B14385592 for ; Thu, 5 Jan 2023 09:11:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-ej1-x643.google.com with SMTP id vm8so81444472ejc.2 for ; Thu, 05 Jan 2023 00:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JRVo6vPqtmt+16Q9gzcV06xdCYfgBdGbSCrFAF54vZg=; b=Z0ion9Qtp8Wyviu0auEF7DzvH2enMCwKR8AFN3Bu4a2IBe4n0FhhxC8KCWzqKgsoiC q5t5eW8kQ2VctUTIVrB4LmX4zsH/irD9u1gctuCeUVhSFmltfgPCbpZIq4/qk8KkwN3v gFbw5hmZXqAeayJAKOED4atRzA2zNSbOzXf4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JRVo6vPqtmt+16Q9gzcV06xdCYfgBdGbSCrFAF54vZg=; b=TD0/DrongQcXca3EAmpPKX+9GFHEy4oOp6pg0rHY+uj5z8lljjpEydgRZ/okH/pAf7 Qw9JWuEijnoldXHn0RJNwD/txzTWm3/zu3E2WcoZASBNcFijU35k1ficA5HylNUwTeA1 QhRG3AmMta4jS9U9cZPo0kfSe5Z+pWdb7/Zpfy5HJSIGvSQIkU/quYa7sEF4ZZ/Wn2F9 ju0bRx+892HEi3dNrOFmlznujESPX2h2vjem5zO69ipfsAU85Z0hMiSKDQk0X+6jDG0S DVxsUuZpNl/Xibm1gPvbcx8m99CfJRTuDbnFENu1OYMUhboSBjzqkwMMgiQEqeWz1agB eFCQ== X-Gm-Message-State: AFqh2kqp6fh3yv8aD5/3Af+9zrIFKBgj3VYQm5VrY6HVvPWLalPdCEWv Tvoe6YvEQWaiMgpD5tLgY111nvI1o2zS4IhzGeKYKw== X-Google-Smtp-Source: AMrXdXunUPwOMyKn8VTCE7OoKqpH59Lk0A59fTzG19OdpDwwAxP3Unq+M4ghbi7d4pPsKnI/y3Ow8SwvIC1J273s2qU= X-Received: by 2002:a17:906:c183:b0:7c1:27a:7495 with SMTP id g3-20020a170906c18300b007c1027a7495mr3301305ejz.7.1672906265947; Thu, 05 Jan 2023 00:11:05 -0800 (PST) MIME-Version: 1.0 From: Dario Binacchi Date: Thu, 5 Jan 2023 09:10:55 +0100 Message-ID: Subject: Pull request for u-boot-nand-20230104 To: Tom Rini Cc: Michael Nazzareno Trimarchi , u-boot@lists.denx.de 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 Tom, The following changes since commit a95410696d21d38b629c61a09c100197c5fc533a: Merge branch '2023-01-02-platform-updates' into next (2023-01-02 18:07:41 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-nand-flash.git tags/u-boot-nand-20230104 for you to fetch changes up to 48f219cb16f88cd2e392e2f438409a00d3ddff54: mtd: rawnand: omap_elm: u-boot driver model support (2023-01-04 17:24:30 +0100) Gitlab CI showed no issues: https://source.denx.de/u-boot/custodians/u-boot-nand-flash/-/pipelines/14597 ---------------------------------------------------------------- Pull request for u-boot-nand-20230104 - rawnand: omap_gpmc: driver model support ---------------------------------------------------------------- Roger Quadros (8): 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 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 ++++++++++++++++ doc/device-tree-bindings/mtd/ti,gpmc-nand.yaml | 129 ++++++++++++++++++++++++++++ drivers/mtd/nand/raw/Kconfig | 9 +- drivers/mtd/nand/raw/Makefile | 2 +- drivers/mtd/nand/raw/nand_base.c | 18 +++- drivers/mtd/nand/raw/omap_elm.c | 35 +++++++- {include/linux/mtd => drivers/mtd/nand/raw}/omap_elm.h | 6 ++ drivers/mtd/nand/raw/omap_gpmc.c | 441 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------- 8 files changed, 604 insertions(+), 108 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%) Signed-off-by: Roger Quadros Reviewed-by: Tom Rini