Re: [PATCH v2 0/5] fec driver updates

2012-06-27 Thread David Miller
From: Shawn Guo Date: Wed, 27 Jun 2012 21:45:19 +0800 > Changes since v1: > * Add one patch to use devm_gpio_request_one > * Have a separate patch to fix phy-reset-gpios property in binding > document > * Change phy-reset-interval to phy-reset-duration > * Add a sanity check on phy-reset-durati

Re: [PATCH v2 0/4] netdev/phy: 10G PHY support.

2012-06-27 Thread David Miller
From: David Daney Date: Wed, 27 Jun 2012 10:33:34 -0700 > From: David Daney > > The only non-cosmetic change from v1 is to pass an additional argument > to get_phy_device() that indicates that the PHY uses 802.3 clause 45 > signaling, previously I had been using a high order bit of the addr > p

[PATCH v8 14/14] usb: chipidea: add imx platform driver

2012-06-27 Thread Richard Zhao
This patch supports only the host-mode functionality so far. Signed-off-by: Richard Zhao Signed-off-by: Marek Vasut Cc: Peter Chen Cc: Alexander Shishkin Cc: Felipe Balbi Cc: Greg Kroah-Hartman Tested-by: Subodh Nijsure --- .../devicetree/bindings/usb/ci13xxx-imx.txt| 17 ++ driv

[PATCH v8 13/14] usb: otg: add basic mxs phy driver support

2012-06-27 Thread Richard Zhao
mxs phy is used in Freescale i.MX SoCs, for example imx23, imx28, imx6Q. This patch adds the basic host support. Signed-off-by: Richard Zhao Signed-off-by: Marek Vasut Cc: Peter Chen Acked-by: Felipe Balbi Tested-by: Subodh Nijsure --- Documentation/devicetree/bindings/usb/mxs-phy.txt | 13

[PATCH v8 12/14] usb: chipidea: permit driver bindings pass phy pointer

2012-06-27 Thread Richard Zhao
Sometimes, the driver bindings may know what phy they use. For example, when using device tree, the usb controller may have a phandler pointing to usb phy. Signed-off-by: Richard Zhao Reviewed-by: Marek Vasut Acked-by: Felipe Balbi Tested-by: Subodh Nijsure --- drivers/usb/chipidea/ci.h|

[PATCH v8 11/14] USB: notify phy when root hub port connect change

2012-06-27 Thread Richard Zhao
Phy may need to change settings when port connect change. Signed-off-by: Richard Zhao Tested-by: Subodh Nijsure --- drivers/usb/core/hub.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 25a7422..6ecfb5e 100644 --- a/drivers/u

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

2012-06-27 Thread Richard Zhao
ci13xxx host needs Root Hub Transaction Translators. Reported-by: Shawn Guo Signed-off-by: Richard Zhao Acked-by: Felipe Balbi Signed-off-by: Alexander Shishkin Acked-by: Marek Vasut --- drivers/usb/chipidea/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/chipidea/

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

2012-06-27 Thread Richard Zhao
We use ida_simple_get and ida_simple_remove to manage the ids. Signed-off-by: Richard Zhao Reviewed-by: Felipe Balbi Signed-off-by: Alexander Shishkin --- drivers/usb/chipidea/core.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/usb/chipid

[PATCH v8 10/14] usb: otg: add notify_connect/notify_disconnect callback

2012-06-27 Thread Richard Zhao
This let usb phy driver has a chance to change hw settings when connect status change. Signed-off-by: Richard Zhao Acked-by: Felipe Balbi Tested-by: Subodh Nijsure --- include/linux/usb/otg.h | 21 + 1 file changed, 21 insertions(+) diff --git a/include/linux/usb/otg.h b

[PATCH v8 07/14] USB: Chipidea: add unified ci13xxx_{add, remove}_device for platform drivers

2012-06-27 Thread Richard Zhao
Platform drivers do the similar things to add/remove ci13xxx device, so create a unified one. Signed-off-by: Richard Zhao Reviewed-by: Felipe Balbi Signed-off-by: Alexander Shishkin --- drivers/usb/chipidea/ci13xxx_msm.c | 34 ++-- drivers/usb/chipidea/ci13xxx_pci.c |

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

