Re: [PATCH RFC 1/7] platform: add a device node

2013-02-11 Thread Sascha Hauer
On Sun, Feb 10, 2013 at 12:35:43PM +0100, Javier Martinez Canillas wrote: On Sun, Feb 10, 2013 at 10:37 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sun, Feb 10, 2013 at 02:49:21AM +0100, Javier Martinez Canillas wrote: I knew this would be controversial and that's why I

[PATCH 0/4] Various PCI-related device tree helpers

2013-02-11 Thread Thierry Reding
Hi, These patches add a few device tree helpers that are used are partially shared by Thomas' Marvell PCIe controller and my Tegra PCIe controller series. In an attempt to decrease the number of dependencies between trees, it would be nice to get these in for 3.9. There are a few ARM specific

[PATCH v2 2/4] of/pci: Add of_pci_get_devfn() function

2013-02-11 Thread Thierry Reding
This function can be used to parse the device and function number from a standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on the returned value obtain the device and function numbers respectively. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- Changes in v2:

[PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Thierry Reding
From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet several parsing implementations exist, e.g. arch/mips/pci/pci.c, arch/powerpc/kernel/pci-common.c,

[PATCH 4/4] of/pci: Add of_pci_parse_bus_range() function

2013-02-11 Thread Thierry Reding
This function can be used to parse a bus-range property as specified by device nodes representing PCI bridges. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/of/of_pci.c| 25 + include/linux/of_pci.h | 1 + 2 files changed, 26

[PATCH V4 1/5] DMA: PL330: Add new pl330 filter for DT case.

2013-02-11 Thread Padmavathi Venna
This patch adds a new pl330_dt_filter for DT case to filter the required channel based on the new filter params and modifies the old filter only for non-DT case as suggested by Arnd Bergmann. Signed-off-by: Padmavathi Venna padm...@samsung.com Acked-by: Arnd Bergmann a...@arndb.de ---

[PATCH V4 2/5] DMA: PL330: Add xlate function

2013-02-11 Thread Padmavathi Venna
Add xlate to translate the device-tree binding information into the appropriate format. The filter function requires the dma controller device and dma channel number as filter_params. Signed-off-by: Padmavathi Venna padm...@samsung.com Acked-by: Arnd Bergmann a...@arndb.de ---

[PATCH V4 5/5] ARM: SAMSUNG: dma: Remove unnecessary code

2013-02-11 Thread Padmavathi Venna
This patch removes the usage of DMACH_DT_PROP and dt_dmach_prop from dma code as the new generic dma dt binding support has been added. Signed-off-by: Padmavathi Venna padm...@samsung.com Acked-by: Arnd Bergmann a...@arndb.de --- arch/arm/mach-s3c24xx/include/mach/dma.h |1 -

[PATCH] serial/arc-uart: Miscll DT related updates (Grant's review comments)

2013-02-11 Thread Vineet Gupta
-replace baud with current-speed -if uart alias doesn't exist in DT, don't abort, pick 0 Signed-off-by: Vineet Gupta vgu...@synopsys.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Arnd Bergmann a...@arndb.de Cc:

Re: [PATCH] clk: add si5351 i2c common clock driver

2013-02-11 Thread Sebastian Hesselbarth
On 02/11/2013 06:46 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2013-02-09 04:59:32) This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is not implemented.

Re: [PATCH RFC 1/7] platform: add a device node

2013-02-11 Thread Javier Martinez Canillas
On Mon, Feb 11, 2013 at 9:16 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sun, Feb 10, 2013 at 12:35:43PM +0100, Javier Martinez Canillas wrote: On Sun, Feb 10, 2013 at 10:37 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sun, Feb 10, 2013 at 02:49:21AM +0100, Javier

Re: [PATCH RFC 3/7] ARM: OMAP: gpmc-smsc911x: add DT dev node init function

2013-02-11 Thread Javier Martinez Canillas
On Mon, Feb 11, 2013 at 11:30 AM, Mark Rutland mark.rutl...@arm.com wrote: Hi, I have a few comments on the binding and the way it's parsed. On Sat, Feb 09, 2013 at 08:44:27PM +, Javier Martinez Canillas wrote: This patch adds a helper function to parse a device node that contains all

Re: [PATCH 12/12] clocksource: samsung-time: Add Device Tree support

2013-02-11 Thread Mark Rutland
On Sun, Feb 10, 2013 at 01:20:23PM +, Tomasz Figa wrote: This patch adds support for parsing all platform-specific data from Device Tree and instantiation using clocksource_of_init to samsung-time clocksource driver. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Tomasz Figa

Re: [PATCH RFC 1/7] platform: add a device node

2013-02-11 Thread Sascha Hauer
On Mon, Feb 11, 2013 at 11:33:19AM +0100, Javier Martinez Canillas wrote: On Mon, Feb 11, 2013 at 9:16 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sun, Feb 10, 2013 at 12:35:43PM +0100, Javier Martinez Canillas wrote: On Sun, Feb 10, 2013 at 10:37 AM, Russell King - ARM Linux

Re: [PATCH] of: Create function for counting number of phandles in a property

2013-02-11 Thread Andreas Larsson
On 2013-02-11 00:58, Grant Likely wrote: diff --git a/drivers/of/base.c b/drivers/of/base.c index 2390ddb..e1120a2 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1025,12 +1025,13 @@ EXPORT_SYMBOL(of_parse_phandle); * To get a device_node of the `node2' node you may call this: *

Re: [PATCH RFC 1/7] platform: add a device node

2013-02-11 Thread Javier Martinez Canillas
On Mon, Feb 11, 2013 at 12:24 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Feb 11, 2013 at 11:33:19AM +0100, Javier Martinez Canillas wrote: On Mon, Feb 11, 2013 at 9:16 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sun, Feb 10, 2013 at 12:35:43PM +0100, Javier Martinez Canillas

Re: [PATCH] cpuidle: kirkwood: Move out of mach directory, add DT.

2013-02-11 Thread Grant Likely
On Sun, 10 Feb 2013 19:58:12 +0100, Andrew Lunn and...@lunn.ch wrote: +* QNAP Power Off + +QNAP NAS devices have a microcontroller controlling the main power +supply. This microcontroller is connected to UART1 of the Kirkwood and +Orion5x SoCs. Sending the charactor 'A', at 19200

[PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-11 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. Explicitly allow -1 as a legal value for the mcp23s08_platform_data-base. This is the special value lets the kernel choose a valid global gpio base number. There is a mcp,chips

[PATCH 1/2] ARM: OMAP2+: Allow clock alias provision from device tree

2013-02-11 Thread Roger Quadros
Currently on OMAP, it is not possible to specify a clock consumer to any of the OMAP generated clocks using the device tree. This can pose a problem for external devices that run off an OMAP clock as we can't reliably provide a reference to the clock in the device tree. This patch allows device

[PATCH 2/2] ARM: dts: omap4-panda: Add clock alias for USB PHY

2013-02-11 Thread Roger Quadros
On Panda, the USB Host PHY is clocked by FREF3_CLK (auxclk3_ck) pin of the OMAP. Provide this information in the device tree. CC: Russell King li...@arm.linux.org.uk CC: Rajendra Nayak rna...@ti.com CC: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/2] ARM: OMAP2+: Allow clock alias provision from device tree

2013-02-11 Thread Felipe Balbi
Hi, On Mon, Feb 11, 2013 at 05:44:23PM +0200, Roger Quadros wrote: @@ -36,12 +39,76 @@ static struct of_device_id omap_dt_match_table[] __initdata = { { } }; +static int __init omap_create_clk_alias(struct device_node *np) if the rest of the folks agree with the aproach, looks

Re: [PATCH 1/2] ARM: OMAP2+: Allow clock alias provision from device tree

2013-02-11 Thread Sascha Hauer
On Mon, Feb 11, 2013 at 05:44:23PM +0200, Roger Quadros wrote: Currently on OMAP, it is not possible to specify a clock consumer to any of the OMAP generated clocks using the device tree. This can pose a problem for external devices that run off an OMAP clock as we can't reliably provide a

Re: [PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-11 Thread Chris Ball
Hi Matt, On Fri, Feb 01 2013, Matt Porter wrote: This series adds DT DMA Engine Client support to the omap_hsmmc. It leverages the generic DMA OF helpers in -next and the dma_request_slave_channel_compat() wrapper introduced in the AM33XX DMA Engine series to support DMA in omap_hsmmc on

Re: Sound record on Devkit8000 with DT boot issue

2013-02-11 Thread Peter Ujfalusi
will be turned on for you. I tried with this routing (next-20130211 tag kernel). But it is not working for me. So i have gone through other board and found snd_soc_dapm_route for 1) zoom2.c {MAINMIC, NULL, Mic Bias 1}, {Mic Bias 1, NULL, Ext Mic}, 2) omap3pandora.c

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

2013-02-11 Thread Philipp Zabel
Hi Grant, Am Freitag, den 08.02.2013, 20:16 + schrieb Grant Likely: On Mon, 4 Feb 2013 12:32:16 +0100, Philipp Zabel p.za...@pengutronix.de 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.

Re: Sound record on Devkit8000 with DT boot issue

2013-02-11 Thread Anil Kumar
something like: ti,audio-routing = Ext Spk, PREDRIVEL, Ext Spk, PREDRIVER, MAINMIC, Main Mic, Main Mic, Mic Bias 1; So you connect the MicBias1 to Main Mic. When you start playback MicBias1 will be turned on for you. I tried with this routing (next-20130211 tag

Re: [PATCH V8] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-11 Thread Stephen Warren
the .dts file. ... I've applied this and was going to push it out, but I've just thought of a problem that could be a show stopper. ... Grant, I notice this showed up in next-20130211 as: 22435f3 kbuild: create a rule to run the pre-processor on *.dts files Was that intentional? I assumed you wanted

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Stephen Warren
+- drivers/of/base.c | 100 ++-- include/linux/of.h | 2 +- 3 files changed, 59 insertions(+), 47 deletions(-) Applied. This commit is present in next-20130211, and causes a boot failure (hang) early while booting on Tegra

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Rob Herring
On 02/11/2013 02:22 AM, Thierry Reding wrote: From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet several parsing implementations exist, e.g.

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Rob Herring
.] arch/sparc/kernel/prom_common.c | 4 +- drivers/of/base.c | 100 ++-- include/linux/of.h | 2 +- 3 files changed, 59 insertions(+), 47 deletions(-) Applied. This commit is present in next-20130211, and causes a boot

[PATCH] of: fix recursive locking in of_get_next_available_child()

2013-02-11 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com of_get_next_available_child() acquires devtree_lock, then calls of_device_is_available() which calls of_get_property() which calls of_find_property() which tries to re-acquire devtree_lock, thus causing deadlock. To avoid this, create a new

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-11 Thread Grant Likely
On Mon, 11 Feb 2013 12:52:42 +0100, Lars Poeschel la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. Explicitly allow -1 as a legal value for the mcp23s08_platform_data-base. This is the special

Re: [PATCH 2/3] ASoC: add snd_soc_of_get_port_dai_name()

2013-02-11 Thread Stephen Warren
On 02/05/2013 03:11 AM, Kuninori Morimoto wrote: This patch adds snd_soc_of_get_port_dai_name() to get dai name from device_node and port number. diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c +const char *snd_soc_of_get_port_dai_name(struct device_node *of_node, int port) OK,

Re: [PATCH V4 3/4] input: keyboard: tegra: add support for rows/cols configuration from dt

2013-02-11 Thread Grant Likely
On Sun, 6 Jan 2013 16:44:59 +0530, Laxman Dewangan ldewan...@nvidia.com wrote: The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad. Any pin can be configured as row or column. The maximum column pin can be 8 and maximum row pin can be 16. Remove the assumption that all first 16

Re: [PATCH 3/3 v5] ASoC: simple-card: add Device Tree support

2013-02-11 Thread Stephen Warren
On 02/06/2013 05:55 PM, Kuninori Morimoto wrote: Support for loading the simple-card module via devicetree. It requests cpu/codec information for probing. +Simple-Card: + +Required properties: + + [prefix] means cpu/codec here + +- compatible :

[PATCH 1/6] mfd: max8925: add irqdomain for dt

2013-02-11 Thread Haojian Zhuang
From: Qing Xu qi...@marvell.com Add irqdomains for max8925's main irq, wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver. Signed-off-by: Qing Xu qi...@marvell.com Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com

[PATCH 2/6] mfd: max8925: fix mfd device register failure

2013-02-11 Thread Haojian Zhuang
From: Qing Xu qi...@marvell.com we encounter rtc/power/touch driver registry failure, root cause it is resources confilict in insert_resouce, solved by changing mfd_add_devices 5th parameter to NULL Signed-off-by: Qing Xu qi...@marvell.com --- drivers/mfd/max8925-core.c | 22

[PATCH 3/6] mfd: max8925: fix onkey driver irq base

2013-02-11 Thread Haojian Zhuang
From: Qing Xu qi...@marvell.com update onkey driver's irq base, it should get from max8925, but not save in a private value Signed-off-by: Qing Xu qi...@marvell.com Acked-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/misc/max8925_onkey.c |3 --- drivers/mfd/max8925-core.c

[PATCH 4/6] mfd: max8925: support dt for backlight

2013-02-11 Thread Haojian Zhuang
From: Qing Xu qi...@marvell.com Add device tree support in max8925 backlight. Signed-off-by: Qing Xu qi...@marvell.com Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- drivers/video/backlight/max8925_bl.c | 31 ++- 1 file changed, 30 insertions(+), 1

[PATCH 5/6] mfd: max8925: add dts

2013-02-11 Thread Haojian Zhuang
From: Qing Xu qi...@marvell.com Add max8925 dts support into mmp2 brownstone platform Signed-off-by: Qing Xu qi...@marvell.com Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- arch/arm/boot/dts/mmp2-brownstone.dts | 158 + arch/arm/boot/dts/mmp2.dtsi

[PATCH 6/6] Documentation: add docs for max8925 dt

2013-02-11 Thread Haojian Zhuang
From: Qing Xu qi...@marvell.com add docs for dt of max8925-mfd, max8925-backlight, and max8925-battery Signed-off-by: Qing Xu qi...@marvell.com Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- Documentation/devicetree/bindings/mfd/max8925.txt | 64

Re: [PATCH 1/2] iio: Update iio_channel_get API to use consumer device pointer as argument

2013-02-11 Thread Anton Vorontsov
On Mon, Feb 04, 2013 at 12:26:05PM -0800, Guenter Roeck wrote: For iio_channel_get to work with OF based configurations, it needs the consumer device pointer instead of the consumer device name as argument. Signed-off-by: Guenter Roeck li...@roeck-us.net ---

RE: [PATCH] ARM: dts: specify all the per-cpu interrupts of arch timer for exynos5440

2013-02-11 Thread kgene
Santosh Shilimkar wrote: Benoit, On Thursday 24 January 2013 06:46 PM, Marc Zyngier wrote: Hi Benoit, On 24/01/13 12:42, Benoit Cousson wrote: Hi Santosh, On 01/23/2013 11:55 AM, Santosh Shilimkar wrote: Looping Marc, Benoit On Wednesday 23 January 2013 04:06 PM, Mark

Re: [PATCH 1/2] iio: Update iio_channel_get API to use consumer device pointer as argument

2013-02-11 Thread Chanwoo Choi
On 02/05/2013 05:26 AM, Guenter Roeck wrote: For iio_channel_get to work with OF based configurations, it needs the consumer device pointer instead of the consumer device name as argument. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/extcon/extcon-adc-jack.c|3 +--

Re: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-11 Thread 김승우
Hi Inki, On 2013년 02월 05일 12:03, Inki Dae wrote: 2013/2/4 Sachin Kamat sachin.ka...@linaro.org: On 1 February 2013 18:28, Inki Dae daei...@gmail.com wrote: 2013. 2. 1. 오후 8:52 Inki Dae inki@samsung.com 작성: -Original Message- From: linux-media-ow...@vger.kernel.org

Re: [PATCH v8 3/4] media: coda: use genalloc API

2013-02-11 Thread javier Martin
Hi Philipp, thank you for preserving compatibility for platform data. For the coda sources: Acked-By: Javier Martin javier.mar...@vista-silicon.com On 4 February 2013 12:32, Philipp Zabel p.za...@pengutronix.de wrote: This patch depends on genalloc: add devres support, allow to find a managed

Re: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-11 Thread Joonyoung Shim
On 02/05/2013 12:03 PM, Inki Dae wrote: 2013/2/4 Sachin Kamat sachin.ka...@linaro.org: On 1 February 2013 18:28, Inki Dae daei...@gmail.com wrote: 2013. 2. 1. 오후 8:52 Inki Dae inki@samsung.com 작성: -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media-

Re: [PATCH v3 1/3] drm/exynos: Get HDMI version from device tree

2013-02-11 Thread Joonyoung Shim
On 02/06/2013 09:56 AM, Sean Paul wrote: On Tue, Feb 5, 2013 at 4:42 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/05/2013 05:37 PM, Sean Paul wrote: On Tue, Feb 5, 2013 at 4:22 PM, Stephen Warren swar...@wwwdotorg.org wrote: n 02/05/2013 04:42 PM, Sean Paul wrote: Use the compatible

Re: [PATCH v3 1/3] drm/exynos: Get HDMI version from device tree

2013-02-11 Thread 김승우
On 2013년 02월 06일 09:56, Sean Paul wrote: On Tue, Feb 5, 2013 at 4:42 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/05/2013 05:37 PM, Sean Paul wrote: On Tue, Feb 5, 2013 at 4:22 PM, Stephen Warren swar...@wwwdotorg.org wrote: n 02/05/2013 04:42 PM, Sean Paul wrote: Use the

Re: [PATCH] net: sh_eth: Add support of device tree probe

2013-02-11 Thread Denis Kirjanov
On 2/6/13, Simon Horman horms+rene...@verge.net.au wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com This adds support of device tree probe for Renesas sh-ether driver. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---

RE: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-11 Thread Lior Amsalem
From: Jason Cooper [mailto:ja...@lakedaemon.net] Sent: Tuesday, February 05, 2013 8:09 PM On Tue, Feb 05, 2013 at 06:07:05PM +0100, Thomas Petazzoni wrote: Of course, it doesn't make sense to have drivers for pluggable devices like PCIe devices that are not soldered, USB devices and

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-11 Thread 김승우
On 2013년 02월 06일 17:51, Inki Dae wrote: -Original Message- From: Sachin Kamat [mailto:sachin.ka...@linaro.org] Sent: Wednesday, February 06, 2013 5:03 PM To: Inki Dae Cc: linux-me...@vger.kernel.org; dri-de...@lists.freedesktop.org; devicetree-discuss@lists.ozlabs.org;

Re: [PATCH 0/2] ARM: dts: omap3-overo: Add pwm-leds and audio support

2013-02-11 Thread Philippe Rétornaz
Hi all ! Le 06/02/2013 14:30, Benoit Cousson a écrit : Salut Florian, On 02/04/2013 10:14 AM, Florian Vaussard wrote: Hello Benoit, On 01/24/2013 01:21 PM, Benoit Cousson wrote: + Peter who did the original PWM Hi Florian, On 01/23/2013 06:56 PM, Florian Vaussard wrote: Hello Benoit,

Re: [PATCH] net: sh_eth: Add support of device tree probe

2013-02-11 Thread Nobuhiro Iwamatsu
HI, On Wed, Feb 6, 2013 at 4:30 PM, Denis Kirjanov k...@linux-powerpc.org wrote: On 2/6/13, Simon Horman horms+rene...@verge.net.au wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com This adds support of device tree probe for Renesas sh-ether driver. Signed-off-by: Nobuhiro

Re: [PATCH] net: sh_eth: Add support of device tree probe

2013-02-11 Thread Nobuhiro Iwamatsu
Hi, On Wed, Feb 6, 2013 at 5:26 PM, Magnus Damm magnus.d...@gmail.com wrote: Hey Simon, Iwamatsu-san, On Wed, Feb 6, 2013 at 11:00 AM, Simon Horman horms+rene...@verge.net.au wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com This adds support of device tree probe for Renesas

Re: [PATCH] net: sh_eth: Add support of device tree probe

2013-02-11 Thread Nobuhiro Iwamatsu
Hi, On Wed, Feb 6, 2013 at 5:36 PM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: Hi Simon, Iwamatsu-san +Required properties: +- compatible: renesas,sh-eth; +- interrupt-parent: The phandle for the interrupt controller that +

Re: [PATCH] net: sh_eth: Add support of device tree probe

2013-02-11 Thread Nobuhiro Iwamatsu
Hi, On Thu, Feb 7, 2013 at 10:42 AM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: Hi Iwamatsu-san +Required properties: +- compatible: renesas,sh-eth; +- interrupt-parent: The phandle for the interrupt controller that +

Re: [PATCH 1/5] ARM: dts: exynos5250-arndale: Add node entry for gpio-buttons

2013-02-11 Thread Manish Badarkhe
Hi Tushar On Thu, Feb 7, 2013 at 11:56 AM, Tushar Behera tushar.beh...@linaro.org wrote: On 02/07/2013 11:47 AM, Kumar, Anil wrote: On Thu, Feb 07, 2013 at 10:45:25, Tushar Behera wrote: Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org

Re: [PATCH 1/5] ARM: dts: exynos5250-arndale: Add node entry for gpio-buttons

2013-02-11 Thread Girish KS
On Wed, Feb 6, 2013 at 10:56 PM, Tushar Behera tushar.beh...@linaro.org wrote: On 02/07/2013 12:06 PM, Manish Badarkhe wrote: Hi Tushar On Thu, Feb 7, 2013 at 11:56 AM, Tushar Behera tushar.beh...@linaro.org wrote: On 02/07/2013 11:47 AM, Kumar, Anil wrote: On Thu, Feb 07, 2013 at

Re: [PATCH v4 2/2] iio: Add OF support

2013-02-11 Thread Jonathan Cameron
On 07/02/13 01:53, Guenter Roeck wrote: On Wed, Feb 06, 2013 at 07:37:37PM +, Jonathan Cameron wrote: On 02/06/2013 06:29 PM, Guenter Roeck wrote: Provide bindings and parse OF data during initialization. Signed-off-by: Guenter Roeck li...@roeck-us.net looks good to me. Couple of little

[PATCH] ARM: dts: add minimal DT support for DevKit8000

2013-02-11 Thread Anil Kumar
DevKit8000 is a beagle board clone from Timll, sold by armkits.com. The DevKit8000 has RS232 serial port, LCD, DVI-D, S-Video, Ethernet, SD/MMC, keyboard, camera, SPI, I2C, USB and JTAG interface. This patch adds the basic DT support for devkit8000. At this time, Information of twl4030, MMC1,

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-11 Thread Arend van Spriel
On 02/07/2013 10:46 PM, Joe Perches wrote: alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now unused stack

Re: [PATCH v5] iio: Add OF support

2013-02-11 Thread Jonathan Cameron
On 07/02/13 17:09, Guenter Roeck wrote: Provide bindings and parse OF data during initialization. Signed-off-by: Guenter Roeck li...@roeck-us.net Looks fine to me. Will give it a few more days to see what others have to say. Thanks Guenter --- v5: - Updated examples in bindings. v4: - Fixed

Re: Wifi basics documents

2013-02-11 Thread Arend van Spriel
On 02/08/2013 07:55 AM, Onteddu Slreddy wrote: Hello All, I recently joined this group the group. Can anybody suggest me places where I can get Documents which will explain wifi Architecture in brief i would like to know details like In Linux for embedded systems: What is

Re: Wifi basics documents

2013-02-11 Thread sl reddy
Hi Thanks for reply i referred that site (wireless.kernel.org) as you said there is lot of information but i am bit confused in getting right information because i am not interested much about hardware architecture as of now I need clear picture of software architecture but in the website

Re: Wifi basics documents

2013-02-11 Thread Arend van Spriel
On 02/08/2013 10:53 AM, sl reddy wrote: any successions will be helpful for me My *suggestion* would be: http://wireless.kernel.org/en/developers/Documentation For what it is worth, below is some terrible ascii art. Gr. AvS Fullmac model: user-space (libnl)

Re: Wifi basics documents

2013-02-11 Thread sl reddy
Thank you I will start from here Thanks Regards O S L Reddy slredd...@gmail.com On Fri, Feb 8, 2013 at 3:50 PM, Arend van Spriel ar...@broadcom.com wrote: On 02/08/2013 10:53 AM, sl reddy wrote: any successions will be helpful for me My *suggestion* would be:

RE: [PATCH] ARM: dts: add minimal DT support for DevKit8000

2013-02-11 Thread AnilKumar
Hi Mark, Thanks for the review comments. Please find my comments inline. On Thu, Feb 07, 2013 at 23:09:49, Mark Rutland wrote: Hello, I have a couple of minor comments. On Thu, Feb 07, 2013 at 02:11:37PM +, Anil Kumar wrote: DevKit8000 is a beagle board clone from Timll, sold by

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-11 Thread John W. Linville
On Thu, Feb 07, 2013 at 01:46:27PM -0800, Joe Perches wrote: alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now

Re: [PATCH RESEND] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-11 Thread Mauro Carvalho Chehab
Em Wed, 06 Feb 2013 18:18:22 +0100 Sebastian Hesselbarth sebastian.hesselba...@gmail.com escreveu: On 02/06/2013 02:48 PM, Sylwester Nawrocki wrote: On 02/06/2013 09:03 AM, Sebastian Hesselbarth wrote: This patch adds device tree parsing for gpio_ir_recv platform_data and the mandatory

Re: [PATCH RESEND] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-11 Thread Mauro Carvalho Chehab
Em Fri, 8 Feb 2013 19:12:31 +0100 Sebastian Hesselbarth sebastian.hesselba...@gmail.com escreveu: On Fri, Feb 8, 2013 at 6:57 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Wed, 06 Feb 2013 18:18:22 +0100 Sebastian Hesselbarth sebastian.hesselba...@gmail.com escreveu: On

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-11 Thread Mauro Carvalho Chehab
Em Fri, 8 Feb 2013 21:38:07 +0100 Sebastian Hesselbarth sebastian.hesselba...@gmail.com escreveu: This patch adds device tree parsing for gpio_ir_recv platform_data and the mandatory binding documentation. It basically follows what we already have for e.g. gpio_keys. All required device tree

Re: [PATCH v3 03/13] mmc: provide a standard MMC device-tree binding parser centrally

2013-02-11 Thread Markus Pargmann
On Wed, Feb 06, 2013 at 08:46:50PM +0100, Guennadi Liakhovetski wrote: + /* Parse Card Detection */ + if (of_find_property(np, non-removable, len)) { + host-caps |= MMC_CAP_NONREMOVABLE; + } else { + bool explicit_inv_cd, gpio_inv_cd = false; + +

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-11 Thread Mauro Carvalho Chehab
Em Sat, 09 Feb 2013 01:45:42 +0100 Sebastian Hesselbarth sebastian.hesselba...@gmail.com escreveu: On 02/09/2013 01:03 AM, Mauro Carvalho Chehab wrote: Em Fri, 8 Feb 2013 21:38:07 +0100 Sebastian Hesselbarthsebastian.hesselba...@gmail.com escreveu: This patch adds device tree parsing

Re: [PATCH 3.9] Driver for 7-segment displays connected over GPIOs

2013-02-11 Thread Pavel Machek
Hi! thomas.petazz...@free-electrons.com wrote: This patch series implements a simple driver for 7-segment displays connected over GPIOs through a BCD encoder. The userspace interface of the driver is very simple: just a value file in the sysfs directory of the device, which can be

Re: [PATCH] gpio: Add device driver for GRGPIO cores

2013-02-11 Thread Anton Vorontsov
On Mon, Feb 04, 2013 at 11:27:33AM +0100, Andreas Larsson wrote: [...] 2) The grgpio_to_irq function is very hardware specific, and there is of course no gpio_to_irq support in gpio-generic. Well, the idea about gpio-generic is to use the pieces you need IIRC. You may override. Ah, I see,

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-11 Thread Vladimir Kondratiev
On Thursday, February 07, 2013 01:46:27 PM Joe Perches wrote: alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now

Sound record on Devkit8000 with DT boot issue

2013-02-11 Thread Anil Kumar
Hi All, I am working on Devkit8000 and adding DT support for that. I am trying to add sound DT node support for this boards. I have nearly done with this but facing issue on record. I do not have much knowledge of twl4030 audio codec but with small Hack[1] (as MainMic connected to the input jack)

[PATCH V2] ARM: dts: add minimal DT support for DevKit8000

2013-02-11 Thread Anil Kumar
DevKit8000 is a beagle board clone from Timll, sold by armkits.com. The DevKit8000 has RS232 serial port, LCD, DVI-D, S-Video, Ethernet, SD/MMC, keyboard, camera, SPI, I2C, USB and JTAG interface. This patch adds the basic DT support for devkit8000. At this time, Information of twl4030, MMC1,

[PATCH V2] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-11 Thread Amit Daniel Kachhap
Added S5M8767 PMIC DT nodes for Arndale board. Only the used LDO's/BUCK are defined here. Also the nodes describe the default/reset state LDO's and no power mangement tuning is implemented. The usage desription can be found in s5m8767 device tree binding documentation. Cc: Tushar Behera

Re: [PATCH 2/5] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-11 Thread amit daniel kachhap
The V2 of this patch is posted with comments suggested by Anil and some missing LDO's. Thanks, Amit Daniel On Wed, Feb 6, 2013 at 9:56 PM, Tushar Behera tushar.beh...@linaro.org wrote: On 02/07/2013 11:19 AM, Kumar, Anil wrote: On Thu, Feb 07, 2013 at 10:45:26, Tushar Behera wrote: From: Amit

Re: [PATCH v4 02/10] s5p-fimc: Add device tree support for FIMC devices

2013-02-11 Thread Stephen Warren
On 02/09/2013 03:29 PM, Sylwester Nawrocki wrote: On 02/09/2013 01:32 AM, Stephen Warren wrote: On 02/08/2013 05:05 PM, Sylwester Nawrocki wrote: On 02/09/2013 12:21 AM, Stephen Warren wrote: On 02/08/2013 04:16 PM, Sylwester Nawrocki wrote: On 02/07/2013 12:40 AM, Stephen Warren wrote: diff

Re: [PATCH 1/2] powerpc/5200: Add Lite5200 on-board LEDs as devices

2013-02-11 Thread Anatolij Gustschin
On Fri, 8 Feb 2013 08:02:50 + Grant Likely grant.lik...@secretlab.ca wrote: The Lite5200 evaluation board has a number of debug LEDs that Linux doesn't know about yet. This change adds a gpio-leds stanza to the lite5200 device tree so that the correct driver can get hooked up. Also,

Re: [PATCH 2/2] powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files

2013-02-11 Thread Anatolij Gustschin
On Fri, 8 Feb 2013 08:02:51 + Grant Likely grant.lik...@secretlab.ca wrote: The DTC labels feature allows a dts file to reference a node without having to reproduce the entire node hierarchy above it. We can use this to simplify the MPC5200 board dts files by referencing the gpt nodes by

[PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Grant Likely
of_get_next_available_child() obtains the devtree_lock and then calls of_device_is_available() which also attempts to claim the lock. This is obviously incorrect and causes a deadlock on boot. Fix issue by adding an variant of of_device_is_available() which doesn't obtain the lock. Cc: Stephen

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Rob Herring
changed, 59 insertions(+), 47 deletions(-) Applied. This commit is present in next-20130211, and causes a boot failure (hang) early while booting on Tegra. Reverting just this one commit solves the issue. I'll see if I can track down where the issue is. Given the commit description, I

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Grant Likely
(-) Applied. This commit is present in next-20130211, and causes a boot failure (hang) early while booting on Tegra. Reverting just this one commit solves the issue. I'll see if I can track down where the issue is. Given the commit description, I assume there's some new recursive lock issue

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Rob Herring
On 02/11/2013 04:19 PM, Grant Likely wrote: of_get_next_available_child() obtains the devtree_lock and then calls of_device_is_available() which also attempts to claim the lock. This is obviously incorrect and causes a deadlock on boot. Fix issue by adding an variant of

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Grant Likely
On Mon, Feb 11, 2013 at 10:27 PM, Rob Herring robherri...@gmail.com wrote: On 02/11/2013 04:19 PM, Grant Likely wrote: of_get_next_available_child() obtains the devtree_lock and then calls of_device_is_available() which also attempts to claim the lock. This is obviously incorrect and causes a

Re: [PATCH] of: fix recursive locking in of_get_next_available_child()

2013-02-11 Thread Grant Likely
On Mon, 11 Feb 2013 14:15:32 -0700, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com of_get_next_available_child() acquires devtree_lock, then calls of_device_is_available() which calls of_get_property() which calls of_find_property() which tries to

Re: [PATCH next v2] OF: convert devtree lock from rw_lock to raw spinlock

2013-02-11 Thread Grant Likely
On Mon, Feb 11, 2013 at 10:21 PM, Rob Herring robherri...@gmail.com wrote: On 02/11/2013 04:18 PM, Grant Likely wrote: On Mon, Feb 11, 2013 at 7:54 PM, Rob Herring robherri...@gmail.com wrote: I found the problem. of_get_next_available_child - of_device_is_available - of_get_property -

Re: [PATCH V3] i2c: add bcm2835 driver

2013-02-11 Thread Wolfram Sang
Hi Stephen, On Fri, Feb 08, 2013 at 08:52:58PM -0700, Stephen Warren wrote: This implements a very basic I2C host driver for the BCM2835 SoC. Missing features so far are: * 10-bit addressing. * DMA. Reviewed-by: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Stephen Warren

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-11 Thread Stephen Warren
On 02/11/2013 03:19 PM, Grant Likely wrote: of_get_next_available_child() obtains the devtree_lock and then calls of_device_is_available() which also attempts to claim the lock. This is obviously incorrect and causes a deadlock on boot. Fix issue by adding an variant of

Re: [PATCH 12/12] clocksource: samsung-time: Add Device Tree support

2013-02-11 Thread Tomasz Figa
Hi Mark, Thanks for your comments. See my replies inline. On Monday 11 of February 2013 11:00:56 Mark Rutland wrote: On Sun, Feb 10, 2013 at 01:20:23PM +, Tomasz Figa wrote: This patch adds support for parsing all platform-specific data from Device Tree and instantiation using

Fwd:

2013-02-11 Thread Belisko Marek
http://www.prinzicase.com/qnyigp.php?s=ot ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH V3] i2c: add bcm2835 driver

2013-02-11 Thread Stephen Warren
On 02/11/2013 03:52 PM, Wolfram Sang wrote: Hi Stephen, On Fri, Feb 08, 2013 at 08:52:58PM -0700, Stephen Warren wrote: This implements a very basic I2C host driver for the BCM2835 SoC. Missing features so far are: * 10-bit addressing. * DMA. ... +ret =

[PATCH V4] i2c: add bcm2835 driver

2013-02-11 Thread Stephen Warren
This implements a very basic I2C host driver for the BCM2835 SoC. Missing features so far are: * 10-bit addressing. * DMA. Reviewed-by: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- v4: * Convert FIFO fill/drain loops from for to while. * Don't

Re: Sound record on Devkit8000 with DT boot issue

2013-02-11 Thread Anil Kumar
Mic, Mic Bias 1; So you connect the MicBias1 to Main Mic. When you start playback MicBias1 will be turned on for you. I tried with this routing (next-20130211 tag kernel). But it is not working for me. So i have gone through other board and found snd_soc_dapm_route for 1) zoom2.c

Re: [PATCH 3/3 v5] ASoC: simple-card: add Device Tree support

2013-02-11 Thread Kuninori Morimoto
Hi Stephen +sound { + compatible = simple-audio; ... + simple-audio,codec,dai = ak4648 0; ... +sh_fsi2: sh_fsi2@0xec23 { + compatible = renesas,sh_fsi2; + reg = 0xec23 0x400; + interrupt-parent = gic; + interrupts = 0 146 0x4; +}; Note that the DT

Re: [PATCH 2/3] ASoC: add snd_soc_of_get_port_dai_name()

2013-02-11 Thread Kuninori Morimoto
Hi Stephen 2) Call an of_xlate function on that driver, passing it the portspec I mentioned above; the driver will interpret the portspec, maps it to the ASoC port name, and return it. The DT binding for each audio component must define the list of valid port IDs, and the number of cells

  1   2   >