Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934737Ab3FSM1T (ORCPT ); Wed, 19 Jun 2013 08:27:19 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:58028 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934141Ab3FSM1S (ORCPT ); Wed, 19 Jun 2013 08:27:18 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 50.131.214.131 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19IScP0FHlQFmW261TWus1P Date: Wed, 19 Jun 2013 05:27:15 -0700 From: Tony Lindgren To: Benoit Cousson Cc: Roger Quadros , linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] ARM: dts: omap4-panda: Add USB Host support Message-ID: <20130619122715.GA5523@atomide.com> References: <1371571487-14389-1-git-send-email-rogerq@ti.com> <1371571487-14389-2-git-send-email-rogerq@ti.com> <51C106A1.9030001@ti.com> <51C15F7E.5020305@ti.com> <20130619074605.GW5523@atomide.com> <51C183AC.8040801@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51C183AC.8040801@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1391 Lines: 30 * Benoit Cousson [130619 03:17]: > On 06/19/2013 02:46 AM, Tony Lindgren wrote: > > > >We have a similar issue with the MMC1 PBIAS. I think in the long run we > >should expand regulator (and possibly pinctrl) framework(s) to handle > >comparators. We could just assume that a comparatator is a regulator, > >and have a comparator binding that just uses the regulator code. > > In the case of pbias, the pinctrl seems to be a much better fit for > my point of view. pinctrl can handle pin configuration and this is > what the pbias is in the case of MMC pins. Well just recently Linus W specifically wanted us to use regulator framework for the MMC1 PBIAS rather than pinctrl. That's because from consumer driver point of view, it changes voltage and there's a delay involved. So I guess no conclusion yet, and it's best to do stand alone drivers to deal with those that use pinctrl for the pinctrl specific parts and export it as a regulator for the consumer devices. That's pretty much along the lines what Roger has done, except the transceiver could use the pinctrl-single,bits for the muxing and pinconf. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/