From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752616AbcF2ScO (ORCPT ); Wed, 29 Jun 2016 14:32:14 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:56366 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbcF2ScM (ORCPT ); Wed, 29 Jun 2016 14:32:12 -0400 Date: Wed, 29 Jun 2016 19:31:59 +0100 From: Mark Brown To: Vitaly Andrianov Cc: Lee Jones , Arnd Bergmann , linux-kernel@vger.kernel.org Message-ID: <20160629183159.GO6247@sirena.org.uk> References: <57740329.1080702@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="E+IgQzR66AIOcbjA" Content-Disposition: inline In-Reply-To: <57740329.1080702@ti.com> X-Cookie: You are always busy. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 37.205.61.206 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: using the same regmap by multiple device drivers X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --E+IgQzR66AIOcbjA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 29, 2016 at 01:19:37PM -0400, Vitaly Andrianov wrote: > Here is my question. Is that actually possible to use in regmap framework > the same registers in multiple different drivers? Of course, this is how the vast majority of MFDs work. The regmap has no idea what's calling it, it can't tell if a call comes from one driver or another. --E+IgQzR66AIOcbjA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXdBQeAAoJECTWi3JdVIfQ3n4H/3Cm3AhKh7/1BHNu8dlnfRZS LmPjQVnOtjAsXwcPdulCf7bYWayJAL0/1EmUWE9j7/u4T9JHHWz59+whg7dttiG+ RQFr1HlC/AuUrah8/7lS0WhWzykStzRK+mOab/6wbltXTDsNAdYHmHiYg+tHay3F UuA4DbhHlQpSnTFOXx7br5VqiXUVuqlfSMv2QO5MwmsM/Dka72Nu41Pnp89vf/j3 B1+tT8lDCwcM4Oqaxw027uWyhUXtiRATOP5/oS2x+XAevN9AhUp+yU/Hy4IZlsRp AYZNmrwIqWp+gu3EEmGMsp1TVt7AtVdvlmeNZrLESuwy0UJa4E0tHZxhBoZZG8w= =2vpC -----END PGP SIGNATURE----- --E+IgQzR66AIOcbjA--