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

2012-10-25 Thread Hiremath, Vaibhav
On Wed, Oct 24, 2012 at 21:11:13, Cousson, Benoit 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 timers nodes present in OMAP4. Add the 7 GP timers nodes present in AM33xx.

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

2012-10-25 Thread Benoit Cousson
Hi Vaibhav, On 10/25/2012 02:05 PM, Hiremath, Vaibhav wrote: On Wed, Oct 24, 2012 at 21:11:13, Cousson, Benoit 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 timers nodes

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

2012-10-25 Thread Hiremath, Vaibhav
On Thu, Oct 25, 2012 at 04:30:37, Hunter, Jon wrote: On 10/24/2012 01:17 PM, Hiremath, Vaibhav wrote: On Wed, Oct 17, 2012 at 23:31:09, Hunter, Jon wrote: Add the 12 GP timers nodes present in OMAP2. Add the 12 GP timers nodes present in OMAP3. Add the 11 GP timers nodes present in

Re: [PATCH V3 1/5] ARM: dts: OMAP: Add timer nodes

2012-10-25 Thread Jon Hunter
On 10/25/2012 07:12 AM, Hiremath, Vaibhav wrote: On Thu, Oct 25, 2012 at 04:30:37, Hunter, Jon wrote: On 10/24/2012 01:17 PM, Hiremath, Vaibhav wrote: On Wed, Oct 17, 2012 at 23:31:09, Hunter, Jon wrote: Add the 12 GP timers nodes present in OMAP2. Add the 12 GP timers nodes present in

Re: [PATCH V3 1/5] ARM: dts: OMAP: Add timer nodes

2012-10-25 Thread Jon Hunter
On 10/25/2012 07:18 AM, Jon Hunter wrote: ... @@ -113,6 +114,9 @@ static int omap_timer_interrupt_test(struct omap_dm_timer *gptimer) irq_data.gptimer = gptimer; init_completion(irq_data.complete); + + omap_dm_timer_enable(gptimer); +

Re: [PATCH] dt: add helper function to read u8 u16 variables arrays

2012-10-25 Thread Rob Herring
On 10/25/2012 02:03 AM, Viresh Kumar wrote: On 12 October 2012 23:31, Viresh Kumar viresh.ku...@linaro.org wrote: This adds following helper routines: - of_property_read_u8_array() - of_property_read_u16_array() - of_property_read_u8() - of_property_read_u16() First two actually share most

Re: [PATCH v4 6/7] usb: dwc3-omap: Minor fixes to get dt working

2012-10-25 Thread Benoit Cousson
Hi Kishon, On 10/15/2012 03:27 PM, Kishon Vijay Abraham I wrote: Includes few minor fixes in dwc3-omap like populating the compatible string in a correct way, extracting the utmi-mode property properly and changing the index of get_irq since irq of core is removed from hwmod entry. Also

Re: [PATCH v4 2/7] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-25 Thread Benoit Cousson
On 10/15/2012 03:27 PM, Kishon Vijay Abraham I wrote: Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled by of_*, removed the call to dwc3_get_device_id. Just for my understanding: How are these

Re: [PATCH v4 2/7] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-25 Thread Felipe Balbi
On Thu, Oct 25, 2012 at 04:04:44PM +0200, Benoit Cousson wrote: On 10/15/2012 03:27 PM, Kishon Vijay Abraham I wrote: Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled by of_*, removed the call to

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

2012-10-25 Thread Alan Stern
On Thu, 25 Oct 2012, Sebastian Andrzej Siewior wrote: On Wed, Oct 24, 2012 at 08:55:27AM -1000, Mitch Bradley wrote: So by listing usb-ehci in its device ID table, a driver would essentially be saying that it can handle _all_ USB EHCI controllers. Actually, it means that the

Re: [PATCH v4 6/7] usb: dwc3-omap: Minor fixes to get dt working

2012-10-25 Thread kishon
Hi Benoit, On Thursday 25 October 2012 07:11 PM, Benoit Cousson wrote: Hi Kishon, On 10/15/2012 03:27 PM, Kishon Vijay Abraham I wrote: Includes few minor fixes in dwc3-omap like populating the compatible string in a correct way, extracting the utmi-mode property properly and changing the

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

2012-10-25 Thread Hiremath, Vaibhav
On Thu, Oct 25, 2012 at 17:48:47, Hunter, Jon wrote: On 10/25/2012 07:12 AM, Hiremath, Vaibhav wrote: On Thu, Oct 25, 2012 at 04:30:37, Hunter, Jon wrote: On 10/24/2012 01:17 PM, Hiremath, Vaibhav wrote: On Wed, Oct 17, 2012 at 23:31:09, Hunter, Jon wrote: Add the 12 GP timers nodes

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

2012-10-25 Thread Hiremath, Vaibhav
On Thu, Oct 25, 2012 at 18:03:37, Hunter, Jon wrote: On 10/25/2012 07:18 AM, Jon Hunter wrote: ... @@ -113,6 +114,9 @@ static int omap_timer_interrupt_test(struct omap_dm_timer *gptimer) irq_data.gptimer = gptimer; init_completion(irq_data.complete); + +

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

