Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-02-05 Thread Linus Walleij
On Sun, Feb 3, 2013 at 12:10 PM, Maxime Ripard wrote: > Since the pin controller of sunxi chips is represented as a single bank > in the driver. > Since this is neither convenient nor represented that way in the > datasheets, define a custom of_xlate function with the layout flag> > >

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-02-05 Thread Linus Walleij
On Sun, Feb 3, 2013 at 12:10 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the

[PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-02-03 Thread Maxime Ripard
Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the layout Signed-off-by: Maxime Ripard --- drivers/pinctrl/pinctrl-sunxi.c | 20

[PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-02-03 Thread Maxime Ripard
Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the layout bank pin flag Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-02-01 Thread Linus Walleij
On Tue, Jan 29, 2013 at 11:54 PM, Maxime Ripard wrote: > Le 29/01/2013 23:41, Linus Walleij a écrit : >> On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard >> wrote: >> >>> Since the pin controller of sunxi chips is represented as a single bank >>> in the driver. >>> Since this is neither convenient

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-02-01 Thread Linus Walleij
On Tue, Jan 29, 2013 at 11:54 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Le 29/01/2013 23:41, Linus Walleij a écrit : On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Since the pin controller of sunxi chips is represented as a single bank

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-29 Thread Maxime Ripard
Le 29/01/2013 23:41, Linus Walleij a écrit : > On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard > wrote: > >> Since the pin controller of sunxi chips is represented as a single bank >> in the driver. >> Since this is neither convenient nor represented that way in the >> datasheets, define a custom

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-29 Thread Linus Walleij
On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard wrote: > Since the pin controller of sunxi chips is represented as a single bank > in the driver. > Since this is neither convenient nor represented that way in the > datasheets, define a custom of_xlate function with the layout flag> > >

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-29 Thread Linus Walleij
On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the

Re: [PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-29 Thread Maxime Ripard
Le 29/01/2013 23:41, Linus Walleij a écrit : On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the

[PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-27 Thread Maxime Ripard
Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the layout Signed-off-by: Maxime Ripard --- drivers/pinctrl/pinctrl-sunxi.c | 20

[PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-27 Thread Maxime Ripard
Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the layout bank pin flag Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---