Message ID | 20230107144149.5743-2-klaus.kudielka@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1329726wrt; Sat, 7 Jan 2023 06:50:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+3R5sZGBef2lq7l1eff/Bx2XobwZmBrJB5OLtn2UQjBm6K5rimZJZP9NWWMX4bgcC2+yX X-Received: by 2002:a05:6a20:c508:b0:af:82aa:49e with SMTP id gm8-20020a056a20c50800b000af82aa049emr57357231pzb.2.1673103049908; Sat, 07 Jan 2023 06:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673103049; cv=none; d=google.com; s=arc-20160816; b=cKJ6xLdgfJ+R9JNeUfkkmPppdIajUhkwBgE2Tafi5UEwDEIHx3wuo7ad7BAkYL3xrs ZvDRvizoEZLXiF/+3CCYF1lECLoEsq2eC1QQ5CDnsGIQbxwLz7ZL4d89Z9jAsmfd0Fmg sYZFN1J6FcisMZLrycnWBZ03vYuSR2uJLK+LnjgKBDNETtjXgBlcwZGJAeH71RzbN7Da 8lmA4XOxiQEmeu+fYz2aUN8qGC5dWWb6eP2/z7SZyAeEKM3uowHvINRQCr2IsciUu0LI 9j+ZhcApvJ+n93I7QviTs4Kc6jjPw8SCjZ3ToK5fs9lCz9P41m6pow6qTncZlUkSXer1 N/tg== 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=KflpauUnWgC57RkikrRwZ2S6zi1pavAFyzypxpmWhoY=; b=KZNdfY/YokuOOc6el1uAeO3eRef7/2fWhzKedutei56JkTTNpymmkU4M0Rswy+efeB GgrafvQNGDrEWU6BqpUjvtPAhx/rT3fth+U60Fu7jJDTww2j+xfoXElenNpjQh+WLbZ1 7sQU+G7Yix7QfNE6FzZgtX8xTT4V1n8VF4f6ZW5tV/P5dDqeCaLrnzxNk8lVwPgjdPO9 bnV9KGUBLUnCDTKDvXkKeNDwPbJoq4fBrom1DVOCa7HheY8TNxp8HmxrcRLWpPb9XAB8 QgeEdxKsTF2/gLZ1w0bV1oolWZ+iYS/pdy5Vm6AIni8DYdOx9W2Ke0ke9eOGsN8H/deT EBlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Tqv56ClW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a63db58000000b0049b262ac916si4812723pgi.566.2023.01.07.06.50.23; Sat, 07 Jan 2023 06:50:49 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=Tqv56ClW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232665AbjAGOnn (ORCPT <rfc822;dolce.eric@gmail.com> + 99 others); Sat, 7 Jan 2023 09:43:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231859AbjAGOn2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 7 Jan 2023 09:43:28 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 711F758F99; Sat, 7 Jan 2023 06:43:27 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so679165wma.1; Sat, 07 Jan 2023 06:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KflpauUnWgC57RkikrRwZ2S6zi1pavAFyzypxpmWhoY=; b=Tqv56ClWmcwHVhAUExXSWB5Pp3P0Zu7LJIe/Bl+SGUESQ/WQIHSuKzg0Y3jwA2+IIs QKJknyep1mSJ3Z0JDDEyCYB9+fdRAnBJAiz1t43ArrxDA6AcMDGlkgyVfV74tHt1KciO EwWyxR2hAXrAaG+1EkG1yWvv8R9YxCShXQADAMcPTzms3xTr5S7Us2mmyO0P6BHx8eBH eYgEZ+JXQ5tQvNr4xzuCPuVQIPSo87Zf6XL47R11boJZw/PAKNoLNwyi34NISpNqwQOH W8/shlStEn+YnhUgCerNn/lYkf16RtZC2sIit3L9cSJLGft1fBwCp8ZdK47vLIR5f3KA EDOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KflpauUnWgC57RkikrRwZ2S6zi1pavAFyzypxpmWhoY=; b=Hkf8vewL6UW2KwlesxT/ePueDO9yMQ1jMMQxiBdzSYV6hDItD6zvsX986zBDkwJBTM V7GTsbq2TAENVdBN/Pr/MvZxZ8IG9pVQa0XfpKydQyUYUZlbKhsCyaelDKPbCnZVHoKD hV7fBI8ic0qJ+15pkFw6ac3zD4YbCclirBagDIQCtVJf2w3I9gglcdXlWXVNKapyTZ6P GmwactD8uKmxuPdyIBPm0OZkVRFDYQSWAtVR/Exe918ptIa5C1z9a039P7se21WHwovL +xInBd/FoqB/pRa/+20ascNgRyTSO0GyQQbgJnacCcY0ZLpiw5x5dbI7RX87ZLD2vaJK xGFQ== X-Gm-Message-State: AFqh2kq/JGekBoB/Doi0Trm4+fXX0BeLX7m5lYGiRg4Ed2GCC59pdu8O Bk3QjoNoiEkg/trRP/Z8QW4= X-Received: by 2002:a05:600c:42c7:b0:3d2:3ae8:885b with SMTP id j7-20020a05600c42c700b003d23ae8885bmr41848980wme.28.1673102605972; Sat, 07 Jan 2023 06:43:25 -0800 (PST) Received: from mars.. ([2a02:168:6806:0:40f6:41b6:8914:e80b]) by smtp.gmail.com with ESMTPSA id h19-20020a05600c351300b003d9a86a13bfsm6056106wmq.28.2023.01.07.06.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 06:43:25 -0800 (PST) From: Klaus Kudielka <klaus.kudielka@gmail.com> To: "Andrew Lunn" <andrew@lunn.ch>, "Gregory Clement" <gregory.clement@bootlin.com>, "Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>, "Rob Herring" <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, =?utf-8?q?Pali_R?= =?utf-8?q?oh=C3=A1r?= <pali@kernel.org>, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, Chris Packham <chris.packham@alliedtelesis.co.nz>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Klaus Kudielka <klaus.kudielka@gmail.com> Subject: [PATCH v2 2/2] Revert "ARM: dts: armada-39x: Fix compatible string for gpios" Date: Sat, 7 Jan 2023 15:41:49 +0100 Message-Id: <20230107144149.5743-2-klaus.kudielka@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230107144149.5743-1-klaus.kudielka@gmail.com> References: <20230107144149.5743-1-klaus.kudielka@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754375703777492030?= X-GMAIL-MSGID: =?utf-8?q?1754375703777492030?= |
Series |
[v2,1/2] Revert "ARM: dts: armada-38x: Fix compatible string for gpios"
|
|
Commit Message
Klaus Kudielka
Jan. 7, 2023, 2:41 p.m. UTC
This reverts commit d10886a4e6f85ee18d47a1066a52168461370ded.
If compatible = "marvell,armadaxp-gpio", the reg property requires a
second (address, size) pair, which points to the per-CPU interrupt
registers <0x18800 0x30> / <0x18840 0x30>.
Furthermore:
Commit 5f79c651e81e explains very well, why the gpio-mvebu driver does not
work reliably with per-CPU interrupts.
Commit 988c8c0cd04d deprecates compatible = marvell,armadaxp-gpio for this
reason.
Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
---
v1->v2: Be more explicit about the reg property.
arch/arm/boot/dts/armada-39x.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Sat, Jan 07, 2023 at 03:41:49PM +0100, Klaus Kudielka wrote: > This reverts commit d10886a4e6f85ee18d47a1066a52168461370ded. > > If compatible = "marvell,armadaxp-gpio", the reg property requires a > second (address, size) pair, which points to the per-CPU interrupt > registers <0x18800 0x30> / <0x18840 0x30>. > > Furthermore: > Commit 5f79c651e81e explains very well, why the gpio-mvebu driver does not > work reliably with per-CPU interrupts. > Commit 988c8c0cd04d deprecates compatible = marvell,armadaxp-gpio for this > reason. > > Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
Andrew Lunn <andrew@lunn.ch> writes: > On Sat, Jan 07, 2023 at 03:41:49PM +0100, Klaus Kudielka wrote: >> This reverts commit d10886a4e6f85ee18d47a1066a52168461370ded. >> >> If compatible = "marvell,armadaxp-gpio", the reg property requires a >> second (address, size) pair, which points to the per-CPU interrupt >> registers <0x18800 0x30> / <0x18840 0x30>. >> >> Furthermore: >> Commit 5f79c651e81e explains very well, why the gpio-mvebu driver does not >> work reliably with per-CPU interrupts. >> Commit 988c8c0cd04d deprecates compatible = marvell,armadaxp-gpio for this >> reason. >> >> Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com> > > Reviewed-by: Andrew Lunn <andrew@lunn.ch> Applied on mvebu/fixes Thanks, Gregory > > Andrew
diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index 1e05208d9f..9d1cac49c0 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -213,7 +213,7 @@ nand_pins: nand-pins { }; gpio0: gpio@18100 { - compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; + compatible = "marvell,orion-gpio"; reg = <0x18100 0x40>; ngpios = <32>; gpio-controller; @@ -227,7 +227,7 @@ gpio0: gpio@18100 { }; gpio1: gpio@18140 { - compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; + compatible = "marvell,orion-gpio"; reg = <0x18140 0x40>; ngpios = <28>; gpio-controller;