From patchwork Wed Oct 26 16:13:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13020871 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 28259C38A2D for ; Wed, 26 Oct 2022 16:14:34 +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=hFbYyqagzRZDgp2zeYTFJimzjJnf57dCbJdrMi2e1Jg=; b=P5W8gS5UzTlr+b la1SBwMuTJy4M9RJduKCNCEwNeE1xUe8tImVwrqVzeNQwenlYb3nIb1PJGn8iNUN0wOQS8qWSWjNG dNMwwAPA/wDus0fHH6aAHCcLt0DS77/UNj8VGee4WY9pVrTzNl/uvryknx1uIxdijIY5BfgcuILOI E+aJtawPGxCdMzWY4dedAlQnUT/3imA8QLWHhw+1f4Ef8YF0QLja2wyE2LiI9KXze1qSml9AQy2SH Lx0L49tfJJGRT9IqGknvHMPoi81ur63G8puNi9ISJJq/VbH6XZajxtMUEzv+k/34X0Hx5rVEFtR9t OCZQM/hOcTk43AvZKy7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onj25-00A7gr-OS; Wed, 26 Oct 2022 16:13:33 +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 1onj1o-00A7au-US for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 16:13:18 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29QGD3Uw093121; Wed, 26 Oct 2022 11:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666800783; bh=XGvZvJouTU3Dh7IXq1sQFgLq9FIEh78mDqyJkbQW+7Q=; h=From:To:CC:Subject:Date; b=OxYYSdecBtEm+6jiipfPttoeslpvitexiRZ3kyIKisQqJJuChRIafSy8jt7Cv0HP0 KU2KNpok7Cw9egxw1nnjC4EETd44D2lXvXb25MHZ0cSi3b9rubTQFOi64/rUBQjoHa Rso95hDJdFqvf7asv6dWFEufg7kj/WDxMpx3zVyw= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29QGD3YS095659 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Oct 2022 11:13:03 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) 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; Wed, 26 Oct 2022 11:13:03 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE106.ent.ti.com (157.170.170.36) 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; Wed, 26 Oct 2022 11:13:02 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29QGD28B006482; Wed, 26 Oct 2022 11:13:02 -0500 From: Andrew Davis To: Arnd Bergmann , Linus Walleij , Geert Uytterhoeven , Daniel Tang , Fabian Vogt , , , CC: Andrew Davis Subject: [PATCH v2 0/2] TI-Nspire cleanups Date: Wed, 26 Oct 2022 11:13:00 -0500 Message-ID: <20221026161302.5319-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-20221026_091317_056017_810BCA4E X-CRM114-Status: GOOD ( 13.15 ) 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, I don't have the hardware to test this (yes I know who my current employer is), but it does look right and this lets us remove the rest of mach-nspire/ without losing any functionality. Does anyone have one of these to test with? The second patch removes a couple defines that do not seem to have ever been used, but if one want to implement it, then it should be a simple generic syscon DT node. Thanks, Andrew Changes from v1: - Add ACKs - Rebase on latest Andrew Davis (2): ARM: nspire: Use syscon-reboot to handle restart ARM: nspire: Remove unused header file mmio.h arch/arm/boot/dts/nspire.dtsi | 7 ++++ arch/arm/mach-nspire/Kconfig | 2 ++ arch/arm/mach-nspire/mmio.h | 16 ---------- arch/arm/mach-nspire/nspire.c | 60 +++++++++++------------------------ 4 files changed, 27 insertions(+), 58 deletions(-) delete mode 100644 arch/arm/mach-nspire/mmio.h rewrite arch/arm/mach-nspire/nspire.c (61%)