Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-24 Thread Linus Walleij
On Wed, Jun 19, 2013 at 11:58 PM, Stephen Warren wrote: > On 06/11/2013 04:03 PM, Laurent Pinchart wrote: >> +- tristate: A boolean, put the pin into high impedance state when set. The other patch defines bias-high-impedance which is more likely to be the string used. Anyway: > I don't think t

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-19 Thread Stephen Warren
On 06/11/2013 04:03 PM, Laurent Pinchart wrote: > Document DT properties for the generic pinctrl parameters and add a > parser function. > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt > b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt > +== Generic

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-19 Thread Stephen Warren
On 06/15/2013 02:16 PM, Heiko Stübner wrote: > Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: >> On Fri, Jun 14, 2013 at 12:39 AM, Laurent Pinchart >> >> wrote: >>> mmcif_pins: mmcif { >>> >>> mux { >>> >>> renes

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Linus Walleij
On Sun, Jun 16, 2013 at 1:52 AM, Laurent Pinchart wrote: > Hi Linus, > On Sunday 16 June 2013 01:51:32 Linus Walleij wrote: >> As dicussed earlier this was designed for systems where >> you could set the pull-up resistance, like >> >> bias-pull-up = <60>; >> >> would give 600kOhm pull up. >>

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Laurent Pinchart
Hi Linus, On Sunday 16 June 2013 01:51:32 Linus Walleij wrote: > On Sun, Jun 16, 2013 at 1:35 AM, Laurent Pinchart wrote: > > On Saturday 15 June 2013 22:16:13 Heiko Stübner wrote: > >> Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: > >> > >> Disable would the be either > >> > >>

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Linus Walleij
On Sun, Jun 16, 2013 at 1:35 AM, Laurent Pinchart wrote: > On Saturday 15 June 2013 22:16:13 Heiko Stübner wrote: >> Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: >> Disable would the be either >> bias-disable; >> or >> bias-pull-up = <0>; >> >> A driver should probably h

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Laurent Pinchart
Hi Heiko, On Saturday 15 June 2013 22:16:13 Heiko Stübner wrote: > Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: > > On Fri, Jun 14, 2013 at 12:39 AM, Laurent Pinchart wrote: > > > mmcif_pins: mmcif { > > > mux { > > > renesas,groups = "

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Heiko Stübner
Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: > On Fri, Jun 14, 2013 at 12:39 AM, Laurent Pinchart > > wrote: > > mmcif_pins: mmcif { > > > > mux { > > > > renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0"; > >

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Linus Walleij
On Fri, Jun 14, 2013 at 12:39 AM, Laurent Pinchart wrote: > mmcif_pins: mmcif { > mux { > renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0"; > renesas,function = "mmc0"; > }; > cfg { >

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-13 Thread Laurent Pinchart
Hi James, On Wednesday 12 June 2013 15:36:59 James Hogan wrote: > On 11/06/13 23:03, Laurent Pinchart wrote: > > Document DT properties for the generic pinctrl parameters and add a > > parser function. > > > > Signed-off-by: Laurent Pinchart > > > > --- > > > > .../bindings/pinctrl/pinctrl-bin

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-13 Thread Laurent Pinchart
Hi Grant, Thanks for the review. On Wednesday 12 June 2013 13:48:33 Grant Likely wrote: > On Wed, 12 Jun 2013 00:03:57 +0200, Laurent Pinchart wrote: > > Document DT properties for the generic pinctrl parameters and add a > > parser function. > > > > Signed-off-by: Laurent Pinchart > > > > ---

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-12 Thread James Hogan
On 11/06/13 23:03, Laurent Pinchart wrote: > Document DT properties for the generic pinctrl parameters and add a > parser function. > > Signed-off-by: Laurent Pinchart > --- > .../bindings/pinctrl/pinctrl-bindings.txt | 29 +++ > drivers/pinctrl/pinconf-generic.c |

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-12 Thread Grant Likely
On Wed, 12 Jun 2013 00:03:57 +0200, Laurent Pinchart wrote: > Document DT properties for the generic pinctrl parameters and add a > parser function. > > Signed-off-by: Laurent Pinchart > --- > .../bindings/pinctrl/pinctrl-bindings.txt | 29 +++ > drivers/pinctrl/pinconf-generic.c

[RFC] pinctrl: generic: Add DT bindings

2013-06-11 Thread Laurent Pinchart
Document DT properties for the generic pinctrl parameters and add a parser function. Signed-off-by: Laurent Pinchart --- .../bindings/pinctrl/pinctrl-bindings.txt | 29 +++ drivers/pinctrl/pinconf-generic.c | 94 ++ drivers/pinctrl/pinconf.h