From patchwork Fri Nov 5 15:30:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12604865 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C73DC433EF for ; Fri, 5 Nov 2021 15:32:15 +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 F3E4861053 for ; Fri, 5 Nov 2021 15:32:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F3E4861053 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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=zfg2hFm8ZnielION63Go/NLqiwhaT4hFIPWMXRpngWQ=; b=FFq9ygR7Xjbt8v zjfLc1sPhi4B1FPy6CIrN4QLTyfwxEV/tSEFA2zMAW1pOOuRGCKnke/+7oQ2fNGUtNrkj0hY6+F7K cFVZ5ANQkP9GNscDknTKwqODxzjZT1zBa1aycLn224BLWkqhu5ueWDIY4F0cVRw4XIW+EEAmKRHA5 7qWJBca8mpXHpoE1tl2yhrOH+g0Nh+Qe9AsH1RawyL/kPMYF0mkZU7vfArIDskq1Ld6d0AXrM3u1q vHLsoeJLma4fx/WtM2zJV6Fe9J6Znpj+yV1Yrl3rnqhXBQL5x/y07UYqvDBSnVPhw3LeWR5GyzBNf lQMuzVOklesfpcZpdBNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mj1Ay-00Bhcp-SI; Fri, 05 Nov 2021 15:30:45 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mj1Av-00BhbR-1Q for linux-arm-kernel@lists.infradead.org; Fri, 05 Nov 2021 15:30:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1636126241; x=1667662241; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=oRR20EjSccrFQYUYLWils29Cevmq6Y1DX5OtWOQacQ8=; b=bNkvnIQxz5aN8FW9S3kY0wtdp88XnInZE2LR6jzNpQMKpCYCsG68QErY E2iwl8AOz3qirl/vsMsaOwVW5arV1mG0miwBN3dzSfnqttyFUdla7h2aL 5w8h/zQCewhavedIUeUevYUSkoSmjsF99SY4ZP35AYaoy9he01lSqyCQ6 snIrHhe+flnBgq4RDS0K7wJdIXj/acC1gpj3zjk2yPhq/0Dlu8693onk2 sAa6LrD12M1BE7xvHtLL2t4iBxNjKf5CP9OGDgEcfRRi8XlW7X1yR+gAq trLJ6njZdOjr4rhGs/oaj5jIbhDkkmrtn5uZSHHMIsKBgldh18bSDYR5K g==; X-IronPort-AV: E=Sophos;i="5.87,212,1631570400"; d="scan'208";a="20358797" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 05 Nov 2021 16:30:34 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 05 Nov 2021 16:30:34 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 05 Nov 2021 16:30:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1636126234; x=1667662234; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=oRR20EjSccrFQYUYLWils29Cevmq6Y1DX5OtWOQacQ8=; b=dIY4FmAQIP9kJcFnC6SzxnNjJQ3W7+28cXoIa8bNBBbQ09kea5O7XRWv UVsqD9phpbBhfvhQpSxAVIYI3Eb4zGljevgRTkthzRtvLNv4t9G4O9KTv hrkY4bEg4dAbCnoxZvxaCuFZUZvnQwrL/uBj0dp5bbAa2D36o6/3vK0JT TMnC/HfILiE3AIvaNqbuhjiVfvWS2rMan/OU+hxxTXzu4xCA8MM15WCrF fhefjt4MBoR4TkAnp1TAFBtXf9LQB3ycS06fOnj34cuFWO865Hlm9wCp9 FK2TR4Cq83MPobEtVJ9A3qdzGFQF4jkfE67kcbdto2pffP0oxpauEoqvs Q==; X-IronPort-AV: E=Sophos;i="5.87,212,1631570400"; d="scan'208";a="20358795" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 05 Nov 2021 16:30:33 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id AE6AC280065; Fri, 5 Nov 2021 16:30:33 +0100 (CET) From: Alexander Stein To: Rob Herring , Shawn Guo , Sascha Hauer , Catalin Marinas , Will Deacon Cc: Alexander Stein , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/7] Support for some TQMa8M* boards Date: Fri, 5 Nov 2021 16:30:18 +0100 Message-Id: <20211105153025.187106-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211105_083041_428096_280E2DC8 X-CRM114-Status: GOOD ( 17.84 ) 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 Thanks everyone for their review on v1! Changes in v2: * Rebased to next-20211101 * Added Rob's Acked-By on Patch for DT bindings * for other changes please refer to individual patches Note on TQMa8Mx: Due to CPU errata cpuidle is broken and needs to be disabled, see [1] for pending patch. This patch set adds support for the following modules: * TQMa8Mx * TQMa8MxML * TQMa8MxNL Each of the modules is available with different i.MX8M variants, the bootloader modifies the device tree and disabled paripherals which are not available on the actual hardware. All of them can be attached to the same mainboard MBa8Mx, although TQMa8MxML & TQMa8MxNL need an adapter. For that reason there is a single mainboard .dtsi file named mba8mx.dtsi. There is a .dtsi file for each module named imx8m?-tmqa8m*.dts. Finally there is the final .dts file which includes the mainboard and the attached module and contains the missing connection, prominently clk and pinctrl defines. [1] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20211105095535.3920998-1-alexander.stein@ew.tq-group.com/ Alexander Stein (7): dt-bindings: arm: fsl: add TQMa8MxML boards arm64: dts: freescale: add initial tree for TQMa8MQML with i.MX8MM arm64: defconfig: enable drivers for TQ TQMa8MxML-MBa8Mx dt-bindings: arm: fsl: add TQMa8MxNL boards arm64: dts: freescale: add initial tree for TQMa8MQNL with i.MX8MN dt-bindings: arm: fsl: add TQMa8Mx boards arm64: dts: freescale: add initial tree for TQMa8Mx with i.MX8M .../devicetree/bindings/arm/fsl.yaml | 31 ++ arch/arm64/boot/dts/freescale/Makefile | 3 + .../dts/freescale/imx8mm-tqma8mqml-mba8mx.dts | 299 +++++++++++++ .../boot/dts/freescale/imx8mm-tqma8mqml.dtsi | 353 +++++++++++++++ .../dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts | 283 ++++++++++++ .../boot/dts/freescale/imx8mn-tqma8mqnl.dtsi | 340 +++++++++++++++ .../dts/freescale/imx8mq-tqma8mq-mba8mx.dts | 412 ++++++++++++++++++ .../boot/dts/freescale/imx8mq-tqma8mq.dtsi | 378 ++++++++++++++++ arch/arm64/boot/dts/freescale/mba8mx.dtsi | 283 ++++++++++++ arch/arm64/configs/defconfig | 7 + 10 files changed, 2389 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi create mode 100644 arch/arm64/boot/dts/freescale/mba8mx.dtsi