Re: [PATCH 00/14] Rewrite Tegra PCIe driver

2013-01-10 Thread Thomas Petazzoni
Dear Thierry Reding, On Thu, 10 Jan 2013 07:55:37 +0100, Thierry Reding wrote: The reason is that with the latest bindings the matching of root ports to device tree nodes works as-is and nothing else indicates that the emulated host bridge is actually required to make any of this work. So in

[PATCH 4/4] usb: chipidea: imx: Add system suspend/resume API

2013-01-10 Thread Peter Chen
During the system suspend/resume procedure, the USB also needs to go suspend/resume procedure, this patch adds related APIs. It is tested at i.mx6q sabrelite. Meanwhile, it fixes the bug that the USB will out of work after system suspend/resume. Signed-off-by: Peter Chen peter.c...@freescale.com

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-10 Thread Thierry Reding
On Wed, Jan 09, 2013 at 11:10:55AM +, Russell King - ARM Linux wrote: [...] err = gpio_request(en_vdd_1v05, EN_VDD_1V05); if (err) { pr_err(%s: gpio_request failed: %d\n, __func__, err); return err; }

Re: [PATCH v5] usb: phy: samsung: Add support to set pmu isolation

2013-01-10 Thread Vivek Gautam
Hi Sylwester, On Thu, Jan 10, 2013 at 3:12 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi, On 12/28/2012 10:13 AM, Vivek Gautam wrote: Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Arnd Bergmann
On Thursday 10 January 2013, Thierry Reding wrote: On Wed, Jan 09, 2013 at 04:17:58PM -0700, Jason Gunthorpe wrote: On Wed, Jan 09, 2013 at 04:12:31PM -0700, Stephen Warren wrote: You could decrease the size of the mapping to only span the bus numbers that are configured for use via DT.

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

2013-01-10 Thread kishon
Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: 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. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay

Re: [PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB

2013-01-10 Thread Benoit Cousson
Hi Kishon, On 01/10/2013 07:19 AM, kishon wrote: On Friday 28 December 2012 12:05 AM, Aaro Koskinen wrote: Hi, On Thu, Sep 20, 2012 at 05:21:15AM +0200, Benoit Cousson wrote: On 09/19/2012 11:32 AM, Kishon Vijay Abraham I wrote: This patch series adds dt data to get MUSB working in omap4

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

2013-01-10 Thread Benoit Cousson
On 01/10/2013 10:31 AM, kishon wrote: Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: 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. Acked-by: Felipe Balbi

Re: [PATCH 0/4] gpio: introduce descriptor-based interface

2013-01-10 Thread Arnd Bergmann
On Thursday 10 January 2013, Alex Courbot wrote: On Wednesday 09 January 2013 18:46:12 Arnd Bergmann wrote: Only legacy users did this. Initially there was only the header file, with the API declared but several different implementations of it. gpiolib was introduced later to reduce code

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

2013-01-10 Thread kishon
Hi, On Thursday 10 January 2013 03:34 PM, Benoit Cousson wrote: On 01/10/2013 10:31 AM, kishon wrote: Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 09:17:19AM +, Arnd Bergmann wrote: On Thursday 10 January 2013, Thierry Reding wrote: On Wed, Jan 09, 2013 at 04:17:58PM -0700, Jason Gunthorpe wrote: On Wed, Jan 09, 2013 at 04:12:31PM -0700, Stephen Warren wrote: You could decrease the size of the mapping to

[PATCH v2] ARM i.MX53: dts: add oftree for MBa53 baseboard

2013-01-10 Thread Steffen Trumtrar
The MBa53 is a baseboard for the TQMA53 embedded module. This enables/adds only supported devices, i.e. it is not feature complete, because of missing drivers in mainline linux. Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- arch/arm/boot/dts/Makefile|1 +

Re: [RFC PATCH 5/7] ARM: s3c64xx: Add board file for boot using Device Tree

2013-01-10 Thread Mark Brown
On Thu, Jan 10, 2013 at 12:41:47AM +0100, Tomasz Figa wrote: + * The following lookup table is used to override device names when devices + * are registered from device tree. This is temporarily added to enable + * device tree support addition for the Exynos4 architecture. Cut'n'paste.

Re: [PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB

2013-01-10 Thread kishon
Hi, On Thursday 10 January 2013 03:28 PM, Benoit Cousson wrote: Hi Kishon, On 01/10/2013 07:19 AM, kishon wrote: On Friday 28 December 2012 12:05 AM, Aaro Koskinen wrote: Hi, On Thu, Sep 20, 2012 at 05:21:15AM +0200, Benoit Cousson wrote: On 09/19/2012 11:32 AM, Kishon Vijay Abraham I

Re: [RFC PATCH 5/7] ARM: s3c64xx: Add board file for boot using Device Tree

2013-01-10 Thread Tomasz Figa
Hi Mark, On Thursday 10 of January 2013 10:52:22 Mark Brown wrote: On Thu, Jan 10, 2013 at 12:41:47AM +0100, Tomasz Figa wrote: + * The following lookup table is used to override device names when devices + * are registered from device tree. This is temporarily added to enable + * device

Re: [PATCH v2] ARM i.MX53: dts: add oftree for MBa53 baseboard

2013-01-10 Thread Shawn Guo
On Thu, Jan 10, 2013 at 11:27:27AM +0100, Steffen Trumtrar wrote: The MBa53 is a baseboard for the TQMA53 embedded module. This enables/adds only supported devices, i.e. it is not feature complete, because of missing drivers in mainline linux. Signed-off-by: Steffen Trumtrar

Re: [RFC PATCH 1/7] ARM: common: vic: Parse interrupt and resume masks from device tree

2013-01-10 Thread Mark Brown
On Thu, Jan 10, 2013 at 12:41:43AM +0100, Tomasz Figa wrote: +- interrupt-mask : Bit mask of valid interrupt sources (defaults to all valid) +- wakeup-mask : Bit mask of interrupt sources that can wake up the system + (defaults to all allowed) Should this really be configured in the VIC

Re: [PATCH 1/2] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-10 Thread Linus Walleij
On Fri, Jan 4, 2013 at 5:45 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The IP responsible for the muxing on the Allwinner SoCs are also handling the GPIOs on the system. This patch adds the needed driver that relies on the pinctrl driver for most of its operations. The number

Re: [RFC PATCH 1/7] ARM: common: vic: Parse interrupt and resume masks from device tree

2013-01-10 Thread Tomasz Figa
On Thursday 10 of January 2013 11:03:14 Mark Brown wrote: On Thu, Jan 10, 2013 at 12:41:43AM +0100, Tomasz Figa wrote: +- interrupt-mask : Bit mask of valid interrupt sources (defaults to all valid) +- wakeup-mask : Bit mask of interrupt sources that can wake up the system + (defaults to

Re: [RFC PATCH 3/7] ARM: s3c64xx: Add support for OF-based VIC initialization

2013-01-10 Thread Mark Brown
On Thu, Jan 10, 2013 at 12:41:45AM +0100, Tomasz Figa wrote: This patch modifies IRQ initialization code of S3C64xx to support Device Tree-based initialization of VICs. Reviewed-by: Mark Brown broo...@opensource.wolfsonmicro.com signature.asc Description: Digital signature

Re: [RFC PATCH 1/7] ARM: common: vic: Parse interrupt and resume masks from device tree

2013-01-10 Thread Mark Brown
On Thu, Jan 10, 2013 at 12:10:38PM +0100, Tomasz Figa wrote: This is not the runtime interrupt/wakeup mask, but a global mask of available interrupt/wakeup lines on particular platform, which still have to be configured and enabled appropriately by user. Ah, OK. Reviewed-by: Mark Brown

Re: [PATCH] mfd: stmpe: Pull IRQ GPIO number from DT during DT-based probe

2013-01-10 Thread Linus Walleij
On Tue, Jan 8, 2013 at 12:14 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 8 January 2013 16:41, Lee Jones lee.jo...@linaro.org wrote: Hmm.. I tried a bit, but couldn't find any such call :( Probably an assumption is taken here. GPIO pins which are going to be used as interrupt lines,

[PATCH] ARM: kernel: DT cpu map validity check helper function

2013-01-10 Thread Lorenzo Pieralisi
Since the introduction of /cpu nodes bindings for ARM and the corresponding parse function arm_dt_init_cpu_maps(), the cpu_logical_map and the number of possible CPUs are set according to the DT /cpu nodes entries. Currently most of the existing ARM SMP platforms detect the number of cores through

Re: [PATCH] ARM: kernel: DT cpu map validity check helper function

2013-01-10 Thread Dave Martin
On Thu, Jan 10, 2013 at 11:48:27AM +, Lorenzo Pieralisi wrote: Since the introduction of /cpu nodes bindings for ARM and the corresponding parse function arm_dt_init_cpu_maps(), the cpu_logical_map and the number of possible CPUs are set according to the DT /cpu nodes entries. Currently

Re: [PATCH] ARM: kernel: DT cpu map validity check helper function

2013-01-10 Thread Lorenzo Pieralisi
On Thu, Jan 10, 2013 at 12:15:14PM +, Dave Martin wrote: On Thu, Jan 10, 2013 at 11:48:27AM +, Lorenzo Pieralisi wrote: Since the introduction of /cpu nodes bindings for ARM and the corresponding parse function arm_dt_init_cpu_maps(), the cpu_logical_map and the number of possible

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

2013-01-10 Thread Felipe Balbi
On Thu, Jan 10, 2013 at 03:46:55PM +0530, kishon wrote: Hi, On Thursday 10 January 2013 03:34 PM, Benoit Cousson wrote: On 01/10/2013 10:31 AM, kishon wrote: Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree

PMU node location

2013-01-10 Thread Michal Simek
Hi Rob, Mark, Grant and others, I want to check with you the location of ARM pmu node I see that 1) highbank and dbx5x0 have it in soc node 2) vexpress and tegra have no main bus and pmu is in root like all others devices. (Any reason no to have main bus? Does it mean that there is no bus or

Re: [RFC PATCH 1/5] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to system reset controller

2013-01-10 Thread Philipp Zabel
Hi Stephen, Am Mittwoch, den 09.01.2013, 11:15 -0700 schrieb Stephen Warren: On 01/09/2013 10:17 AM, Philipp Zabel wrote: Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45 I proposed something very

Re: [RFC PATCH 1/5] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to system reset controller

2013-01-10 Thread Philipp Zabel
Am Donnerstag, den 10.01.2013, 14:56 +0800 schrieb Shawn Guo: Hi Philipp, On Wed, Jan 09, 2013 at 06:17:15PM +0100, Philipp Zabel wrote: Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45

Re: [RFC PATCH 0/5] Use SRC to reset IP modules on i.MX5 and i.MX6

2013-01-10 Thread Philipp Zabel
Am Mittwoch, den 09.01.2013, 15:57 -0200 schrieb Fabio Estevam: On Wed, Jan 9, 2013 at 3:53 PM, Fabio Estevam feste...@gmail.com wrote: On Wed, Jan 9, 2013 at 3:40 PM, Philipp Zabel p.za...@pengutronix.de wrote: I rebased them onto next-20130109 (with this base compile-tested only).

[PATCH v3 24/44] metag: Internal and external irqchips

2013-01-10 Thread James Hogan
Meta core internal interrupts (from HWSTATMETA and friends) are vectored onto the TR1 core trigger for the current thread. This is demultiplexed in irq-meta.c to individual Linux IRQs for each internal interrupt. External SoC interrupts (from HWSTATEXT and friends) are vectored onto the TR2 core

RFC: Static memory controller node description

2013-01-10 Thread Michal Simek
Hi guys, we want to add static memory controller driver for xilinx zynq to the linux kernel. (It will go to drivers/memory/ folder) Just need to clear dts fragment which describe it. It is compatible with pl353 with 2 interfaces when only one interface can be used. Nand, nor and sram memories

Re: [PATCH] ARM: kernel: DT cpu map validity check helper function

2013-01-10 Thread Nicolas Pitre
On Thu, 10 Jan 2013, Lorenzo Pieralisi wrote: On Thu, Jan 10, 2013 at 12:15:14PM +, Dave Martin wrote: On Thu, Jan 10, 2013 at 11:48:27AM +, Lorenzo Pieralisi wrote: Since the introduction of /cpu nodes bindings for ARM and the corresponding parse function arm_dt_init_cpu_maps(),

Re: [PATCH] ARM: kernel: DT cpu map validity check helper function

2013-01-10 Thread Rob Herring
On 01/10/2013 05:48 AM, Lorenzo Pieralisi wrote: Since the introduction of /cpu nodes bindings for ARM and the corresponding parse function arm_dt_init_cpu_maps(), the cpu_logical_map and the number of possible CPUs are set according to the DT /cpu nodes entries. Currently most of the

Re: [PATCH V4 0/4] input: keyboard: tegra: cleanups and DT supports

2013-01-10 Thread Dmitry Torokhov
Hi Laxman, On Thu, Jan 10, 2013 at 12:01:23PM +0530, Laxman Dewangan wrote: Hi Dmitry, On Monday 07 January 2013 10:22 PM, Stephen Warren wrote: On 01/06/2013 04:14 AM, Laxman Dewangan wrote: This patch series: - fix build warning, - use devm_* for allocation, - make column/rows

Re: [RFC PATCH 1/5] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to system reset controller

2013-01-10 Thread Stephen Warren
On 01/10/2013 06:51 AM, Philipp Zabel wrote: Hi Stephen, Am Mittwoch, den 09.01.2013, 11:15 -0700 schrieb Stephen Warren: On 01/09/2013 10:17 AM, Philipp Zabel wrote: Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Jason Gunthorpe
On Thu, Jan 10, 2013 at 11:25:44AM +0100, Thierry Reding wrote: On Thu, Jan 10, 2013 at 09:17:19AM +, Arnd Bergmann wrote: On Thursday 10 January 2013, Thierry Reding wrote: On Wed, Jan 09, 2013 at 04:17:58PM -0700, Jason Gunthorpe wrote: On Wed, Jan 09, 2013 at 04:12:31PM -0700,

[REPOST PATCH v3 1/4] mmc: dw_mmc: Add disable-wp device tree property

2013-01-10 Thread Doug Anderson
The disable-wp property is used to specify that a given SD card slot doesn't have a concept of write protect. This eliminates the need for special case code for SD slots that should never be write protected (like a micro SD slot or a dev board). The dw_mmc driver is special in needing to specify

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Arnd Bergmann
On Thursday 10 January 2013, Thierry Reding wrote: I don't understand how this would help. The encoding is like this: [27:24] extended register number [23:16] bus number [15:11] device number [10: 8] function number [ 7: 0] register number So it

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

2013-01-10 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130110 04:49]: On Thu, Jan 10, 2013 at 03:46:55PM +0530, kishon wrote: On Thursday 10 January 2013 03:34 PM, Benoit Cousson wrote: Rob and I did not agree to use that temp hack in the case of DT, so you were supposed to repost with a proper driver for the SCM

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 11:20:07AM -0700, Jason Gunthorpe wrote: On Thu, Jan 10, 2013 at 11:25:44AM +0100, Thierry Reding wrote: On Thu, Jan 10, 2013 at 09:17:19AM +, Arnd Bergmann wrote: On Thursday 10 January 2013, Thierry Reding wrote: On Wed, Jan 09, 2013 at 04:17:58PM -0700,

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 06:26:55PM +, Arnd Bergmann wrote: On Thursday 10 January 2013, Thierry Reding wrote: I don't understand how this would help. The encoding is like this: [27:24] extended register number [23:16] bus number [15:11] device number

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 07:55:05PM +0100, Thierry Reding wrote: On Thu, Jan 10, 2013 at 11:20:07AM -0700, Jason Gunthorpe wrote: On Thu, Jan 10, 2013 at 11:25:44AM +0100, Thierry Reding wrote: On Thu, Jan 10, 2013 at 09:17:19AM +, Arnd Bergmann wrote: On Thursday 10 January 2013,

Re: [RFC PATCH v3 04/16] ARM: edma: add DT and runtime PM support for AM33XX

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 04:33:39PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Calls runtime PM API only in the DT case in order to unidle the associated hwmods on

Re: [RFC PATCH v3 08/16] ARM: dts: add AM33XX EDMA support

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 04:46:36PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com ---

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Jason Gunthorpe
On Thu, Jan 10, 2013 at 08:03:27PM +0100, Thierry Reding wrote: You'd piece a mapping together, each bus requires 16 64k mappings, a simple 2d array of busnr*16 of pointers would do the trick. A more clever solution would be to allocate contiguous virtual memory and split that up..

Re: [RFC PATCH v3 11/16] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2013-01-10 Thread Matt Porter
On Mon, Oct 29, 2012 at 01:48:46PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. Since the EDMA DMA Engine driver sets the maximum segments to 16, we do

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 05:01:29PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 17 +++

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2013-01-10 Thread Nishanth Menon
On 14:35-20130110, Matt Porter wrote: On Sun, Oct 28, 2012 at 05:01:29PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts

Re: [PATCH] Added device tree binding for TDM and TDM phy

2013-01-10 Thread Scott Wood
On 01/10/2013 03:24:21 AM, Singh Sandeep-B37400 wrote: +- compatible +Value type: string +Definition: Should contain generic compatibility like tdm-phy-slic or +tdm-phy-e1 or tdm-phy-t1. Does this generic string (plus the other properties) tell you all you need

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 12:24:17PM -0700, Jason Gunthorpe wrote: On Thu, Jan 10, 2013 at 08:03:27PM +0100, Thierry Reding wrote: You'd piece a mapping together, each bus requires 16 64k mappings, a simple 2d array of busnr*16 of pointers would do the trick. A more clever solution

Re: [PATCH 11/14] ARM: tegra: tamonten: Add PCIe support

2013-01-10 Thread Thierry Reding
On Wed, Jan 09, 2013 at 09:23:37PM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Thierry Reding wrote: Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/boot/dts/tegra20-tamonten.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) It's not