2012-06-27 Thread Richard Zhao
This patch rename struct ci13xxx_udc_driver and var with the type. ci13xxx_platform_data reflect it's passed from platfrom driver. Signed-off-by: Richard Zhao Reviewed-by: Felipe Balbi Signed-off-by: Alexander Shishkin --- drivers/usb/chipidea/ci.h |4 ++-- drivers/usb/chipidea/c

[PATCH v8 04/14] usb: chipidea: msm: add remove method

2012-06-27 Thread Richard Zhao
From: Felipe Balbi allow this driver to be removed too. Signed-off-by: Felipe Balbi Signed-off-by: Alexander Shishkin Signed-off-by: Richard Zhao --- drivers/usb/chipidea/ci13xxx_msm.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/usb/ch

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

2012-06-27 Thread Richard Zhao
From: Felipe Balbi No functional changes, it will just free up some code if we don't have hotplug. Signed-off-by: Felipe Balbi Signed-off-by: Alexander Shishkin Signed-off-by: Richard Zhao Acked-by: Marek Vasut --- drivers/usb/chipidea/ci13xxx_msm.c |2 +- 1 file changed, 1 insertion(+)

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

2012-06-27 Thread Richard Zhao
From: Alexander Shishkin 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 dereference should cause an oops. Signed-off-by: Alexander Shish

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

2012-06-27 Thread Richard Zhao
From: Felipe Balbi 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 Signed-off-by: Alexander Shishkin Signed-off-by: Richard Zhao Acked-by: Marek Vasut --- drivers/usb/chipidea/Makefile |8

[PATCH v8 00/14] add imx usb driver based on Greg next tree

2012-06-27 Thread Richard Zhao
The work is based on ci13xxx rework done by Alexander Shishkin. To let Greg pick up, I also added patches Alex queued that I depends on. This patch series can also be found at: https://github.com/riczhao/kernel-imx/commits/topics/usb-driver Status: - this version only support host - usbotg

[PATCH] bindings: update imx and mxs #gpio-cells

2012-06-27 Thread Shawn Guo
The of_get_named_gpio_flags can retrieve the second cell of gpio-specifier as the "flags". The imx and mxs gpio driver do not have their own .xlate callback, which means of_gpio_simple_xlate is used and it's a 1:1 mapping between gpio controller flags and Linux "enum of_gpio_flags". Update imx an

Re: [PATCH] Allow simple cross-compilation of library

2012-06-27 Thread David Gibson
On Wed, Jun 27, 2012 at 08:22:57AM -0500, Jon Loeliger wrote: > > [ Forwarded to devicetree dev list for comment. --jdl ] Yeah, I guess that makes sense. > > > --- Forwarded Message > > Subject: [PATCH] Allow simple cross-compilation of library > To: j...@jdl.com > From: Christoffer Dall

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

2012-06-27 Thread Richard Zhao
On Wed, Jun 27, 2012 at 02:42:31PM +0200, Marc Kleine-Budde wrote: > On 06/25/2012 08:56 AM, Richard Zhao wrote: > > struct ci13xxx represent the controller, which may be device or host, > > so name its variables as ci. > > > > Signed-off-by: Richard Zhao > > Reviewed-by: Felipe Balbi > > Signed

Re: #size-cells = <0> in a bus node, and kernel messages complaining about this

2012-06-27 Thread Mitch Bradley
On 6/27/2012 11:26 AM, Stephen Warren wrote: I believe I've seen the following construct bandied about as the correct way of representing a bunch of nodes that have the same name (since they represent the same type of object) within device-tree. regulators { compatible =

[PATCH v8] input: keyboard: Add keys driver for the LPC32xx SoC

2012-06-27 Thread Roland Stigge
This patch adds a driver for the key scan interface of the LPC32xx SoC Signed-off-by: Roland Stigge --- Applies to v3.5-rc4 Changes since v7: * Bugfix: enable clock in open() before accessing reg Changes since v6: * Clear IRQ in LPC32XX_KS_IRQ register in lpc32xx_kscan_{open,close} * Declare l

