Re: [PATCH V4 REPOST 2/2] kbuild: run the pre-processor on *.dts files

2012-10-26 Thread Rob Herring
On 10/26/2012 02:29 PM, Stephen Warren wrote: > From: Stephen Warren > > Modify cmd_dtc to run the C pre-processor on the input .dts file before > passing it to dtc for final compilation. This allows the use of #define > and #include within the .dts file. While this change is small the implicati

Re: [PATCH v5 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-10-26 Thread Paul Gortmaker
On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel wrote: > This patch keeps all created pools in a global list and adds two > functions that allow to retrieve the gen_pool pointer from a known > physical address and from a device tree node. So, I'm not seeing any added users of the of_get_named_gen

[PATCH V4 REPOST 2/2] kbuild: run the pre-processor on *.dts files

2012-10-26 Thread Stephen Warren
From: Stephen Warren Modify cmd_dtc to run the C pre-processor on the input .dts file before passing it to dtc for final compilation. This allows the use of #define and #include within the .dts file. Signed-off-by: Stephen Warren --- v4: * Use -x assembler-with-cpp so pre-defined macros are set

[PATCH V4 REPOST 1/2] kbuild: centralize .dts->.dtb rule

2012-10-26 Thread Stephen Warren
From: Stephen Warren All architectures that use cmd_dtc do so in the same way. Move the build rule to a central location to avoid duplication. Signed-off-by: Stephen Warren --- v4: No change. v3: No change. v2: New patch. --- arch/arm/boot/Makefile |4 arch/c6x/boot/Makefile

Re: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-10-26 Thread Tony Lindgren
* Benoit Cousson [121026 11:11]: > On 10/26/2012 07:57 PM, Benoit Cousson wrote: > > Hi Paul, > > > > On 10/26/2012 07:54 PM, Paul Walmsley wrote: > >> On Fri, 26 Oct 2012, Benoit Cousson wrote: > >> > >>> On 10/26/2012 05:16 PM, Roger Quadros wrote: > >>> > I still can't get musb to work on

Re: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-10-26 Thread Benoit Cousson
On 10/26/2012 07:57 PM, Benoit Cousson wrote: > Hi Paul, > > On 10/26/2012 07:54 PM, Paul Walmsley wrote: >> On Fri, 26 Oct 2012, Benoit Cousson wrote: >> >>> On 10/26/2012 05:16 PM, Roger Quadros wrote: >>> I still can't get musb to work on 3.7-rc2. Apparently it is still missing the pa

Re: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-10-26 Thread Paul Walmsley
On Fri, 26 Oct 2012, Benoit Cousson wrote: > On 10/26/2012 05:16 PM, Roger Quadros wrote: > > > I still can't get musb to work on 3.7-rc2. Apparently it is still > > missing the patches from Benoit's for_3.7/dts_part2. > > > > Maybe I just need to wait for it to be merged? > > They are now in a

Re: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-10-26 Thread Benoit Cousson
Hi Paul, On 10/26/2012 07:54 PM, Paul Walmsley wrote: > On Fri, 26 Oct 2012, Benoit Cousson wrote: > >> On 10/26/2012 05:16 PM, Roger Quadros wrote: >> >>> I still can't get musb to work on 3.7-rc2. Apparently it is still >>> missing the patches from Benoit's for_3.7/dts_part2. >>> >>> Maybe I ju

Re: [PATCH 08/10] pinctrl: single: support pinconf generic

2012-10-26 Thread Tony Lindgren
* Haojian Zhuang [121025 18:49]: > On Fri, Oct 26, 2012 at 7:43 AM, Tony Lindgren wrote: > > * Tony Lindgren [121022 10:11]: > >> * Haojian Zhuang [121022 03:11]: > >> > On Sat, Oct 20, 2012 at 3:13 AM, Tony Lindgren wrote: > >> > > * Haojian Zhuang [121018 02:08]: > >> > >> Add pinconf gener

Re: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-10-26 Thread Tony Lindgren
* Benoit Cousson [121026 08:23]: > Hi Roger, > > On 10/26/2012 05:16 PM, Roger Quadros wrote: > > Hi Kishon & Benoit, > > > > On 09/24/2012 12:06 PM, Rabin Vincent wrote: > >> 2012/9/24 ABRAHAM, KISHON VIJAY : > >>> On Sat, Sep 22, 2012 at 3:03 AM, Rabin Vincent wrote: > USB doesn't work o

Re: [PATCH v5 3/4] misc: sram: Add optional clock

2012-10-26 Thread Paul Gortmaker
On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel wrote: > On some platforms the SRAM needs a clock to be enabled explicitly. > > Signed-off-by: Philipp Zabel > --- > drivers/misc/sram.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/misc/sram.c b/drivers/misc/sram.

Re: [PATCH v5 2/4] misc: Generic on-chip SRAM allocation driver

2012-10-26 Thread Paul Gortmaker
On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel wrote: > This driver requests and remaps a memory region as configured in the > device tree. It serves memory from this region via the genalloc API. > > Other drivers can retrieve the genalloc pool from a phandle pointing > to this drivers' device no

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-26 Thread Mark Brown
On Fri, Oct 26, 2012 at 09:20:36AM +0300, Felipe Balbi wrote: > On Thu, Oct 25, 2012 at 09:59:01PM +0100, Mark Brown wrote: > > I suspect that's not actually a big deal and that if we went down this > > route we'd have the driver take over control from the core code during > > probe() with the cor

Re: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-10-26 Thread Benoit Cousson
Hi Roger, On 10/26/2012 05:16 PM, Roger Quadros wrote: > Hi Kishon & Benoit, > > On 09/24/2012 12:06 PM, Rabin Vincent wrote: >> 2012/9/24 ABRAHAM, KISHON VIJAY : >>> On Sat, Sep 22, 2012 at 3:03 AM, Rabin Vincent wrote: USB doesn't work on pandaboard on linux-next, and bisection shows this

Re: [PATCH v5 3/4] misc: sram: Add optional clock

2012-10-26 Thread Paul Gortmaker
On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel wrote: > On some platforms the SRAM needs a clock to be enabled explicitly. Since this is a file that you've just created in the previous commit, I don't see why this needs to exist as a standalone commit, vs just being folded back into the previous

Re: [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-26 Thread Alan Stern
On Fri, 26 Oct 2012, Sebastian Andrzej Siewior wrote: > On Thu, Oct 25, 2012 at 10:36:14AM -0400, Alan Stern wrote: > > What happens if the drivers get probed in the wrong order? That is, if > > ehci-platform gets probed before ehci-spear (or whatever)? > > The "wrong" driver may get loaded. T

[PATCH 2/2] ARM: Add functions to parse dt irq affinity

2012-10-26 Thread Mark Rutland
This patch adds functions to handle parsing cpu affinity of interrupts from devicetree. Devices using these functions are dealt with as follows: * If the device was not initialised from devicetree, it is considered to be affine to all CPUs, and interrupts are assumed to be in order of physical

[PATCH 1/2] of: add of_property_count_phandles

2012-10-26 Thread Mark Rutland
Though of_parse_phandle handles lists of phandles, and takes an index parameter, there is no standard way of discovering how many phandles are present on a node. This patch adds a function to count how many phandles are in a phandle list. Signed-off-by: Mark Rutland --- drivers/of/base.c | 39

[RFC 0/2] Representing interrupt affinity in devicetree

2012-10-26 Thread Mark Rutland
Current devicetree bindings for devices which use cpu-affine shared interrupts assume that interrupts are listed in ascending order of physical cpu id (MPIDR.Aff{2,1,0}). This is problematic for drivers because: (1) The driver must convert each physical id to a logical id for the purpose of ma

Re: [PATCH v2 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-26 Thread Felipe Balbi
On Fri, Oct 26, 2012 at 01:44:38PM +0200, Benoit Cousson wrote: > Hi Felipe, > > On 10/26/2012 10:13 AM, Felipe Balbi wrote: > > Hi, > > > > On Thu, Oct 25, 2012 at 11:37:33AM +0530, Vivek Gautam wrote: > >> Hi, > >> > >> On Tue, Oct 16, 2012 at 3:38 PM, Felipe Balbi wrote: > >>> Hi, > >>> > >>>

Re: [PATCH v2 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-26 Thread Benoit Cousson
Hi Felipe, On 10/26/2012 10:13 AM, Felipe Balbi wrote: > Hi, > > On Thu, Oct 25, 2012 at 11:37:33AM +0530, Vivek Gautam wrote: >> Hi, >> >> On Tue, Oct 16, 2012 at 3:38 PM, Felipe Balbi wrote: >>> Hi, >>> >>> On Tue, Oct 16, 2012 at 03:36:43PM +0530, kishon wrote: Hi, On Tuesday 1

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-26 Thread Vinod Koul
On Fri, 2012-10-26 at 14:35 +0530, Viresh Kumar wrote: > >> I can see that you applied these patches and they are present in > >> linux-next. But i feel > >> the order of patches is bad. > > Yes looks like I forgot to sort the mbox series :( > > > > since all patches were applied nicely, and they s

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-26 Thread Vinod Koul
On Fri, 2012-10-26 at 14:25 +0530, Viresh Kumar wrote: > Hi Vinod, > > On 16 October 2012 09:49, Viresh Kumar wrote: > > dw_dmac driver already supports device tree but it used to have its platform > > data passed the non-DT way. > > > > This patch does following changes: > > - pass platform data

Re: [PATCH v2 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-26 Thread Felipe Balbi
Hi, On Thu, Oct 25, 2012 at 11:37:33AM +0530, Vivek Gautam wrote: > Hi, > > On Tue, Oct 16, 2012 at 3:38 PM, Felipe Balbi wrote: > > Hi, > > > > On Tue, Oct 16, 2012 at 03:36:43PM +0530, kishon wrote: > >> Hi, > >> > >> On Tuesday 16 October 2012 03:23 PM, Felipe Balbi wrote: > >> >On Tue, Oct 1

RE: [PATCH V4 1/5] ARM: dts: OMAP: Add timer nodes

2012-10-26 Thread Hiremath, Vaibhav
On Fri, Oct 26, 2012 at 00:44:26, Hunter, Jon wrote: > Hi Benoit, > > On 10/24/2012 10:41 AM, Benoit Cousson wrote: > > Hi Jon, > > > > On 10/19/2012 04:59 PM, Jon Hunter wrote: > >> Add the 12 GP timers nodes present in OMAP2. > >> Add the 12 GP timers nodes present in OMAP3. > >> Add the 11 GP

Re: [RFC PATCH 3.7.0-rc2] dt: match id-table before creating platform device

2012-10-26 Thread Srinivas KANDAGATLA
On 23/10/12 14:15, Rob Herring wrote: re-sending my reply again, as it did not appear in my inbox from dt mailing list. > Adding lkml. DT patches should go to both lists. > > On 10/23/2012 05:30 AM, Srinivas KANDAGATLA wrote: >> From: Srinivas Kandagatla >> >> As part of of_platform_populate call,