From patchwork Mon Jan 23 21:49:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13113064 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 8584AC25B50 for ; Mon, 23 Jan 2023 21:50:53 +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=LJJsw+WEyotoZ/qQWBRjP9rEzF2tki0dnSnk0BKNTIE=; b=2/fZNQ5zJcVf1Y tJc9Q3IsQIettenILU6PrWHAoer/yzDyQi6XKOPFe1UISdXDkMgFlKvwhAOCl8Jed3waSZJ5Uoz4B XeLY0tORzz2BdQQTxqY0tZ7DKfkxvpxKKIf3xQTA/ZKu9A5ByAlxsEOwpiHX6WKDpDI4FZ3318Bou dpfiNBBURBTaai9PHJWdX62xnL8s6Y00Afph7nMvmZtH6cugnqAKPzAn5sdvm1Lkk1bPeNZrc0lZp jK69WMLG3w/Dcnfi+8ogjR0n8V7N8h2WlylfazOCpmKWUajX/Pg2jAKCeSx/re6ZBqW8Yg5KpGDb6 W4du+WKMAYHmWi5NHczA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pK4hO-001Zp5-3V; Mon, 23 Jan 2023 21:49:54 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pK4hC-001ZjQ-Cq for linux-arm-kernel@lists.infradead.org; Mon, 23 Jan 2023 21:49:44 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 30NLnQdN013738; Mon, 23 Jan 2023 15:49:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1674510566; bh=MyyqQRxSD79PO6CaKNfPh36id7qYZrAxiSssyuBnDrw=; h=From:To:CC:Subject:Date; b=N0rC57oRpAw1yc8u3CPmgsHg8TKdefoQcTblpV2hP7UWW+PdNXpPlDCYnzGYSEk83 0FKNP8gGw2l5LpV7yEkaJUy2b04/lbgKr47rAX2CimjP+KdRxt1BKvGCgKFHIHe5S0 7d3cWmONYlEOoE6spNg14Mu1NSr6cJApXi+Sg5HI= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 30NLnQrc011958 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 23 Jan 2023 15:49:26 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 23 Jan 2023 15:49:26 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 23 Jan 2023 15:49:26 -0600 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 30NLnPZk065237; Mon, 23 Jan 2023 15:49:25 -0600 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 v5 0/9] TI-Nspire cleanups Date: Mon, 23 Jan 2023 15:49:15 -0600 Message-ID: <20230123214924.27476-1-afd@ti.com> X-Mailer: git-send-email 2.38.1 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-20230123_134942_552282_D2E32732 X-CRM114-Status: GOOD ( 13.53 ) 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] and here[1]. 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/ [1] https://lore.kernel.org/linux-arm-kernel/20221027181337.8651-1-afd@ti.com/ Changes from v4: - Rebase on latest master Changes from v3: - Add Reviewed-by - Make new binding for patch #1 Changes from v2: - See cover letter message Changes from v1: - Add ACKs - Rebase on latest Andrew Davis (9): dt-bindings: mfd: Add TI-Nspire misc registers 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 .../bindings/mfd/ti,nspire-misc.yaml | 51 ++++++++++ arch/arm/boot/dts/nspire-clp.dts | 90 +++++++++++++----- arch/arm/boot/dts/nspire-cx.dts | 92 ++++++++++++++----- arch/arm/boot/dts/nspire-tp.dts | 90 +++++++++++++----- 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 | 24 ----- 8 files changed, 279 insertions(+), 110 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/ti,nspire-misc.yaml delete mode 100644 arch/arm/mach-nspire/mmio.h