Re: [RFC PATCH v2 1/9] arm: avoid using on_each_cpu hard coded ret value

2012-01-08 Thread Russell King - ARM Linux
On Sun, Jan 08, 2012 at 03:32:21PM +0200, Gilad Ben-Yossef wrote: on_each_cpu always returns a hard coded return code of zero. Removing all tests based on this return value saves run time cycles for compares and code bloat for branches. Signed-off-by: Gilad Ben-Yossef gi...@benyossef.com

Re: [RFC PATCH v2 8/9] smp: refactor on_each_cpu to void returning func

2012-01-08 Thread Russell King - ARM Linux
On Sun, Jan 08, 2012 at 03:32:28PM +0200, Gilad Ben-Yossef wrote: on_each_cpu returns the retunr value of smp_call_function which is hard coded to 0. Refactor on_each_cpu to a void function and the few callers that check the return value to save compares and branches. Signed-off-by: Gilad

Re: [PATCH v2 1/2] PM / Domains: Add OF support

2012-01-08 Thread Rafael J. Wysocki
On Saturday, January 07, 2012, Thomas Abraham wrote: A device node pointer is added to generic pm domain structure to associate the domain with a node in the device tree. The platform code parses the device tree to find available nodes representing the generic power domain, instantiates the

Re: [PATCH v4 03/12] mfd: twl-core: Add initial DT support for twl4030/twl6030

2012-01-08 Thread Samuel Ortiz
Hi Benoit, On Tue, Jan 03, 2012 at 03:09:49PM +0100, Cousson, Benoit wrote: On 1/2/2012 10:04 AM, Grant Likely wrote: On Thu, Dec 22, 2011 at 03:56:37PM +0100, Benoit Cousson wrote: Add initial device-tree support for twl familly chips. The current version is missing the regulator entries

Re: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-08 Thread Shawn Guo
On Sun, Jan 08, 2012 at 08:51:59PM +0800, Richard Zhao wrote: ... So, this does appear to be conflating the two things: The definition of what pins are in a pingroup, and the mux function for a particular setting of that pingroup. I think you need separate nodes for this. At least

Re: [RFC PATCH v3 3/5] pinctrl: imx: add pinctrl imx driver

2012-01-08 Thread Shawn Guo
On Sun, Jan 08, 2012 at 09:05:44PM +0800, Richard Zhao wrote: +enum imx_imx53_pinctrl_pads { + MX53_GPIO_19 = 0, + MX53_KEY_COL0 = 1, + MX53_KEY_ROW0 = 2, + MX53_KEY_COL1 = 3, + MX53_KEY_ROW1 = 4, + MX53_KEY_COL2 = 5, + MX53_KEY_ROW2 = 6, ... Why not describe it in

Re: RFC: option to toggle dtc checks on and off

2012-01-08 Thread David Gibson
Jon, I was hoping I'd get some comment on this patch eventually. On Fri, Oct 28, 2011 at 04:15:25PM +1100, David Gibson wrote: Here is a draft patch which adds a -C option to dtc, allowing individual semantic checks to be turned on and off. It also allows indivudual checks to be set as

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-08 Thread Olof Johansson
Hi, On Sun, Jan 8, 2012 at 9:23 AM, Aneesh V ane...@ti.com wrote: Hi, On Tuesday 20 December 2011 03:08 PM, Aneesh V wrote: Hi Benoit On Tuesday 20 December 2011 06:10 PM, Cousson, Benoit wrote: Hi Aneesh, snip In general, is it really feasible to parse the DTB before DDR is

Re: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-08 Thread Simon Glass
Hi, [snip lots of discussion] Someone copied me on this so I feel I can sneak in with a response. I have read this entire thread and implemented Tegra pinmux in U-boot, but not much else on the topic so have limited understanding, particular of the kernel pinmux setup, unfortunately. Sorry if I

Re: [RFC PATCH v3 3/5] pinctrl: imx: add pinctrl imx driver

2012-01-08 Thread Shawn Guo
On Mon, Jan 09, 2012 at 10:17:03AM +0800, Richard Zhao wrote: On Mon, Jan 09, 2012 at 10:08:51AM +0800, Shawn Guo wrote: On Sun, Jan 08, 2012 at 09:05:44PM +0800, Richard Zhao wrote: +enum imx_imx53_pinctrl_pads { + MX53_GPIO_19 = 0, + MX53_KEY_COL0 = 1, +