Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp471408imw; Thu, 14 Jul 2022 05:07:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vWFQSsyepR1tWdgRP4Ndrix1Bq4DmhIMVN/cAE7y1bgWv06jxiVe1uXGJ0tq77ylvtuHIR X-Received: by 2002:a05:6402:2753:b0:43a:d6f2:9839 with SMTP id z19-20020a056402275300b0043ad6f29839mr11599370edd.73.1657800470757; Thu, 14 Jul 2022 05:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657800470; cv=none; d=google.com; s=arc-20160816; b=HtlvDMEZcFHTzrzjV4hNtTXRnx4XrGGo0aGczyzmsd1C6avkj4Yb1QBBpoewE6wyoK 5LHTYEbnQwMymZUSYKTf+GIkDqVNU3FC9yu9yfx6HvxFW42bC9LXTyVpMTY4QC4wYzBN kqkv7GIkW8CFOAsnCvIA+mt66S5Fd9yluWliZkgcQb7Zzjx9PQRUXqmAGqE0haA5/+2Q o26733rR6JMH+l61S/EiIkvvD2Ub87jWEDUBQ9KplqrSXziUpCHwkorFvgItg1C4QIUT CiT/pi0bKGEHT2+vw7Pj/ePhn+bb2Emx5rQv5I/r6qcA6L0cbj1e8GyUgZ65A0CicmXb x4BQ== 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=YmezmnF/qhWeFMF5T3NWaye8e3Noswt2dTESqtDOf4Q=; b=SPXazzqrWAtV5p3JeSqiVmGsu6AqD7kzHgWQA4XlpLlVxIvHfZR4PmR2OCHNZecAho rsGgHIj+5Tc7zXlXKSfE8KlcBy0ppKavkIw45bEWhawgWnGDYTcWJ4hVm4oAPnnPREld GAgrj/Ma5+QrETBiHW0Tx3rqxUvvUBjYkFpQ8nhqsS7Jvma4J3q22VFm60QpuN84izRq h0xuybe3bxmp0zdju2tQgZmwIoZga5vb9w+QVfzhG8+hW0bMxPyw+tbdX09g0QQffknZ 8VmAB3/OgiIC7Tai83x5GT9sHYPSP9Q9wwywXMQSZGNcsyY/9/Tw9/6jH1QqDvaSO5tc XIvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QHkzOIqD; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a05640235d600b0043769e9d1bdsi2099489edc.467.2022.07.14.05.07.25; Thu, 14 Jul 2022 05:07:50 -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=@kernel.org header.s=k20201202 header.b=QHkzOIqD; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239125AbiGNL4U (ORCPT + 99 others); Thu, 14 Jul 2022 07:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239100AbiGNL4O (ORCPT ); Thu, 14 Jul 2022 07:56:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D24373B973; Thu, 14 Jul 2022 04:56:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F8F061A7B; Thu, 14 Jul 2022 11:56:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D68AC385A5; Thu, 14 Jul 2022 11:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657799772; bh=KG4givLWyqqySRMF0vaCp1vCFRAlBgr68900m9VDOgE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QHkzOIqDiBSLfUkFX5faUUwZ8Yz2gHyLz0Rookz6nOnp5J8RRnFVoTip5osmTm+jz VeXFKoKFXPExhhh7KhWzFQZGE9U1gyxIvK5ssEdWnmz9lUPhpU1uiNzyziE37kaV9F WvLYh6cmXbY3frAiZ0bvwqM/82EKQFn7AHQ9IEMm5vYwbwsjS8PVmulQhJbB++JdTq 8ZfbXYA42/3pmIPo8MyXdC8+uO3SD7v0tc/z3XvIirMj1mR7g7iKOkXlt+T1xSsuj6 6cqC8pfHOYeB59REVVpMLKOjJUq9v/OLVXw/oBX+C9pC2ZSUxYVScb0o8MjHpTkztQ PHyYkeCSncuTw== Received: by pali.im (Postfix) id CDAA113D3; Thu, 14 Jul 2022 13:56:09 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: armada-38x: Fix compatible string for gpios Date: Thu, 14 Jul 2022 13:55:14 +0200 Message-Id: <20220714115515.5748-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220714115515.5748-1-pali@kernel.org> References: <20220714115515.5748-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Armada 38x supports per CPU interrupts for gpios, like Armada XP. Pre-XP variants like Armada 370 do not support per CPU interrupts for gpios. So change compatible string for Armada 38x from "marvell,armada-370-gpio" which indicates pre-XP variant to "marvell,armadaxp-gpio" which indicates XP variant or new. Driver gpio-mvebu.c which handles both pre-XP and XP variants already provides support for per CPU interrupts on XP and newer variants. Signed-off-by: Pali Rohár Fixes: 7cb2acb3fbae ("ARM: dts: mvebu: Add PWM properties for armada-38x") --- arch/arm/boot/dts/armada-38x.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index df3c8d1d8f64..9343de6947b3 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -292,7 +292,7 @@ }; gpio0: gpio@18100 { - compatible = "marvell,armada-370-gpio", + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; reg = <0x18100 0x40>, <0x181c0 0x08>; reg-names = "gpio", "pwm"; @@ -310,7 +310,7 @@ }; gpio1: gpio@18140 { - compatible = "marvell,armada-370-gpio", + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; reg = <0x18140 0x40>, <0x181c8 0x08>; reg-names = "gpio", "pwm"; -- 2.20.1