From patchwork Fri Oct 4 14:27:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 11174661 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01C0513BD for ; Fri, 4 Oct 2019 14:29:52 +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 C4F2521D81 for ; Fri, 4 Oct 2019 14:29:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KRyemKnj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4F2521D81 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=zoqNkWv60C8w4PZBDIe8F18UaTwdzzCCq4RNuYEIq0s=; b=KRyemKnj46O+N2 3pWkuc1QCvekG8L8m/B88miS/niwpjjb0ZgWLNJdmZSEiCwqVb4sZVUvScew+Gvy8ZhiI79lWAgqQ JE/ga7A21/sku1XBQhiauiL6KvOcnwDpbuR/jR2TWX1Q4JJa/m6DLlaopZc+26NpoFWUNaaYWO63Q CashumzYMKXQyuaDV766SlzIUgFpU37Td+9gOiYd9lX5zLVxyBd/UT8GPYTgzJwThRU4HBUA1u6Ln o6yipfOYGuD7GS249/GdE40/sYLrYf9hfnrrZJ60Iz/eJJ8HeP0325/U2/Fqegbruux2jaeZfiOIR jUGs9dSeGcAwG6iX4cBw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iGOaa-0006hL-8o; Fri, 04 Oct 2019 14:29:48 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iGOYk-0004tW-6w for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2019 14:28:00 +0000 X-Originating-IP: 86.250.200.211 Received: from localhost.localdomain (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 24DF1C001F; Fri, 4 Oct 2019 14:27:40 +0000 (UTC) From: Miquel Raynal To: Rob Herring , Mark Rutland Subject: [PATCH v2 00/21] Add new Marvell CN9130 SoC support Date: Fri, 4 Oct 2019 16:27:17 +0200 Message-Id: <20191004142738.7370-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191004_072754_559994_ED2A884D X-CRM114-Status: GOOD ( 11.42 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.198 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.198 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Yan Markman , Antoine Tenart , Grzegorz Jaszczyk , Gregory Clement , Maxime Chevallier , Nadav Haklai , Thomas Petazzoni , Miquel Raynal , Stefan Chulski , Marcin Wojtas , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hello, This is a respin of the last remaining patchset needed to fully support Marvell CN9130 SoCs. The CN9130 is made of one AP807 and one internal CP115. There are three development boards that are made of this SoC: * CN9130-DB * CN9131-DB (with one additional modular CP115 compared to CN9130-DB) * CN9132-DB (with two additional modular CP115 compared to CN9130-DB) This series applies on top of v5.4-rc1 and works thanks to the previously merged following series: * CP110 COMPHY: https://patchwork.kernel.org/cover/11067647/ * AP806 CPU clocks: https://patchwork.kernel.org/cover/11038577/ * AP807 clocks: https://patchwork.kernel.org/cover/11076435/ * CP115 pinctrl: http://patchwork.ozlabs.org/cover/1142107/ As CP110 and CP115 (alternatively, AP806 and AP807) are very similar, we first reorganize DT files to create CP11x (and AP80x) generic files, before including them from the new specific CP110/CP115 (AP806/AP807) ones. A few small improvements/fixes in these files are also carried. Thanks, Miquèl Changes since v1: ================= * Rebased on top of v5.4-rc1. * Rob's Reviewed-by tag on the first bindings patch (03). * Used the AP_NAME macro instead of hardcoding ap806 in the DT which turns generic (spotted by Gregory). * Converted Marvell SoC compatible bindings to yaml (patch 16) as requested by Rob. Add Gregory as the file maintainer. Ben Peled (1): dt-bindings: ap80x: replace AP806 with AP80x Grzegorz Jaszczyk (7): arm64: dts: marvell: Add AP806-dual cache description arm64: dts: marvell: Add AP806-quad cache description arm64: dts: marvell: Add AP807-quad cache description dt-bindings: marvell: Declare the CN913x SoC compatibles arm64: dts: marvell: Add support for Marvell CN9130-DB arm64: dts: marvell: Add support for Marvell CN9131-DB arm64: dts: marvell: Add support for Marvell CN9132-DB Konstantin Porotchkin (1): arm64: dts: marvell: Prepare the introduction of AP807 based SoCs Miquel Raynal (12): arm64: dts: marvell: Enumerate the first AP806 syscon arm64: dts: marvell: Add AP806-dual missing CPU clocks MAINTAINERS: Add new Marvell CN9130-based files to track arm64: dts: marvell: Move clocks to AP806 specific file arm64: dts: marvell: Add support for AP807/AP807-quad arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment alignment arm64: dts: marvell: Prepare the introduction of CP115 arm64: dts: marvell: Drop PCIe I/O ranges from CP11x file arm64: dts: marvell: Externalize PCIe macros from CP11x file arm64: dts: marvell: Add support for CP115 dt-bindings: marvell: Convert the SoC compatibles description to YAML arm64: dts: marvell: Add support for Marvell CN9130 SoC support ...roller.txt => ap80x-system-controller.txt} | 14 +- .../bindings/arm/marvell/armada-7k-8k.txt | 24 - .../bindings/arm/marvell/armada-7k-8k.yaml | 61 ++ MAINTAINERS | 3 +- arch/arm64/boot/dts/marvell/Makefile | 3 + arch/arm64/boot/dts/marvell/armada-70x0.dtsi | 28 +- .../boot/dts/marvell/armada-8040-mcbin.dtsi | 3 +- arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 56 +- .../boot/dts/marvell/armada-ap806-dual.dtsi | 23 + .../boot/dts/marvell/armada-ap806-quad.dtsi | 42 ++ arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 456 +------------- .../boot/dts/marvell/armada-ap807-quad.dtsi | 93 +++ arch/arm64/boot/dts/marvell/armada-ap807.dtsi | 29 + arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 444 ++++++++++++++ .../arm64/boot/dts/marvell/armada-common.dtsi | 4 +- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 575 +----------------- arch/arm64/boot/dts/marvell/armada-cp115.dtsi | 12 + arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 568 +++++++++++++++++ arch/arm64/boot/dts/marvell/cn9130-db.dts | 403 ++++++++++++ arch/arm64/boot/dts/marvell/cn9130.dtsi | 37 ++ arch/arm64/boot/dts/marvell/cn9131-db.dts | 202 ++++++ arch/arm64/boot/dts/marvell/cn9132-db.dts | 221 +++++++ 22 files changed, 2210 insertions(+), 1091 deletions(-) rename Documentation/devicetree/bindings/arm/marvell/{ap806-system-controller.txt => ap80x-system-controller.txt} (91%) delete mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.txt create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-cp115.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9130.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9132-db.dts