2012-10-25 Thread Stephen Warren
On 10/25/2012 04:23 AM, Sebastian Andrzej Siewior wrote: On Wed, Oct 24, 2012 at 08:55:27AM -1000, Mitch Bradley wrote: So by listing usb-ehci in its device ID table, a driver would essentially be saying that it can handle _all_ USB EHCI controllers. Actually, it means that the driver can

Re: Question about move atmel audio part to DT support

2012-10-25 Thread Mark Brown
On Fri, Oct 19, 2012 at 04:18:16PM +0800, Bo Shen wrote: Cc: linux-arm-kernel mailing list devicetree-discuss mailing list alsa-devel mailing list linux-sound mailing list Better to resend for things like this rather than double quote. Atmel audio part has three platform

Re: [PATCH V3 1/5] ARM: dts: OMAP: Add timer nodes

2012-10-25 Thread Jon Hunter
On 10/25/2012 10:27 AM, Hiremath, Vaibhav wrote: ... Can you merge it to your test module? I am thinking of pushing application to github for others to use. I believe you are ok with this. I am planning to push all the application there. https://github.com/hvaibhav/sample-applications

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

2012-10-25 Thread Greg Kroah-Hartman
On Thu, Oct 18, 2012 at 04:27:30PM +0200, 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. Signed-off-by: Philipp Zabel p.za...@pengutronix.de

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

2012-10-25 Thread Jon Hunter
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 timers nodes present in OMAP4. Add the 7 GP timers nodes present in AM33xx.

[PATCH V3 1/2] ARM: dts: OMAP: Add counter-32k nodes

2012-10-25 Thread Jon Hunter
Adds the counter-32k timers nodes present in OMAP2/3/4 devices and device-tree binding documentation for OMAP counter-32k. Signed-off-by: Jon Hunter jon-hun...@ti.com --- .../devicetree/bindings/arm/omap/counter.txt | 15 +++ arch/arm/boot/dts/omap2420.dtsi

[PATCH V3 0/2] ARM: OMAP2+: Add device-tree support for 32kHz counter

2012-10-25 Thread Jon Hunter
This series adds device-tree support for the 32kHz counter on OMAP2+ devices, which is used as the default kernel clock-source for OMAP devices. Boot tested on OMAP2420 H4, OMAP3430 Beagle Board and OMAP4430 Panda Board with and without device-tree present. Based and dependent upon OMAP2+ series

[PATCH V3 2/2] ARM: OMAP2+: Add device-tree support for 32kHz counter

2012-10-25 Thread Jon Hunter
For OMAP devices, the 32kHz counter is the default clock-source for the kernel. However, this is not the only possible clock-source the kernel can use for OMAP devices. When booting with device-tree, if the 32kHz counter is the desired clock-source for the kernel, then parse the device-tree blob

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

2012-10-25 Thread Mark Brown
On Wed, Oct 24, 2012 at 09:58:19PM +0300, Felipe Balbi wrote: need a way to tell drivers/base hey, don't touch pinctrl at all because I know what I'm doing and that has to happen before probe() too, otherwise it's already too late and, according to what you suggest, drivers/base will already

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

2012-10-25 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [121022 10:11]: * Haojian Zhuang haojian.zhu...@gmail.com [121022 03:11]: On Sat, Oct 20, 2012 at 3:13 AM, Tony Lindgren t...@atomide.com wrote: * Haojian Zhuang haojian.zhu...@gmail.com [121018 02:08]: Add pinconf generic support with POWER SOURCE, BIAS

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

2012-10-25 Thread Haojian Zhuang
On Fri, Oct 26, 2012 at 7:43 AM, Tony Lindgren t...@atomide.com wrote: * Tony Lindgren t...@atomide.com [121022 10:11]: * Haojian Zhuang haojian.zhu...@gmail.com [121022 03:11]: On Sat, Oct 20, 2012 at 3:13 AM, Tony Lindgren t...@atomide.com wrote: * Haojian Zhuang haojian.zhu...@gmail.com

[PATCH 0/14] fdt: Add various device tree utilities and features

2012-10-25 Thread Simon Glass
This series contains a number of features related to CONFIG_OF_CONTROL, such as: - reading fdt values - reading configuration from the fdt - allowing the fdt to specify a boot command Abhilash Kesavan (2): fdt: Add function to get config int from device tree fdt: Add function for decoding

[PATCH 08/14] fdt: Add fdtdec_get_uint64 to decode a 64-bit value from a property

2012-10-25 Thread Simon Glass
From: Che-Liang Chiou clch...@chromium.org It decodes a 64-bit value from a property that is at least 8 bytes long. Signed-off-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 15 +++ lib/fdtdec.c | 13

[PATCH 02/14] fdt: Add function to get a config string from device tree

