From patchwork Thu Oct 27 18:13:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11916 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp387059wru; Thu, 27 Oct 2022 11:19:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5FtUMnLUszPrpTxMAgQ+f2UAQ6wul4cYarV3bNvqNaOA8wLN6dfVl1uTuTRgh/33a9F3eG X-Received: by 2002:a17:902:ce90:b0:185:47af:a0d3 with SMTP id f16-20020a170902ce9000b0018547afa0d3mr50289197plg.153.1666894772257; Thu, 27 Oct 2022 11:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894772; cv=none; d=google.com; s=arc-20160816; b=u4iFxhibPzbaHQ78YPl/q2cfaVJm+ay60lQ7CTlh5PV7Pkbp/uYFLtTbzEPDhhpBP/ 4o/osI+K07VSHt+rghun6AuBW2ukCAm47ORs7yOUeD1PZpzEi8bV+IIMn84aPVF6xe0A Sqtp9wGMhHEQAftTWoqilkB4YTGuTqk7/1U7i9i8FPW/IgSySlF6F1/5cDbmBhMl/jJr HHxhi0p9k/OJGcRl/0W+/hnQy8Ou0hg8PKah8js3SYVCtNWrGqi+xj3iYuY/fC2s6+hX n9EvXQ0RVJ9YmYnhhFjEN+m7S1JFyxA0r1eIU+RVVgJfEBnwlRtX68qldfIxdGNg+1iC G9+Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qDnpPygAHiGGqlkQO8E4xRWTQisG9A+4eoWiC3UmaFI=; b=NVIHVceu26pID2E/DZgp31x5JWgq0/qJrKL977unoZ5E/EfhpwbU9ljZM3N+oxnhFs 09pVN5TCmbOcXazheR9Rutj/SN5kkls8QKF65nTkFznlmjoa5NLSIuTAGncwHZvciYyj LsACPuk3QvJSvkNkFYpJX/4Dz2v81DTs5UKjXspfBlaFLpKclXEiVHka3wbrh5NG1A31 PvDoFNmBRywuhkBjCliMOqR8jfC7SQDyylkFTXh7kGbRx5cKdnKGuQ/J+GO74UgOKOvP k14WTbbfd4qzFpSlyDrGNhuH6SIntdjLzVWEsxrdV5HIBaSxMxFx1ac8jjfFX4gE6bYc o6YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NcqmvC0d; 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 i14-20020a17090332ce00b0017f7dc60325si2446047plr.555.2022.10.27.11.19.18; Thu, 27 Oct 2022 11:19:32 -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=NcqmvC0d; 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 S236499AbiJ0SOb (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236352AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED95EE28; Thu, 27 Oct 2022 11:14:01 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDdeI126954; Thu, 27 Oct 2022 13:13:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894419; bh=qDnpPygAHiGGqlkQO8E4xRWTQisG9A+4eoWiC3UmaFI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NcqmvC0doowAEJAXJaLdQXgOqMePZeS4F1PuuQF2+EeN0pnJpmGRIU8quKUhEViHT rcdXnh3heRGuT4kgIEV9Ufb+6bm5r7osmJxaZlxxh4iW1crk/7ZwnyXcNMjhu2VZdr dQOzLEnBkqq8yXsT/MP7OOgnorx9KBYJ28dOJ/qM= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDdJr055088 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:39 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) 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 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; 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 29RIDbdv108447; Thu, 27 Oct 2022 13:13:38 -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 1/9] dt-bindings: mfd: syscon: Add TI-Nspire misc registers compatible Date: Thu, 27 Oct 2022 13:13:29 -0500 Message-ID: <20221027181337.8651-2-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865853047257915?= X-GMAIL-MSGID: =?utf-8?q?1747865853047257915?= The TI Nspire devices contain a set of registers with a seemingly miscellaneous set of functionality. This area is known simply as the "misc" region. As "syscon" nodes like this still need a specific compatible, document "ti,nspire-misc" here. Signed-off-by: Andrew Davis --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 4e4baf53796d..37a00532ea79 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -69,6 +69,7 @@ properties: - samsung,exynos5433-sysreg - samsung,exynos850-sysreg - samsung,exynosautov9-sysreg + - ti,nspire-misc - const: syscon From patchwork Thu Oct 27 18:13:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11909 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp386596wru; Thu, 27 Oct 2022 11:18:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6WVDvLMfsui6fCfoIBo6HIKUBKc4mmmveBcxpkWbRjI72v0MHM9IOPEu1tBzycpArWFQ6o X-Received: by 2002:a17:902:edc3:b0:172:8ae3:9778 with SMTP id q3-20020a170902edc300b001728ae39778mr50595313plk.72.1666894715289; Thu, 27 Oct 2022 11:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894715; cv=none; d=google.com; s=arc-20160816; b=gqrCqO+kf+Y61xIldIFYBFvd1/N++13VORhWIqY586fPCbG6ihlqKEXxfm/5a8CBFC OnNsjkUGwDt2fNjujMraRQrJ1cr3fsVrLceGk7NSZDTl4EGgGMkXDLppJqbyF55d1Sqr U5xRFMrYiHjhoUk6CH3dfGSDw2sOJgHYmJB3p9BYeITugMyHO6Q5ykkkpJ64DTv4siZh N574hiIOj00UGm9MhRSfiBXk4qKFbxnLlI8MqfQDWfCiOyt0S9cvXVQ7nfmurzT/EjGe BL1z6XG29J70IrwUj52/68wVOkTAJqdhtMwC+MkRVZc8NsF0XomUtXOb9bWoVJN9FRkn Y7Jw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mWERJQ6t/4WOSKqWsUHkMFt1G1PJE7LkTv+/r52Wyjs=; b=pYNT4Umt2bnC3Yz/zJjWs8Q4S7N57Kl9W6stIZR3Om+EBdFaozPxfR0qp/oAaXSTW5 /UpbINBGwkZRjD8dn41TuFhVVSObUOqUNpMEGmKEVH1wsx1Y5PAY7rt57YcHM/vE/0mM /KAuXfgBqsJwNwDjs34UBWJ9CWGWp7IJHMk5qvnYTBwvutdc8OsvXayI0TsnzQqwCqvE s4sRJaLJikcY6/1dNsIpWbWLcdBQCb6Bupr0pHwGUB68xvwTJ549tpaIp0aB1hJhYhqC bVh+HCXtCSTllAX+TrGt+JKc67/bxAPrHX8XHUUBHZF7KDkKyAeGP5b+/L4rxfk031TF qGHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Vst2Zndh; 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 j7-20020a17090a694700b00213213d63bbsi2418019pjm.41.2022.10.27.11.18.22; Thu, 27 Oct 2022 11:18:35 -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=Vst2Zndh; 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 S236212AbiJ0SOE (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236262AbiJ0SOA (ORCPT ); Thu, 27 Oct 2022 14:14:00 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47261EE28; Thu, 27 Oct 2022 11:13:59 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDdIm037309; Thu, 27 Oct 2022 13:13:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894419; bh=mWERJQ6t/4WOSKqWsUHkMFt1G1PJE7LkTv+/r52Wyjs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Vst2Zndh/kWD9oFOwuqjbX336JCSKrFncfKBo9TcZD6C/IRWVThwdheJuMCPa66GV rZTgEd+6AP5iO9BLRmTnKHqtJDlTxqcdA9eHsqXrxR+lOO4wl+UkQk0WdWL99jnE0d A1aVQXeOfJzAhaLAYxrXU4vLnzSwZIMom+qL7PFQ= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDdpc065679 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:39 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE114.ent.ti.com (10.64.6.35) 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:39 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE107.ent.ti.com (10.64.6.28) 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:39 -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 29RIDbdw108447; Thu, 27 Oct 2022 13:13:38 -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 2/9] ARM: dts: nspire: Use syscon-reboot to handle restart Date: Thu, 27 Oct 2022 13:13:30 -0500 Message-ID: <20221027181337.8651-3-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865792635142016?= X-GMAIL-MSGID: =?utf-8?q?1747865792635142016?= Writing this bit can be handled by the syscon-reboot driver. Add this node to DT. Signed-off-by: Andrew Davis Reviewed-by: Linus Walleij Tested-by: Fabian Vogt Reviewed-by: Fabian Vogt --- arch/arm/boot/dts/nspire.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi index bb240e6a3a6f..48fbc9d533c3 100644 --- a/arch/arm/boot/dts/nspire.dtsi +++ b/arch/arm/boot/dts/nspire.dtsi @@ -172,7 +172,14 @@ rtc: rtc@90090000 { }; misc: misc@900a0000 { + compatible = "ti,nspire-misc", "syscon", "simple-mfd"; reg = <0x900a0000 0x1000>; + + reboot { + compatible = "syscon-reboot"; + offset = <0x08>; + value = <0x02>; + }; }; pwr: pwr@900b0000 { From patchwork Thu Oct 27 18:13:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11910 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp386638wru; Thu, 27 Oct 2022 11:18:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5YbOeWaObszV40KHJPVod+xmjBXkBkfHy19IktZ1dotR0TJ+7WsfHX3KxkfSk5Na1H76YM X-Received: by 2002:a17:90b:1b0b:b0:20d:7c31:e75d with SMTP id nu11-20020a17090b1b0b00b0020d7c31e75dmr11188229pjb.101.1666894721714; Thu, 27 Oct 2022 11:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894721; cv=none; d=google.com; s=arc-20160816; b=XL/+TkGhQoswuR574/Uhvbc6q7yDLg0cdOFrBWfXqcsOle2UFy6oEppOOaDus7GMcQ CZwim/AhQXgApafZtmVex97QlExvvd3OXS8OrBtU7Am5eZC+qXJG38cwILVs+PHBr8uV wMlKOdfCh3vrtqiFPCJHtX1c1VHcI426EMoSqvKsIsXsT7rp1WRGAnp8oDjjECwkSN18 1FQ/PmRqHxIYmn1WX6EI2jYWCTwWzCjcojmXkOIhbjEtCg3mpsshlHxcG+U8ZKy9BtlO F78YuDG47yTWm0XxVvcP8CRoNEqDvDYP5BuUxEpkMi0r/CuKirF/Phl9EEt6JkW8knFB z3Dg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=M19qasxhP6nigW+ai02utN8S5S0aOUYmDLwWllKur00=; b=cS+325dPRNh40X7IGLC2zCei/f6U0GsNuF6DYaAT1zwiGlELiqZPs0mGBwan0wmfE1 xaoelWpDNnT52OukdgHu5/iT5FOLd26M96cG3hTcp8Znlcac2IFNJMrWvqcE8X6/7G2D /E1j6FTdAvIt5vxcIFuAsA2urylEK7tekTQ3+UORDO2A3S8/4QBT7tTEc8WPOqrhCTl/ RKg4xaZYjkcGVmX8/faPYJidIdxc1ghilMUueufcyk/K6Bv3XgoDBFprpVW+ZCwEOs9h bMfefAiTnfKZtJP5+AlakB4SD0ABDk9+RYp7b2yJvhfXB1OuHR7L3BHoxbdcFUK5l1Rf SNzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="nz3/vOOL"; 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 t8-20020a170902e84800b001846e0e0511si2923630plg.226.2022.10.27.11.18.29; Thu, 27 Oct 2022 11:18:41 -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="nz3/vOOL"; 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 S236337AbiJ0SOH (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236266AbiJ0SOA (ORCPT ); Thu, 27 Oct 2022 14:14:00 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47338193DF; Thu, 27 Oct 2022 11:13:59 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDe53037314; Thu, 27 Oct 2022 13:13:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894420; bh=M19qasxhP6nigW+ai02utN8S5S0aOUYmDLwWllKur00=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=nz3/vOOLTAAgFhPU1GfMmviLMaWYog9MO53bkXVjd44yJqdwRJDHZ9Xcq5ym1Y/Dq IcMHR3AA8HMDtgnISdIgp9/8eQrWfxwMWqT21SWLRuNj10RuapQTQ8K6yg3JrhqvN1 nAKpkein5T8odgEpAcu0FzDHSi0Hwsf4iLKI4qAA= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDefr065688 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:40 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE110.ent.ti.com (10.64.6.31) 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:40 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE103.ent.ti.com (10.64.6.24) 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:40 -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 29RIDbdx108447; Thu, 27 Oct 2022 13:13:39 -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 3/9] ARM: dts: nspire: Fix cpu node to conform with DT binding Date: Thu, 27 Oct 2022 13:13:31 -0500 Message-ID: <20221027181337.8651-4-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865799829607351?= X-GMAIL-MSGID: =?utf-8?q?1747865799829607351?= This node does not follow the DT binding schema, correct this. Should result in no functional change. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/nspire.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi index 48fbc9d533c3..cb7237051512 100644 --- a/arch/arm/boot/dts/nspire.dtsi +++ b/arch/arm/boot/dts/nspire.dtsi @@ -11,8 +11,13 @@ / { interrupt-parent = <&intc>; cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { compatible = "arm,arm926ej-s"; + device_type = "cpu"; + reg = <0>; }; }; From patchwork Thu Oct 27 18:13:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11915 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp387000wru; Thu, 27 Oct 2022 11:19:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7tNVAhDMiBXwYQWV2cgoKSr+xRLfsItJ9k1gs6AThkA0IyZlVQ4OfEh7id2t+deqoj91D6 X-Received: by 2002:a05:6a02:186:b0:431:25fb:f1fe with SMTP id bj6-20020a056a02018600b0043125fbf1femr44231229pgb.130.1666894764536; Thu, 27 Oct 2022 11:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894764; cv=none; d=google.com; s=arc-20160816; b=V4n2zhwf4biEfN1v9gL1Au+wI9mV5/pBeSGAPUMOrA7Nda+MBBntAiVBfgqoGF0I5h 0L8LI4rB0H+TCh8Fo1rm9SERdpJsie9ftHdc95aVgddhCZEZK+0jua6/OOEujUqCFIjS sQZ/UYREMOGL3uzVv1uw6pKn/rPL2etdtCNndfaAbxk2+SxNw2knQoC/ePMSQj1U4EeK Vy7UN0M7XoUU/co66q1I55wJ1SXbyGBVykDNqULDi5XIgISA4wS38ssJ4itCJDegpVQu uBMocDewI/F8cxsvc3Z9kibkPYvOEFAT0WFFen/pGMVTosd8KuBf0bzDNn1V6b/Sm7zi rvGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+ip+vWwth0qYovnqzpYCB3yjTjwW8XOkWZEMLK1Zv5Q=; b=gPTcC1TpJjL+mJhuk8yQKZrkJ9JkZbAZEQ38E1oABRJaXDNCd2067kfGlOdq62sLru RIBu3r3eCmc9XlbtthDZFTlNQSiizliDZrb78nyMYkdFeEeL8cYVtgG/ohyE/OAfiZpS P5WFpXqioSV8oRBm+xbBSX0GbEY7o46cFQ5hGRPCcraIM+k2s+by+JEnwJGzWAta+z3+ Gb/6eq/NlGmXIuiD0YIPxeQzDxkubYyelStUcnd+mSxO7hSw31+2G2e+mWLXUmiH3GzX JShwKyI8MOScxn7HHTgx7cOxWgDJN+nEzDz6ze6WtFt/MNZVV4ipxRbr8bcAX/VZr/Oq TXBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RhmiHPY6; 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 s25-20020a056a00179900b005637366edb8si2746153pfg.9.2022.10.27.11.19.11; Thu, 27 Oct 2022 11:19:24 -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=RhmiHPY6; 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 S236483AbiJ0SO0 (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236340AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A237E32D96; Thu, 27 Oct 2022 11:13:59 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDf15039376; Thu, 27 Oct 2022 13:13:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894421; bh=+ip+vWwth0qYovnqzpYCB3yjTjwW8XOkWZEMLK1Zv5Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RhmiHPY66J4vcZaRIVDky4Ivunz5MKsJG+k4uPOolLP8dpNzCQ3Rrp1QOaVpFkif8 H+ezneUfUyk/9bKIrWBvyiGajPmb+hdgJGauUEsYp4yWIY/FcMbTTv7MPqTg60I6+d 4JDvaWCq7P6oG2BJPYlqJJdZ+s+LrRLstyCaUFlo= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDfNj015554 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:41 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) 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; Thu, 27 Oct 2022 13:13:41 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.6 via Frontend Transport; Thu, 27 Oct 2022 13:13:40 -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 29RIDbe0108447; Thu, 27 Oct 2022 13:13:40 -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 4/9] ARM: dts: nspire: Fix sram node to conform with DT binding Date: Thu, 27 Oct 2022 13:13:32 -0500 Message-ID: <20221027181337.8651-5-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865844241500318?= X-GMAIL-MSGID: =?utf-8?q?1747865844241500318?= This node does not follow the DT binding schema, correct this. Should result in no functional change. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/nspire.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi index cb7237051512..f979b28e2576 100644 --- a/arch/arm/boot/dts/nspire.dtsi +++ b/arch/arm/boot/dts/nspire.dtsi @@ -26,8 +26,15 @@ bootrom: bootrom@0 { }; sram: sram@a4000000 { - device = "memory"; - reg = <0xa4000000 0x20000>; + compatible = "mmio-sram"; + reg = <0xa4000000 0x20000>; /* 128k */ + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xa4000000 0x20000>; + + sram@0 { + reg = <0x0 0x20000>; + }; }; timer_clk: timer_clk { From patchwork Thu Oct 27 18:13:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11911 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp386803wru; Thu, 27 Oct 2022 11:18:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73YBcsnAJN/ARBpb58QkQAghhV/z6l2L7AEXvms9I6DlX1w6oUQFio6bxRAGlnP9uNiA0+ X-Received: by 2002:a17:90b:1808:b0:20d:4e7f:5f53 with SMTP id lw8-20020a17090b180800b0020d4e7f5f53mr11313964pjb.170.1666894737353; Thu, 27 Oct 2022 11:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894737; cv=none; d=google.com; s=arc-20160816; b=AcX30oDeZv62O1jNNMEwubD6QUSlU8Nerwi9mW7xNx/3/SBB64n5LATCjn164xADi9 UIvXIN7LkD1AGw1fSyqzTi/oN7TQYmQlFCAztODA59QSjz/ZCfkEjVkuAYy5QSTNz9TO +8h83tKXU9i1Bsy9Pj1JU7456XJdjuTKWVa/+ZpIJIPUWY54iTq8D6e+NvxsHOB6IzUG ZqfaAZAIXIWDhhauRi/zhvAx0iQs0MvVJTP7Wj+DN7eNIn/MhoSUIdugmHd2rQjqVmMZ dRxAD5JbZkkJ2EMLlPSX2453oW2QClwmSDQKATKYhdO1pYA1IolmmDnNnMjhwZhIjBx8 Sxsw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EQHS9UG73DekcazD25SrE2oPjpmXLusYN0diSneuqCk=; b=Khw1ciPMrRRObRQyl3xM4V3+nnvmWQzDCVzcEjxGuHbwoAvViKRKg0UwMlsuHd3nL7 XcwATx0ABVMP1tznvzQJbMOBUdURc/TQqUd5dl0GgOG7/dDYvYGM7uPfSs8BqNMfo17k aAK6hZWjL6ku4/pzPKDnrsbu62sIlUYMVc1w0itV2iDwdMs1Bu5FKMGkvUloY7vi3F8t 0lL91mZ2VphwTh54kXNvTJA9uy5839mkmqCHCvhWxEX29z7hIf7oF0upIA/+vphNnNOH UUqJSPQclWrYO6VSGzQ+K0zChZjS5aQkbNnAQ4AnToo/5VxxBlbzHB02S28ssKF9jdzl jxYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FZjzv4mA; 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 k12-20020a635a4c000000b0045fd05b2ce9si2376964pgm.521.2022.10.27.11.18.44; Thu, 27 Oct 2022 11:18:57 -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=FZjzv4mA; 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 S235958AbiJ0SOL (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236322AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 473AB2B194; Thu, 27 Oct 2022 11:13:59 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDgDK037327; Thu, 27 Oct 2022 13:13:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894422; bh=EQHS9UG73DekcazD25SrE2oPjpmXLusYN0diSneuqCk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FZjzv4mARKjF9r0UMpUBRQsBPxwrVsK4JTGi81InWd6cDqTouR09ECYzdkWpWNytq ANvdVElq+yfa+AmCastPxUoWZMzkJ/64ib8J/O8MWz6JthEqg73/lVe61zMkPO0xYm gzFaMtQ9P8TqxnKid7DscDQ0qblLX5oKQJDKDmVI= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDfv2055099 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:41 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE112.ent.ti.com (157.170.170.23) 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:41 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) 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:41 -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 29RIDbe1108447; Thu, 27 Oct 2022 13:13:41 -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 5/9] ARM: dts: nspire: Fix vbus_reg node to conform with DT binding Date: Thu, 27 Oct 2022 13:13:33 -0500 Message-ID: <20221027181337.8651-6-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865816043729101?= X-GMAIL-MSGID: =?utf-8?q?1747865816043729101?= This node does not follow the DT binding schema, correct this. All "regulator-fixed" are voltage type, so drop "regulator-type". Should result in no functional change. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/nspire.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi index f979b28e2576..9587e1ebeb93 100644 --- a/arch/arm/boot/dts/nspire.dtsi +++ b/arch/arm/boot/dts/nspire.dtsi @@ -71,7 +71,6 @@ vbus_reg: vbus_reg { compatible = "regulator-fixed"; regulator-name = "USB VBUS output"; - regulator-type = "voltage"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; From patchwork Thu Oct 27 18:13:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11914 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp386949wru; Thu, 27 Oct 2022 11:19:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4hIbcvRjzl826Tz8CcDA5nJgYav6LT3QkC3J8pJqI3vfqkae9U3MJfCUWjMrJjsZY/eMz1 X-Received: by 2002:a17:90b:3141:b0:20d:1690:d3d2 with SMTP id ip1-20020a17090b314100b0020d1690d3d2mr11682770pjb.230.1666894757061; Thu, 27 Oct 2022 11:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894757; cv=none; d=google.com; s=arc-20160816; b=obcp7Dd5FaKQ/Btv9S8TJqzbKMP0UkxWN393zaqvIH0IDp20hyf3LATCyT/yyZsGhv /fI7MfrToF+rcQOi93HQAUqaAM1cXFTt+QcE/JoGnHG7rYbTk1BngtFS2xscE37dexuN WbUImPcYyvPebHnyMJodyLAKtiyqlIezR37uqjVsxfI0V9Uw9QTc4f6D4Q6Hp0MgVve5 NciXc2opaIIkwxJMnlRRjf3QXk6lpilUKMgYLfERSt0OmZ7FnQj6Mpa+rHsUx9Mu7ClY txkHYklcMaCpzEqGmDhzWnRvKCosoqQYvwCn3zOeqGohXF0Em3tDNK4olc0BJ54YIxxJ JvfQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UvuXWgEi4XYpe3yMzYUWVXXK4/Vc2qSV9cHehSezeFk=; b=YLX/RHGOkEbqzmg0zwd2/GcIKuCK96X5+qGXFaBzaNXbQ3GIUgDueDR7tw7hctbxcO bxImOnY0TywsVWfl319AfMZdSz2Ty380tWA3VQwW8k0sORllbL0ydKyJQMBOwRuPsi/n 1kOCDoYDGvJv12g0wQiClcRX7g54VQfAkgtTnHIC3KCgYYuO8UsL7Vhsm6qWbhd/4u3D 44knflsfSGtWKqrREZPdG78pRj499ob/cHChMrWlOjdJV8KM8v4vKJIEL7C6ElBmdm74 nLV8Eyf28XPM2HV3KoMJkk1cmGkmVu96dM4NZY/9NZxMceCpyOFP8YMAe649Ss/p8Nos jtMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VegjOvhW; 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 p11-20020a634f4b000000b0043a1129e476si2364592pgl.340.2022.10.27.11.19.03; Thu, 27 Oct 2022 11:19:17 -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=VegjOvhW; 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 S236472AbiJ0SOX (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236342AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813463F1DD; Thu, 27 Oct 2022 11:14:00 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDgC5039381; Thu, 27 Oct 2022 13:13:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894422; bh=UvuXWgEi4XYpe3yMzYUWVXXK4/Vc2qSV9cHehSezeFk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VegjOvhWccCj4QEwO3ZREtbBS5IiXxyLjXwDAdU50IUqHK2LFqOrFMfIlRbn7pPsG N6JLB0ZWJXGwHkaHvuhjBVXL04A4pDbkCklpv3D9bM/JFSecqIPCkM500R+eqfYpOJ LqDe9yxQvYKI9L0DI+4FaT6rgsylPJllD2xJ/3Mk= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDgEm039690 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:42 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE110.ent.ti.com (10.64.6.31) 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:42 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) 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:42 -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 29RIDbe2108447; Thu, 27 Oct 2022 13:13:41 -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 6/9] ARM: dts: nspire: Fix uart node to conform with DT binding Date: Thu, 27 Oct 2022 13:13:34 -0500 Message-ID: <20221027181337.8651-7-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865837057292847?= X-GMAIL-MSGID: =?utf-8?q?1747865837057292847?= This node does not follow the DT binding schema, correct this. The arm,pl011 binding requires the first clock to be named "uartclk". Should result in no functional change. Signed-off-by: Andrew Davis Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/nspire-cx.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nspire-cx.dts b/arch/arm/boot/dts/nspire-cx.dts index 590b7dff6ae5..837dbdd9af55 100644 --- a/arch/arm/boot/dts/nspire-cx.dts +++ b/arch/arm/boot/dts/nspire-cx.dts @@ -24,7 +24,7 @@ &uart { compatible = "arm,pl011", "arm,primecell"; clocks = <&uart_clk>, <&apb_pclk>; - clock-names = "uart_clk", "apb_pclk"; + clock-names = "uartclk", "apb_pclk"; }; &timer0 { From patchwork Thu Oct 27 18:13:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11913 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp386944wru; Thu, 27 Oct 2022 11:19:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HfEAxPTuoO/DTPPaLJ6hlUtNADMujDoZXaJxlHkNSzTVBuN9iMXbc/w75WbnM6DGd0G7M X-Received: by 2002:a17:902:d54a:b0:186:e852:6775 with SMTP id z10-20020a170902d54a00b00186e8526775mr6439748plf.44.1666894756567; Thu, 27 Oct 2022 11:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894756; cv=none; d=google.com; s=arc-20160816; b=n+JPOi/6aVOqOQcG5Wsx3fzydqXtGYiQd0uY83ZCn7TrVeO8MHx/gj6Ha2If88EL5c sGgVxlPODDoU/0BvLLqibyk9NW+IMd00GeJgHhDYZD+DMRX1Xyx/Wh8EXFom8PdiaHPD h+Jjh29C7KlmYbk0CFWg3PkCNy0SHJE84NBYZ9kYt126YeasSCHKbUMbeEkQC4Fhp+DG oCfR+GEiXM+NdmDqtQXPA02zDfFcCLtxJT2dC9ots1arRjOy7+56PbEo7hALLRWon4Cb xxZOK6+xGJtpKaa1CBRyS0WYTMfbAWXKgzaOhr4fpezmJsr9B6yaGsDL5s+0ed/eVZQM ChGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KVkVhN4+OdkJkZ3PxnaPqfqIehP5QhUuxIFtI0w3cdA=; b=ZV/5ZuBxKFgYft+v2sh0lblxZU6/mM5dgtJpV4wsHpKL3fXee7/fGT1avRpKaoBaJa C6srV9keaUOcBxWEF6dz+DCet/JrNrXZwaSnEnOx6Vf6gWWqhPOCo5Tl89Uf8GV28fkQ uD9Wnnz+MOJ+WWqDRTNwUyKbqjbyQK/A20+sKKdMMxqakQjIWso9NyGPS+boJ0u6jNW1 OHGXu2abXmcE68JpScuxqEBd/s0k0AeA0871whsLUlVXh24KSiBH0pE52Zy7WnotpNpm 1OrCvhrTbWCFVAKcvi0u+FfqBHznUzhywQm6ldWC6TR8SJ+dE3pjuUB3hGXEqvOP/BR8 UScg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JqlE5XJz; 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 d22-20020a056a0024d600b0055fc3dedac1si2621565pfv.381.2022.10.27.11.19.03; Thu, 27 Oct 2022 11:19:16 -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=JqlE5XJz; 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 S236392AbiJ0SOT (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236345AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2338037F88; Thu, 27 Oct 2022 11:14:00 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDhei039385; Thu, 27 Oct 2022 13:13:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894423; bh=KVkVhN4+OdkJkZ3PxnaPqfqIehP5QhUuxIFtI0w3cdA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JqlE5XJz+ylKldDjIH1ccn6m0L5HUoPgehutm97ITD3x2/OL+XmQnWdgXGgTfLvf4 +msxuscrRTGO/f3Audro3zfPhqclulcl5KjtxljGLRW20Zj43c1HvN12/jEECAU6v8 lJlMKugsugBvhb1OduD3buBdYn+eOet528nXnH8Y= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDhSa055107 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:43 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE112.ent.ti.com (10.64.6.33) 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:42 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE106.ent.ti.com (10.64.6.27) 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:43 -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 29RIDbe3108447; Thu, 27 Oct 2022 13:13:42 -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 7/9] ARM: dts: nspire: Use MATRIX_KEY macro for linux,keymap Date: Thu, 27 Oct 2022 13:13:35 -0500 Message-ID: <20221027181337.8651-8-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865836489741424?= X-GMAIL-MSGID: =?utf-8?q?1747865836489741424?= This looks better and allows us to see the row and column numbers more easily. Switch to this macro here. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/nspire-clp.dts | 128 +++++++++++++++++++++---------- arch/arm/boot/dts/nspire-cx.dts | 90 ++++++++++++++++------ arch/arm/boot/dts/nspire-tp.dts | 126 ++++++++++++++++++++---------- 3 files changed, 241 insertions(+), 103 deletions(-) rewrite arch/arm/boot/dts/nspire-clp.dts (72%) rewrite arch/arm/boot/dts/nspire-tp.dts (72%) diff --git a/arch/arm/boot/dts/nspire-clp.dts b/arch/arm/boot/dts/nspire-clp.dts dissimilarity index 72% index f52f38c61588..916ede0c2499 100644 --- a/arch/arm/boot/dts/nspire-clp.dts +++ b/arch/arm/boot/dts/nspire-clp.dts @@ -1,41 +1,87 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * linux/arch/arm/boot/nspire-clp.dts - * - * Copyright (C) 2013 Daniel Tang - */ -/dts-v1/; - -/include/ "nspire-classic.dtsi" - -&keypad { - linux,keymap = < - 0x0000001c 0x0001001c 0x00020039 - 0x0004002c 0x00050034 0x00060015 - 0x0007000b 0x0008002d 0x01000033 - 0x0101004e 0x01020011 0x01030004 - 0x0104002f 0x01050003 0x01060016 - 0x01070002 0x01080014 0x02000062 - 0x0201000c 0x0202001f 0x02030007 - 0x02040013 0x02050006 0x02060010 - 0x02070005 0x02080019 0x03000027 - 0x03010037 0x03020018 0x0303000a - 0x03040031 0x03050009 0x03060032 - 0x03070008 0x03080026 0x04000028 - 0x04010035 0x04020025 0x04040024 - 0x04060017 0x04080023 0x05000028 - 0x05020022 0x0503001b 0x05040021 - 0x0505001a 0x05060012 0x0507006f - 0x05080020 0x0509002a 0x0601001c - 0x0602002e 0x06030068 0x06040030 - 0x0605006d 0x0606001e 0x06070001 - 0x0608002b 0x0609000f 0x07000067 - 0x0702006a 0x0704006c 0x07060069 - 0x0707000e 0x0708001d 0x070a000d - >; -}; - -/ { - model = "TI-NSPIRE Clickpad"; - compatible = "ti,nspire-clp"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * linux/arch/arm/boot/nspire-clp.dts + * + * Copyright (C) 2013 Daniel Tang + */ +/dts-v1/; + +#include + +/include/ "nspire-classic.dtsi" + +&keypad { + linux,keymap = < + MATRIX_KEY(0, 0, 0x1c) + MATRIX_KEY(0, 1, 0x1c) + MATRIX_KEY(0, 2, 0x39) + MATRIX_KEY(0, 4, 0x2c) + MATRIX_KEY(0, 5, 0x34) + MATRIX_KEY(0, 6, 0x15) + MATRIX_KEY(0, 7, 0x0b) + MATRIX_KEY(0, 8, 0x2d) + MATRIX_KEY(1, 0, 0x33) + MATRIX_KEY(1, 1, 0x4e) + MATRIX_KEY(1, 2, 0x11) + MATRIX_KEY(1, 3, 0x04) + MATRIX_KEY(1, 4, 0x2f) + MATRIX_KEY(1, 5, 0x03) + MATRIX_KEY(1, 6, 0x16) + MATRIX_KEY(1, 7, 0x02) + MATRIX_KEY(1, 8, 0x14) + MATRIX_KEY(2, 0, 0x62) + MATRIX_KEY(2, 1, 0x0c) + MATRIX_KEY(2, 2, 0x1f) + MATRIX_KEY(2, 3, 0x07) + MATRIX_KEY(2, 4, 0x13) + MATRIX_KEY(2, 5, 0x06) + MATRIX_KEY(2, 6, 0x10) + MATRIX_KEY(2, 7, 0x05) + MATRIX_KEY(2, 8, 0x19) + MATRIX_KEY(3, 0, 0x27) + MATRIX_KEY(3, 1, 0x37) + MATRIX_KEY(3, 2, 0x18) + MATRIX_KEY(3, 3, 0x0a) + MATRIX_KEY(3, 4, 0x31) + MATRIX_KEY(3, 5, 0x09) + MATRIX_KEY(3, 6, 0x32) + MATRIX_KEY(3, 7, 0x08) + MATRIX_KEY(3, 8, 0x26) + MATRIX_KEY(4, 0, 0x28) + MATRIX_KEY(4, 1, 0x35) + MATRIX_KEY(4, 2, 0x25) + MATRIX_KEY(4, 4, 0x24) + MATRIX_KEY(4, 6, 0x17) + MATRIX_KEY(4, 8, 0x23) + MATRIX_KEY(5, 0, 0x28) + MATRIX_KEY(5, 2, 0x22) + MATRIX_KEY(5, 3, 0x1b) + MATRIX_KEY(5, 4, 0x21) + MATRIX_KEY(5, 5, 0x1a) + MATRIX_KEY(5, 6, 0x12) + MATRIX_KEY(5, 7, 0x6f) + MATRIX_KEY(5, 8, 0x20) + MATRIX_KEY(5, 9, 0x2a) + MATRIX_KEY(6, 1, 0x1c) + MATRIX_KEY(6, 2, 0x2e) + MATRIX_KEY(6, 3, 0x68) + MATRIX_KEY(6, 4, 0x30) + MATRIX_KEY(6, 5, 0x6d) + MATRIX_KEY(6, 6, 0x1e) + MATRIX_KEY(6, 7, 0x01) + MATRIX_KEY(6, 8, 0x2b) + MATRIX_KEY(6, 9, 0x0f) + MATRIX_KEY(7, 0, 0x67) + MATRIX_KEY(7, 2, 0x6a) + MATRIX_KEY(7, 4, 0x6c) + MATRIX_KEY(7, 6, 0x69) + MATRIX_KEY(7, 7, 0x0e) + MATRIX_KEY(7, 8, 0x1d) + MATRIX_KEY(7, 10, 0x0d) + >; +}; + +/ { + model = "TI-NSPIRE Clickpad"; + compatible = "ti,nspire-clp"; +}; diff --git a/arch/arm/boot/dts/nspire-cx.dts b/arch/arm/boot/dts/nspire-cx.dts index 837dbdd9af55..96c48fc52203 100644 --- a/arch/arm/boot/dts/nspire-cx.dts +++ b/arch/arm/boot/dts/nspire-cx.dts @@ -6,6 +6,8 @@ */ /dts-v1/; +#include + /include/ "nspire.dtsi" &lcd { @@ -45,28 +47,72 @@ &ahb_clk { &keypad { linux,keymap = < - 0x0000001c 0x0001001c 0x00040039 - 0x0005002c 0x00060015 0x0007000b - 0x0008000f 0x0100002d 0x01010011 - 0x0102002f 0x01030004 0x01040016 - 0x01050014 0x0106001f 0x01070002 - 0x010a006a 0x02000013 0x02010010 - 0x02020019 0x02030007 0x02040018 - 0x02050031 0x02060032 0x02070005 - 0x02080028 0x0209006c 0x03000026 - 0x03010025 0x03020024 0x0303000a - 0x03040017 0x03050023 0x03060022 - 0x03070008 0x03080035 0x03090069 - 0x04000021 0x04010012 0x04020020 - 0x0404002e 0x04050030 0x0406001e - 0x0407000d 0x04080037 0x04090067 - 0x05010038 0x0502000c 0x0503001b - 0x05040034 0x0505001a 0x05060006 - 0x05080027 0x0509000e 0x050a006f - 0x0600002b 0x0602004e 0x06030068 - 0x06040003 0x0605006d 0x06060009 - 0x06070001 0x0609000f 0x0708002a - 0x0709001d 0x070a0033 >; + MATRIX_KEY(0, 0, 0x1c) + MATRIX_KEY(0, 1, 0x1c) + MATRIX_KEY(0, 4, 0x39) + MATRIX_KEY(0, 5, 0x2c) + MATRIX_KEY(0, 6, 0x15) + MATRIX_KEY(0, 7, 0x0b) + MATRIX_KEY(0, 8, 0x0f) + MATRIX_KEY(1, 0, 0x2d) + MATRIX_KEY(1, 1, 0x11) + MATRIX_KEY(1, 2, 0x2f) + MATRIX_KEY(1, 3, 0x04) + MATRIX_KEY(1, 4, 0x16) + MATRIX_KEY(1, 5, 0x14) + MATRIX_KEY(1, 6, 0x1f) + MATRIX_KEY(1, 7, 0x02) + MATRIX_KEY(1, 10, 0x6a) + MATRIX_KEY(2, 0, 0x13) + MATRIX_KEY(2, 1, 0x10) + MATRIX_KEY(2, 2, 0x19) + MATRIX_KEY(2, 3, 0x07) + MATRIX_KEY(2, 4, 0x18) + MATRIX_KEY(2, 5, 0x31) + MATRIX_KEY(2, 6, 0x32) + MATRIX_KEY(2, 7, 0x05) + MATRIX_KEY(2, 8, 0x28) + MATRIX_KEY(2, 9, 0x6c) + MATRIX_KEY(3, 0, 0x26) + MATRIX_KEY(3, 1, 0x25) + MATRIX_KEY(3, 2, 0x24) + MATRIX_KEY(3, 3, 0x0a) + MATRIX_KEY(3, 4, 0x17) + MATRIX_KEY(3, 5, 0x23) + MATRIX_KEY(3, 6, 0x22) + MATRIX_KEY(3, 7, 0x08) + MATRIX_KEY(3, 8, 0x35) + MATRIX_KEY(3, 9, 0x69) + MATRIX_KEY(4, 0, 0x21) + MATRIX_KEY(4, 1, 0x12) + MATRIX_KEY(4, 2, 0x20) + MATRIX_KEY(4, 4, 0x2e) + MATRIX_KEY(4, 5, 0x30) + MATRIX_KEY(4, 6, 0x1e) + MATRIX_KEY(4, 7, 0x0d) + MATRIX_KEY(4, 8, 0x37) + MATRIX_KEY(4, 9, 0x67) + MATRIX_KEY(5, 1, 0x38) + MATRIX_KEY(5, 2, 0x0c) + MATRIX_KEY(5, 3, 0x1b) + MATRIX_KEY(5, 4, 0x34) + MATRIX_KEY(5, 5, 0x1a) + MATRIX_KEY(5, 6, 0x06) + MATRIX_KEY(5, 8, 0x27) + MATRIX_KEY(5, 9, 0x0e) + MATRIX_KEY(5, 10, 0x6f) + MATRIX_KEY(6, 0, 0x2b) + MATRIX_KEY(6, 2, 0x4e) + MATRIX_KEY(6, 3, 0x68) + MATRIX_KEY(6, 4, 0x03) + MATRIX_KEY(6, 5, 0x6d) + MATRIX_KEY(6, 6, 0x09) + MATRIX_KEY(6, 7, 0x01) + MATRIX_KEY(6, 9, 0x0f) + MATRIX_KEY(7, 8, 0x2a) + MATRIX_KEY(7, 9, 0x1d) + MATRIX_KEY(7, 10, 0x33) + >; }; &vbus_reg { diff --git a/arch/arm/boot/dts/nspire-tp.dts b/arch/arm/boot/dts/nspire-tp.dts dissimilarity index 72% index f7d0faacd4cc..235cd4264da7 100644 --- a/arch/arm/boot/dts/nspire-tp.dts +++ b/arch/arm/boot/dts/nspire-tp.dts @@ -1,40 +1,86 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * linux/arch/arm/boot/nspire-tp.dts - * - * Copyright (C) 2013 Daniel Tang - */ -/dts-v1/; - -/include/ "nspire-classic.dtsi" - -&keypad { - linux,keymap = < - 0x0000001c 0x0001001c 0x00040039 - 0x0005002c 0x00060015 0x0007000b - 0x0008000f 0x0100002d 0x01010011 - 0x0102002f 0x01030004 0x01040016 - 0x01050014 0x0106001f 0x01070002 - 0x010a006a 0x02000013 0x02010010 - 0x02020019 0x02030007 0x02040018 - 0x02050031 0x02060032 0x02070005 - 0x02080028 0x0209006c 0x03000026 - 0x03010025 0x03020024 0x0303000a - 0x03040017 0x03050023 0x03060022 - 0x03070008 0x03080035 0x03090069 - 0x04000021 0x04010012 0x04020020 - 0x0404002e 0x04050030 0x0406001e - 0x0407000d 0x04080037 0x04090067 - 0x05010038 0x0502000c 0x0503001b - 0x05040034 0x0505001a 0x05060006 - 0x05080027 0x0509000e 0x050a006f - 0x0600002b 0x0602004e 0x06030068 - 0x06040003 0x0605006d 0x06060009 - 0x06070001 0x0609000f 0x0708002a - 0x0709001d 0x070a0033 >; -}; - -/ { - model = "TI-NSPIRE Touchpad"; - compatible = "ti,nspire-tp"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * linux/arch/arm/boot/nspire-tp.dts + * + * Copyright (C) 2013 Daniel Tang + */ +/dts-v1/; + +#include + +/include/ "nspire-classic.dtsi" + +&keypad { + linux,keymap = < + MATRIX_KEY(0, 0, 0x1c) + MATRIX_KEY(0, 1, 0x1c) + MATRIX_KEY(0, 4, 0x39) + MATRIX_KEY(0, 5, 0x2c) + MATRIX_KEY(0, 6, 0x15) + MATRIX_KEY(0, 7, 0x0b) + MATRIX_KEY(0, 8, 0x0f) + MATRIX_KEY(1, 0, 0x2d) + MATRIX_KEY(1, 1, 0x11) + MATRIX_KEY(1, 2, 0x2f) + MATRIX_KEY(1, 3, 0x04) + MATRIX_KEY(1, 4, 0x16) + MATRIX_KEY(1, 5, 0x14) + MATRIX_KEY(1, 6, 0x1f) + MATRIX_KEY(1, 7, 0x02) + MATRIX_KEY(1, 10, 0x6a) + MATRIX_KEY(2, 0, 0x13) + MATRIX_KEY(2, 1, 0x10) + MATRIX_KEY(2, 2, 0x19) + MATRIX_KEY(2, 3, 0x07) + MATRIX_KEY(2, 4, 0x18) + MATRIX_KEY(2, 5, 0x31) + MATRIX_KEY(2, 6, 0x32) + MATRIX_KEY(2, 7, 0x05) + MATRIX_KEY(2, 8, 0x28) + MATRIX_KEY(2, 9, 0x6c) + MATRIX_KEY(3, 0, 0x26) + MATRIX_KEY(3, 1, 0x25) + MATRIX_KEY(3, 2, 0x24) + MATRIX_KEY(3, 3, 0x0a) + MATRIX_KEY(3, 4, 0x17) + MATRIX_KEY(3, 5, 0x23) + MATRIX_KEY(3, 6, 0x22) + MATRIX_KEY(3, 7, 0x08) + MATRIX_KEY(3, 8, 0x35) + MATRIX_KEY(3, 9, 0x69) + MATRIX_KEY(4, 0, 0x21) + MATRIX_KEY(4, 1, 0x12) + MATRIX_KEY(4, 2, 0x20) + MATRIX_KEY(4, 4, 0x2e) + MATRIX_KEY(4, 5, 0x30) + MATRIX_KEY(4, 6, 0x1e) + MATRIX_KEY(4, 7, 0x0d) + MATRIX_KEY(4, 8, 0x37) + MATRIX_KEY(4, 9, 0x67) + MATRIX_KEY(5, 1, 0x38) + MATRIX_KEY(5, 2, 0x0c) + MATRIX_KEY(5, 3, 0x1b) + MATRIX_KEY(5, 4, 0x34) + MATRIX_KEY(5, 5, 0x1a) + MATRIX_KEY(5, 6, 0x06) + MATRIX_KEY(5, 8, 0x27) + MATRIX_KEY(5, 9, 0x0e) + MATRIX_KEY(5, 10, 0x6f) + MATRIX_KEY(6, 0, 0x2b) + MATRIX_KEY(6, 2, 0x4e) + MATRIX_KEY(6, 3, 0x68) + MATRIX_KEY(6, 4, 0x03) + MATRIX_KEY(6, 5, 0x6d) + MATRIX_KEY(6, 6, 0x09) + MATRIX_KEY(6, 7, 0x01) + MATRIX_KEY(6, 9, 0x0f) + MATRIX_KEY(7, 8, 0x2a) + MATRIX_KEY(7, 9, 0x1d) + MATRIX_KEY(7, 10, 0x33) + >; +}; + +/ { + model = "TI-NSPIRE Touchpad"; + compatible = "ti,nspire-tp"; +}; From patchwork Thu Oct 27 18:13:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11912 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp386861wru; Thu, 27 Oct 2022 11:19:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Fcm2rIN2UNpakJhM5weMOjsG/DAX46Dk+Hm8UzAdoMd0/5k+1ZFO8nlSFdZyrna9B+uEA X-Received: by 2002:a17:903:283:b0:186:897e:71ea with SMTP id j3-20020a170903028300b00186897e71eamr29467167plr.123.1666894745115; Thu, 27 Oct 2022 11:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894745; cv=none; d=google.com; s=arc-20160816; b=BTd08jB6zn1wyF4c5xzRF3FCALMWv+duJwB0McvXmW22X94nyv9TP+jbmNDlJkJ9Im M6qQT7yDktVsMDl/DsDeg7c1eTIpkdWDHoiM4JgSheZrh5l80Eqrq+PRb4Z5mQO5QPn6 sYnNrkt9Fdm2SuIf5JNn+EaF5c9pbJkOrSrJ0etaGPeC3kb7k6qYy7gQBPxep30F+2A6 J1l/++p8hNrCjcfim6ingSerQ0glkvhEegT9xb43J+6wh7xYAwrqx8JX5qizQJpIfbhM PSJotxtHmzYYAvgVHG6d18LX3Ot6xuM+jvEC2fHPLgFpMjyGTZiFpUZaEo08rpTE2W8T ij6w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NpUhchJ3aEsAoSSpCV+nXyltNhIAw7kchsjbzFVnriY=; b=daAgf1IaW4cUfwCUkmM4Osfed4sCPt4k2vX4E9CxUb/o7JcwrpydxiFP6M41VObr8Q cuOVpfSIfkEuO57htE4HqvUl7Xf1XxJMqDphak+JnoR4udE4r2nN2Z/eQp3WfPsibuYP dJ2MFSvW2PtHQEPf5uGXmpVVYyA6ifo2Sodcsrl6D1JYvuWiZ7mkELKWy3p5Q4a1SAUS BnsWz5HM0ddi+z9MtAN/lRfTjv+vk6KlF3hhZHQjzyHHbCM8NXGJ++v9qpC/bwBV5NFx QdZ3Sd6cKvY1GOVjrmJgF0KdHyFCJeGAGz4uZxgU41l3bVOjQUxaomSo11Gkf4OMjsvH QcwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YPaITcYW; 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 k3-20020a170902c40300b00186989178b0si2797342plk.132.2022.10.27.11.18.49; Thu, 27 Oct 2022 11:19:05 -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=YPaITcYW; 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 S236414AbiJ0SON (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236312AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 003103BC; Thu, 27 Oct 2022 11:13:59 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDhQ1037332; Thu, 27 Oct 2022 13:13:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894423; bh=NpUhchJ3aEsAoSSpCV+nXyltNhIAw7kchsjbzFVnriY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YPaITcYW9JO/tKWq6NYcFgGM45o+AvNzlKnhEUmIesCelszckRtl1I9OI/TnRE4Wd p8V0rkk+4LKbPDpvJ1JiRI3YqpwsfYi+wohHxke3eu9NsbLAnn824BgEqBsHNq0Fxs AAqtlu3ViQxyLhUhXIqD/BtfUpXuWOA3sRPoYUvU= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDh2a039697 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:43 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE112.ent.ti.com (157.170.170.23) 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:43 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) 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:43 -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 29RIDbe4108447; Thu, 27 Oct 2022 13:13:43 -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 8/9] ARM: nspire: Use syscon-reboot to handle restart Date: Thu, 27 Oct 2022 13:13:36 -0500 Message-ID: <20221027181337.8651-9-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865824261274728?= X-GMAIL-MSGID: =?utf-8?q?1747865824261274728?= Writing this bit can be handled by the DT syscon-reboot driver. Enable that driver and remove the machine_desc version. Signed-off-by: Andrew Davis Reviewed-by: Linus Walleij Tested-by: Fabian Vogt Reviewed-by: Fabian Vogt --- arch/arm/mach-nspire/Kconfig | 2 ++ arch/arm/mach-nspire/mmio.h | 3 --- arch/arm/mach-nspire/nspire.c | 10 ---------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-nspire/Kconfig b/arch/arm/mach-nspire/Kconfig index b7a3871876d7..0ffdcaca1e6b 100644 --- a/arch/arm/mach-nspire/Kconfig +++ b/arch/arm/mach-nspire/Kconfig @@ -9,5 +9,7 @@ config ARCH_NSPIRE select ARM_VIC select ARM_TIMER_SP804 select NSPIRE_TIMER + select POWER_RESET + select POWER_RESET_SYSCON help This enables support for systems using the TI-NSPIRE CPU diff --git a/arch/arm/mach-nspire/mmio.h b/arch/arm/mach-nspire/mmio.h index 48e32f13f311..2ce0656139ec 100644 --- a/arch/arm/mach-nspire/mmio.h +++ b/arch/arm/mach-nspire/mmio.h @@ -5,9 +5,6 @@ * Copyright (C) 2013 Daniel Tang */ -#define NSPIRE_MISC_PHYS_BASE 0x900A0000 -#define NSPIRE_MISC_HWRESET 0x08 - #define NSPIRE_PWR_PHYS_BASE 0x900B0000 #define NSPIRE_PWR_VIRT_BASE 0xFEEB0000 #define NSPIRE_PWR_BUS_DISABLE1 0x18 diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c index 2d4abb0288b9..1e13337972dd 100644 --- a/arch/arm/mach-nspire/nspire.c +++ b/arch/arm/mach-nspire/nspire.c @@ -27,16 +27,6 @@ static const char *const nspire_dt_match[] __initconst = { NULL, }; -static void nspire_restart(enum reboot_mode mode, const char *cmd) -{ - void __iomem *base = ioremap(NSPIRE_MISC_PHYS_BASE, SZ_4K); - if (!base) - return; - - writel(2, base + NSPIRE_MISC_HWRESET); -} - DT_MACHINE_START(NSPIRE, "TI-NSPIRE") .dt_compat = nspire_dt_match, - .restart = nspire_restart, MACHINE_END From patchwork Thu Oct 27 18:13:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11917 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp387166wru; Thu, 27 Oct 2022 11:19:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6p/PzWJGa4ajeWuDKJ4bUzy0j96bgBKAqTyyG1psGq5qHsFPXDlMjmYCvIJybyIaqhW9qS X-Received: by 2002:a17:90b:3141:b0:20d:1690:d3d2 with SMTP id ip1-20020a17090b314100b0020d1690d3d2mr11684818pjb.230.1666894787879; Thu, 27 Oct 2022 11:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894787; cv=none; d=google.com; s=arc-20160816; b=AdsyLnThCB7+ipE/dZFUxst8ysRP3KJSrcBoW2H1TPzQerQvYULln+dRkRpYj297Pz NwFh+5N3/p2bNliMhUh/Y+YIKNojq5OIJp4jDX50Pea1cWU0FcZ7zikQPGQQZv3ledWV TDTiwu68mHS3zgRbwS6lVzzX/Xcmt7Tv4+7try2GR3ee3H9ec64G8FZadIg61bLnLtai du0XqCIrM3HaIcHWN6bKkeKJUlvext7rSo1n3ZCKVePxClfX4Ywhh2/fyziMQEFwKpnE qP08PVN/Ll0BAqyLOwdpCW72jIEcm/RhnIyocY9IQWf7KYn2pxh17auEH8vvy+hhFVCe POPg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5AJeBJwCUa9BWZZmmaVkzM9xz4RJkm0ZLGTqRR/eOmw=; b=RjqiHWwyqAGC5khyEdGzTcaL2Z8W27ZK8kWYJqdnXo3gSUQoxINw/zR5PjdbWFQivc 9DNJkVwGSXwa3z2tLOiD9xKulEkRKC3hizP7MkW2sYq1ZmXoehjPZ823HJRO08KD7+j+ rJxSIdjW0o0RUzgvYRdBf0MC2P52YwQpFwG488iJD4eXblrpeHwbLbyzeC+ADA3UKukL S+JHWiV2eQ2CumAqUwmLiNn93rkzy4T+SCe+wdV13C0gQ2cnkClnEiOkQwUxoTPtwpgz OtW7BqPKJMG594yyTpumUSdcMqsdFWpuK0YCzaeZeQ8y0ektZ9eViLXegXtg187mgruy LSOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l4rtcddT; 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 pv8-20020a17090b3c8800b0021313aa3e48si2405216pjb.136.2022.10.27.11.19.35; Thu, 27 Oct 2022 11:19:47 -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=l4rtcddT; 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 S236373AbiJ0SOg (ORCPT + 99 others); Thu, 27 Oct 2022 14:14:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236356AbiJ0SOC (ORCPT ); Thu, 27 Oct 2022 14:14:02 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 781B9193DF; Thu, 27 Oct 2022 11:14:01 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29RIDiHD021459; Thu, 27 Oct 2022 13:13:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666894424; bh=5AJeBJwCUa9BWZZmmaVkzM9xz4RJkm0ZLGTqRR/eOmw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=l4rtcddT9A0E/3FmaW2yn1cdbLB/bzoT73dKqxiJpPmxsRfO6KIFiYQM3dxbMIVQi 5kR+sbw4fFlJcI4Kl0bb2kfULqQKDDMLiz207s4YpldbO9fNE1L5ULXuUSRiWKtyhN 1zh8LlVcAZwa+5Bk0rF0JmhDFMN1+nlRzG4rskJo= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29RIDiOx039704 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Oct 2022 13:13:44 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE109.ent.ti.com (10.64.6.30) 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:44 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE104.ent.ti.com (10.64.6.25) 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:44 -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 29RIDbe5108447; Thu, 27 Oct 2022 13:13:43 -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 9/9] ARM: nspire: Remove unused header file mmio.h Date: Thu, 27 Oct 2022 13:13:37 -0500 Message-ID: <20221027181337.8651-10-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221027181337.8651-1-afd@ti.com> References: <20221027181337.8651-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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?1747865869020563677?= X-GMAIL-MSGID: =?utf-8?q?1747865869020563677?= The Nspire boardfile platform drivers have all been converted. None of the definitions in this header are used anymore. Remove it. While here lets remove all the other unused headers and the file name from in the file itself. Signed-off-by: Andrew Davis --- arch/arm/mach-nspire/mmio.h | 13 ------------- arch/arm/mach-nspire/nspire.c | 14 -------------- 2 files changed, 27 deletions(-) delete mode 100644 arch/arm/mach-nspire/mmio.h diff --git a/arch/arm/mach-nspire/mmio.h b/arch/arm/mach-nspire/mmio.h deleted file mode 100644 index 2ce0656139ec..000000000000 --- a/arch/arm/mach-nspire/mmio.h +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/mach-nspire/mmio.h - * - * Copyright (C) 2013 Daniel Tang - */ - -#define NSPIRE_PWR_PHYS_BASE 0x900B0000 -#define NSPIRE_PWR_VIRT_BASE 0xFEEB0000 -#define NSPIRE_PWR_BUS_DISABLE1 0x18 -#define NSPIRE_PWR_BUS_DISABLE2 0x20 - -#define NSPIRE_LCD_PHYS_BASE 0xC0000000 diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c index 1e13337972dd..2fbfc23237ff 100644 --- a/arch/arm/mach-nspire/nspire.c +++ b/arch/arm/mach-nspire/nspire.c @@ -1,23 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * linux/arch/arm/mach-nspire/nspire.c - * * Copyright (C) 2013 Daniel Tang */ -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include - -#include "mmio.h" static const char *const nspire_dt_match[] __initconst = { "ti,nspire",