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 2295AC352A1 for ; Wed, 7 Dec 2022 16:46:13 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jAVPUTzkoviJ33gq6au870yEHaAx/haZrEc7g+gRXhM=; b=igNq6D6GAt68IlpNbQed6s8Ox8 BJ9L+9GQtoSmCr+8F7JUf/N4c83Bht5NigeWju7K2ebKJTSeIVUzl3EKWFLptem1BWDtxKfFJHgfr 2lRI0oWFCLWeeGngMZ2ak+YCl6j9YYDKV9sOPyJdORB6Xw8fhA2PTrksv+DGo+L+EJY/GyjDN7vui dJKSuZdSfI308qkoY+GfDFV8FXYN6iJvfisL63elw9TT5g4lzoKx3n0YJw9zJYoHlTKTiTDMgv/TY VcUCAWRL8TP7rwJtda1Xz5YoGzrGb8G39wJFe7OjAvYFrc3ukYmj69V4SxjaZAmgQLG4KEIBl9cSn ZgTn9j9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2xXi-006t8h-5h; Wed, 07 Dec 2022 16:45:10 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2xXe-006t2b-5w for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2022 16:45:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1670431500; bh=UycZekzkSjqnF2N5+loQlLUpBO/scCgp/bD64AOybyw=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=BhhUIxINl8Jin6/mwCEUM7+dbZN6yi2VAO45J06SPoSCB9MDlINUrh83Isd5+InfZ aqNRg3rmXuoQv7Ex16e95I/AgndaqxuDuzpHHpgTNY59mW0ckAHld8ABNGZKCZHPNy 0JWUBqUJoLFos45S2jD9wHJP3bfxAp7wKxbQ/HEC7WikZ+ZUJJS3Z0IZRK2OZjP9/u aZdzxtZwDMNWKJlnbaP++K1kytAffpq+1j0A3So6V6GF2rO2V/xlWdrt5z+MqgJunt +vmHhJ/EYRxL1us8B/4Nno3Bb3EBaQkVnFIIubQSUWiNG9X9Q8tGd3r34+4hjG+eKp uEwZdq2OAwYMA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.31]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MVvPJ-1pUhZZ2M8j-00RmKU; Wed, 07 Dec 2022 17:45:00 +0100 Date: Wed, 7 Dec 2022 17:44:58 +0100 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: "Russell King (Oracle)" Cc: Andrew Lunn , Jonathan =?utf-8?Q?Neusch=C3=A4fer?= , 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 In-Reply-To: X-Provags-ID: V03:K1:Qyv1+6D31pbICyUtF8wJztcfBXIPqJfe5tRyNZfKUhTGLW7WYST Uso18McbxZmJrI3w+NBRAg49NmE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g99w3/oYnJ3ORQg6Bv+S1sQ+ RjDAQ9DROz6UYIDawKbFpAFw/xOaQRo6JuABSk08DidQJKiC7d6c+4LopxNBayRcLTykYh2GH v8mE3Cp1wnSM8iYLdBvf8ft8chg= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221207_084506_559811_04C71E61 X-CRM114-Status: GOOD ( 21.51 ) 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: multipart/mixed; boundary="===============0356202298013263043==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0356202298013263043== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9eeF8hcRYDtZ6Gsw" Content-Disposition: inline --9eeF8hcRYDtZ6Gsw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? >=20 > 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. >=20 > > Is 0x40e00000-0x40e0ffff simply too > > large, and making it smaller would fix the issue? Or are the registers > > interleaved? >=20 > 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. >=20 > DT could describe the region for PXA25x, which is just: >=20 > 0x40e00000 - 0x40e00054 >=20 > Later PXA have more banks, so would require additional resources to be > listed. >=20 > However, first, we need to know what provides the iomem resource for > this: >=20 > gpio: gpio@40e00000 { > compatible =3D "intel,pxa25x-gpio"; > gpio-ranges =3D <&pinctrl 0 0 84>; > clocks =3D <&clks CLK_NONE>; > }; >=20 > --=20 > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! Jonathan --9eeF8hcRYDtZ6Gsw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEvHAHGBBjQPVy+qvDCDBEmo7zX9sFAmOQwwoACgkQCDBEmo7z X9vPtQ//W+FQ7O1MJS7Wep4GMQxQyamklotEVos/5WUxWxRXD3RE9PP8w0tEyLzP bNUTba+1rJDZO+NL9CJlYLwvD+B8V1gzSpGBc6ak4+4ANGd9GLxdAWM8/rt5QAXv AeGrzXNM1v5gpY+yBQgLf1uW17Aecg3evFasblbjVUXhZiWToyYwbju+83inIAip bQ+49Oru0jdXUIJiygFGqRyUCpOa1BK9Ami5XNBNQo8XtharZTlMBKQFtmS5VdGo cpplEVnwiGJ0BSNzwy93lU+TzRsxSesqPyJja4Lgb5jixtP3CxMy4Jxoi3AU7nOz t9SFVPN2Ps/tBznQkvoz5942TrXAC/5yTzs8cfDHt9zDbXmNaj8QNXG11QTgtrP+ nrElbbI2eYnH1q87ZhwoeBnEA9Fu5jKz2cfCKbXAmNNHIhkOnKEBi/yz/HpySbHY DM+scWSdwnbWIC1u4zFMk0ArZfMcBvLJmUIK04KTUdjVRjjCvR2bmMwN4O/xNQ22 RxQQ4ugZSFYs99AheaAjMHAeWqrWmM88b+HdtH/YreOQ4wlSlfOsHrWdb0jw8Qh5 phqAq5MqSibWgfx+x1FXSl2byQXoqdsDGAStiidsMmu7rNS5vgmGDKgMQvmbYxoW D8VBOKUVEIheoZWGrouRleVDOwamaJc9PpklNSB41hrz0LJJv4E= =o/Ap -----END PGP SIGNATURE----- --9eeF8hcRYDtZ6Gsw-- --===============0356202298013263043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0356202298013263043==--