From patchwork Wed Jun 9 08:00:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 12309243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3192EC47095 for ; Wed, 9 Jun 2021 08:03:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 04C5061361 for ; Wed, 9 Jun 2021 08:03:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04C5061361 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eYJQR1xlOvphAr8UYToPZD5dodThf7Fot75p2aNYCas=; b=qHxOZMZMglGWmY QGpq/v5/YDQOGjBjGgpdV+xNnObx0mImh8FUa+C42yMZCzuyXYau9G+QXpIRTiZ2ttoyQxouyX8wl 1FupByCR2TUWioBYIkDUYonWDCo26RSNaIeQkMVmBwRna8i9fDMme2Ovpd0QfH4+ahEqzqmpu5iBk n46xBYGLKV5semX/4vWmD2X/kRsv5x7rQ/kkT6Vg/OzxeMV/K/CF24HkEF551FzhCR5M7CRjOmn3c XIlHLeCkfTz03mT+K1VTcHj2PLPWB6WWKkiPwGE55v6h1j1HQUpJhYuI8Bpaq9mLv3+CwQHKxJoeG fJTJUrUy1pgSXGdk+52Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqt9T-00CEsm-1s; Wed, 09 Jun 2021 08:01:27 +0000 Received: from relay12.mail.gandi.net ([217.70.178.232]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqt9M-00CEq0-GO; Wed, 09 Jun 2021 08:01:22 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 7FADB200013; Wed, 9 Jun 2021 08:01:12 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , , Rob Herring , , Krzysztof Kozlowski Cc: Michal Simek , Naga Sureshkumar Relli , Amit Kumar Mahapatra , Thomas Petazzoni , , , helmut.grohne@intenta.de, Srinivas Goud , Siva Durga Prasad Paladugu , Miquel Raynal Subject: [PATCH v22 00/18] ARM Primecell PL35x support Date: Wed, 9 Jun 2021 10:00:54 +0200 Message-Id: <20210609080112.1753221-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210609_010120_842716_9DCFBF69 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, I am taking over Naga's series, here are the major changes: * Cleaning of the SMC bus binding file (and yaml conversion) * Superficial cleaning and great simplification of the SMC bus driver * Addition of a yaml file describing the NAND controller * Full rework of the NAND controller driver. JFFS2 and UBIFS not tested yet, only bare test tools have been used to proove basic correctness of the helpers. * Addition of a couple of MAINTAINERS entries. A Github branch named pl353 is available on my repository: https://github.com/miquelraynal/linux/ Thanks, Miquèl Changes in v22: - Misc typo fixes. - Light rewording of a few commit titles. - Not forgetting to Cc: Rob and Krzysztof this time... Changes in v21: - Added Rob's Acked-by/Reviewed-by tags. - Addressed all comments from Rob and Michael about the bindings. - Tested both JFFS2 and UBIFS with simple file I/O. Miquel Raynal (18): dt-binding: memory: pl353-smc: Rephrase the binding dt-binding: memory: pl353-smc: Document the range property dt-binding: memory: pl353-smc: Drop the partitioning section dt-binding: memory: pl353-smc: Describe the child reg property dt-binding: memory: pl353-smc: Fix the example syntax and style dt-binding: memory: pl353-smc: Drop unsupported nodes from the example dt-binding: memory: pl353-smc: Fix the NAND controller node in the example dt-binding: memory: pl353-smc: Enhance the description of the reg property dt-binding: memory: pl353-smc: Convert to yaml memory: pl353-smc: Fix style memory: pl353-smc: Rename goto labels memory: pl353-smc: Let lower level controller drivers handle inits memory: pl353-smc: Avoid useless acronyms in descriptions memory: pl353-smc: Declare variables following a reverse christmas tree order MAINTAINERS: Add PL353 SMC entry MAINTAINERS: Add PL353 NAND controller entry dt-bindings: mtd: pl353-nand: Describe this hardware controller mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller .../memory-controllers/arm,pl353-smc.yaml | 133 ++ .../bindings/memory-controllers/pl353-smc.txt | 47 - .../bindings/mtd/arm,pl353-nand-r2p1.yaml | 57 + MAINTAINERS | 16 + drivers/memory/pl353-smc.c | 314 +---- drivers/mtd/nand/raw/Kconfig | 8 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/pl35x-nand-controller.c | 1194 +++++++++++++++++ include/linux/pl353-smc.h | 30 - 9 files changed, 1419 insertions(+), 381 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/arm,pl353-smc.yaml delete mode 100644 Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt create mode 100644 Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml create mode 100644 drivers/mtd/nand/raw/pl35x-nand-controller.c delete mode 100644 include/linux/pl353-smc.h