From patchwork Thu Apr 14 23:30:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 561286 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 7E01AC43217 for ; Thu, 14 Apr 2022 23:31:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241019AbiDNXdz (ORCPT ); Thu, 14 Apr 2022 19:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347627AbiDNXdv (ORCPT ); Thu, 14 Apr 2022 19:33:51 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C515AC05A for ; Thu, 14 Apr 2022 16:31:23 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 5776C2C0108; Thu, 14 Apr 2022 23:31:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1649979081; bh=nLGseaeJSdIN7Ydb5DoUDNo/fmfPTnWO349E8fE98jo=; h=From:To:Cc:Subject:Date:From; b=NZ+APCVYoaG0wa2UGn1BLxv0AFC4Z5KjmXYmwSAD23r9iFOhtp0xc8p7llwYDfP7P zfEOdgmoiQ8mKZtOScxWbinKc1b369YUOiSxGvlACOkr+PoP0B8SgjvU6g28/4CiXA sURT+bL4HfCY7ZeX4nMV0LlNw0KEEhEeiErLRQU3jF6ipvcoHU/JqI+oBF9pD8a/9n YH4Z9gFXLpu7dpQlnkyE1IrKe/APzeBSPrNlss7LIa8PrCuNqodxmv79xRngEtxcgJ dFIslGm66EJgGmzQIbYHAQxs4kDRGzSNzCrE7m0LBMuolFxkTz4dGulQzX4BBD5lMQ 59VyDMNIxaMnQ== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Fri, 15 Apr 2022 11:31:21 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id 1EDC513EE11; Fri, 15 Apr 2022 11:31:21 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 6E77F2A2679; Fri, 15 Apr 2022 11:31:16 +1200 (NZST) From: Chris Packham To: linus.walleij@linaro.org, robh+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, kostap@marvell.com, robert.marko@sartura.hr Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Packham Subject: [PATCH v4 0/4] arm64: mvebu: Support for Marvell 98DX2530 (and variants) Date: Fri, 15 Apr 2022 11:30:51 +1200 Message-Id: <20220414233055.586962-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=L59jvNb8 c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=z0gMJWrwH1QA:10 a=jGREw9QuPlHGdXEqdN8A:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This series adds support for the Marvell 98DX2530 SoC which is the Control and Management CPU integrated into the AlleyCat5/AlleyCat5X series of Marvell switches. The CPU core is an ARM Cortex-A55 with neon, simd and crypto extensions. This is fairly similar to the Armada-3700 SoC so most of the required peripherals are already supported. This series adds a devicetree and pinctrl driver for the SoC and the RD-AC5X-32G16HVG6HLG reference board. In the v3 series I've dropped out a few patches. The MMC stuff is more complicated than just adding a compatible string. The mvneta changes have gone in via net-next. Chris Packham (4): dt-bindings: pinctrl: mvebu: Document bindings for AC5 pinctrl: mvebu: pinctrl driver for 98DX2530 SoC arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board arm64: marvell: enable the 98DX2530 pinctrl driver .../bindings/pinctrl/marvell,ac5-pinctrl.yaml | 72 +++++ arch/arm64/Kconfig.platforms | 2 + arch/arm64/boot/dts/marvell/Makefile | 1 + .../boot/dts/marvell/armada-98dx2530.dtsi | 302 ++++++++++++++++++ arch/arm64/boot/dts/marvell/rd-ac5x.dts | 82 +++++ drivers/pinctrl/mvebu/Kconfig | 4 + drivers/pinctrl/mvebu/Makefile | 1 + drivers/pinctrl/mvebu/pinctrl-ac5.c | 261 +++++++++++++++ 8 files changed, 725 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/marvell,ac5-pinctrl.yaml create mode 100644 arch/arm64/boot/dts/marvell/armada-98dx2530.dtsi create mode 100644 arch/arm64/boot/dts/marvell/rd-ac5x.dts create mode 100644 drivers/pinctrl/mvebu/pinctrl-ac5.c