From mboxrd@z Thu Jan 1 00:00:00 1970 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 B5FA6C433F5 for ; Thu, 27 Jan 2022 16:03:30 +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:Message-ID:In-Reply-To: Date:From:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Owner; bh=aAbo3KhvlbFwbeGyn69eQEwygM217wIWTo2ispIc4Ok=; b=4QCnx1J2ki4AI4 IWYumxD+EbgvlkXwZ22Hu5EhbWJS1kIWliv9h5fulNjwBdv0vxeFVjicdyZ18IQlmHU/IY4K2+GGV ASm0DGvXQdkVS1yXWihVzC9AFA7DaBXJWtYWJX45fk270vTvuj7SkYvN3uXgP3VbtHJ55D16OLZhS pKhq1eOt3JytNne0cP4+DgG4ZhjmsBr2dTkDwXDyySNYRi7jx2o6BjJXbfETbhg9hqruNUetilK5k 3aqQTa3Tg3DVuqRbqH5Lw5X8pP9C1xjRCERz8A75UkfqoXi2Sk8LCOq6Poe0dV2/MtKlvi1vTr1IF vV5aVulgoVfWg4ercLUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD7Dh-00GM6J-Md; Thu, 27 Jan 2022 16:01:57 +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 1nD7Dd-00GM5E-1e; Thu, 27 Jan 2022 16:01:54 +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 7970E61776; Thu, 27 Jan 2022 16:01:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B390C340E4; Thu, 27 Jan 2022 16:01:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643299311; bh=3/ftHOrd7wDoa/uZYX55jvXNcIF7mY0vevPDTfsS7xQ=; h=Subject:To:Cc:From:Date:In-Reply-To:From; b=KImDnz52ZOc/a45sBWn926eiOpkSRYxYy9vvErLLLK8yuqKxwRMLXt1UzpOXJ1OHz ieoBxRa4KOzIcF/JD7faFq9HUIcMO8FSdin4pY6o+1nUiQi97BKzMC7Z5onAR9k9z3 Kx1uZ5I9kMx3e3WrnN2l/yifYRwv+sLi/aE8/q0k= Subject: Patch "ARM: dts: gpio-ranges property is now required" has been added to the 5.4-stable tree To: bcm-kernel-feedback-list@broadcom.com, eric@anholt.net, f.fainelli@gmail.com, gregkh@linuxfoundation.org, jan.kiszka@web.de, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, mark.rutland@arm.com, nsaenz@kernel.org, olof@lixom.net, phil@raspberrypi.com, rjui@broadcom.com, robh+dt@kernel.org, sbranden@broadcom.com, stefan.wahren@i2se.com, wahrenst@gmx.net Cc: From: Date: Thu, 27 Jan 2022 17:01:49 +0100 In-Reply-To: <20220125194222.12783-8-f.fainelli@gmail.com> Message-ID: <16432993096685@kroah.com> MIME-Version: 1.0 X-stable: commit X-Patchwork-Hint: ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_080153_205296_603F9326 X-CRM114-Status: GOOD ( 15.65 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is a note to let you know that I've just added the patch titled ARM: dts: gpio-ranges property is now required to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: arm-dts-gpio-ranges-property-is-now-required.patch and it can be found in the queue-5.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From foo@baz Thu Jan 27 04:40:37 PM CET 2022 From: Florian Fainelli Date: Tue, 25 Jan 2022 11:42:22 -0800 Subject: ARM: dts: gpio-ranges property is now required To: stable@vger.kernel.org Cc: Phil Elwell , Stefan Wahren , Florian Fainelli , Jan Kiszka , Linus Walleij , Olof Johansson , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Eric Anholt , Stefan Wahren , Nicolas Saenz Julienne , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), linux-gpio@vger.kernel.org (open list:PIN CONTROL SUBSYSTEM), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE) Message-ID: <20220125194222.12783-8-f.fainelli@gmail.com> From: Phil Elwell commit c8013355ead68dce152cf426686f8a5f80d88b40 upstream Since [1], added in 5.7, the absence of a gpio-ranges property has prevented GPIOs from being restored to inputs when released. Add those properties for BCM283x and BCM2711 devices. [1] commit 2ab73c6d8323 ("gpio: Support GPIO controllers without pin-ranges") Link: https://lore.kernel.org/r/20220104170247.956760-1-linus.walleij@linaro.org Fixes: 2ab73c6d8323 ("gpio: Support GPIO controllers without pin-ranges") Fixes: 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio hogs") Reported-by: Stefan Wahren Reported-by: Florian Fainelli Reported-by: Jan Kiszka Signed-off-by: Phil Elwell Acked-by: Florian Fainelli Reviewed-by: Linus Walleij Link: https://lore.kernel.org/r/20211206092237.4105895-3-phil@raspberrypi.com Signed-off-by: Linus Walleij Acked-by: Florian Fainelli Signed-off-by: Olof Johansson [florian: Remove bcm2711.dtsi hunk which does not exist in 5.4] Signed-off-by: Florian Fainelli Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/bcm283x.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -183,6 +183,7 @@ interrupt-controller; #interrupt-cells = <2>; + gpio-ranges = <&gpio 0 0 54>; /* Defines pin muxing groups according to * BCM2835-ARM-Peripherals.pdf page 102. Patches currently in stable-queue which might be from f.fainelli@gmail.com are queue-5.4/pinctrl-bcm2835-drop-unused-define.patch queue-5.4/arm-dts-gpio-ranges-property-is-now-required.patch queue-5.4/pinctrl-bcm2835-add-support-for-wake-up-interrupts.patch queue-5.4/pinctrl-bcm2835-change-init-order-for-gpio-hogs.patch queue-5.4/pinctrl-bcm2835-refactor-platform-data.patch queue-5.4/pinctrl-bcm2835-match-bcm7211-compatible-string.patch queue-5.4/pinctrl-bcm2835-add-support-for-all-gpios-on-bcm2711.patch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel