From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: Query on pinctrl usage for DT nodes Date: Tue, 16 Apr 2013 14:32:33 -0700 Message-ID: <20130416213232.GU10155@atomide.com> References: <515C5C76.3080009@wwwdotorg.org> <5162FD4A.1030909@wwwdotorg.org> <5165A22B.4070200@wwwdotorg.org> <20130410203408.GP10155@atomide.com> <516BB99F.2080502@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <516BB99F.2080502-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" To: Peter Ujfalusi Cc: Stephen Warren , device-tree , LAK List-Id: devicetree@vger.kernel.org * Peter Ujfalusi [130415 01:30]: > On 04/10/2013 10:34 PM, Tony Lindgren wrote: > > Yeah how about just change the pintctrl-single,bits register > > naming to be register + bit? Something like 0xdeadbeef.0 and > > 0xdeadbeef.1 and so on. > > Something like this might work I think. It is going to be a bit tricky IMHO > since we might need span out new 'register' every time a device requests for a > new pinctrl-single,bits for already used register in the > pinctrl-single,bit-per-mux area. In this way we still can make sure that > certain bit are only used by a single driver. OK. If it's one bit per mux type register we should be able to create the right amount of entries based on the submask in pinctrs-single,bit? Regards, Tony