2012-10-25 Thread Simon Glass
Add a function to look up a configuration string such as board name and returns its value. We look in the /config node for this. Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 10 ++ lib/fdtdec.c | 28 ++-- 2 files changed, 28

[PATCH 07/14] fdt: Add function to read boolean property

2012-10-25 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org Signed-off-by: Vincent Palatin vpala...@chromium.org Commit-Ready: Vincent Palatin vpala...@chromium.org Commit-Ready: Gabe Black gabebl...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 10 ++ lib/fdtdec.c

[PATCH 10/14] fdt: Load boot command from device tree

2012-10-25 Thread Simon Glass
From: Che-Liang Chiou clch...@chromium.org Load boot command from /config/bootcmd of device tree if present. Signed-off-by: Tom Wai-Hong Tam waih...@chromium.org Signed-off-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- common/main.c | 16

[PATCH 11/14] fdt: Tell the FDT library where the device tree is

2012-10-25 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org This change adds a call to set_working_fdt_addr near the end of u-boot initialization which tells the fdt command/library where the device tree is. This makes it possible to use the fdt command to look at the active device tree since otherwise there would

[PATCH 06/14] fdt: Export fdtdec_lookup() and fix the name

2012-10-25 Thread Simon Glass
The name of this function is not consistent, so fix it, and export the function for external use. Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 13 + lib/fdtdec.c |2 +- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/include/fdtdec.h

[PATCH 01/14] fdt: Add function to get config int from device tree

2012-10-25 Thread Simon Glass
From: Abhilash Kesavan a.kesa...@samsung.com Add a function to look up a configuration item such as machine id and return its value. Note: The code has been taken as is from the Chromium u-boot development tree and needs Simon Glass' sign-off. Signed-off-by: Abhilash Kesavan

[PATCH 12/14] fdt: Allow device tree to specify secure booting

2012-10-25 Thread Simon Glass
From: Doug Anderson diand...@chromium.org When secure booting is chosen: * The u-boot shell is never invoked during boot--we just do a simple table lookup to find the command. This means we could even remove the shell parsing from u-boot and still be able to boot. * The boot command can't be

[PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present

2012-10-25 Thread Simon Glass
If kernel-offset is specified in the fdt, set an environment variable so that scripts can access the attached kernel. This can be used by a packaging program to tell U-Boot about a kernel that has been downloaded alongside U-Boot. The value in the fdt is the offset of the kernel from the start of

[PATCH 13/14] fdt: Add option to default to most compatible conf in a fit image

2012-10-25 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org When booting a fit image with multiple configurations, the user either has to specify which configuration to use explicitly, or there has to be a default defined which is chosen automatically. This change adds an option to change that behavior so that a

[PATCH 04/14] fdt: Add function for decoding multiple gpios globally available

2012-10-25 Thread Simon Glass
From: Abhilash Kesavan a.kesa...@samsung.com Samsung's SDHCI bindings require multiple gpios to be parsed and configured at a time. Export the already available fdtdec_decode_gpios for this purpose. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Commit-Ready: Che-Liang Chiou

[PATCH 03/14] fdt: Add fdtdec_decode_region() to decode memory region

2012-10-25 Thread Simon Glass
A memory region has a start and a size and is often specified in a node by a 'reg' property. Add a function to decode this information from the fdt. Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 19 +++ lib/fdtdec.c | 17 + 2 files

[PATCH 09/14] fdt: Add polarity-aware gpio functions to fdtdec

2012-10-25 Thread Simon Glass
From: Sean Paul seanp...@chromium.org Add get and set gpio functions to fdtdec that take into account the polarity field in fdtdec_gpio_state.flags. Signed-off-by: Sean Paul seanp...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 16

Re: [PATCH 2/2] ARM: bcm2835: enable GPIO/pinctrl

2012-10-25 Thread Stephen Warren
On 09/27/2012 10:10 PM, Stephen Warren wrote: Enable GPIO and pinctrl in Kconfig. Add required mach/gpio.h for gpiolib. Instantiate the BCM2835 GPIO module in bcm2835.dtsi. Add a pinctrl definition to bcm2835-rpi-b.dts that sets up all of the board's required pinmux configuration. GPIO

Re: [PATCH] ARM: bcm2835: implement machine restart hook

2012-10-25 Thread Stephen Warren
On 09/27/2012 10:08 PM, Stephen Warren wrote: Implement the machine restart hook using the SoC's watchdog timer module. To support this, define a DT binding for the watchdog module, and add it to the device tree. The downstream rpi-split branch contains a full watchdog timer driver

Re: [PATCH] arm: l2cc: doc: fix device tree example typo

2012-10-25 Thread Rob Herring
On 10/23/2012 07:53 PM, Josh Cartwright wrote: The list of attributes above details the use of the 'filter-ranges' property, but the example improperly used 'filter-latency'. Make these consistent by fixing up the example. Signed-off-by: Josh Cartwright josh.cartwri...@ni.com Applied for