Re: [RFC PATCH v3 13/16] ARM: dts: add AM33XX MMC support

2013-01-10 Thread Matt Porter
On Tue, Oct 30, 2012 at 05:33:40AM +, AnilKumar wrote: On Thu, Oct 18, 2012 at 18:56:52, Porter, Matt wrote: Adds AM33XX MMC support for am335x-bone and am335x-evm. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |6 ++

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2013-01-10 Thread Matt Porter
On Thu, Jan 10, 2013 at 01:46:53PM -0600, Nishanth Menon wrote: On 14:35-20130110, Matt Porter wrote: On Sun, Oct 28, 2012 at 05:01:29PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. Signed-off

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2013-01-10 Thread Nishanth Menon
On 15:49-20130110, Matt Porter wrote: On Thu, Jan 10, 2013 at 01:46:53PM -0600, Nishanth Menon wrote: On 14:35-20130110, Matt Porter wrote: On Sun, Oct 28, 2012 at 05:01:29PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Jason Gunthorpe
On Thu, Jan 10, 2013 at 09:20:07PM +0100, Thierry Reding wrote: Arnd's version is good too, but you would be restricted to aligned powers of two for the bus number range in the DT, which is probably not that big a deal either? Stephen suggested on IRC that we could try to keep a bit of

Re: [RFC PATCH v3 05/16] ARM: edma: add AM33XX crossbar event support

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 04:41:24PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds support for the per-EDMA channel event mux. This is required for any peripherals using DMA crossbar mapped events. Signed-off-by: Matt Porter mpor...@ti.com ---

