From patchwork Sun Nov 17 12:43:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 11248277 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 6ED3D159A for ; Sun, 17 Nov 2019 12:46:07 +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 4C80D20727 for ; Sun, 17 Nov 2019 12:46:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aPzPC0cf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C80D20727 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=89T8z3t6FUHaxppRVQRqxf34bO2K1hnmAneF6Jl6b4A=; b=aPz PC0cf/WiU742gMbL0PIwQOrPKK7CSFpwOA4EU2WuFdAHxBn9DeSGtAvz4uU8T6fuHH5cOc9DbBRXA RFI6iI3EbWhOGBdoht+z+k8Us/lSvMqO3mvJ8ZJL4548SOey/kPsp7MpAeebzeEtKbflwxhC0REij fKiKWWBNGBXlyEo6ziR4LbS9KKTuD0l8BtZrX8FBqUtEJUof9Pb+ou7eQEVNtYtjXCLtCSyNnMqhI 7gvrEKSU7Mt/48AAmvLCgwG/+Yq6gz/JTyQ+r1y2FUH54dr9tOIltJj9AVveZN5jF3J068oMuE0AY 84EGWTEAmimbiA39i8AtYo3S/QieLYg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iWJwL-0007Cl-CY; Sun, 17 Nov 2019 12:46:05 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iWJwH-0007C9-EO for linux-arm-kernel@lists.infradead.org; Sun, 17 Nov 2019 12:46:03 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1A0F41A0991; Sun, 17 Nov 2019 13:46:00 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9D2FA1A07F0; Sun, 17 Nov 2019 13:45:55 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 164D14029F; Sun, 17 Nov 2019 20:45:50 +0800 (SGT) From: Dong Aisheng To: linux-arm-kernel@lists.infradead.org Subject: [PATCH RESEND v3 00/15] arm64: dts: imx8: architecture improvement and adding imx8qm support Date: Sun, 17 Nov 2019 20:43:40 +0800 Message-Id: <1573994635-14479-1-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191117_044601_759419_2A04031D X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.13 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches 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: Dong Aisheng , sboyd@kernel.org, mturquette@baylibre.com, linux-imx@nxp.com, kernel@pengutronix.de, fabio.estevam@nxp.com, shawnguo@kernel.org, linux-clk@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org IMX SCU based platforms (e.g. MX8QM/MX8QXP) are comprised of a number of SS (Subsystems), those SS may be shared between different SoCs while most of them can be reused like Devices Resources, Clocks, Power domains and etc. This patch series aims to improve the MX8 architecture to comply with the HW design to save a lot of duplicated codes and benefits us a better maintainability and scalability in the future. This patch series depends on another clk new binding series: https://patchwork.kernel.org/cover/11046287/ NOTE: for the missing undocumented compatible strings for the new SoC IMX8QM in this patch series. It will be sent in another patch series later. ChangeLog: v2->v3: * use clock-indices property instead of bit-offset property suggested by Shawn Guo * rebase to latest shawn/for-next v1->v2: * change to the new two cells scu clock binding, so original adding scu clocks patches were removed. * Move scu pd node above clk node Dong Aisheng (15): arm64: dts: imx8qxp: add fallback compatible string for scu pd arm64: dts: imx8qxp: move scu pd node before scu clock node arm64: dts: imx8qxp: orginize dts in subsystems arm64: dts: imx8: add lsio lpcg clocks arm64: dts: imx8: add conn lpcg clocks arm64: dts: imx8: add adma lpcg clocks arm64: dts: imx8: switch to two cell scu clock binding arm64: dts: imx8: switch to new lpcg clock binding arm64: dts: imx8qm: add lsio ss support arm64: dts: imx8qm: add conn ss support arm64: dts: imx8: split adma ss into dma and audio ss arm64: dts: imx8qm: add dma ss support arm64: dts: imx: add imx8qm common dts file arm64: dts: imx: add imx8qm mek support arm64: defconfig: add imx8qm mek support arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/imx8-ss-adma.dtsi | 8 + .../boot/dts/freescale/imx8-ss-audio.dtsi | 68 +++ .../boot/dts/freescale/imx8-ss-conn.dtsi | 187 ++++++++ .../arm64/boot/dts/freescale/imx8-ss-ddr.dtsi | 19 + .../arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 210 +++++++++ .../boot/dts/freescale/imx8-ss-lsio.dtsi | 311 +++++++++++++ arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 144 ++++++ .../boot/dts/freescale/imx8qm-ss-conn.dtsi | 21 + .../boot/dts/freescale/imx8qm-ss-dma.dtsi | 51 +++ .../boot/dts/freescale/imx8qm-ss-lsio.dtsi | 61 +++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 180 ++++++++ .../boot/dts/freescale/imx8qxp-ai_ml.dts | 20 +- .../freescale/imx8qxp-colibri-eval-v3.dtsi | 8 +- .../boot/dts/freescale/imx8qxp-colibri.dtsi | 12 +- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 12 +- .../boot/dts/freescale/imx8qxp-ss-adma.dtsi | 37 ++ .../boot/dts/freescale/imx8qxp-ss-conn.dtsi | 21 + .../boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 61 +++ arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 425 ++---------------- arch/arm64/configs/defconfig | 1 + 21 files changed, 1432 insertions(+), 426 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-mek.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qm.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi