Re: [PATCH 1/2] drivers: create a pin control subsystem v7

2011-09-27 Thread Stijn Devriendt
> +static int pin_request(struct pinctrl_dev *pctldev, > +                      int pin, const char *function, bool gpio, > +                      struct pinctrl_gpio_range *gpio_range) > +{ > +       struct pin_desc *desc; > +       const struct pinmux_ops *ops = pctldev->desc->pmxops; > +       i

Re: [PATCH 1/4 v4] drivers: create a pin control subsystem

2011-09-02 Thread Stijn Devriendt
On Fri, Aug 19, 2011 at 11:53 AM, Linus Walleij wrote: > + > +/** > + * pin_request() - request a single pin to be muxed in, typically for GPIO > + * @pin: the pin number in the global pin space > + * @function: a functional name to give to this pin, passed to the driver > + *     so it knows what