Re: [REPOST PATCH v3 1/4] mmc: dw_mmc: Add disable-wp device tree property

2013-01-10 Thread Doug Anderson
Olof, Thanks for your comments. On Thu, Jan 10, 2013 at 3:01 PM, Olof Johansson o...@lixom.net wrote: The previous code used the controller-common quirk field to set a per-controller DW_MCI_QUIRK_NO_WRITE_PROTECT. Is there really need to do this per-slot? And if so, please explain in the

Re: [RFC PATCH v3 02/16] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 01:47:09PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API but does not support OMAP. Signed-off-by: Matt

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host directory. The motivation is to collect various host controller drivers in the same location in order to facilitate refactoring. The Tegra PCIe driver has been largely

Re: [PATCH 14/14] ARM: tegra: trimslice: Initialize PCIe from DT

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: With the device tree support in place, probe the PCIe controller from the device tree and remove the corresponding workaround in the board file. Thierry, there are a couple things missing from this patch; I include a fixup for you to squash in, but

Re: [PATCH 13/14] ARM: tegra: harmony: Initialize PCIe from DT

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: With the device tree support in place, probe the PCIe controller from the device tree and remove the corresponding workaround in the board file. For some reason, the ports on Harmony fail to initialize correctly with this driver, although they do

Re: [REPOST PATCH v3 1/4] mmc: dw_mmc: Add disable-wp device tree property

