Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753957AbdFWMAv (ORCPT ); Fri, 23 Jun 2017 08:00:51 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:43232 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbdFWMAu (ORCPT ); Fri, 23 Jun 2017 08:00:50 -0400 Date: Fri, 23 Jun 2017 13:00:43 +0100 From: Mark Brown To: Michael Grzeschik Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de, Philipp Zabel Message-ID: <20170623120043.jgu4i3zbdfraulhc@sirena.org.uk> References: <20170622110320.31926-1-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uaxmqwkuvz2asjt7" Content-Disposition: inline In-Reply-To: <20170622110320.31926-1-m.grzeschik@pengutronix.de> X-Cookie: This bag is recyclable. User-Agent: NeoMutt/20170306 (1.8.0) X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v2] regmap: irq: allow different device for irq chip and regmap X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1352 Lines: 36 --uaxmqwkuvz2asjt7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 22, 2017 at 01:03:20PM +0200, Michael Grzeschik wrote: > If the irq chip device is using the regmap of its parent device or > a syscon regmap that doesn't have an associated device at all, > allow the driver to provide its own device. That makes it possible > to reference the irq controller from other devices running on the > same regmap. I would strongly expect that the regmap for a device would be associated with the physical device, if it's not that seems likely to create further problems. How is this happening? syscon is one potential thing here but it seems odd for the sort of hardware that syscon handles to be a good fit for regmap-irq. --uaxmqwkuvz2asjt7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAllNAusACgkQJNaLcl1U h9BNMQf9Gpx6wN5pvzTP5blsMs27lfqW85EkjJ1n8isSbiXAJ9r9Icj6ASKk14B7 +XNKICV3xL94TuVwxAuxUh9bJqD5S+YHk4QPcRKeqjmxkisIDNse3okBHVwV0njr mlwx/yk4AthWj52Ew6w6xPHUbM4xMAdKPzS1ZadgigCK6lOOPEC/qg5mK90xnrn2 wUR0IeR3e1TKgiiQmxpaYX3sT9fbYr+XMNu90jlWXuT37yZPZhIbjyAnL22ceV8Q MMNYy6LuqAJjAapINPSoV36g/uytod8v3T2vhBCp6deXorL1u59+sKCQIday6XIi YxcWAulXaZ+LUjkDkucQbyiBMz6iVg== =diex -----END PGP SIGNATURE----- --uaxmqwkuvz2asjt7--