From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbcF2SkI (ORCPT ); Wed, 29 Jun 2016 14:40:08 -0400 Received: from bear.ext.ti.com ([198.47.19.11]:35123 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbcF2SkH (ORCPT ); Wed, 29 Jun 2016 14:40:07 -0400 Subject: Re: using the same regmap by multiple device drivers To: Mark Brown References: <57740329.1080702@ti.com> <20160629183159.GO6247@sirena.org.uk> CC: Lee Jones , Arnd Bergmann , From: Vitaly Andrianov Message-ID: <5774157B.6020609@ti.com> Date: Wed, 29 Jun 2016 14:37:47 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160629183159.GO6247@sirena.org.uk> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/29/2016 02:31 PM, Mark Brown wrote: > 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. > Thank you.