From patchwork Thu Jul 14 18:33:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12918401 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 4BAC7C43334 for ; Thu, 14 Jul 2022 18:35:42 +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:References:In-Reply-To: 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: List-Owner; bh=t/nT8Re/O5cuxU5kmtg0iUJewTufPPpNbXarvX3VuqU=; b=bb5hiohFxGzga1 eFe1lEfrOWIYETztPSt9lY8ZQ2CZBgkhBvb511fadAIxKqVSDuCCDSh+m3ScmeJj+EdDcPjRUO+9s o8/sZ8fWWI0i4RuepWY/j/ULGo9Gj7uTxPk7VpCmJPHccd+qXyB2EboKwRKvnE2bKDL7d4RWOhNoi E5xf1TAz0f+uHGooSVVd/LnvX9zM/DQ5v8RN7u2p5dNFsTkf5UDkMdrtLDtGYKUdmxIbQ2R4vcc/Y pDusCVodyS28LhYGxsYkGKZCAHYdUNUqW1D4ySynv8bvvtL5Wu4h++XWunaZjiV3AIbHpds2Hpet2 sa7WsOB9FoT77BC7WFow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oC3ey-00HCy2-UH; Thu, 14 Jul 2022 18:34:01 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oC3eq-00HCqc-AZ for linux-arm-kernel@lists.infradead.org; Thu, 14 Jul 2022 18:33:53 +0000 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 074C36219D; Thu, 14 Jul 2022 18:33:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F11EC34114; Thu, 14 Jul 2022 18:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657823629; bh=bHCnfGkhpaHt2kUmFet5jXNnahSMUqgBM2cXP2rBui0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bZd0G25prIji2WDZJmJlw3IwGC+82ufpan0eYMMxgadiOkf/SPXupvckuyP2PdRT3 rdlqcmCvpQN2Pj0CeTQLJ4v/2ntGHKdfgRAkAimuzt9IJaIBVnc6+PmBFpLmCNlqrh LEqIM9sr4TkUPgFzHTKZCL8IF1wWwzuW4mHnj3/H3eWtDjKyvWdjo76bwEUqG1z8+I Rho9hfyg8vagdie1yhw6ldFpE2Jv4ATrCpujEwNQ6sa6ErtwlxpigOdjmYYMpoRm5x XpKPLY/ipudlE+oV15ZBbK7+qqI8LVmgndIhJdcrPWHgdd8FyM4ADmcRPb42xAd2Q2 bUJVq8LTihxHA== Received: by pali.im (Postfix) id AE7DC277A; Thu, 14 Jul 2022 20:33:46 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= , Lee Jones , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , =?utf-8?q?Marek_Be?= =?utf-8?q?h=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 v2 4/4] ARM: dts: armada-39x: Fix compatible string for gpios Date: Thu, 14 Jul 2022 20:33:28 +0200 Message-Id: <20220714183328.4137-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220714183328.4137-1-pali@kernel.org> References: <20220714115515.5748-1-pali@kernel.org> <20220714183328.4137-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220714_113352_413651_DD72FFF2 X-CRM114-Status: GOOD ( 14.00 ) 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 Armada 39x supports per CPU interrupts for gpios, like Armada XP. So add compatible string "marvell,armadaxp-gpio" for Armada 39x GPIO nodes. 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: d81a914fc630 ("ARM: dts: mvebu: armada-39x: add missing nodes describing GPIO's") --- arch/arm/boot/dts/armada-39x.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index e0b7c2099831..ef3a3859802c 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -213,7 +213,7 @@ }; gpio0: gpio@18100 { - compatible = "marvell,orion-gpio"; + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; reg = <0x18100 0x40>; ngpios = <32>; gpio-controller; @@ -227,7 +227,7 @@ }; gpio1: gpio@18140 { - compatible = "marvell,orion-gpio"; + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; reg = <0x18140 0x40>; ngpios = <28>; gpio-controller;