lkml.org 
[lkml]   [2013]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] pinctrl: generic: Add DT bindings
Date
Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij:
> On Fri, Jun 14, 2013 at 12:39 AM, Laurent Pinchart
>
> <laurent.pinchart@ideasonboard.com> wrote:
> > mmcif_pins: mmcif {
> >
> > mux {
> >
> > renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
> > renesas,function = "mmc0";
> >
> > };
> > cfg {
> >
> > renesas,groups = "mmc0_data8_0";
> > renesas,pins = "PORT279";
> > bias-pull-up = <1>;
>
> If I understood your code correctly that last statement can *optionally*
> be written like just:
>
> bias-pull-up;
>
> Without the parameter?
>
> I think that Heiko's implementation does this anyway.

Yep, with the fixes-series from yesterday the bias-pull-* now have a better
default value of <1>.

so you can do
bias-pull-up;
which is then identical to the
bias-pull-up = <1>;
above (both are valid of course).


Disable would the be either
bias-disable;
or
bias-pull-up = <0>;

A driver should probably handle both, as both are valid pinconf options or
this.




\
 
 \ /
  Last update: 2013-06-15 22:41    [W:0.709 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site