2013-01-10 Thread Doug Anderson
Hi, A followup as I did more investigation here... On Thu, Jan 10, 2013 at 3:23 PM, Doug Anderson diand...@chromium.org wrote: Olof, Thanks for your comments. On Thu, Jan 10, 2013 at 3:01 PM, Olof Johansson o...@lixom.net wrote: The previous code used the controller-common quirk field to

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

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, 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 02/14] of/pci: Add of_pci_get_devfn() function

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: 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. diff --git

Re: [PATCH 09/14] ARM: tegra: Move pmc.h to include/mach

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: In preparation for moving the PCIe driver into the drivers/pci/host directory, this header, which contains prototypes that are required by the PCIe driver, needs to be moved to a globally visible location. Signed-off-by: Thierry Reding

Re: [PATCH 12/14] ARM: tegra: tec: Add PCIe support

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: Enable the first PCIe root port which is connected to an FPGA on the Tamonten Evaluation Carrier and add device nodes for each of the PCI endpoints available in the standard configuration. diff --git a/arch/arm/boot/dts/tegra20-tec.dts

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-10 Thread Stephen Warren
On 01/09/2013 01:43 PM, Thierry Reding wrote: Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host directory. The motivation is to collect various host controller drivers in the same location in order to facilitate refactoring. The Tegra PCIe driver has been largely

