From patchwork Mon Oct 17 19:25:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13009341 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3C680C4332F for ; Mon, 17 Oct 2022 19:28:51 +0000 (UTC) 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=9CUcc3LlWvdm3Mtgz//Nz7zpgcePZ4aORGYx81wNuac=; b=by/qUz+MQo8jQ7 Owe+0IDYB797z1nirmQ38SnGx2CBo15NEpgdjSQxDjt3Y6fNZmQ7ds2Ay7OFHa5Fcwt/WkEs8Zgoq 3tWINGTS2b38jnWHeUY3Tgeyvst8sL6HTOBDvGHPQDUbFWj9D3EYAmyCwrVgu8HASEQT6rtNrbhOT PJabd/rsZcy4eaawpArpZPUC5dFnHVa7jlzrzNlHrtffVmUyvNFR1P1L1OrEXgcZ+HXxZuRB9foN7 Q12e/Qp0/SkwVFKMk5xF8dVQk57FjmOCxlxWgRV61bAd1v1HnJv1eKliNkQXib3SVU1BjYfVNECHJ Qs7xC3bY3kh0KfZ8xKGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okVm6-00EUf8-5u; Mon, 17 Oct 2022 19:27:47 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okVkL-00ETf5-0T for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 19:25:58 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29HJPXpI121467; Mon, 17 Oct 2022 14:25:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666034733; bh=7jOUAMv92Rk7rkSCCELQ2bcifDnelzdjh7IDy43UWkc=; h=From:To:CC:Subject:Date; b=U7cc6Adj0DKGFQe8Fn+ej/0g/Ff5h1LnCUdPIy2ZvFfhcMSGAWIZMb0kq3vdYvYS5 kW/UaAXLBDaosDfsSuzKHy8NwOMhRe+tchZvdO2fA2eqrkUcH5toUCcm76tqmbqbVV T5wtbTkcouuVw7+4NZmOzQJPDOtrl1Gu1kqNGX+s= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29HJPXaE026070 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Oct 2022 14:25:33 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 17 Oct 2022 14:25:33 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 17 Oct 2022 14:25:33 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29HJPWXH026106; Mon, 17 Oct 2022 14:25:32 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , , , CC: Andrew Davis Subject: [PATCH 00/10] AM64x Disable Incomplete DT Nodes Date: Mon, 17 Oct 2022 14:25:22 -0500 Message-ID: <20221017192532.23825-1-afd@ti.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_122557_193507_8628A21A X-CRM114-Status: UNSURE ( 9.38 ) 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 all, This series goes through the AM64x dtsi and disables the set of nodes that are not functional without additional board level information. This is usually pinmux data, but can also be inernal device resources. Only when the node is completed in the board file should the node be enabled. This helps prevents nodes that represent IP that are not pinned-out on a given board from being left enabled. This also reduces the effort needed to add a new board, one no longer needs to manually disable all the extra IP. For instance TI J784s4 has 20(!) MCAN instances. It is much easier to enable the one you pin out, vs disabling the 19 that you did not. Thanks, Andrew Andrew Davis (10): arm64: dts: ti: k3-am64: Enable UART nodes at the board level arm64: dts: ti: k3-am64: Enable I2C nodes at the board level arm64: dts: ti: k3-am64: Enable SPI nodes at the board level arm64: dts: ti: k3-am64: Enable EPWM nodes at the board level arm64: dts: ti: k3-am64: Enable ECAP nodes at the board level arm64: dts: ti: k3-am64: Enable PCIe nodes at the board level arm64: dts: ti: k3-am64: MDIO pinmux should belong to the MDIO node arm64: dts: ti: k3-am64: Enable MDIO nodes at the board level arm64: dts: ti: k3-am64: Enable MCAN nodes at the board level arm64: dts: ti: k3-am64: Enable GPMC and ELM nodes at the board level arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 37 ++++++ arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 6 + arch/arm64/boot/dts/ti/k3-am642-evm.dts | 119 ++----------------- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 142 ++--------------------- 4 files changed, 63 insertions(+), 241 deletions(-) Reviewed-by: Bryan Brattlof Acked-by: Vignesh Raghavendra