From patchwork Thu Oct 27 18:13:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13022469 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 35E61FA3740 for ; Thu, 27 Oct 2022 18:17:29 +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=cHjSCGiV7MLDtTTgsTRN5zCpBMSYUTXAt6IO58EEe/Y=; b=nuf9BuyyRLFdCW JK86y+DIkfNC156cVPGhKvHycl686YF/x+zGocY/hJvn+d7jvobTX5pDctDjbOTfZ/xS3q/nfXd1A 7I0RfgNAF9rQOdt+yxgj6FueBdyWfy0x5kGAcUgre4o9Xf8Lzve919lCxHu7vWU7nw5HEJbG7Ov8n Sj1bvsA8wvNWJjwUGHmcZ3nWW5x4J29vi4O7T2cxKEQWNYQ7M8ymz32H/LdsXGPxuXsnvQ68wnoYD 0xQ7qs9auUuAQRNWj4pbRakr8xy72swW+gELZ9aU6Yj0oQZYGtagldrVWWF0hXKPUMxUSHgDHiUXZ HfQrH72voR4LbqlwrXIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo7QI-00ETCS-G0; Thu, 27 Oct 2022 18:16:10 +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 1oo7O6-00ERmk-QJ for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2022 18:13:59 +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 29RIDc56021442; Thu, 27 Oct 2022 13:13:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894418; bh=ZG1TkZXYNP0GzfQynOXjdK0sq9LGrguRlXd9nG4V27M=; h=From:To:CC:Subject:Date; b=I5E8GvTwStIW73V51qayo1UbjyXvfTbEeNPJoNV6YjGHib3HBH0A4vgoAHW+DOdzG r+xcmCNu4vR5xaumaMFPFVZOtri4MrY1pXKW+1ytc1vg9BdksI4qs2ghATPjKCwuCi JnzY0ZS55YH7jPatc805/z06f5jWokQWj9klEYeE= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDcuR015531 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:38 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Thu, 27 Oct 2022 13:13:38 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) 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; Thu, 27 Oct 2022 13:13:38 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDbdu108447; Thu, 27 Oct 2022 13:13:37 -0500 From: Andrew Davis To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Linus Walleij , Geert Uytterhoeven , Daniel Tang , Fabian Vogt CC: , , , Andrew Davis Subject: [PATCH v3 0/9] TI-Nspire cleanups Date: Thu, 27 Oct 2022 13:13:28 -0500 Message-ID: <20221027181337.8651-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-20221027_111355_248589_CDA2A969 X-CRM114-Status: GOOD ( 11.73 ) 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 is an extended version of the series started here[0]. We break out what was the first patch into one for DTS change and one for code changes as suggested by Krzysztof. Those are now patches 2 and 8 of this series (I kept the ACKs, hope that is okay). As also pointed out by Krzysztof syscon nodes need a specific compatible, add that as patch 1. While I was adding that, I noticed some other dtbs_check issues, so while here fixed some of those up too (patches 3-6). Thanks, Andrew [0] https://lore.kernel.org/lkml/20221026161302.5319-1-afd@ti.com/ Andrew Davis (9): dt-bindings: mfd: syscon: Add TI-Nspire misc registers compatible ARM: dts: nspire: Use syscon-reboot to handle restart ARM: dts: nspire: Fix cpu node to conform with DT binding ARM: dts: nspire: Fix sram node to conform with DT binding ARM: dts: nspire: Fix vbus_reg node to conform with DT binding ARM: dts: nspire: Fix uart node to conform with DT binding ARM: dts: nspire: Use MATRIX_KEY macro for linux,keymap ARM: nspire: Use syscon-reboot to handle restart ARM: nspire: Remove unused header file mmio.h .../devicetree/bindings/mfd/syscon.yaml | 1 + arch/arm/boot/dts/nspire-clp.dts | 128 ++++++++++++------ arch/arm/boot/dts/nspire-cx.dts | 92 +++++++++---- arch/arm/boot/dts/nspire-tp.dts | 126 +++++++++++------ arch/arm/boot/dts/nspire.dtsi | 24 +++- arch/arm/mach-nspire/Kconfig | 2 + arch/arm/mach-nspire/mmio.h | 16 --- arch/arm/mach-nspire/nspire.c | 60 +++----- 8 files changed, 284 insertions(+), 165 deletions(-) rewrite arch/arm/boot/dts/nspire-clp.dts (72%) rewrite arch/arm/boot/dts/nspire-tp.dts (72%) delete mode 100644 arch/arm/mach-nspire/mmio.h rewrite arch/arm/mach-nspire/nspire.c (61%)