Re: [PATCH 3/4] pinctrl: add a generic way to map node to map for group based drivers

2014-10-28 Thread Linus Walleij
On Mon, Oct 20, 2014 at 10:04 AM, Antoine Tenart wrote: > This patch add a generic function to use a standard callback to > .dt_node_to_map for group based pinctrl drivers. > > It parses nodes of the form: > > foo_pmux: foo-pmux { > function = "foo"; >

Re: [PATCH 3/4] pinctrl: add a generic way to map node to map for group based drivers

2014-10-28 Thread Linus Walleij
On Mon, Oct 20, 2014 at 10:04 AM, Antoine Tenart antoine.ten...@free-electrons.com wrote: This patch add a generic function to use a standard callback to .dt_node_to_map for group based pinctrl drivers. It parses nodes of the form: foo_pmux: foo-pmux { function =

[PATCH 3/4] pinctrl: add a generic way to map node to map for group based drivers

2014-10-20 Thread Antoine Tenart
This patch add a generic function to use a standard callback to .dt_node_to_map for group based pinctrl drivers. It parses nodes of the form: foo_pmux: foo-pmux { function = "foo"; groups = "g0", "g1", "g2"; } Signed-off-by: Antoine Tenart ---

[PATCH 3/4] pinctrl: add a generic way to map node to map for group based drivers

2014-10-20 Thread Antoine Tenart
This patch add a generic function to use a standard callback to .dt_node_to_map for group based pinctrl drivers. It parses nodes of the form: foo_pmux: foo-pmux { function = foo; groups = g0, g1, g2; } Signed-off-by: Antoine Tenart