[PATCH v10] MTD: LPC32xx MLC NAND driver

2012-06-27 Thread Roland Stigge
This patch adds a driver for the MLC NAND controller of the LPC32xx SoC. Signed-off-by: Roland Stigge Signed-off-by: Alexandre Pereira da Silva --- Applies to l2-mtd Changes since v9: * Adjusted to API change in l2-mtd (write function returns int now) Changes since v8: * Use of_get_named_gpio(

Re: [RFC PATCH] dtc: integrate gpp

2012-06-27 Thread Stephen Warren
On 06/15/2012 12:53 PM, Stephen Warren wrote: > From: Stephen Warren > > I figured the easiest way to get named constants into dtc would be to > re-use an existing C pre-processor implemntation. Surprisingly, I could > not find many /good/ possibilities for this. I eventually found one called > g

Re: [PATCH V2] dtc: Add ability to delete nodes and properties

2012-06-27 Thread Stephen Warren
On 06/12/2012 05:10 PM, Stephen Warren wrote: > From: Stephen Warren > > dtc currently allows the contents of properties to be changed, and the > contents of nodes to be added to. There are situations where removing > properties or nodes may be useful. This change implements the following > synta

Re: [PATCH] Add test for re-defining an identical label

2012-06-27 Thread Stephen Warren
On 06/12/2012 02:48 PM, Stephen Warren wrote: > From: Stephen Warren > > When merging one device tree over the top of a previous tree, it is > possible to define a duplicate label that has the same name and points > to the same property or node. This is currently allowed by the duplicate > label

#size-cells = <0> in a bus node, and kernel messages complaining about this

2012-06-27 Thread Stephen Warren
I believe I've seen the following construct bandied about as the correct way of representing a bunch of nodes that have the same name (since they represent the same type of object) within device-tree. regulators { compatible = "simple-bus"; #address-cells =

Re: [PATCH 1/4] mtd: lpc32xx_slc: Select AMBA_PL08X in Kconfig

2012-06-27 Thread Russell King - ARM Linux
On Wed, Jun 27, 2012 at 05:51:12PM +0200, Roland Stigge wrote: > From: Alexandre Pereira da Silva > > Since this driver depends on the amba pl08x dma driver, select it in Kconfig. > > Signed-off-by: Alexandre Pereira da Silva > Signed-off-by: Roland Stigge > --- > drivers/mtd/nand/Kconfig |

Re: [PATCH 1/4] mtd: lpc32xx_slc: Select AMBA_PL08X in Kconfig

2012-06-27 Thread Russell King - ARM Linux
On Wed, Jun 27, 2012 at 04:26:18PM -0300, Alexandre Pereira da Silva wrote: > On Wed, Jun 27, 2012 at 4:15 PM, Russell King - ARM Linux > wrote: > > On Wed, Jun 27, 2012 at 05:51:12PM +0200, Roland Stigge wrote: > >> From: Alexandre Pereira da Silva > >> > >> Since this driver depends on the amba

Re: Tegra DRM device tree bindings

2012-06-27 Thread Stephen Warren
On 06/27/2012 06:44 AM, Hiroshi Doyu wrote: ... > I think that there are 2 cases: > > (1) discontiguous memory with IOMMU > (2) contiguous memory without IOMMU(called "carveout" in general?) ... > For (2), although memory is mostly anonymous one, we may need to know > how much to allocate, whe

Re: Tegra DRM device tree bindings

2012-06-27 Thread Stephen Warren
On 06/27/2012 08:29 AM, Hiroshi Doyu wrote: > Could you explain a bit more why you want carveout size on per-board basis? Different boards have different amounts of memory, and are sometimes targeted at different use-cases (e.g. server with simple display buffer, vs. consumer-oriented device inten

Re: Tegra DRM device tree bindings

2012-06-27 Thread Stephen Warren
On 06/26/2012 11:07 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:48:14PM -0600, Stephen Warren wrote: ... > I actually like what you proposed above a lot, so if you don't > mind either way I'll go with that proposal. Keeping the connector > nodes as children of the outputs has the advanta

[PATCH v2 4/4] netdev/phy: Add driver for Broadcom BCM87XX 10G Ethernet PHYs

2012-06-27 Thread David Daney
From: David Daney Add a driver for BCM8706 and BCM8727 devices. These are a 10Gig PHYs which use MII_ADDR_C45 addressing. They are always 10G full duplex, so there is no autonegotiation. All we do is report link state and send interrupts when it changes. If the PHY has a device tree of_node a

[PATCH v2 1/4] netdev/phy: Handle IEEE802.3 clause 45 Ethernet PHYs

2012-06-27 Thread David Daney
From: David Daney The IEEE802.3 clause 45 MDIO bus protocol allows for directly addressing PHY registers using a 21 bit address, and is used by many 10G Ethernet PHYS. Already existing is the ability of MDIO bus drivers to use clause 45, with the MII_ADDR_C45 flag. Here we add struct phy_c45_de

[PATCH v2 0/4] netdev/phy: 10G PHY support.

2012-06-27 Thread David Daney
From: David Daney The only non-cosmetic change from v1 is to pass an additional argument to get_phy_device() that indicates that the PHY uses 802.3 clause 45 signaling, previously I had been using a high order bit of the addr parameter for this. There are also changes from v1 in the code and com

[PATCH v2 3/4] netdev/phy/of: Add more methods for binding PHY devices to drivers.

2012-06-27 Thread David Daney
From: David Daney Allow PHY drivers to supply their own device matching function (match_phy_device()), or to be matched OF compatible properties. PHYs following IEEE802.3 clause 45 have more than one device identifier constants, which breaks the default device matching code. Other 10G PHYs don't

[PATCH v2 2/4] netdev/phy/of: Handle IEEE802.3 clause 45 Ethernet PHYs in of_mdiobus_register()

2012-06-27 Thread David Daney
From: David Daney Define two new "compatible" values for Ethernet PHYs. "ethernet-phy-ieee802.3-c22" and "ethernet-phy-ieee802.3-c45" are used to indicate a PHY uses the corresponding protocol. If a PHY is "compatible" with "ethernet-phy-ieee802.3-c45", we indicate this so that get_phy_device()

Re: [PATCH, RFC] displaymodes in devicetree

2012-06-27 Thread Sascha Hauer
On Wed, Jun 27, 2012 at 06:16:12AM -1000, Mitch Bradley wrote: > On 6/27/2012 2:43 AM, Sascha Hauer wrote: > >Hi All, > > > >I'd like to have a possibility to describe fixed display modes in the > >devicetree. This topic has been discussed before here: > > > >https://lists.ozlabs.org/pipermail/linu

Re: [PATCH, RFC] displaymodes in devicetree

2012-06-27 Thread Mitch Bradley
On 6/27/2012 2:43 AM, Sascha Hauer wrote: Hi All, I'd like to have a possibility to describe fixed display modes in the devicetree. This topic has been discussed before here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-February/080683.html The result at that time was that EDID data sh

[PATCH 1/4] mtd: lpc32xx_slc: Select AMBA_PL08X in Kconfig

2012-06-27 Thread Roland Stigge
From: Alexandre Pereira da Silva Since this driver depends on the amba pl08x dma driver, select it in Kconfig. Signed-off-by: Alexandre Pereira da Silva Signed-off-by: Roland Stigge --- drivers/mtd/nand/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/Kconfig b/

[PATCH 4/4] mtd: lpc32xx_slc: Make probe() return -EPROBE_DEFER if necessary

2012-06-27 Thread Roland Stigge
Via of_get_named_gpio(), wp_gpio can become -EPROBE_DEFER which now makes probe() return -EPROBE_DEFER as well to wait until the gpio controller is probed before trying to probe lpc32xx_slc again. Signed-off-by: Roland Stigge Acked-by: Alexandre Pereira da Silva --- drivers/mtd/nand/lpc32xx_slc

[PATCH 3/4] mtd: lpc32xx_slc: Use of_get_named_gpio()

2012-06-27 Thread Roland Stigge
This patch makes the lpc32xx_slc driver use of_get_named_gpio() instead of of_get_named_gpio_flags() whose flags are discarded anyway. Signed-off-by: Roland Stigge Acked-by: Alexandre Pereira da Silva --- drivers/mtd/nand/lpc32xx_slc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 2/4] mtd: lpc32xx_slc: Make wp gpio optional

2012-06-27 Thread Roland Stigge
From: Alexandre Pereira da Silva This patch supports missing wp gpio. Signed-off-by: Alexandre Pereira da Silva Signed-off-by: Roland Stigge --- drivers/mtd/nand/lpc32xx_slc.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/dr

Re: [PATCH v7] MTD: LPC32xx SLC NAND driver

2012-06-27 Thread Roland Stigge
On 06/27/2012 02:33 PM, Artem Bityutskiy wrote: > On Wed, 2012-06-27 at 14:14 +0200, Roland Stigge wrote: >> Thanks for the note! I'm sending an incremental patch. There was >> actually only one place in the two functions that could fail >> (return code of lpc32xx_xfer()). > > Could you please ch

Re: [PATCH v7] MTD: LPC32xx SLC NAND driver

2012-06-27 Thread Roland Stigge
Hi! On 06/27/2012 02:26 PM, Alexandre Pereira da Silva wrote: > I think it's best in case of *_raw to use nand base default functions, > like in the MLC patch. Problem here (specific for this SLC controller) is that it expects us to access the data register via 16bit access while the actual data

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

2012-06-27 Thread Arnd Bergmann
On Wednesday 27 June 2012, Vinod Koul wrote: > On Tue, 2012-06-26 at 20:27 +, Arnd Bergmann wrote: > > On Tuesday 26 June 2012, Vinod Koul wrote: > > > On Tue, 2012-06-26 at 14:59 +, Arnd Bergmann wrote: > > If we instead modify the dmaengine code itself to know about DT > > rather than wra

Re: Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
On Wed, Jun 27, 2012 at 05:29:14PM +0300, Hiroshi Doyu wrote: > On Wed, 27 Jun 2012 16:08:10 +0200 > Thierry Reding wrote: > > > * PGP Signed by an unknown key > > > > On Wed, Jun 27, 2012 at 03:59:07PM +0300, Hiroshi Doyu wrote: > > > On Wed, 27 Jun 2012 07:14:18 +0200 > > > Thierry Reding wro

Re: Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
On Wed, Jun 27, 2012 at 03:59:07PM +0300, Hiroshi Doyu wrote: > On Wed, 27 Jun 2012 07:14:18 +0200 > Thierry Reding wrote: > > > * PGP Signed by an unknown key > > > > 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/2

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

2012-06-27 Thread Vinod Koul
On Tue, 2012-06-26 at 20:27 +, Arnd Bergmann wrote: > 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

[PATCH v2 5/5] net: fec: add phy-reset-duration for device tree probe

2012-06-27 Thread Shawn Guo
Different boards may require different phy reset duration. Add property phy-reset-duration for device tree probe, so that the boards that need a longer reset duration can specify it in their device tree. Signed-off-by: Shawn Guo --- Documentation/devicetree/bindings/net/fsl-fec.txt |4

[PATCH v2 4/5] net: fec: phy-reset-gpios is optional

2012-06-27 Thread Shawn Guo
The phy-reset-gpios is an optional property for fec device tree boot. Change the binding document to match the driver code. Signed-off-by: Shawn Guo --- Documentation/devicetree/bindings/net/fsl-fec.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devic

[PATCH v2 3/5] net: fec: use managed function devm_gpio_request_one

2012-06-27 Thread Shawn Guo
Using gpio_request_one will require the probe fail-out call gpio_free, which is missing currently. Change to use devm_gpio_request_one to fix the problem. Signed-off-by: Shawn Guo --- drivers/net/ethernet/freescale/fec.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a

[PATCH v2 2/5] net: fec: enable regulator for fec phy

2012-06-27 Thread Shawn Guo
If bootloader or platform initialization code does not enable the power supply to fec phy, we need to do it in fec driver before calling fec_reset_phy to have the phy powered on. Signed-off-by: Shawn Guo --- drivers/net/ethernet/freescale/fec.c | 13 + 1 files changed, 13 insertion

[PATCH v2 1/5] net: fec: reset phy after pinctrl setup

2012-06-27 Thread Shawn Guo
In case that bootloader or platform initialization does not set up fec pins, the fec_reset_phy will not be able to succeed, because fec_reset_phy is currently called before devm_pinctrl_get_select_default. Move fec_reset_phy call to the place between devm_pinctrl_get_select_default and fec_enet_ini

[PATCH v2 0/5] fec driver updates

2012-06-27 Thread Shawn Guo
Changes since v1: * Add one patch to use devm_gpio_request_one * Have a separate patch to fix phy-reset-gpios property in binding document * Change phy-reset-interval to phy-reset-duration * Add a sanity check on phy-reset-duration value Shawn Guo (5): net: fec: reset phy after pinctrl setup

[PATCH] Allow simple cross-compilation of library

2012-06-27 Thread Jon Loeliger
[ Forwarded to devicetree dev list for comment. --jdl ] --- Forwarded Message Subject: [PATCH] Allow simple cross-compilation of library To: j...@jdl.com From: Christoffer Dall Date: Tue, 05 Jun 2012 13:09:59 -0400 Message-ID: <20120605170959.12774.39782.stgit@ubuntu> This is extremely u

Re: [PATCH] Fix compilation warning/error in setprop_inplace.c

2012-06-27 Thread Jon Loeliger
> On Wed, Jun 13, 2012 at 12:31:52PM +1000, David Gibson wrote: > > On Tue, Jun 12, 2012 at 02:48:12PM -0600, Stephen Warren wrote: > > > From: Stephen Warren > > >=20 > > > When compiling the current code-base with gcc 4.6.1, the following wa= > rning > > > is raised, which is interpreted as an e

Re: [PATCH v3 0/4] DT clock bindings

2012-06-27 Thread Rob Herring
On 06/21/2012 12:54 PM, Mike Turquette wrote: > On 20120621-10:00, Rob Herring wrote: >> On 06/21/2012 02:27 AM, Chris Ball wrote: >>> >>> 2) Use alloc_bootmem() instead of kzalloc() in of_clk_add_provider(), >>>because we need to set up clocks during .init_early on ARM (which >>>happens pr

[PATCH, RFC] displaymodes in devicetree

2012-06-27 Thread Sascha Hauer
Hi All, I'd like to have a possibility to describe fixed display modes in the devicetree. This topic has been discussed before here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-February/080683.html The result at that time was that EDID data should be considered to use as this is a forma

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

2012-06-27 Thread Marc Kleine-Budde
On 06/25/2012 08:56 AM, Richard Zhao wrote: > struct ci13xxx represent the controller, which may be device or host, > so name its variables as ci. > > Signed-off-by: Richard Zhao > Reviewed-by: Felipe Balbi > Signed-off-by: Alexander Shishkin nitpick: search-replace problem > --- a/drivers/us

Re: [PATCH v7] MTD: LPC32xx SLC NAND driver

2012-06-27 Thread Artem Bityutskiy
On Wed, 2012-06-27 at 14:14 +0200, Roland Stigge wrote: > Thanks for the note! I'm sending an incremental patch. There was > actually only one place in the two functions that could fail (return > code of lpc32xx_xfer()). Could you please check the MCL patch as well and re-send it against the l2 tr

[PATCH] MTD: LPC32xx SLC NAND driver: Add error handling to write function

2012-06-27 Thread Roland Stigge
This patch adds error handling to the lpc32xx_nand_write_page_syndrome() function. Signed-off-by: Roland Stigge --- drivers/mtd/nand/lpc32xx_slc.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c index 7e2

Re: [PATCH v7] MTD: LPC32xx SLC NAND driver

2012-06-27 Thread Roland Stigge
On 06/27/2012 12:46 PM, Artem Bityutskiy wrote: > On Thu, 2012-06-07 at 12:22 +0200, Roland Stigge wrote: >> This patch adds support for the SLC NAND controller inside the >> LPC32xx SoC. >> >> Signed-off-by: Roland Stigge > > Now the write_page and write_page_raw functions return an error > cod

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

2012-06-27 Thread Marc Kleine-Budde
On 06/27/2012 01:49 PM, Marek Vasut wrote: > Dear 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 usb

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

2012-06-27 Thread Marek Vasut
Dear 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_hdr

Re: [PATCH 2/4] can: flexcan: add hardware controller version support

2012-06-27 Thread Wolfgang Grandegger
On 06/27/2012 12:13 PM, Hui Wang wrote: > Marc Kleine-Budde wrote: >> On 06/27/2012 11:43 AM, Wolfgang Grandegger wrote: >> >>> Hi Marc, >>> >>> On 06/27/2012 10:56 AM, Wolfgang Grandegger wrote: >>> On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote: > On 06/27/2012 10:19 AM

Re: [PATCH v7] MTD: LPC32xx SLC NAND driver

2012-06-27 Thread Artem Bityutskiy
On Thu, 2012-06-07 at 12:22 +0200, Roland Stigge wrote: > This patch adds support for the SLC NAND controller inside the LPC32xx SoC. > > Signed-off-by: Roland Stigge Now the write_page and write_page_raw functions return an error code, see this commit in the l2 tree: http://git.infradead.org/u

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

2012-06-27 Thread Tony Lindgren
* Stephen Warren [120626 10:10]: > 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 o

Re: [PATCH 2/4] can: flexcan: add hardware controller version support

2012-06-27 Thread Marc Kleine-Budde
On 06/27/2012 12:13 PM, Hui Wang wrote: [...] >>> What compatible string do they actually use for the i.MX6Q board? Shawn >>> or Hui? We need to fix that. From the discussion mentioned above I think >>> > Currently i modified the can1 DT entry in the imx6q.dtsi like this: >flexca

Re: [PATCH 2/4] can: flexcan: add hardware controller version support

2012-06-27 Thread Marc Kleine-Budde
On 06/27/2012 11:43 AM, Wolfgang Grandegger wrote: > Hi Marc, > > On 06/27/2012 10:56 AM, Wolfgang Grandegger wrote: >> On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote: >>> On 06/27/2012 10:19 AM, Hui Wang wrote: At least in the i.MX series, the flexcan contrller divides into ver_3 and v

Re: [PATCH v7 14/14] usb: chipidea: add imx platform driver

2012-06-27 Thread Marc Kleine-Budde
On 06/27/2012 08:20 AM, Richard Zhao wrote: > On Mon, Jun 25, 2012 at 12:33:58PM +0200, Marc Kleine-Budde wrote: >> On 06/25/2012 08:56 AM, Richard Zhao wrote: >>> This patch supports only the host-mode functionality so far. >>> >>> Signed-off-by: Richard Zhao >>> Signed-off-by: Marek Vasut >>> C

Re: [PATCH 2/4] can: flexcan: add hardware controller version support

2012-06-27 Thread Wolfgang Grandegger
Hi Marc, On 06/27/2012 10:56 AM, Wolfgang Grandegger wrote: > On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote: >> On 06/27/2012 10:19 AM, Hui Wang wrote: >>> At least in the i.MX series, the flexcan contrller divides into ver_3 >>> and ver_10, current driver is for ver_3 controller. >>> >>> i.MX6

Re: [PATCH 2/4] can: flexcan: add hardware controller version support

2012-06-27 Thread Wolfgang Grandegger
On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote: > On 06/27/2012 10:19 AM, Hui Wang wrote: >> At least in the i.MX series, the flexcan contrller divides into ver_3 >> and ver_10, current driver is for ver_3 controller. >> >> i.MX6 has ver_10 controller, it has more reigsters than ver_3 has. >> The

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

2012-06-27 Thread Michal Simek
On 06/26/2012 09:10 PM, Wim Van Sebroeck wrote: Hi Michal, Do not use clock-frequency property from parent node. Use it from watchdog node. Signed-off-by: Michal Simek Added to linux-watchdog-next. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintaine