Re: [PATCH 3/3] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-02-01 Thread Santosh Shilimkar
On Saturday 02 February 2013 02:31 AM, Matt Porter wrote: The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- Acked-by: Santosh Shilimkar ___ devicetree-discuss mailing list de

Re: [PATCH 1/3] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Santosh Shilimkar
On Saturday 02 February 2013 02:31 AM, Matt Porter wrote: Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports platforms booting with or without DT populated. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- Acked-by: Santosh Shilimkar ___

Re: [PATCH v6 05/12] iommu/exynos: support for device tree

2013-02-01 Thread KyongHo Cho
On Fri, Feb 1, 2013 at 10:51 PM, Joerg Roedel wrote: > Cho, > > On Wed, Jan 02, 2013 at 02:53:49PM +0900, KyongHo Cho wrote: >> On Tuesday, January 1, 2013, Sylwester Nawrocki >> > >> > Cc: devicetree-discuss@lists.ozlabs.org > > Since patch 7 of this set is already merged, do you mind to re-pos

Re: [PATCH V2 4/4] DMA: PL330: Modify pl330 filter based on new generic dma dt bindings.

2013-02-01 Thread Padma Venkat
Hi Arnd, On Fri, Feb 1, 2013 at 8:53 PM, Arnd Bergmann wrote: > On Friday 01 February 2013, Padmavathi Venna wrote: >> This patch modify the filter function to filter the required channel >> based on new filter params. >> >> Signed-off-by: Padmavathi Venna > > The result of this looks good, but

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 4:44, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Russell King - ARM Linux
On Sat, Feb 02, 2013 at 04:07:59AM +0400, Sergei Shtylyov wrote: > Hello. > > On 02-02-2013 1:30, Russell King - ARM Linux wrote: > >>> On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: > good point, do you wanna send some patches ? > I have already sent them countless t

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 1:30, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's pa

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 1:30, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's pa

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 01-02-2013 22:59, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 0:56, Felipe Balbi wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove the patch. :-( sticking into arch/arm/co

Re: [PATCH RFC v2] media: tvp514x: add OF support

2013-02-01 Thread Sylwester Nawrocki
Hi Prabhakar, On 01/29/2013 02:07 PM, Prabhakar Lad wrote: [...] diff --git a/Documentation/devicetree/bindings/media/i2c/tvp514x.txt b/Documentation/devicetree/bindings/media/i2c/tvp514x.txt new file mode 100644 index 000..55d3ffd --- /dev/null +++ b/Documentation/devicetree/bindings/media

Re: [PATCH 0/2] ARM: dts: OMAP3: Add GPMC controller and NAND memory to Overo

2013-02-01 Thread Tony Lindgren
* Florian Vaussard [130128 09:57]: > Hello, > > This is more an RFC serie, as an issue is still unclear to me. > Building on the work of Daniel Mack for the GPMC controller (staged > in Tony's tree [1]), it was easy to add the GPMC controller to OMAP3. > > The issue comes from the Overo on-board

Re: [PATCH v3 3/3] arm: omap2: gpmc: add DT bindings for OneNAND

2013-02-01 Thread Tony Lindgren
* Mark Rutland [130128 03:57]: > > So if I've understood correctly, the first address cell is the CS, and the > second the offset within this (as the comment in the onenand@0 node hints)? > > If so, the code now makes sense to me :) Sounds like further checking can be added as needed, so applyi

Re: [PATCH] ARM: OMAP: gpmc: Add device tree documentation for elm handle

2013-02-01 Thread Tony Lindgren
* Philip Avinash [130117 21:00]: > In case ELM module available, omap2 NAND driver can opt for hardware > correction method for bit flip errors in NAND flash with BCH. Hence the > detection of ELM module is done through devicetree population of elm_id. > This patch update device tree documentation

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Russell King - ARM Linux
On Fri, Feb 01, 2013 at 10:56:00PM +0200, Felipe Balbi wrote: > hi, > > On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: > > > good point, do you wanna send some patches ? > > > >I have already sent them countless times and even stuck CPPI 4.1 support > > (in > > arch/arm/com

[PATCH 3/3] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-02-01 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26 +++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindi

[PATCH 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case

2013-02-01 Thread Matt Porter
From: Santosh Shilimkar MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by skipping resource byname lookup for device tree build. Issue is hidden because hwmod popullates the IO resources which helps to succeed platform_get_resource_byname(

[PATCH 1/3] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports platforms booting with or without DT populated. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) di

[PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-01 Thread Matt Porter
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 platforms booting via DT. These platforms include omap2/3/4

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Felipe Balbi
hi, On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: > > good point, do you wanna send some patches ? > >I have already sent them countless times and even stuck CPPI 4.1 support > (in > arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove > the > patch

[PATCH v7 08/10] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports the DT case of platforms requiring channel selection from either the OMAP DMA or the EDMA engine. AM33xx only boots from DT and is the only user implementing EDMA so in the !DT case we can default to the OMA

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02/01/2013 09:58 PM, Felipe Balbi wrote: > Move mach-davinci/dma.c to common/edma.c so it can be used > by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? >>> No, this is the private EDMA API. It's the analogous thing to >>> the private

Re: [RFC 10/11] iio: Add OF support

2013-02-01 Thread Guenter Roeck
On Fri, Feb 01, 2013 at 03:59:17PM +0100, Lars-Peter Clausen wrote: > On 02/01/2013 03:33 PM, Guenter Roeck wrote: > > On Fri, Feb 01, 2013 at 12:58:02PM +0100, Lars-Peter Clausen wrote: > >> 013 10:43 PM, Guenter Roeck wrote: > >>> Provide bindings, new API access functions, and parse OF data > >>

Re: [PATCH v5 04/10] clk: tegra: Add new fields and PLL types for Tegra114

2013-02-01 Thread Rhyland Klein
On 2/1/2013 5:18 AM, Peter De Schrijver wrote: Tegra114 introduces new PLL types. This requires new clocktypes as well as some new fields in the pll structure. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 719 +++ drivers/clk/te

Re: [PATCH v4] i2c: exynos5: add High Speed I2C controller driver

2013-02-01 Thread Wolfram Sang
On Fri, Feb 01, 2013 at 09:24:44PM +0530, Naveen Krishna Chatradhi wrote: > Adds support for High Speed I2C driver found in Exynos5 and later > SoCs from Samsung. This driver currently supports Auto mode. > > Driver only supports Device Tree method. > Note: Added debugfs support for registers view

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

2013-02-01 Thread Srinivas KANDAGATLA
On 01/02/13 16:51, Rob Herring wrote: > On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: >> Hi Stephen, >> Not sure if you have already noticed this but, >> I did try this patch on my 3.8, and it looks like the intermediate dts >> file replaces all instances of linux with 1 because of predefined

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

2013-02-01 Thread Stephen Warren
On 02/01/2013 10:27 AM, Stephen Warren wrote: > On 02/01/2013 09:51 AM, Rob Herring wrote: >> On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: >>> Hi Stephen, >>> Not sure if you have already noticed this but, >>> I did try this patch on my 3.8, and it looks like the intermediate dts >>> file rep

Re: [PATCH v2 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-02-01 Thread Tony Lindgren
* Felipe Balbi [130123 03:27]: > Hi, > > On Mon, Jan 21, 2013 at 07:38:26PM +0530, Kishon Vijay Abraham I wrote: > > A seperate driver has been added to handle the usb part of control > > module. A device for the above driver is created here, using the register > > address information to be used

Re: [PATCH v4 4/4] drivers: usb: start using the control module driver

2013-02-01 Thread Tony Lindgren
* Felipe Balbi [130125 02:30]: > Hi, > > On Fri, Jan 25, 2013 at 03:54:00PM +0530, Kishon Vijay Abraham I wrote: > > Start using the control module driver for powering on the PHY and for > > writing to the mailbox instead of writing to the control module > > registers on their own. > > > > Signe

[PATCH v4 09/10] ARM: dts: Add FIMC and MIPI CSIS device nodes for Exynos4x12

2013-02-01 Thread Sylwester Nawrocki
Add common camera node and fimc nodes specific to Exynos4212 and Exynos4412 SoCs. fimc-is is a node for the Exynos4x12 FIMC-IS subsystem and fimc-lite nodes are created as its child nodes, among others due to FIMC-LITE device dependencies on FIMC-IS related clocks. Signed-off-by: Sylwester Nawrock

[PATCH v4 10/10] ARM: dts: Correct camera pinctrl nodes for Exynos4x12 SoCs

2013-02-01 Thread Sylwester Nawrocki
Add separate nodes for the CAMCLK pin and turn off pull-up on camera ports A, B. The video bus pins and the clock output (CAMCLK) pin need separate nodes since full camera port is not used in some configurations, e.g. for MIPI CSI-2 bus on CAMCLK is required and data/clock signal use separate dedic

[PATCH v4 08/10] ARM: dts: Add ISP power domain node for Exynos4x12

2013-02-01 Thread Sylwester Nawrocki
The ISP power domain is a common power domain for fimc-lite and fimc-is (ISP) devices. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4x12.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/b

[PATCH v4 07/10] ARM: dts: Add camera to node exynos4.dtsi

2013-02-01 Thread Sylwester Nawrocki
This patch adds common FIMC device nodes for all Exynos4 SoCs. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi | 64 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/

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

2013-02-01 Thread Sylwester Nawrocki
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 video bus operation. Signed-off-by: Sylwester Nawrocki Si

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

2013-02-01 Thread Sylwester Nawrocki
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, the drivers of those client devices are not accessing hardw

[PATCH v4 04/10] s5p-fimc: Add device tree support for the main media device driver

2013-02-01 Thread Sylwester Nawrocki
This patch adds changes required for the main camera media device driver to be initialized on systems instantiated from the device tree. The platform devices corresponding to child nodes of the 'camera' node are looked up and and registered as sub-devices to the common media device. The main drive

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

2013-02-01 Thread Sylwester Nawrocki
This patch add support for binding the driver to FIMC-LITE devices instantiated from the device tree. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- .../devicetree/bindings/media/soc/samsung-fimc.txt | 15 + drivers/media/platform/s5p-fimc/fimc-lite.c| 65 +++

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

2013-02-01 Thread Sylwester Nawrocki
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 SoC revisions specific parameters are defined statically in t

[PATCH v4 00/10] Device tree support for Exynos SoC camera subsystem

2013-02-01 Thread Sylwester Nawrocki
This is an updated patch series adding initial support for the Exynos4 SoC series camera subsystem. It is based on the video interfaces common device tree bindings and depends on patch series [1]. The full source tree can be browsed at [2]. I've dropped the RFC tag from this series and I'm going t

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

2013-02-01 Thread Sylwester Nawrocki
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. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park ---

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 07:52:46PM +, Sergei Shtylyov wrote: > Hello. > > On 02/01/2013 09:49 PM, Matt Porter wrote: > > >>> Move mach-davinci/dma.c to common/edma.c so it can be used > >>> by OMAP (specifically AM33xx) as well. > > >> I think this should rather go to drivers/dma/? > > > No

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Felipe Balbi
Hi, On Fri, Feb 01, 2013 at 10:52:46PM +0300, Sergei Shtylyov wrote: > Hello. > > On 02/01/2013 09:49 PM, Matt Porter wrote: > > >>> Move mach-davinci/dma.c to common/edma.c so it can be used > >>> by OMAP (specifically AM33xx) as well. > > >> I think this should rather go to drivers/dma/? > >

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02/01/2013 09:49 PM, Matt Porter wrote: >>> Move mach-davinci/dma.c to common/edma.c so it can be used >>> by OMAP (specifically AM33xx) as well. >> I think this should rather go to drivers/dma/? > No, this is the private EDMA API. It's the analogous thing to > the private OMAP dma AP

[PATCH v7 04/10] dmaengine: edma: enable build for AM33XX

2013-02-01 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 0b408bb..239020b 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -220,7 +220,7 @@

Re: [PATCH v7 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 01:22:52PM -0500, Matt Porter wrote: > Adds a dma_request_slave_channel_compat() wrapper which accepts > both the arguments from dma_request_channel() and > dma_request_slave_channel(). Based on whether the driver is > instantiated via DT, the appropriate channel request cal

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 06:41:08PM +, Tony Lindgren wrote: > * Matt Porter [130201 10:25]: > > Move mach-davinci/dma.c to common/edma.c so it can be used > > by OMAP (specifically AM33xx) as well. > > I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the a

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Tony Lindgren
* Matt Porter [130201 10:25]: > Move mach-davinci/dma.c to common/edma.c so it can be used > by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? Tony ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.

Re: [PATCH v7 00/10] DMA Engine support for AM33XX

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 01:22:45PM -0500, Matt Porter wrote: > This series adds DMA Engine support for AM33xx, which uses > an EDMA DMAC. The EDMA DMAC has been previously supported by only > a private API implementation (much like the situation with OMAP > DMA) found on the DaVinci family of So

[PATCH v7 05/10] dmaengine: edma: Add TI EDMA device tree binding

2013-02-01 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt diff --git

[PATCH v7 10/10] ARM: dts: add AM33XX SPI DMA support

2013-02-01 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index e711ffb..ddf702a 100644 --- a/arch/arm/boot/dts/am33xx.dt

[PATCH v7 00/10] DMA Engine support for AM33XX

2013-02-01 Thread Matt Porter
Changes since v6: - Converted edma_of_read_*() to wrappers around of_property_read_*() - Fixed wording on the omap-spi generic DMA properties - Added comment/check to clarify that the driver only supports a single EDMA instance when booting from DT Changes since v

[PATCH v7 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-02-01 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EDMA crossbar event mux support. Enables build on OMAP. Signed-off-by: Matt Porter Acked-by: Sekhar Nori --- arch/arm/common/edma.c

[PATCH v7 09/10] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-02-01 Thread Matt Porter
The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b/Do

Re: [PATCH v7 05/10] dmaengine: edma: Add TI EDMA device tree binding

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 01:22:50PM -0500, Matt Porter wrote: > The binding definition is based on the generic DMA controller > binding. > > Signed-off-by: Matt Porter Grant or Rob, can I get an ack on this binding and others in this series? > --- > Documentation/devicetree/bindings/dma/ti-edma

[PATCH v7 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call will be made. This allows for a much cleaner migration of drivers

[PATCH v7 06/10] ARM: dts: add AM33XX EDMA support

2013-02-01 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dt

[PATCH v7 02/10] ARM: edma: remove unused transfer controller handlers

2013-02-01 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter Acked-by: Sekhar Nori --- arch/arm/common/edma.c | 37 - 1 file chan

[PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. Signed-off-by: Matt Porter Acked-by: Sekhar Nori --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig|3 + arch/arm/common/Makefi

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

2013-02-01 Thread Kukjin Kim
Kukjin Kim wrote: > Oops, I'm re-sending due to my e-mail client problem :-( > Sylwester Nawrocki wrote: > > > > On 02/01/2013 09:33 AM, Sachin Kamat wrote: > > > On 1 February 2013 06:57, Inki Dae wrote: > > >> > > >> For example, > > >> If compatible = "samsung,g2d-3.0" is added to exynos4210.

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

2013-02-01 Thread Kukjin Kim
Sylwester Nawrocki wrote: > > On 02/01/2013 09:33 AM, Sachin Kamat wrote: > > On 1 February 2013 06:57, Inki Dae wrote: > >> > >> For example, > >> If compatible = "samsung,g2d-3.0" is added to exynos4210.dtsi, it'd be > >> reasonable. But what if that compatible string is added to exynos4.dtsi?.

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

2013-02-01 Thread Stephen Warren
On 02/01/2013 09:51 AM, Rob Herring wrote: > On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: >> Hi Stephen, >> Not sure if you have already noticed this but, >> I did try this patch on my 3.8, and it looks like the intermediate dts >> file replaces all instances of linux with 1 because of predef

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-02-01 Thread Tony Lindgren
* Tony Lindgren [130201 09:12]: > * Linus Walleij [130129 03:03]: > > On Tue, Jan 29, 2013 at 8:38 AM, Vishwanathrao Badarkhe, Manish > > wrote: > > > > > Currently, I2C driver gets probed before pinctrl driver. > > > To achieve I2C pin muxing via pinctrl driver before I2C > > > probe get calle

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-02-01 Thread Tony Lindgren
* Linus Walleij [130129 03:03]: > On Tue, Jan 29, 2013 at 8:38 AM, Vishwanathrao Badarkhe, Manish > wrote: > > > Currently, I2C driver gets probed before pinctrl driver. > > To achieve I2C pin muxing via pinctrl driver before I2C > > probe get called, register pinctrl driver in arch_initcall. >

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

2013-02-01 Thread Rob Herring
On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: > Hi Stephen, > Not sure if you have already noticed this but, > I did try this patch on my 3.8, and it looks like the intermediate dts > file replaces all instances of linux with 1 because of predefined macros > in gcc. > As a result > linux,s

[PATCH v4] i2c: exynos5: add High Speed I2C controller driver

2013-02-01 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

Re: [PATCH V2 4/4] DMA: PL330: Modify pl330 filter based on new generic dma dt bindings.

2013-02-01 Thread Arnd Bergmann
On Friday 01 February 2013, Padmavathi Venna wrote: > This patch modify the filter function to filter the required channel > based on new filter params. > > Signed-off-by: Padmavathi Venna The result of this looks good, but I fear that changing the filter function like this wil break all drivers

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

2013-02-01 Thread Arnd Bergmann
On Friday 01 February 2013, Padmavathi Venna wrote: > > This patch adds #dma-cells property to PL330 DMA controller > nodes for supporting generic dma dt bindings on samsung > exynos5250 platform. > > Signed-off-by: Padmavathi Venna The generic binding also lists the dma-channels and dma-reques

Re: [RFC 10/11] iio: Add OF support

2013-02-01 Thread Lars-Peter Clausen
On 02/01/2013 03:33 PM, Guenter Roeck wrote: > On Fri, Feb 01, 2013 at 12:58:02PM +0100, Lars-Peter Clausen wrote: >> 013 10:43 PM, Guenter Roeck wrote: >>> Provide bindings, new API access functions, and parse OF data >>> during initialization. >>> >> >> Hi Guenter, >> >> Thanks for taking care of

Re: [PATCH V2 2/4] DMA: PL330: Register the DMA controller with the generic DMA helpers

2013-02-01 Thread Arnd Bergmann
On Friday 01 February 2013, Padmavathi Venna wrote: > This patch registers the pl330 dma controller driver with the generic > device tree dma helper functions. > > Signed-off-by: Padmavathi Venna Acked-by: Arnd Bergmann ___ devicetree-discuss mailing

Re: [PATCH V2 1/4] DMA: PL330: Add xlate function

2013-02-01 Thread Arnd Bergmann
On Friday 01 February 2013, Padmavathi Venna wrote: > > 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 Acked-by: Arnd

Re: [RFC 10/11] iio: Add OF support

2013-02-01 Thread Guenter Roeck
On Fri, Feb 01, 2013 at 12:58:02PM +0100, Lars-Peter Clausen wrote: > 013 10:43 PM, Guenter Roeck wrote: > > Provide bindings, new API access functions, and parse OF data > > during initialization. > > > > Hi Guenter, > > Thanks for taking care of this. > > I'd prefer to have only one iio_get_c

[PATCH V2 4/4] DMA: PL330: Modify pl330 filter based on new generic dma dt bindings.

2013-02-01 Thread Padmavathi Venna
This patch modify the filter function to filter the required channel based on new filter params. Signed-off-by: Padmavathi Venna --- drivers/dma/pl330.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index ddf4dd0.

[PATCH V2 3/4] ARM: dts: Add #dma-cells for generic dma binding support

2013-02-01 Thread Padmavathi Venna
This patch adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on samsung exynos5250 platform. Signed-off-by: Padmavathi Venna --- .../devicetree/bindings/dma/arm-pl330.txt | 15 +++ arch/arm/boot/dts/exynos5250.dtsi

[PATCH V2 2/4] DMA: PL330: Register the DMA controller with the generic DMA helpers

2013-02-01 Thread Padmavathi Venna
This patch registers the pl330 dma controller driver with the generic device tree dma helper functions. Signed-off-by: Padmavathi Venna --- drivers/dma/pl330.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 6196c

[PATCH V2 1/4] DMA: PL330: Add xlate function

2013-02-01 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 --- drivers/dma/pl330.c | 31 +++ 1 files changed,

[PATCH V2 0/4] Add generic DMA DT binding support

2013-02-01 Thread Padmavathi Venna
Changes since V1: - Address the review comments by Arnd Bergmann as below - Wording of the properties. - Pass pdmac as third parameter to of_dma_controller_register - Filter the dma channel based on channel number and dma_device This patch set adds support for gener

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-02-01 Thread Peter Chen
On Fri, Feb 01, 2013 at 07:58:34AM +0100, Sascha Hauer wrote: > On Fri, Feb 01, 2013 at 09:11:54AM +0800, Peter Chen wrote: > > On Thu, Jan 31, 2013 at 11:29:13AM +0100, Sascha Hauer wrote: > > > On Thu, Jan 31, 2013 at 10:05:44AM +0800, Peter Chen wrote: > > > > On Wed, Jan 30, 2013 at 03:00:15PM

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 08:01:41AM +0200, Luciano Coelho wrote: > On Thu, 2013-01-31 at 16:42 -0500, Matt Porter wrote: > > On Thu, Jan 31, 2013 at 08:58:39PM +, Arnd Bergmann wrote: > > > On Thursday 31 January 2013, Matt Porter wrote: > > > > On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Ber

Re: [RFC 10/11] iio: Add OF support

2013-02-01 Thread Lars-Peter Clausen
013 10:43 PM, Guenter Roeck wrote: > Provide bindings, new API access functions, and parse OF data > during initialization. > Hi Guenter, Thanks for taking care of this. I'd prefer to have only one iio_get_channel which handles both the dt and the non-dt case. Otherwise we'll soon have construc

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

2013-02-01 Thread Inki Dae
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Sachin Kamat > Sent: Friday, February 01, 2013 8:40 PM > To: Inki Dae > Cc: Sylwester Nawrocki; Kukjin Kim; Sylwester Nawrocki; linux- > me...@vger.kernel.org; dri-de.

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

2013-02-01 Thread Sachin Kamat
On 1 February 2013 17:02, Inki Dae wrote: > > How about using like below? > Compatible = ""samsung,exynos4x12-fimg-2d" /* for Exynos4212, > Exynos4412 */ > It looks odd to use "samsung,exynos4212-fimg-2d" saying that this ip is for > exynos4212 and exynos4412. AFAIK, compatible strings a

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

2013-02-01 Thread Inki Dae
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Sachin Kamat > Sent: Friday, February 01, 2013 8:13 PM > To: Sylwester Nawrocki > Cc: Inki Dae; Kukjin Kim; Sylwester Nawrocki; linux-me...@vger.kernel.org; > dri-de..

Re: [PATCH] ARM: dts: AM33XX: Corrects typo in interrupt field in SPI node

2013-02-01 Thread Peter Korsgaard
> "Philip" == Philip Avinash writes: Philip> DT field of "interrupts" was mentioned wrongly as "interrupt" in SPI Philip> node. This went unnoticed as spi-omap2 driver not making use of Philip> interrupt. Fixes the typo. Philip> Signed-off-by: Philip Avinash Acked-by: Peter Korsgaard

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

2013-02-01 Thread Sachin Kamat
>> In any case please let me know the final preferred one so that I can >> update the code send the revised patches. > > The version with SoC name embedded in it seems most reliable and correct > to me. > > compatible = "samsung,exynos3110-fimg-2d" /* for Exynos3110 (S5PC110, > S5PV210), >

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

2013-02-01 Thread Sylwester Nawrocki
On 02/01/2013 09:33 AM, Sachin Kamat wrote: > On 1 February 2013 06:57, Inki Dae wrote: >> >> For example, >> If compatible = "samsung,g2d-3.0" is added to exynos4210.dtsi, it'd be >> reasonable. But what if that compatible string is added to exynos4.dtsi?. >> This case isn't considered for exynos

[PATCH v5 10/10] clk: tegra: devicetree match for nvidia, tegra114-car

2013-02-01 Thread Peter De Schrijver
Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk.c |1 + drivers/clk/tegra/clk.h |7 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index a603b9a..a328365 100644 --- a/drivers/clk/tegra/clk.c +++ b/driver

[PATCH v5 08/10] ARM: dt: Add references to tegra_car clocks

2013-02-01 Thread Peter De Schrijver
Add references to tegra_car clocks for the basic device nodes. Signed-off-by: Peter De Schrijver --- arch/arm/boot/dts/tegra114.dtsi |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 96a8235..1de

[PATCH v5 07/10] ARM: tegra: Define Tegra114 CAR binding

2013-02-01 Thread Peter De Schrijver
The device tree binding models Tegra114 CAR (Clock And Reset) as a single monolithic clock provider. Signed-off-by: Peter De Schrijver --- .../bindings/clock/nvidia,tegra114-car.txt | 311 1 files changed, 311 insertions(+), 0 deletions(-) create mode 100644 Docum

[PATCH v5 06/10] clk: tegra: Workaround for Tegra114 MSENC problem

2013-02-01 Thread Peter De Schrijver
Workaround a hardware bug in MSENC during clock enable. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph-gate.c |9 + drivers/clk/tegra/clk.h |1 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk-periph-gate.c b

[PATCH v5 05/10] clk: tegra: Add flags to tegra_clk_periph()

2013-02-01 Thread Peter De Schrijver
We will need some tegra peripheral clocks with the CLK_IGNORE_UNUSED flag, most notably mselect, which is a bridge between AXI and most peripherals. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph.c | 11 ++- drivers/clk/tegra/clk-tegra20.c |2 +- drivers/clk/te

[PATCH v5 04/10] clk: tegra: Add new fields and PLL types for Tegra114

2013-02-01 Thread Peter De Schrijver
Tegra114 introduces new PLL types. This requires new clocktypes as well as some new fields in the pll structure. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 719 +++ drivers/clk/tegra/clk.h | 47 +++ 2 files changed, 766 inse

[PATCH v5 03/10] clk: tegra: Add PLL post divider table

2013-02-01 Thread Peter De Schrijver
Some PLLs in Tegra114 don't use a power of 2 mapping for the post divider. Introduce a table based approach and switch PLLU to it. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 38 -- drivers/clk/tegra/clk-tegra20.c |7 +++

[PATCH v5 02/10] clk: tegra: Add TEGRA_PLL_BYPASS flag

2013-02-01 Thread Peter De Schrijver
Not all PLLs in Tegra114 have a bypass bit. Adapt the common code to only use this bit when available. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 15 ++- drivers/clk/tegra/clk.h |8 +--- 2 files changed, 15 insertions(+), 8 deletions(-) diff --

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

2013-02-01 Thread Peter De Schrijver
Refactor the PLL programming code to make it useable by the new PLL types introduced by Tegra114. The following changes were done: * Split programming the PLL into updating m,n,p and updating cpcon * Move locking from _update_pll_cpcon() to clk_pll_set_rate() * Introduce _get_pll_mnp() helper * M

[PATCH v5 00/10] Tegra114 clockframework

2013-02-01 Thread Peter De Schrijver
This is the fifth version of the Tegra114 clockframework. It is based on the for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git and http://www.spinics.net/lists/arm-kernel/msg220452.html. It has been boottested on Pluto. Changes from v4: * Split the new PLL

[PATCH v5 00/10] Tegra114 clockframework

2013-02-01 Thread Peter De Schrijver
This is the fifth version of the Tegra114 clockframework. It is based on the for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git and http://www.spinics.net/lists/arm-kernel/msg220452.html. It has been boottested on Pluto. Changes from v4: * Split the new PLL

Re: [PATCH RFC] usb: dwc3: Get PHY from platform specific dwc3 dt node.

2013-02-01 Thread Felipe Balbi
Hi, On Fri, Feb 01, 2013 at 02:23:28PM +0530, Vivek Gautam wrote: > >> > On Thu, Jan 31, 2013 at 08:53:27PM +0530, Vivek Gautam wrote: > >> > >> Moreover, SoCs having multiple dwc3 controllers will have multiple > >> PHYs, which eventually be added using usb_add_phy_

Re: [PATCH v2 2/6] of: Return -ENXIO from of_parse_phandle_with_args for too large index and return errors from of_gpio_named_count

2013-02-01 Thread Linus Walleij
On Tue, Jan 29, 2013 at 3:53 PM, Andreas Larsson wrote: > This lets of_gpio_named_count return an errno on errors by being able to > distinguish between reaching the end of the phandle list and getting some > other > error from of_parse_phandle_with_args. > > Return error from of_spi_register_ma

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

2013-02-01 Thread Srinivas KANDAGATLA
Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like the intermediate dts file replaces all instances of linux with 1 because of predefined macros in gcc. As a result linux,stdout-path = "/soc/stm-asc2"; is changed to. 1,stdout-path =

Re: [PATCH v17 4/7] fbmon: add videomode helpers

2013-02-01 Thread Jingoo Han
On Friday, January 25, 2013 6:02 PM, Steffen Trumtrar wrote > > Add a function to convert from the generic videomode to a fb_videomode. > > Signed-off-by: Steffen Trumtrar > Reviewed-by: Thierry Reding > Acked-by: Thierry Reding > Tested-by: Thierry Reding > Tested-by: Philipp Zabel > Review

  1   2   >