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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F476C433FE for ; Fri, 17 Dec 2021 15:55:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238510AbhLQPzv (ORCPT ); Fri, 17 Dec 2021 10:55:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235324AbhLQPzu (ORCPT ); Fri, 17 Dec 2021 10:55:50 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DCE7C06173E for ; Fri, 17 Dec 2021 07:55:47 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id e3so9553048edu.4 for ; Fri, 17 Dec 2021 07:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AfgZyMdEJhIrrC8KaYKPJsgOg20Fl0ent8NPVFsoxgs=; b=jQJPDfeUneKUEoWKPIw/VV44os2ZKX4YQslFa1zcE2bvla40AAxuuvcZava/OcOLYl ebuodp+o32Gk/rxi0DCEFl4gXg4ECbq7IBiMjNR9ACtIkZ6fApGCy1Rp9SNWADlTzJ8C npS7fGXItS9q+gBzdRWqsFWMUgygfjDJRoB+U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AfgZyMdEJhIrrC8KaYKPJsgOg20Fl0ent8NPVFsoxgs=; b=8CGVXnsOjN9SVqz3kIopg0iv0IlRcpe74R20hG8ThnICbBT6qHo5g0LzN+d4ByCAna 5ahStZuIccs3DAcLfGtjsfes1ZaCElWmGMpnz4qWymyKg0wSaR/5GOwvyAmmVQkBmJjF DaBbKNYZ3ISvj7Ovju7/YOpCy+94agTSAhdTNepsbe7CDyGMI7LEHYVJ6lQvuhODz/yW vvDX0CoB63vPET4tSW0hV7Obf7heJSJPisF/uQ2D+LZ3cXwQFaA7CiTxfbhUyyGNQKtz y/Pll1vWKg4UbVP0F+r8cXIHq7Ab/4loHsXzMMW762NwGL0ks3xKDEHPuLhMQxJMeBva uwhw== X-Gm-Message-State: AOAM533Eay6NxOPCqBffAEA1tjErUUBgeavLmz8DzLubMcmvmMpeHvwZ Rd3His1JwkLanMzfVESDpZU3whQbABtVa0Xp X-Google-Smtp-Source: ABdhPJwrqR1fUITbPzQl9qu5oFZPzkp0eOH0jA+KuGRGaM/zEYWpckONxW4PWxfDYd99CLnUnT9rsw== X-Received: by 2002:a17:907:97d4:: with SMTP id js20mr3061659ejc.416.1639756545817; Fri, 17 Dec 2021 07:55:45 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (host-79-56-50-241.retail.telecomitalia.it. [79.56.50.241]) by smtp.gmail.com with ESMTPSA id i6sm772158edx.46.2021.12.17.07.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 07:55:45 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Boris Brezillon , Fabio Estevam , Han Xu , Michael Trimarchi , Michael Turquette , Miquel Raynal , NXP Linux Team , Pengutronix Kernel Team , Richard Weinberger , Sascha Hauer , Shawn Guo , Stephen Boyd , Vignesh Raghavendra , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-mtd@lists.infradead.org Subject: [RFC PATCH 0/4] Fix and improve gpmi nand on mx28 Date: Fri, 17 Dec 2021 16:55:08 +0100 Message-Id: <20211217155512.1877408-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Starting from [1], the series fixes the timings setting of the gpmi controller for the mx28 architecture, also adding support for fast edo mode timings. The whole series has been heavily tested with the mtd kernel test modules, and with repeated write cycles on nand. The patches of the series were applied after applying patches [2] and [3] which at the moment are already in nand-next. [1] https://lore.kernel.org/r/20210702065350.209646-5-ebiggers@kernel.org [2] 73b68455f8ac ("mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6") [3] 7944f8346983 ("mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings") Dario Binacchi (3): mtd: rawnand: gpmi: support fast edo timings for mx28 mtd: rawnand: gpmi: fix controller timings setting mtd: rawnand: gpmi: validate controller clock rate Michael Trimarchi (1): clk: mxs: imx28: Reparent gpmi clk to ref_gpmi drivers/clk/mxs/clk-imx28.c | 3 + drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 75 +++++++++++++++++----- 2 files changed, 61 insertions(+), 17 deletions(-) -- 2.32.0