Re: [PATCH] mtd/m25p80: add device tree probe support

2012-06-26 Thread Shawn Guo
On Mon, Jun 25, 2012 at 06:50:10PM +0200, Marek Vasut wrote: 116 ssp2: ssp@80014000 { 117 #address-cells = 1; 118 #size-cells = 0; 119 compatible = fsl,imx28-spi; 120

Re: Where to power on the wifi device before loading the driver.

2012-06-26 Thread Dong Aisheng
On Tue, Jun 19, 2012 at 06:01:54PM -0600, Stephen Warren wrote: On 06/19/2012 03:44 AM, Wei Ni wrote: On Tue, Jun 19, 2012 at 17:17:19, Mark Brown wrote: * PGP Signed by an unknown key On Tue, Jun 19, 2012 at 12:25:58PM +0800, Wei Ni wrote: As Stephen previously said please fix your

Re: [PATCH V3 2/3] regulator: dt: regulator match by regulator-compatible

2012-06-26 Thread Mark Brown
On Tue, Jun 26, 2012 at 02:32:33PM +0530, Laxman Dewangan wrote: I have not seen much oppose on this series as such and if you are OK on this then can we apply? If it need to buy some ACK from different stack holder then we can ask them. I've been waiting for the ST Ericsson guys who are

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-06-26 Thread Vinod Koul
On Mon, 2012-06-25 at 20:30 +, Arnd Bergmann wrote: dma_request_channel is called with some information about the channel provided in its arguments, and the driver might get that from a number of places. Today, we just ask for a channel with specific mask. Further filtering is done in

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is happy with it. That'll also save me some time once I get to writing the code because I won't have to redo it over again.

Early printk baudrate initialization DTS description

2012-06-26 Thread Michal Simek
Hi, we are trying to solve one problem with early printk initialization on Microblaze uart16550. I have also checked arm bootup code and the situation is the same there (NOTE: This IP is possible to use on Zynq too). The problem is about baudrate initialization. Current code just expect that

Re: [PATCH] mtd/m25p80: add device tree probe support

2012-06-26 Thread Marek Vasut
Dear Shawn Guo, On Mon, Jun 25, 2012 at 06:50:10PM +0200, Marek Vasut wrote: 116 ssp2: ssp@80014000 { 117 #address-cells = 1; 118 #size-cells = 0; 119 compatible =

Re: [PATCH v6 00/14] add imx usb driver based on Greg next tree

2012-06-26 Thread Marek Vasut
Dear Shawn Guo, On Mon, Jun 25, 2012 at 01:18:22PM -0300, Fabio Estevam wrote: Any suggestions as to how to make the driver work on mx23? I won't be able to test it on my imx23-evk board, because the board design is somehow odd on vbus supply, which probably requires a board rework. We

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: host1x { compatible = nvidia,tegra20-host1x, simple-bus; reg = 0x5000 0x00024000; interrupts = 0 64 0x04 /* cop syncpt */

Re: [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver

2012-06-26 Thread Tony Lindgren
* Stephen Warren swar...@wwwdotorg.org [120622 10:37]: On 06/22/2012 02:39 AM, Tony Lindgren wrote: Hi, * Stephen Warren swar...@wwwdotorg.org [120621 15:17]: On 06/19/2012 07:56 AM, Tony Lindgren wrote: + +- pinctrl-single,pinconf-mask : mask of allowed pinconf bits in the +

Re: [PATCH v3] edac: add support for Calxeda highbank memory controller

2012-06-26 Thread Rob Herring
Mauro, On 06/13/2012 12:01 PM, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Add support for memory controller on Calxeda Highbank platforms. Highbank platforms support a single 4GB mini-DIMM with 1-bit correction and 2-bit detection. Signed-off-by: Rob Herring

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 02:47:56PM +0200, Lucas Stach wrote: Hello Thierry, I still haven't found the time to look at device tree things in detail, but still some comments inline. Overall I think the tree looks ok and is a great thing to get started. Am Dienstag, den 26.06.2012, 12:55

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:02:24PM +0300, Hiroshi Doyu wrote: Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: * PGP Signed by an unknown key Hi, while I haven't got much time to work on the actual code right now, I think it

Re: [RFC 2/2] usb: gadget: composite: parse dt overrides

2012-06-26 Thread Rob Herring
On 06/26/2012 12:38 AM, Mitch Bradley wrote: On 6/25/2012 1:49 PM, Rob Herring wrote: On 06/25/2012 03:23 PM, Alexandre Pereira da Silva wrote: Grab the devicetree node properties to override VendorId, ProductId, bcdDevice, Manucacturer, Product and SerialNumber Signed-off-by: Alexandre

Re: [PATCH 7/9] I2C: MV64XXX: Add Device Tree support

2012-06-26 Thread Andrew Lunn
On Tue, Jun 26, 2012 at 03:03:56PM +0100, Ben Dooks wrote: On 10/06/12 11:31, Andrew Lunn wrote: Extends the driver to get properties from device tree. Also extend the kirkwood DT support to supply the needed properties. Signed-off-by: Andrew Lunnand...@lunn.ch ---

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-06-26 Thread Arnd Bergmann
On Tuesday 26 June 2012, Vinod Koul wrote: Today, we just ask for a channel with specific mask. Further filtering is done in filter function as we request a channel, not a specific one. In most slave cases, we need a specific channel from a specific controller, and that is where DT can play a

Re: Where to power on the wifi device before loading the driver.

2012-06-26 Thread Stephen Warren
(I'm adding everyone on thread ARM: imx6q: add config-on-boot gpios to the CC of this similar thread. Sorry if you think that's spam.) On 06/26/2012 02:56 AM, Dong Aisheng wrote: On Tue, Jun 19, 2012 at 06:01:54PM -0600, Stephen Warren wrote: ... I think what we need is some way of matching a

Re: [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:43 AM, Tony Lindgren wrote: ... Subject: [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver Add one-register-per-pin type device tree based pinctrl driver. This driver has been tested on omap2+ series of processors, where there is either an 8

Re: [PATCH v2 07/10] ARM: tegra: pcie: Add device tree support

2012-06-26 Thread Stephen Warren
On 06/25/2012 12:34 AM, Thierry Reding wrote: On Fri, Jun 22, 2012 at 11:28:15AM -0600, Stephen Warren wrote: On 06/22/2012 11:00 AM, Stephen Warren wrote: On 06/22/2012 05:00 AM, Thierry Reding wrote: ... Stephen: can you try to find out whether the Tegra PCIe controller indeed implements

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:02 AM, Terje Bergström wrote: On 26.06.2012 16:41, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: We also assign certain host1x common resources per device by convention, f.ex. sync points, channels etc. We currently encode that

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:41 AM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... status = disabled; gart = gart; /* video-encoding/decoding */ mpe { reg = 0x5404 0x0004; interrupts = 0 68 0x04; status =

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:01 AM, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain compatible=simple-bus.] driver. This has the advantage that it could integrate

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-06-26 Thread Vinod Koul
On Tue, 2012-06-26 at 14:59 +, Arnd Bergmann wrote: On Tuesday 26 June 2012, Vinod Koul wrote: Today, we just ask for a channel with specific mask. Further filtering is done in filter function as we request a channel, not a specific one. In most slave cases, we need a specific channel

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is happy with it. That'll also save me some time once I get to writing

Re: [PATCH 5/5] usb: gadget: composite: parse dt overrides

2012-06-26 Thread Rob Herring
On 06/26/2012 09:27 AM, Alexandre Pereira da Silva wrote: Grab the devicetree node properties to override VendorId, ProductId, bcdDevice, Manucacturer, Product and SerialNumber I'm still confused about what is the order of priority for the 2 possible sources of these values. The way it is

Re: [PATCH 5/5] usb: gadget: composite: parse dt overrides

2012-06-26 Thread Michal Nazarewicz
On 06/26/2012 09:27 AM, Alexandre Pereira da Silva wrote: Grab the devicetree node properties to override VendorId, ProductId, bcdDevice, Manucacturer, Product and SerialNumber Like before, the code looks good to me: Acked-by: Michal Nazarewicz min...@mina86.com Not commenting on the other

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: On 06/26/2012 07:41 AM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... status = disabled; gart = gart; /* video-encoding/decoding

Re: [PATCH] watchdog: xilinx: Read clock frequency directly from DT node

2012-06-26 Thread Wim Van Sebroeck
Hi Michal, Do not use clock-frequency property from parent node. Use it from watchdog node. Signed-off-by: Michal Simek mon...@monstr.eu Added to linux-watchdog-next. Kind regards, Wim. ___ devicetree-discuss mailing list

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:27 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: On 06/26/2012 08:02 AM, Terje Bergström wrote: On 26.06.2012 16:41, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: We also assign certain

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:31 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: On 06/26/2012 07:41 AM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... status = disabled;

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:46:42AM -0600, Stephen Warren wrote: On 06/26/2012 07:01 AM, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-06-26 Thread Arnd Bergmann
On Tuesday 26 June 2012, Vinod Koul wrote: On Tue, 2012-06-26 at 14:59 +, Arnd Bergmann wrote: On Tuesday 26 June 2012, Vinod Koul wrote: Today, we just ask for a channel with specific mask. Further filtering is done in filter function as we request a channel, not a specific one.

Re: Where to power on the wifi device before loading the driver.

2012-06-26 Thread Rob Herring
On 06/26/2012 11:53 AM, Stephen Warren wrote: (I'm adding everyone on thread ARM: imx6q: add config-on-boot gpios to the CC of this similar thread. Sorry if you think that's spam.) On 06/26/2012 02:56 AM, Dong Aisheng wrote: On Tue, Jun 19, 2012 at 06:01:54PM -0600, Stephen Warren wrote:

Re: [PATCH v7 01/14] usb: chipidea: remove unneeded NULL check

2012-06-26 Thread Greg KH
On Mon, Jun 25, 2012 at 02:56:18PM +0800, Richard Zhao wrote: From: Alexander Shishkin alexander.shish...@linux.intel.com As reported by Dan Carpenter, there is a NULL check in udc_start() that follows a dereference of the pointer that's being checked. However, at that point udc pointer

Re: [PATCH v7 01/14] usb: chipidea: remove unneeded NULL check

2012-06-26 Thread Marek Vasut
Dear Richard Zhao, From: Alexander Shishkin alexander.shish...@linux.intel.com As reported by Dan Carpenter, there is a NULL check in udc_start() that follows a dereference of the pointer that's being checked. However, at that point udc pointer shouldn't ever be NULL and if it is, the

Re: [PATCH v7 02/14] usb: chipidea: drop useless arch-check

2012-06-26 Thread Marek Vasut
Dear Richard Zhao, From: Felipe Balbi ba...@ti.com msm glue layer compiles on all arches just fine. Let's drop the unnecessary ARCH check so we have easier compile tests. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com Good

Re: [PATCH v7 03/14] usb: chipidea: msm: add missing section annotation

2012-06-26 Thread Marek Vasut
Dear Richard Zhao, From: Felipe Balbi ba...@ti.com no functional changes, it will just free up some code if we don't have hotplug. Well, start the sentence with a capital letter ;-) Acked-by: Marek Vasut ma...@denx.de Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander

Re: [PATCH v7 05/14] USB: Chipidea: rename struct ci13xxx_udc_driver to struct ci13xxx_platform_data

2012-06-26 Thread Marek Vasut
Dear Richard Zhao, This patch rename struct ci13xxx_udc_driver and var with the type. ci13xxx_platform_data reflect it's passed from platfrom driver. Maybe rather driver data? As platform_data has certain different conotation to it. Signed-off-by: Richard Zhao richard.z...@freescale.com

Re: [PATCH v7 06/14] USB: Chipidea: rename struct ci13xxx variables from udc to ci

2012-06-26 Thread Marek Vasut
Dear Richard Zhao, struct ci13xxx represent the controller, which may be device or host, so name its variables as ci. Signed-off-by: Richard Zhao richard.z...@freescale.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- Add

Re: [PATCH v7 09/14] usb: chipidea: select USB_EHCI_ROOT_HUB_TT in USB_CHIPIDEA_HOST of Kconfig

2012-06-26 Thread Marek Vasut
Dear Richard Zhao, ci13xxx host needs Root Hub Transaction Translators. Reported-by: Shawn Guo shawn@freescale.com Signed-off-by: Richard Zhao richard.z...@freescale.com Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com Acked-by:

Re: [PATCH 1/1] of: Fix null pointer related warnings in base.c file

2012-06-26 Thread Rob Herring
On 06/04/2012 06:15 AM, Sachin Kamat wrote: Fixes the following sparse warnings: drivers/of/base.c:176:41: warning: Using plain integer as NULL pointer drivers/of/base.c:178:37: warning: Using plain integer as NULL pointer drivers/of/base.c:500:49: warning: Using plain integer as NULL pointer

Re: Where to power on the wifi device before loading the driver.

2012-06-26 Thread Stephen Warren
On 06/26/2012 03:26 PM, Rob Herring wrote: On 06/26/2012 11:53 AM, Stephen Warren wrote: (I'm adding everyone on thread ARM: imx6q: add config-on-boot gpios to the CC of this similar thread. Sorry if you think that's spam.) On 06/26/2012 02:56 AM, Dong Aisheng wrote: On Tue, Jun 19, 2012 at

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:51 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device

Re: [GIT PULL] DT fixes for 3.5

2012-06-26 Thread Rob Herring
On 06/14/2012 08:39 PM, Rob Herring wrote: Grant, Please pull. Mainly some documentation updates and 2 fixes: - An export symbol fix for of_platform_populate from Stephen W. - A fix for the order compatible entries are matched to ensure the first compatible string is matched when there

Re: [GIT PULL] DT fixes for 3.5

2012-06-26 Thread Stephen Warren
On 06/26/2012 05:38 PM, Rob Herring wrote: On 06/14/2012 08:39 PM, Rob Herring wrote: Grant, Please pull. Mainly some documentation updates and 2 fixes: - An export symbol fix for of_platform_populate from Stephen W. - A fix for the order compatible entries are matched to ensure the first

Re: Where to power on the wifi device before loading the driver.

2012-06-26 Thread Dong Aisheng
On Wed, Jun 27, 2012 at 12:53:27AM +0800, Stephen Warren wrote: (I'm adding everyone on thread ARM: imx6q: add config-on-boot gpios to the CC of this similar thread. Sorry if you think that's spam.) On 06/26/2012 02:56 AM, Dong Aisheng wrote: On Tue, Jun 19, 2012 at 06:01:54PM -0600,

Re: Where to power on the wifi device before loading the driver.

2012-06-26 Thread Dong Aisheng
On Wed, Jun 27, 2012 at 05:26:04AM +0800, Rob Herring wrote: On 06/26/2012 11:53 AM, Stephen Warren wrote: (I'm adding everyone on thread ARM: imx6q: add config-on-boot gpios to the CC of this similar thread. Sorry if you think that's spam.) On 06/26/2012 02:56 AM, Dong Aisheng wrote:

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:46 PM, Mark Zhang wrote: On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: ... I'm not sure I understand how information about the carveout would be obtained from the IOMMU API, though. I think that can be similar with current gart

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:32 PM, Mark Zhang wrote: On 06/26/2012 07:46 PM, Mark Zhang wrote: On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: ... I'm not sure I understand how information about the carveout would be obtained from the IOMMU API, though. I

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:48:14PM -0600, Stephen Warren wrote: On 06/26/2012 01:51 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 08:48:18PM -0600, Stephen Warren wrote: On 06/26/2012 08:32 PM, Mark Zhang wrote: On 06/26/2012 07:46 PM, Mark Zhang wrote: On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: ... I'm not sure I understand how information

Remoteproc device-tree node description proposal

2012-06-26 Thread Michal Simek
Hi, I would like to start discussion about remoteproc DTS node description. Currently we have 2 remoteproc drivers for ARM zynq xilinx platform. One is for the second ARM and one is for Microblaze in programmable logic on the same device. Below is current DTS node description which we are using

Re: [PATCH v7 08/14] USB: Chipidea: add ci13xxx device id management

2012-06-26 Thread Richard Zhao
On Mon, Jun 25, 2012 at 12:17:13PM +0200, Marc Kleine-Budde wrote: On 06/25/2012 12:03 PM, Richard Zhao wrote: Could you use my USB test branch? Same result: ci_hdrc ci_hdrc.0: remove, state 1 usb usb1: USB disconnect, device number 1 ci_hdrc ci_hdrc.0: USB bus 1 deregistered Unable

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 08:48:18PM -0600, Stephen Warren wrote: On 06/26/2012 08:32 PM, Mark Zhang wrote: On 06/26/2012 07:46 PM, Mark Zhang wrote: On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: ... I'm not sure I understand how information