From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/3] MFD: twl6040: Allocate IRQ numbers dynamically Date: Fri, 4 May 2012 12:22:05 +0100 Message-ID: <20120504112204.GE14230@opensource.wolfsonmicro.com> References: <1336049665-27777-1-git-send-email-peter.ujfalusi@ti.com> <1336049665-27777-3-git-send-email-peter.ujfalusi@ti.com> <20120503132004.GB14296@sirena.org.uk> <4FA2881B.6010902@ti.com> <20120503145248.GJ3955@opensource.wolfsonmicro.com> <4FA2A08C.5000403@ti.com> <20120503152643.GM3955@opensource.wolfsonmicro.com> <4FA3958A.4080206@ti.com> <20120504090856.GA14230@opensource.wolfsonmicro.com> <4FA3B182.5060001@ti.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4556966355915982609==" Return-path: In-Reply-To: <4FA3B182.5060001-l0cyMroinI0@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Peter Ujfalusi Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Misael Lopez Cruz , Liam Girdwood , Samuel Ortiz List-Id: devicetree@vger.kernel.org --===============4556966355915982609== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d8Lz2Tf5e5STOWUP" Content-Disposition: inline --d8Lz2Tf5e5STOWUP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 04, 2012 at 01:37:54PM +0300, Peter Ujfalusi wrote: > On 05/04/2012 12:08 PM, Mark Brown wrote: > > You're not understanding the issue at all - the issue is that if > > some driver outside the twl6040 driver is using an interrupt in that > > range based off the irq_base that they supplied then you'll break them. > > The most common case here is using GPIOs on the device as interrupts. > The OMAP platform related drives has been already converted to use > irq_alloc_descs(-1, 0, nr_irqs, 0); to map their range (including GPIO, > twl6030, etc). How does this work for interrupts on things like SPI and I2C devices? --d8Lz2Tf5e5STOWUP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJPo7vSAAoJEBus8iNuMP3dBhAP/RbMkG03AYo1nlN3pH8ksL0x 9Ru9bbxKcrv6Hh6eVwMUvQHqonnoujT9EwgH0iQDdxjQV9GLLUWgrKJoz0n9v+RR C7B2ZIY7cE6RXxoprx5FKz//ATtTF40DXsX5XAydoSffn9UEdiIQlRsxvO2xwkDV J9cSd+kmJI6qN6H0oMkaSsRRZSywcg2aQN4LbIenSzM7//uNbCobXy1c9/aBqc5i zFrNyVYHmM8mEV6L+WeCFnwj7Rjj6i/voJncmItgroxMCYMxUsnHHHOeOMP0Y01c EE4UxPIXv8Ol6NMPKd27hQq5t3vlFBGkI18d4hEzPb0o3JnWPUhIDhoPlqzL+9A4 rjgnO5QJ6CwO4dfl8yQ2mzLoEIectej+IqLqZlRQRQIariqHW4RHo0R6bhtVD5kn whBVCaVpmCZOovku/c8UeZEIdNLDXvv0JlTpBy2mpaNYDfJTzNeBCGw6PQ49kz4Q aS8/qIpNC86XxAe8O9DEfHfHDlc3YKHQ0EIXXowNtQD7sLffwXHdluqFrJjDFTf8 +xFIl1srZ9OkZc1fH68+jFIxeQqQ7eAzo339aA37lLyN4H/eLsA/PFDuIU3W4Thh OO5Yequl0T4S0iVVm9n/NhNJnfGCD6tzQXeqRzHIXoLu7U68jw6DSx28tosB5KIi u6IPPJWoPOijKp8xNu35 =+G23 -----END PGP SIGNATURE----- --d8Lz2Tf5e5STOWUP-- --===============4556966355915982609== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss --===============4556966355915982609==--