[RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings
From: Stephen Warren <hidden>
Date: 2012-01-17 19:35:58
Also in:
linux-devicetree, lkml
From: Stephen Warren <hidden>
Date: 2012-01-17 19:35:58
Also in:
linux-devicetree, lkml
Shawn Guo wrote at Friday, January 13, 2012 6:11 PM:
On Fri, Jan 13, 2012 at 10:33:21AM -0800, Stephen Warren wrote:quoted
So of_device_alloc(), which is called by of_platform_populate() for each device, already parses basic DT content such as reg and interrupts, and converts them to Linux resources. I'd consider parsing any pinmux properties and registering them with the pinctrl subsystem to be of a similar nature, so adding some code to of_device_alloc() that calls a core pinmux function to parse the DT node seems reasonable to me.I hardly believe that device tree maintainers would agree here. Grant, Rob?
I'm explicitly putting Grant and Rob on the To line here to make this question stand out to them. -- nvpublic