[PATCH v2] input: Extend matrix-keypad device tree binding

2013-01-10 Thread Simon Glass
Some matrix keypad drivers can support different numbers of rows and columns. Add a generic binding for these. Implementation note: In order to implement this binding in the kernel, we will need to modify matrix_keypad_() to look up the number of rows and cols in the keymap. Perhaps this could

Re: [PATCH 5/5] Input: Add ChromeOS EC keyboard driver

2013-01-10 Thread Simon Glass
Hi Grant, On Wed, Dec 19, 2012 at 12:42 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Dec 19, 2012 at 8:20 PM, Simon Glass s...@chromium.org wrote: On Wed, Dec 19, 2012 at 10:16 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Dec 19, 2012 at 12:57:22PM +, Grant

Re: [PATCH 1/4] ARM: dts: mxs-phy: Change mxs phy clock usage

2013-01-10 Thread Shawn Guo
On Thu, Jan 10, 2013 at 04:35:51PM +0800, Peter Chen wrote: For mxs-phy user i.mx6q, the PHY's clock is controlled by hardware automatically, the software only needs to enable it at probe, this clock should be used like below: - Enable at mxs-phy's probe, and disable at mxs-phy's remove, so

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 04:54:30PM -0700, Stephen Warren wrote: On 01/09/2013 01:43 PM, Thierry Reding wrote: Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host directory. The motivation is to collect various host controller drivers in the same location in order to

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:48:46PM -0700, Stephen Warren wrote: On 01/09/2013 01:43 PM, Thierry Reding wrote: Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host directory. The motivation is to collect various host controller drivers in the same location in order to

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

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:06:48PM -0700, Stephen Warren wrote: On 01/09/2013 01:43 PM, 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

Re: [PATCH 02/14] of/pci: Add of_pci_get_devfn() function

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:09:43PM -0700, Stephen Warren wrote: On 01/09/2013 01:43 PM, Thierry Reding wrote: 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

