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 F1111C352A1 for ; Wed, 7 Dec 2022 18:29:26 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V0mre5znxiWo+W8Vu0MXs2IaX5ewn97zY2Hy8HXqc9Q=; b=dGzRCS1LQ66VYi yS4ANSko3lwR1cHpA4JV0s19DXewFhrSBZaqli6btLoMzne3OYdK4a4Yfk5uQfGtRn3h+ALqKjd7E UN9sdBAcpqMQUF8j/KiiLU2v9SA1/YCUGnbvekSdUcKWuimUdiS8hWVsYZ+oilg6qJXajORgJrRXN hxD2LxX3BY5nWooochpbTJ3lcNRwEawcE8QktMD9zlEYzI/sp27DwKdahoo6ca4Vs5AKtY2IVi/LY wQn9f8OvvWSVOZhGYRe52lwKffPaLJgq2byg+negVx228rX2ZrKbx1DWngwFMoIB3GU0YAwLJsimp x9tj/MYxeQHgpEDBEDyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2z9K-008cvi-65; Wed, 07 Dec 2022 18:28:06 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2z9H-008cbg-3r for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2022 18:28:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XAqZYbN/y12h28N9Di+NOYD0uzPdv1lmdVBD1XOA8Eo=; b=ej3zlIxboykYelDWedHivgskS1 RT4tMkrmINoeJdfnI8cshnY7PllX+tO3f5VgxAsdJdwx1+5qfcQfW6eNUk0FBaqMgGj1KXO999YC9 aOxF1f4FIPdh0BMvkNgD10NVnVrddEAxvpO1RusdutGRqFr2Q/3q2Oa3I+S1a5Iw72MvV7QWHasUS 2vf/0hkopKwHLSV4PWxnowsMndFldPYw3+h2DFGTvhe1aPfz1NwSarF1dI+7NFZ0Wh0aIZnf26s9D W4u/zS/28QdIw7ko9JDxdlh9FstvgkiC8RmwMwWlMRcovBuYXTsW0s7r88MLTBCL5fZ5mTShqEpxC kygqdgVg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35620) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p2z99-0000tA-4x; Wed, 07 Dec 2022 18:27:56 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1p2z96-0000wE-3A; Wed, 07 Dec 2022 18:27:52 +0000 Date: Wed, 7 Dec 2022 18:27:52 +0000 From: "Russell King (Oracle)" To: Jonathan =?iso-8859-1?Q?Neusch=E4fer?= Cc: Andrew Lunn , linux-arm-kernel@lists.infradead.org, Robert Jarzmik , Haojian Zhuang , Daniel Mack , linux-kernel@vger.kernel.org Subject: Re: PXA25x: GPIO driver fails probe due to resource conflict with pinctrl driver Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221207_102803_172415_3F1AF0FD X-CRM114-Status: GOOD ( 18.71 ) 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Dec 07, 2022 at 05:44:58PM +0100, Jonathan Neusch=E4fer wrote: > On Wed, Dec 07, 2022 at 03:41:11PM +0000, Russell King (Oracle) wrote: > > On Wed, Dec 07, 2022 at 04:28:07PM +0100, Andrew Lunn wrote: > [...] > > > How are the registers arranged? > > = > > As documented in drivers/gpio/gpio-pxa.c - it'll be easier for you to > > look there rather than for me to explain it - but suffice it to say > > that the pinctrl registers are amongst the GPIO registers. > > = > > > Is 0x40e00000-0x40e0ffff simply too > > > large, and making it smaller would fix the issue? Or are the registers > > > interleaved? > > = > > They're interleaved. Looking at the .dtsi file for PXA25x, it seems > > that the pinctrl claims just the addresses that it needs, but the GPIO > > controller has no reg property in the .dtsi, so I'm not sure what fills > > that information in. > = > The GPIO reg property is in pxa2xx.dtsi. Looks to me like pxa25x should override the reg property with a smaller range (0x54) and pxa27x probably should have used a second set of entries in reg the subsequent group of 3 gpio blocks at offset 0x100. -- = RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel