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

2013-02-06 Thread Peter Ujfalusi
Hi, On 02/06/2013 02:30 PM, Benoit Cousson wrote: >> So a patch is being merged to handle triggers in the case of pwm leds [1]. >> When done, we will be able to add back the default trigger. Do you want >> to wait on it to merge this series? > > What kind of dependency do we have between these tw

[PATCH v2 3/3] ARM: davinci: da850: add mmc DT entries

2013-02-06 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested on da850-evm without card detect and EDMA support as DT support for GPIO and EDMA are yet come. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.ke

[PATCH v2 2/3] mmc: davinci_mmc: add DT support

2013-02-06 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. Tested in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker.

[PATCH v2 0/3] Add DT support for davinci_mmc driver

2013-02-06 Thread Manjunathappa, Prakash
Patch set adds DT support for davinci_mmc driver and is verified on da850-evm without card_detect/write_protect and EDMA support. This patch depends on below patches under review: 1) Patch "drivers/pinctrl: grab default handles from device core" http://www.gossamer-threads.com/lists/linux/

[PATCH v2 1/3] ARM: davinci: da850: override mmc DT node device name

2013-02-06 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux-ope

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

2013-02-06 Thread Tushar Behera
On 02/07/2013 12:06 PM, Manish Badarkhe wrote: > Hi Tushar > > On Thu, Feb 7, 2013 at 11:56 AM, Tushar Behera > 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-

Re: [PATCH 3/8] ARM: dts: omap: Add usb_otg and glue data

2013-02-06 Thread kishon
Hi, On Thursday 07 February 2013 11:51 AM, Rajendra Nayak wrote: []... diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Documentation/devicetree/bindings/usb/omap-usb.txt index 29a043e..4688265 100644 --- a/Documentation/devicetree/bindings/usb/omap-usb.txt +++ b/Documentatio

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

2013-02-06 Thread Tushar Behera
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 >> Signed-off-by: Sachin Kamat >> --- >> This series is based on for-next branch of Kukjin Kim's tree >> and

Re: [PATCH 3/8] ARM: dts: omap: Add usb_otg and glue data

2013-02-06 Thread Rajendra Nayak
[]... diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Documentation/devicetree/bindings/usb/omap-usb.txt index 29a043e..4688265 100644 --- a/Documentation/devicetree/bindings/usb/omap-usb.txt +++ b/Documentation/devicetree/bindings/usb/omap-usb.txt @@ -15,6 +15,7 @@ OMAP MUSB

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

2013-02-06 Thread Kumar, Anil
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 > Signed-off-by: Sachin Kamat > --- > This series is based on for-next branch of Kukjin Kim's tree > and added on top of the below patch: > https://patchwor

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

2013-02-06 Thread Tushar Behera
On 02/07/2013 11:19 AM, Kumar, Anil wrote: > On Thu, Feb 07, 2013 at 10:45:26, Tushar Behera wrote: >> From: Amit Daniel Kachhap >> >> Added S5M8767 PMIC DT nodes to Arndale board. >> >> Signed-off-by: Amit Daniel Kachhap >> Signed-off-by: Sachin Kamat >> Signed-off-by: Tushar Behera >> --- >>

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

2013-02-06 Thread Kumar, Anil
On Thu, Feb 07, 2013 at 10:45:26, Tushar Behera wrote: > From: Amit Daniel Kachhap > > Added S5M8767 PMIC DT nodes to Arndale board. > > Signed-off-by: Amit Daniel Kachhap > Signed-off-by: Sachin Kamat > Signed-off-by: Tushar Behera > --- > arch/arm/boot/dts/exynos5250-arndale.dts | 213 >

[PATCH 5/5] ARM: dts: exynos5250-arndale: Add HDMI HPD and regulator node

2013-02-06 Thread Tushar Behera
From: Sachin Kamat Added HDMI hot plug and regulator nodes to Arndale DT file. Signed-off-by: Sachin Kamat Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos5250-arndale.dts | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos525

[PATCH 4/5] ARM: dts: exynos5250-arndale: Add MFC codec support

2013-02-06 Thread Tushar Behera
From: Sachin Kamat Added MFC codec node to Arndale DT file. Signed-off-by: Sachin Kamat Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos5250-arndale.dts |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/b

[PATCH 3/5] ARM: dts: exynos5250-arndale: Add vmmc regulator support

2013-02-06 Thread Tushar Behera
From: Sachin Kamat Added vmmc regulator node to Arndale DT file. Signed-off-by: Sachin Kamat Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos5250-arndale.dts | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts

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

2013-02-06 Thread Tushar Behera
From: Amit Daniel Kachhap Added S5M8767 PMIC DT nodes to Arndale board. Signed-off-by: Amit Daniel Kachhap Signed-off-by: Sachin Kamat Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos5250-arndale.dts | 213 +- 1 files changed, 212 insertions(+), 1 deleti

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

2013-02-06 Thread Tushar Behera
Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera Signed-off-by: Sachin Kamat --- This series is based on for-next branch of Kukjin Kim's tree and added on top of the below patch: https://patchwork.kernel.org/patch/2042451/ --- arch/arm/boot/dts/exynos5250-arndale.d

Re: [PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Rahul Sharma
Hi Sylwester, On Wed, Feb 6, 2013 at 8:20 PM, Sylwester Nawrocki wrote: > Hi Rahul, > > On 02/06/2013 03:57 PM, Rahul Sharma wrote: >> Binding Documents for drm-devices are placed in >> Documentation/devicetree/bindings/drm/*. But these devices are common >> for v4l framework, hence moved to a co

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

2013-02-06 Thread Guenter Roeck
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 > looks good to me. Couple of little queries inline. > [ ... ] > > + > > +Example

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

2013-02-06 Thread Kuninori Morimoto
Hi Iwamatsu-san > >> +Required properties: > >> +- compatible: "renesas,sh-eth"; > >> +- interrupt-parent: The phandle for the interrupt controller > >> that > >> +services interrupts for this device. > >> +- reg:

Re: [PATCH v3 06/13] mmc: tmio-mmc: define device-tree bindings

2013-02-06 Thread Simon Horman
On Wed, Feb 06, 2013 at 10:24:20PM +, Arnd Bergmann wrote: > On Wednesday 06 February 2013, Guennadi Liakhovetski wrote: > > +* Toshiba Mobile IO SD/MMC controller > > + > > +The tmio-mmc driver doesn't probe its devices actively, instead its > > binding to > > +devices is managed by either MF

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

2013-02-06 Thread Kuninori Morimoto
Support for loading the simple-card module via devicetree. It requests cpu/codec information for probing. Signed-off-by: Kuninori Morimoto --- v3 -> v4 - removed port-name - it gets dai_name from node and port number v4 -> v5 - fixup compile error on !CONFIG_OF .../devicetree/bindings/sou

Re: [PATCH v4 06/10] s5p-fimc: Use pinctrl API for camera ports configuration

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > Before the camera ports can be used the pinmux needs to be configured > properly. This patch adds a function to set the camera ports pinctrl > to a default state within the media driver's probe(). > The camera port(s) are then configured for the v

Re: [PATCH v4 05/10] s5p-fimc: Add device tree based sensors registration

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > The sensor (I2C and/or SPI client) devices are instantiated by their > corresponding control bus drivers. Since the I2C client's master clock > is often provided by a video bus receiver (host interface) or other > than I2C/SPI controller device, t

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

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > This patch adds support for FIMC devices instantiated from devicetree > for S5PV210 and Exynos4 SoCs. The FIMC IP features include colorspace > conversion and scaling (mem-to-mem) and parallel/MIPI CSI2 bus video > capture interface. > > Multiple

Re: [PATCH v4 01/10] s5p-csis: Add device tree support

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > s5p-csis is platform device driver for MIPI-CSI frontend to the FIMC > device. This patch support for binding the driver to the MIPI-CSIS > devices instantiated from device tree and for parsing all SoC and > board specific properties. > diff --gi

Re: [PATCH v3 02/13] mmc: detailed definition of CD and WP MMC line polarities in DT

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013, Guennadi Liakhovetski wrote: > +*NOTE* on CD and WP polarity. As of 3.8, SD/MMC drivers parse their DT nodes > +each in its own way, including calculation of CD and WP polarities. Our goal > is > +to implement a common MMC DT parser and convert all drivers to using i

Re: [PATCH v3 06/13] mmc: tmio-mmc: define device-tree bindings

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013, Guennadi Liakhovetski wrote: > +* Toshiba Mobile IO SD/MMC controller > + > +The tmio-mmc driver doesn't probe its devices actively, instead its binding > to > +devices is managed by either MFD drivers or by the sh_mobile_sdhi platform > +driver. Those drivers supply

Re: [PATCH/RFC] mmc: add DT bindings for more MMC capability flags

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013, Guennadi Liakhovetski wrote: > > On Thu, 7 Feb 2013, Arnd Bergmann wrote: > > > On Wednesday 06 February 2013 17:25:42 Guennadi Liakhovetski wrote: > > > > > > Thank for pointing me out at that thread. However, I don't think > > > MMC_CAP_POWER_OFF_CARD has anythi

Re: [PATCH 2/2] dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

2013-02-06 Thread Jon Hunter
On 02/06/2013 03:03 PM, Jon Hunter wrote: > If the device-tree blob is present during boot, then register the SDMA > controller with the device-tree DMA driver so that we can use device-tree > to look-up DMA client information. > > Signed-off-by: Jon Hunter > --- > drivers/dma/omap-dma.c | 31

[PATCH 2/2] dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

2013-02-06 Thread Jon Hunter
If the device-tree blob is present during boot, then register the SDMA controller with the device-tree DMA driver so that we can use device-tree to look-up DMA client information. Signed-off-by: Jon Hunter --- drivers/dma/omap-dma.c | 31 ++- 1 file changed, 30 inse

[PATCH 1/2] ARM: dts: OMAP2+: Add SDMA controller bindings and nodes

2013-02-06 Thread Jon Hunter
Add SDMA controller binding for OMAP2+ devices and populate DMA client information for SPI and MMC periperhal on OMAP3+ devices. Please note that OMAP24xx devices do not have SPI and MMC bindings available yet and so DMA client information is not populated. Signed-off-by: Jon Hunter --- .../devi

[PATCH 0/2] ARM: dts: Add DT bindings for OMAP SDMA

2013-02-06 Thread Jon Hunter
Adds device-tree bindings from SDMA on OMAP2+ devices. DMA client bindings are also added for devices that have SPI and MMC bindings populated. Client binding data is based upon existing HWMOD data for OMAP and has been checked against OMAP documentation. Testing includes ... 1. Boot tested on OMA

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

2013-02-06 Thread Paul Gortmaker
From: Thomas Gleixner With the locking cleanup in place (from "OF: Fixup resursive locking code paths"), we can now do the conversion from the rw_lock to a raw spinlock as required for preempt-rt. The previous cleanup and this conversion were originally separate since they predated when mainline

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

2013-02-06 Thread Tomasz Figa
On Wednesday 06 of February 2013 12:05:13 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 > > > > loo

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

2013-02-06 Thread Guenter Roeck
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 > looks good to me. Couple of little queries inline. > > > --- > > v4: > > - Fixed

[PATCH v3 08/13] mmc: sh_mobile_sdhi: remove unused .pdata field

2013-02-06 Thread Guennadi Liakhovetski
The struct sh_mobile_sdhi_info::pdata field was only used for platform- based card detection and isn't used anymore since the migration to GPIO- based MMC slot functions. Remove it. Signed-off-by: Guennadi Liakhovetski --- drivers/mmc/host/sh_mobile_sdhi.c |4 include/linux/mmc/sh_mobi

[PATCH v3 04/13] mmc: (cosmetic) remove "extern" from function declarations

2013-02-06 Thread Guennadi Liakhovetski
The "extern" keyword isn't required in function declarations, remove it. Signed-off-by: Guennadi Liakhovetski --- include/linux/mmc/host.h | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 13c

[PATCH v3 07/13] mmc: tmio-mmc: parse device-tree bindings

2013-02-06 Thread Guennadi Liakhovetski
Add parsing of common and driver-specific DT bindings to the tmio-mmc MMC host driver. Signed-off-by: Guennadi Liakhovetski Cc: Arnd Bergmann --- v3: remove the "toshiba,mmc-cap-sdio-irq" property drivers/mmc/host/tmio_mmc_pio.c | 24 ++-- 1 files changed, 22 insertions(

[PATCH v3 10/13] mmc: tmio: remove unused and deprecated symbols

2013-02-06 Thread Guennadi Liakhovetski
The tmio_mmc_cd_wakeup() inline function has been deprecated since 3.4 and is unused since 3.4 too. Remove them. Signed-off-by: Guennadi Liakhovetski --- include/linux/mfd/tmio.h | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/include/linux/mfd/tmio.h b

[PATCH v3 12/13] mmc: add DT bindings for more MMC capability flags

2013-02-06 Thread Guennadi Liakhovetski
Many MMC capability flags are platform-dependent and are traditionally set in platform data. With DT often each such capability requires a special binding. Add bindings for MMC_CAP_SD_HIGHSPEED, MMC_CAP_MMC_HIGHSPEED, MMC_CAP_POWER_OFF_CARD and MMC_CAP_SDIO_IRQ capabilities. Also add code to DT par

[PATCH v3 11/13] mmc: tmio: add support for the VccQ regulator

2013-02-06 Thread Guennadi Liakhovetski
Some SD/MMC interfaces use 2 power regulators: one to power the card itself (Vcc) and another one to pull signal lines up (VccQ). In case of eMMC and UHS SD cards the regulators also have to be configured to supply different voltages. The preferred order of turning supply power on and off is to tur

[PATCH v3 00/13] mmc: core and driver DT and related development

2013-02-06 Thread Guennadi Liakhovetski
This is v3 of my mmc DT patchset with several patches updated and two patches, previously sent separately, now integrated into the series. Guennadi Liakhovetski (13): mmc: sdhi, tmio: only check flags in tmio-mmc driver proper mmc: detailed definition of CD and WP MMC line polarities in DT m

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

2013-02-06 Thread Guennadi Liakhovetski
MMC defines a number of standard DT bindings. Having each driver parse them individually adds code redundancy and is error prone. Provide a standard function to unify the parsing. After all drivers are converted to using it instead of their own parsers, this function can be integrated into mmc_allo

[PATCH v3 13/13] mmc: tmio: add barriers to IO operations

2013-02-06 Thread Guennadi Liakhovetski
Without barriers SDIO operations fail with runtime PM enabled. Signed-off-by: Guennadi Liakhovetski Cc: Paul Mundt --- v3: use iowrite16_rep() and ioread16_rep() for consistency. drivers/mmc/host/tmio_mmc.h | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --g

[PATCH v3 02/13] mmc: detailed definition of CD and WP MMC line polarities in DT

2013-02-06 Thread Guennadi Liakhovetski
Clarify ways to specify write-protect and card-detect MMC lines in FDT. Cc: Arnd Bergmann Signed-off-by: Guennadi Liakhovetski --- v3: {wp,cd}-inverted properties can now be used together with GPIO binding flags. A detailed explanation added. Documentation/devicetree/bindings/mmc/mmc.txt

[PATCH v3 09/13] mmc: sh_mobile_sdhi: use managed resource allocations

2013-02-06 Thread Guennadi Liakhovetski
Use managed allocations to get memory, clock and interrupts . This significantly simplifies clean up paths. Signed-off-by: Guennadi Liakhovetski --- drivers/mmc/host/sh_mobile_sdhi.c | 57 + 1 files changed, 14 insertions(+), 43 deletions(-) diff --git a/dr

[PATCH v3 05/13] mmc: sh-mmcif: use mmc_of_parse() to parse standard MMC DT bindings

2013-02-06 Thread Guennadi Liakhovetski
Use mmc_of_parse() to get interface capability flags and used GPIOs from device-tree bindings. Cc: Arnd Bergmann Signed-off-by: Guennadi Liakhovetski --- v3: updated on top of "mmc: sh_mmcif: Avoid unnecessary mmc_delay() at mmc_card_sleepawake()" drivers/mmc/host/sh_mmcif.c |3 ++- 1

[PATCH v3 01/13] mmc: sdhi, tmio: only check flags in tmio-mmc driver proper

2013-02-06 Thread Guennadi Liakhovetski
tmio-mmc platform flags can be set by various means, including caller drivers and device-tree bindings, therefore it is better to only check them in the tmio-mmc driver proper, not in caller drivers themselves. Signed-off-by: Guennadi Liakhovetski --- drivers/mmc/host/sh_mobile_sdhi.c |3 +--

[PATCH v3 06/13] mmc: tmio-mmc: define device-tree bindings

2013-02-06 Thread Guennadi Liakhovetski
Define device-tree bindings for the tmio-mmc driver to be able to specify parameters, currently provided in platform data. Cc: Arnd Bergmann Signed-off-by: Guennadi Liakhovetski --- v3: make the property to set TMIO_MMC_SDIO_IRQ global Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 15

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

2013-02-06 Thread Jonathan Cameron
On 02/06/2013 06:29 PM, Guenter Roeck wrote: > Provide bindings and parse OF data during initialization. > > Signed-off-by: Guenter Roeck looks good to me. Couple of little queries inline. > --- > v4: > - Fixed wrong parameter to dummy of_iio_channel_get_by_name if CONFIG_OF is > undefined, a

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Thierry Reding
On Wed, Feb 06, 2013 at 04:30:41PM +, Russell King - ARM Linux wrote: > On Tue, Feb 05, 2013 at 09:41:48PM +0100, Thierry Reding wrote: > > On Wed, Jan 09, 2013 at 09:43:06PM +0100, Thierry Reding wrote: > > > When using deferred driver probing, PCI host controller drivers may > > > actually re

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

2013-02-06 Thread Jonathan Cameron
On 02/04/2013 11:57 PM, Chanwoo Choi wrote: > 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 Applied to togreg bran

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

2013-02-06 Thread Olof Johansson
On Tue, Feb 5, 2013 at 6:56 PM, 김승우 wrote: > > > On 2013년 02월 06일 09:56, Sean Paul wrote: >> On Tue, Feb 5, 2013 at 4:42 PM, Stephen Warren wrote: >>> On 02/05/2013 05:37 PM, Sean Paul wrote: On Tue, Feb 5, 2013 at 4:22 PM, Stephen Warren wrote: > n 02/05/2013 04:42 PM, Sean Paul

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

2013-02-06 Thread Guenter Roeck
Provide bindings and parse OF data during initialization. Signed-off-by: Guenter Roeck --- v4: - Fixed wrong parameter to dummy of_iio_channel_get_by_name if CONFIG_OF is undefined, and wrong return value. - Initialize indio_dev->of_node in iio_device_register if the calling driver neglected

Re: [PATCH/RFC] mmc: add DT bindings for more MMC capability flags

2013-02-06 Thread Guennadi Liakhovetski
On Thu, 7 Feb 2013, Arnd Bergmann wrote: > On Wednesday 06 February 2013 17:25:42 Guennadi Liakhovetski wrote: > > > > Thank for pointing me out at that thread. However, I don't think > > MMC_CAP_POWER_OFF_CARD has anything to do with compatibility or hardware > > revisions. At least I haven't

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013 18:07:53 Linus Walleij wrote: > However it leaves the question of how much __init, __initdata > and __initconst we have littering around. Oh, well, we'll see > I guess. Actually, kbuild is pretty good at warning around the bugs there. Arnd ___

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

2013-02-06 Thread Sebastian Hesselbarth
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 binding documentation. It basically follows what we already have for e.g. gpio_keys. All required device tre

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Linus Walleij
On Thu, Feb 7, 2013 at 1:54 AM, Arnd Bergmann wrote: > On Wednesday 06 February 2013 17:38:20 Linus Walleij wrote: >> On Wed, Jan 9, 2013 at 9:43 PM, Thierry Reding >> wrote: >> >> > When using deferred driver probing, PCI host controller drivers may >> > actually require this function after the

[PATCH 2/2] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. There is a special "mcp,chips" property, that correspond to the chips member of the struct mcp23s08_platform_data. It can be used for multiple mcp23s08/mc23s17 on the same spi chipselect. Signed-off-by:

[PATCH 1/2] gpio: mcp23s08: Allow -1 as a legal value for global gpio base

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel 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. Signed-off-by: Lars Poeschel --- drivers/gpio/gpio-mcp23s08.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 0/2] Convert mcp23s08 to DT usage

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel I wanted to use mcp23s08 driver with a device that boots using device tree. I modified the driver to allow the DT usage and tested with a mcp23017 which is a i2c device. I could not test the spi path, because I have no such device. Regards, Lars Lars Poeschel (2): gpio: mc

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013 17:38:20 Linus Walleij wrote: > On Wed, Jan 9, 2013 at 9:43 PM, Thierry Reding > wrote: > > > When using deferred driver probing, PCI host controller drivers may > > actually require this function after the init stage. > > > > Signed-off-by: Thierry Reding > > Ther

Re: [PATCH/RFC] mmc: add DT bindings for more MMC capability flags

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013 17:25:42 Guennadi Liakhovetski wrote: > > Thank for pointing me out at that thread. However, I don't think > MMC_CAP_POWER_OFF_CARD has anything to do with compatibility or hardware > revisions. At least I haven't yet come across any sd/mmc hosts, that also > suppl

Re: [PATCH 7/8] Remove fdtdump and use fdtgrep instead

2013-02-06 Thread Simon Glass
Hi David, On Tue, Feb 5, 2013 at 11:16 PM, David Gibson wrote: > On Mon, Jan 21, 2013 at 12:59:21PM -0800, Simon Glass wrote: >> Since fdtgrep does everything that fdtdump does now, perhaps we should >> replace it with a symlink. > > Nack. The point of fdtdump is not simply to be a tool for dump

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Linus Walleij
On Wed, Jan 9, 2013 at 9:43 PM, Thierry Reding wrote: > When using deferred driver probing, PCI host controller drivers may > actually require this function after the init stage. > > Signed-off-by: Thierry Reding There seem to be a proliferation of these patches now. Isn't this just papering o

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Russell King - ARM Linux
On Tue, Feb 05, 2013 at 09:41:48PM +0100, Thierry Reding wrote: > On Wed, Jan 09, 2013 at 09:43:06PM +0100, Thierry Reding wrote: > > When using deferred driver probing, PCI host controller drivers may > > actually require this function after the init stage. > > > > Signed-off-by: Thierry Reding

Re: [PATCH/RFC] mmc: add DT bindings for more MMC capability flags

2013-02-06 Thread Guennadi Liakhovetski
Hi Mark On Wed, 6 Feb 2013, Mark Rutland wrote: > Hi, > > On Wed, Jan 23, 2013 at 04:45:11PM +, Guennadi Liakhovetski wrote: > > Many MMC capability flags are platform-dependent and are traditionally set > > in platform data. With DT often each such capability requires a special > > binding.

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

2013-02-06 Thread Rob Herring
On 02/04/2013 10:05 AM, Paul Gortmaker wrote: > From: Thomas Gleixner > > With the locking cleanup in place (from "OF: Fixup resursive > locking code paths"), we can now do the conversion from the > rw_lock to a raw spinlock as required for preempt-rt. > > The previous cleanup and the this conve

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

2013-02-06 Thread Ezequiel Garcia
(Adding mtd in Cc) On Wed, Feb 06, 2013 at 07:54:31AM -0300, Ezequiel Garcia wrote: > Hi Gregory, > > On Tue, Feb 05, 2013 at 09:17:02PM +0100, Gregory CLEMENT wrote: > > On 02/05/2013 05:28 PM, Gregory CLEMENT wrote: > > > Hi Ezequiel, > > > > > > On 02/05/2013 12:24 PM, Ezequiel Garcia wrote:

Re: [PATCH V3 4/5] ARM: dts: Add #dma-cells for generic dma binding support

2013-02-06 Thread Rob Herring
On 02/06/2013 12:18 AM, Padmavathi Venna wrote: > This patch adds #dma-cells property to PL330 DMA controller > nodes for supporting generic dma dt bindings on samsung > exynos5250 platform. The subject doesn't reflect this is for pl330. > > Signed-off-by: Padmavathi Venna > Acked-by: Arnd Berg

Re: [PATCH/RFC] mmc: add DT bindings for more MMC capability flags

2013-02-06 Thread Mark Rutland
Hi, On Wed, Jan 23, 2013 at 04:45:11PM +, Guennadi Liakhovetski wrote: > Many MMC capability flags are platform-dependent and are traditionally set > in platform data. With DT often each such capability requires a special > binding. Add bindings for MMC_CAP_SD_HIGHSPEED, MMC_CAP_MMC_HIGHSPEED

[PATCH 6/8] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data

2013-02-06 Thread Kishon Vijay Abraham I
Add omap-usb3 and omap-usb2 data node in omap5 device tree file. The information for the node added here is available @ Documentation/devicetree/bindings/usb/usb-phy.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi | 14 ++ 1 file changed, 14 insertions(+)

[PATCH 3/8] ARM: dts: omap: Add usb_otg and glue data

2013-02-06 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-.dts file. The dt data specifies among others the interface type (ULPI or UTMI), mode which is mostly OTG, power that specifies the amount of power this can supply when in host mode. The

[PATCH 2/8] ARM: dts: omap: Add omap-usb2 dt data

2013-02-06 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. The information about this data node is availabe @ Documentation/devicetree/bindings/usb/usb-phy.txt Acked-by: Felipe Balbi Signed-off-by: Kishon Vija

[PATCH 4/8] ARM: dts: omap5: Add omap control usb data

2013-02-06 Thread Kishon Vijay Abraham I
Add omap control usb data in omap5 device tree file. This will have the register address of registers to power on the USB2 PHY and USB3 PHY. The information for the node added here is available in Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch/a

[PATCH 0/8] ARM: dts: omap: Add dts data for USB

2013-02-06 Thread Kishon Vijay Abraham I
Hi Benoit, Here are the dt data patches to get usb device functional in OMAP platforms. This series applies cleanly in both for_3.9/dts and 3.8-rc6. All the patches deal with modifying arch/arm/boot except one which modifies Documentation/../usb/omap-usb.txt Kishon Vijay Abraham I (8): ARM: dt

[PATCH 1/8] ARM: dts: omap: Add omap control usb data

2013-02-06 Thread Kishon Vijay Abraham I
Add omap control usb data in omap4 device tree file. This will have the register address of registers to power on the PHY and to write to mailbox. The information about this data node is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch

[PATCH 8/8] ARM: dts: omap5: add dwc3 core dt data

2013-02-06 Thread Kishon Vijay Abraham I
Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The information for the entered data node is available @ Documentation/devicetree/bindings/usb/dwc3.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi |7 +++ 1 file changed, 7 insert

[PATCH 7/8] ARM: dts: omap5: add dwc3 omap dt data

2013-02-06 Thread Kishon Vijay Abraham I
Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --gi

[PATCH 5/8] ARM: dts: omap5: Add ocp2scp data

2013-02-06 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap5 device tree file. The information for the node added here can be found @ Documentation/devicetree/bindings/bus/omap-ocp2scp.txt Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arc

Re: [PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Sylwester Nawrocki
Hi Rahul, On 02/06/2013 03:57 PM, Rahul Sharma wrote: > Binding Documents for drm-devices are placed in > Documentation/devicetree/bindings/drm/*. But these devices are common > for v4l framework, hence moved to a common place > Documentation/devicetree/bindings/video/. 'exynos_' prefix is added t

[PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Rahul Sharma
Binding Documents for drm-devices are placed in Documentation/devicetree/bindings/drm/*. But these devices are common for v4l framework, hence moved to a common place Documentation/devicetree/bindings/video/. 'exynos_' prefix is added to associate them with exynos soc series. Signed-off-by: Rahul

Re: Heads up on a device tree change

2013-02-06 Thread Grant Likely
On Wed, Feb 6, 2013 at 1:32 PM, James Hogan wrote: > On 06/02/13 13:11, Grant Likely wrote: >> Hi Stephen, >> >> I've just pushed out a change which cleans up platform device >> registration to use the same path whether or not the device tree is >> used. It should be safe, but there is a risk of b

[PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Rahul Sharma
Binding Documents for drm-devices are placed in Documentation/devicetree/bindings/drm/*. But these devices are common for v4l framework, hence moved to a common place at Documentation/devicetree/bindings/video/. 'exynos_' prefix is added to associate them with exynos soc series. Signed-off-by: Rah

Heads up on a device tree change

2013-02-06 Thread Grant Likely
Hi Stephen, I've just pushed out a change which cleans up platform device registration to use the same path whether or not the device tree is used. It should be safe, but there is a risk of breakage on powerpc platforms. The patch has two effects of note: - DT generated platform devices move from

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

2013-02-06 Thread Sylwester Nawrocki
Hi, 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 binding documentation. It basically follows what we already > have for e.g. gpio_keys. All required device tree properties are OS > independent but opti

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

2013-02-06 Thread Arnd Bergmann
On Friday 01 February 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 p

Re: Heads up on a device tree change

2013-02-06 Thread James Hogan
On 06/02/13 13:11, Grant Likely wrote: > Hi Stephen, > > I've just pushed out a change which cleans up platform device > registration to use the same path whether or not the device tree is > used. It should be safe, but there is a risk of breakage on powerpc > platforms. > > The patch has two eff

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

2013-02-06 Thread Benoit Cousson
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, >>> >>> This patchset adds some new DT sup

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

2013-02-06 Thread Matt Porter
On Wed, Feb 06, 2013 at 01:41:06PM +0100, Lars Poeschel wrote: > Hi Matt! > > At first thanks for you efforts on DMA Engine on AM33XX. > > On Friday 01 February 2013 at 22:01:17, Matt Porter wrote: > > This series adds DT DMA Engine Client support to the omap_hsmmc. > > It leverages the generic D

Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP

2013-02-06 Thread Jason Cooper
On Wed, Feb 06, 2013 at 02:16:54PM +0100, Gregory CLEMENT wrote: > On 02/06/2013 02:06 PM, Ezequiel Garcia wrote: > > This is second version of the SPI patchset for Armada 370/XP. > > > > This series first adds support for the SPI controller > > and then adds the SPI flash for the Armada XP GP boa

Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP

2013-02-06 Thread Gregory CLEMENT
On 02/06/2013 02:06 PM, Ezequiel Garcia wrote: > This is second version of the SPI patchset for Armada 370/XP. > > This series first adds support for the SPI controller > and then adds the SPI flash for the Armada XP GP board. > > This series is based on 3.8-rc5 plus: > * "arm: mvebu: support fo

[PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support

2013-02-06 Thread Ezequiel Garcia
The Armada XP DB-MV784MP-GP board has an SPI flash device. These options allow to access that device over MTD. Signed-off-by: Ezequiel Garcia --- Depends on patch: "arm: mvebu: i2c come back in defconfig" arch/arm/configs/mvebu_defconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions

[PATCH v2 3/4] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-06 Thread Ezequiel Garcia
This patch adds an SPI master device node for Armada XP-GP board. This master node is an SPI flash controller 'n25q128a13'. Since there is no 'partitions' node declared, one full sized partition named as the device will be created. Cc: Thomas Petazzoni Cc: Lior Amsalem Tested-by: Gregory Clemen

[PATCH v2 2/4] ARM: mvebu: Update defconfig to select SPI support

2013-02-06 Thread Ezequiel Garcia
Cc: Thomas Petazzoni Cc: Lior Amsalem Acked-by: Gregory Clement Signed-off-by: Ezequiel Garcia --- arch/arm/configs/mvebu_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig index 43a0dbf..322ba

[PATCH v2 1/4] arm: mvebu: Add support for SPI controller in Armada 370/XP

2013-02-06 Thread Ezequiel Garcia
The Armada 370 and Armada XP SoC has an SPI controller. This patch adds support for this controller in Armada 370 and Armada XP SoC common device tree files. Note that the Armada XP SPI register length is 0x50 bytes, while Armada 370 SPI register length is 0x28 bytes, so we choose the smaller of t

[PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP

2013-02-06 Thread Ezequiel Garcia
This is second version of the SPI patchset for Armada 370/XP. This series first adds support for the SPI controller and then adds the SPI flash for the Armada XP GP board. This series is based on 3.8-rc5 plus: * "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)" * "arm

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

2013-02-06 Thread Lars Poeschel
Hi Matt! At first thanks for you efforts on DMA Engine on AM33XX. On Friday 01 February 2013 at 22:01:17, 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 i

Re: [PATCH v5 01/10] clk: tegra: Refactor PLL programming code

2013-02-06 Thread Peter De Schrijver
On Tue, Feb 05, 2013 at 02:23:55PM +0100, Peter De Schrijver wrote: > On Tue, Feb 05, 2013 at 06:42:11AM +0100, Prashant Gaikwad wrote: > > On Monday 04 February 2013 08:02 PM, Peter De Schrijver wrote: > > > On Mon, Feb 04, 2013 at 07:06:47AM +0100, Prashant Gaikwad wrote: > > >> On Friday 01 Febr

  1   2   >