From patchwork Thu Jul 14 11:55:14 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: 12917749 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 8E3A9C433EF for ; Thu, 14 Jul 2022 11:57:27 +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=wiYR655e9d9b44tjRiENBoqaWuERaScWTYKIfUDGy20=; b=mD5U6N5ClY46Ly SI5+O0/ZSnlROiNTQhovpj5MH5xJny4daZsJFOgwa2u4e52s9jrBVBAJezyP0Sw2oFs1C4BeGAl/z XiRWxeeqlJXtFZA44uPUJOeApUGW/EqVxKYwVYgIJG9VmtUSQBl7O7pQEIhfgvCoEivb6Z7/RdXnr Oep9punoZjenzzsGpc0lr7GRyb/TTl3GJsdlmpiBWCAW/+2H2by/dvXRzreBm/Tu8J6LnrzAgjvwi R//IyoSL2cVosEsqvg8F6E/gMmRB0PMlcYAi7MCFnmXklvL5VspNlYk5eV8ADZvVfABVmhQ6MJu94 OcL8hLX/m+DtFsDoFTgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBxSF-00DyN3-FO; Thu, 14 Jul 2022 11:56:27 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBxS2-00DyF1-56 for linux-arm-kernel@lists.infradead.org; Thu, 14 Jul 2022 11:56:15 +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 4817F61DE1; 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_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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220714_045614_252900_6EC130D1 X-CRM114-Status: GOOD ( 14.89 ) 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 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";