From patchwork Tue Nov 1 21:57:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 991 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3231526wru; Tue, 1 Nov 2022 15:00:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7qE00StZuh2GHgHRAeGU4vvuqjVmKTs/7GTrfnzSpQc4CM7u8AnCiJXEr9r14cOOYVDvYn X-Received: by 2002:a17:903:50e:b0:182:631b:df6f with SMTP id jn14-20020a170903050e00b00182631bdf6fmr21494998plb.66.1667340042294; Tue, 01 Nov 2022 15:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667340042; cv=none; d=google.com; s=arc-20160816; b=cslHTNsJuf/4Fus3lNkb59v3cUlLCoxILov1akILawsCWGRWiirnWMTrvjTCTRRiO7 Vcq2WQuxLfaU5m3ilghcjbfKT8iVIoUf+HlrpHMa1X/dEjGG31diOqxKDJ2RkyQgnJ9H YQgMiTW5GfP3mTLL/da/B7mR2Tlz2xxLutfqUZMdLxWKkzmnEk2DiSGEWvMUThN4hLzI uqWEXeQzA6poLVToE56pF3S4l4dVJW0ZwaE9gi5lg/X812JT2y+Z20TArXVijqTQ7kzA uBHSBKbrwBjGkdGE7QUY7FsdR+IMtSy+K47QORgPpejJDxva97gLptxhqgvjEkJTWfw6 OpRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=3BYt3dkrH0h6SL5Lpbf8NEOYEhnfb6iG5Rt+02IgEGU=; b=SNm4SH8wkR0VRJTPJUcWbLE/m5hfXm9KYezKOLD1/O2hagBVxwnkQbZDZUt4EgaOxf +AuSZ3cwbfOKMpjyA1+9+2bGOsPR07VwrCr7pgUMc0oby97oiOTZ9Y0bXRE9rrbj9ZBf NEAFN2shX3N0f2VTP04OAEKgKY3+mBKaXhY9VdqJyRz1n8l3GSTGklByjjfhYU3iHAIp zjYil+HWbaYtewebZIStx9itOoX9u1CVtZvlq4YIHGoJrLDymSr75KjSzI5GKhi+Dy3x LejKPAuDAwJ/5lWwLqv+L4NJpD6W7YaQ4awo1hq8k0KKBUWrAo9uf8AX/orzx6By0TwW Xoxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iYvV5EDd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a656a05000000b0046086f8f5d0si17784868pgu.537.2022.11.01.15.00.29; Tue, 01 Nov 2022 15:00:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iYvV5EDd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230122AbiKAV6t (ORCPT + 99 others); Tue, 1 Nov 2022 17:58:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbiKAV6e (ORCPT ); Tue, 1 Nov 2022 17:58:34 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74C9F3894; Tue, 1 Nov 2022 14:58:29 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2A1Lw5Lt131020; Tue, 1 Nov 2022 16:58:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1667339885; bh=3BYt3dkrH0h6SL5Lpbf8NEOYEhnfb6iG5Rt+02IgEGU=; h=From:To:CC:Subject:Date; b=iYvV5EDdsIasYznoa8DTk8hw6HbFAmIBTPtZpnIFgeYoNWNL/e+eWqYgU2Txbmta1 c3uTIoxbZRMEPP2jkKEimQHV0jeYu6vjAUjH9XkaWlsEN2vt17uG5sxc07HULJHCj+ wHxGcrsdJBaapKkysF4VJPotO3fx71L2ACh1dsx0= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2A1Lw5jP021615 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Nov 2022 16:58:05 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 1 Nov 2022 16:58:05 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE105.ent.ti.com (10.64.6.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; Tue, 1 Nov 2022 16:58:05 -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 2A1Lw44l117953; Tue, 1 Nov 2022 16:58:04 -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 v4 0/9] TI-Nspire cleanups Date: Tue, 1 Nov 2022 16:57:55 -0500 Message-ID: <20221101215804.16262-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-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748332752237280993?= X-GMAIL-MSGID: =?utf-8?q?1748332752237280993?= 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 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 | 55 +++++++++++ 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, 283 insertions(+), 110 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/ti,nspire-misc.yaml delete mode 100644 arch/arm/mach-nspire/mmio.h