Re: [PATCH 09/14] ARM: tegra: Move pmc.h to include/mach

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:15:07PM -0700, Stephen Warren wrote: On 01/09/2013 01:43 PM, Thierry Reding wrote: In preparation for moving the PCIe driver into the drivers/pci/host directory, this header, which contains prototypes that are required by the PCIe driver, needs to be moved to a

Re: [PATCH 12/14] ARM: tegra: tec: Add PCIe support

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:22:30PM -0700, Stephen Warren wrote: On 01/09/2013 01:43 PM, Thierry Reding wrote: Enable the first PCIe root port which is connected to an FPGA on the Tamonten Evaluation Carrier and add device nodes for each of the PCI endpoints available in the standard

Re: [PATCH V4 0/4] input: keyboard: tegra: cleanups and DT supports

2013-01-10 Thread Laxman Dewangan
On Thursday 10 January 2013 11:14 PM, Dmitry Torokhov wrote: Hi Laxman, On Thu, Jan 10, 2013 at 12:01:23PM +0530, Laxman Dewangan wrote: Hi Dmitry, On Monday 07 January 2013 10:22 PM, Stephen Warren wrote: On 01/06/2013 04:14 AM, Laxman Dewangan wrote: This patch series: - fix build

[PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-10 Thread Matt Porter
Changes since v3: - Rebased on 3.8-rc3 - No longer an RFC - Fixed bugs in DT/pdata parsing reported by Vaibhav Bedia - Restored all the Davinci pdata to const - Removed max_segs hack in favor of using dma_get_channel_caps() - Fixed extra parens,

[PATCH v4 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API and enables it to build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

[PATCH v4 02/14] ARM: edma: remove unused transfer controller handlers

2013-01-10 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 mpor...@ti.com --- arch/arm/common/edma.c | 37 - 1 file changed, 37

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

2013-01-10 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 EMDA crossbar event mux support. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 314

[PATCH v4 04/14] dmaengine: edma: enable build for AM33XX

2013-01-10 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index d4c1218..20ef955 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@

[PATCH v4 05/14] dmaengine: edma: Add TI EDMA device tree binding

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

[PATCH v4 06/14] ARM: dts: add AM33XX EDMA support

2013-01-10 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 mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi

[PATCH v4 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-10 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 v4 08/14] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2013-01-10 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

[PATCH v4 09/14] mmc: omap_hsmmc: set max_segs based on dma engine limitations

2013-01-10 Thread Matt Porter
The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. The DMA Engine API reports the maximum number of segments a channel can support via the optional dma_get_channel_caps() API. If the nr_segs capability is present, the value is used to

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

2013-01-10 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter mpor...@ti.com --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 25 +++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[PATCH v4 11/14] ARM: dts: add AM33XX MMC support

2013-01-10 Thread Matt Porter
Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk.. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |7 +++ arch/arm/boot/dts/am335x-evm.dts |7 +++ arch/arm/boot/dts/am335x-evmsk.dts |7 +++

[PATCH v4 12/14] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-01-10 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

[PATCH v4 13/14] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-10 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git

[PATCH v4 14/14] ARM: dts: add AM33XX SPI DMA support

2013-01-10 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com --- 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 278b75d..8fd3648 100644 ---

RE: [PATCH v4 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Hebbar, Gururaja
On Fri, Jan 11, 2013 at 11:18:37, Porter, Matt wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API and enables it to build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig

Re: [patch] tg3: missing break statement in tg3_get_5720_nvram_info()

2013-01-10 Thread David Miller
From: Dan Carpenter dan.carpen...@oracle.com Date: Fri, 11 Jan 2013 09:57:33 +0300 There is a missing break statement so FLASH_5762_EEPROM_HD gets treated like FLASH_5762_EEPROM_LD. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Applied, thanks Dan.

RE: [PATCH v4 05/14] dmaengine: edma: Add TI EDMA device tree binding

2013-01-10 Thread Hebbar, Gururaja
On Fri, Jan 11, 2013 at 11:18:41, Porter, Matt wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 51 + 1 file changed, 51 insertions(+)