Re: [PATCH V2 0/4] extcon: palmas: clean-up/fixes and suspend/resume susupport

2013-07-09 Thread Chanwoo Choi
On 07/10/2013 03:15 PM, Laxman Dewangan wrote: > This patch series does following: > - Remove unused member from extcon palmas structure. > - Fix to support of detecting cable properly with multiple insert/removal. > - Add support for suspend/resume functionlaity and wakup from suspend. > - Option

Re: [PATCH V2 4/4] extcon: palmas: Option to disable ID/VBUS detection based on platform

2013-07-09 Thread Chanwoo Choi
Hi Laxman, On 07/10/2013 03:15 PM, Laxman Dewangan wrote: > Based on system design, platform needs to detect the VBUS or ID or > both. Provide option to select this through platform data to > disable part of cable detection through palmas-usb. > > Signed-off-by: Laxman Dewangan > Acked-by: Grae

Re: [PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Bo Shen
Hi Richard, On 7/9/2013 22:25, Richard Genoud wrote: [snip] +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include +#include +#include + +#include "../codecs/wm8731.h" +#include "atmel-pcm

[PATCH V2 4/4] extcon: palmas: Option to disable ID/VBUS detection based on platform

2013-07-09 Thread Laxman Dewangan
Based on system design, platform needs to detect the VBUS or ID or both. Provide option to select this through platform data to disable part of cable detection through palmas-usb. Signed-off-by: Laxman Dewangan Acked-by: Graeme Gregory --- No changes from V1. .../devicetree/bindings/extcon/ext

[PATCH V2 3/4] extcon: palams: add support for suspend/resume

2013-07-09 Thread Laxman Dewangan
Add suspend/resume callbacks and support for wakeup from suspend on USB HOST or USB Device cable insertion or removal. Signed-off-by: Laxman Dewangan Acked-by: Graeme Gregory --- No changes from V1. drivers/extcon/extcon-palmas.c | 38 +++--- 1 files changed,

[PATCH V2 2/4] extcon: palmas: enable ID_GND and ID_FLOAT detection always

2013-07-09 Thread Laxman Dewangan
When integrating driver with Tegra platform, it is found that the ID pins get detected only once after booting system and further removal and re-insert does not detect the ID pin. Fixing this issue with enabling interrupt on ID_GND and ID_FLOAT always and clearing the status on LATCH register whi

[PATCH V2 0/4] extcon: palmas: clean-up/fixes and suspend/resume susupport

2013-07-09 Thread Laxman Dewangan
This patch series does following: - Remove unused member from extcon palmas structure. - Fix to support of detecting cable properly with multiple insert/removal. - Add support for suspend/resume functionlaity and wakup from suspend. - Option to select/de-select the ID or VBUS detection. Changes fr

[PATCH V2 1/4] extcon: palmas: remove unused member from palams_usb structure

2013-07-09 Thread Laxman Dewangan
Remove unused member vbus_enable and set_vbus_work from palmas_usb as these members are not used in drivers. Signed-off-by: Laxman Dewangan Acked-by: Graeme Gregory --- No changes from V1. include/linux/mfd/palmas.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/i

Re: [PATCH V3 2/3] clocksource: mmp: support CLOCKSOURCE OF DECLARE

2013-07-09 Thread Haojian Zhuang
On Wed, Jul 10, 2013 at 5:16 AM, Arnd Bergmann wrote: > On Tuesday 09 July 2013, Thomas Petazzoni wrote: >> Dear Neil Zhang, >> >> On Tue, 9 Jul 2013 14:42:45 +0800, Neil Zhang wrote: >> > support CLOCKSOURCE OF DECLARE for mmp timer. >> > >> > Signed-off-by: Neil Zhang >> > --- >> > arch/arm/ma

Re: [PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-07-09 Thread Felipe Balbi
On Tue, Jul 09, 2013 at 05:34:15PM -0700, Julius Werner wrote: > This patch adds support for a new 'samsung,hsic-reset-gpio' in the > device tree, which will be interpreted as an active-low reset pin during > PHY initialization when it exists. Useful for intergrated HSIC devices > like an SMSC 3503

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Huang Shijie
于 2013年07月09日 20:03, Rob Herring 写道: > the same and that is the assumption. Matching is not just based on > compatible properties and your patch does not handle the other cases. Could you show a example of "the other cases"? After this patch, [1] the matching will first check the @match->type and

Re: [PATCH 2/4] extcon: palmas: enable ID_GND and ID_FLOAT detection always

2013-07-09 Thread Chanwoo Choi
Hi Laxman, On 07/09/2013 10:04 PM, Laxman Dewangan wrote: > When integrating driver with Tegra platform, it is found that > the ID pins get detected only once after booting system and > further removal and re-insert does not detect the ID pin. > > Fixing this issue with enabling interrupt on ID_G

[PATCH] watchdog: dw: Enable OF support for DW watchdog timer.

2013-07-09 Thread dinguyen
From: Dinh Nguyen Add device tree support to the DW watchdog timer. Signed-off-by: Dinh Nguyen Cc: Jamie Iles Cc: Viresh Kumar Cc: Grant Likely Cc: Rob Herring Cc: Wim Van Sebroeck Cc: Pavel Machek --- .../devicetree/bindings/watchdog/dw_wdt.txt| 16 drivers/wa

Re: [PATCH V3 3/3] ARM: mmp: bring up pxa988 with device tree support

2013-07-09 Thread Arnd Bergmann
On Tuesday 09 July 2013, Neil Zhang wrote: > + soc { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + interrupt-parent = <&gic>; > + ranges; > + > + gic: interrupt-controller@d1dfe100 { >

Re: [PATCH V3 2/3] clocksource: mmp: support CLOCKSOURCE OF DECLARE

2013-07-09 Thread Arnd Bergmann
On Tuesday 09 July 2013, Thomas Petazzoni wrote: > Dear Neil Zhang, > > On Tue, 9 Jul 2013 14:42:45 +0800, Neil Zhang wrote: > > support CLOCKSOURCE OF DECLARE for mmp timer. > > > > Signed-off-by: Neil Zhang > > --- > > arch/arm/mach-mmp/mmp-dt.c |5 ++--- > > arch/arm/mach-mmp/mmp2-dt.c

Re: [PATCH v7 11/22] PCI: mvebu: Adapt to the new device tree layout

2013-07-09 Thread Ezequiel Garcia
On Tue, Jul 09, 2013 at 12:50:47PM -0600, Bjorn Helgaas wrote: > On Tue, Jul 9, 2013 at 12:20 PM, Jason Cooper wrote: > > On Tue, Jul 09, 2013 at 01:41:13PM -0300, Ezequiel Garcia wrote: > >> From: Thomas Petazzoni > >> > >> The new device tree layout encodes the window's target ID and attribute

[RFC] Driver configuration using Device Tree

2013-07-09 Thread Eric Holmberg
I am trying to determine if Device Tree is an appropriate use for configuring drivers and would like to request comments. We currently use Device Tree in our Shared Memory Driver (SMD) that manages up to 64 ports (where a port consists of an RX FIFO and a TX FIFO) between any two processors an

Re: [PATCH v7 11/22] PCI: mvebu: Adapt to the new device tree layout

2013-07-09 Thread Stephen Warren
On 07/09/2013 12:20 PM, Jason Cooper wrote: > Bjorn, > > On Tue, Jul 09, 2013 at 01:41:13PM -0300, Ezequiel Garcia wrote: >> From: Thomas Petazzoni >> >> The new device tree layout encodes the window's target ID and attribute >> in the PCIe controller node's ranges property. This allows to parse

Re: [PATCH v7 11/22] PCI: mvebu: Adapt to the new device tree layout

2013-07-09 Thread Jason Cooper
On Tue, Jul 09, 2013 at 12:50:47PM -0600, Bjorn Helgaas wrote: > On Tue, Jul 9, 2013 at 12:20 PM, Jason Cooper wrote: > > Bjorn, > > > > On Tue, Jul 09, 2013 at 01:41:13PM -0300, Ezequiel Garcia wrote: > >> From: Thomas Petazzoni > >> > >> The new device tree layout encodes the window's target ID

Re: [PATCH v7 11/22] PCI: mvebu: Adapt to the new device tree layout

2013-07-09 Thread Bjorn Helgaas
On Tue, Jul 9, 2013 at 12:20 PM, Jason Cooper wrote: > Bjorn, > > On Tue, Jul 09, 2013 at 01:41:13PM -0300, Ezequiel Garcia wrote: >> From: Thomas Petazzoni >> >> The new device tree layout encodes the window's target ID and attribute >> in the PCIe controller node's ranges property. This allows

Re: [PATCH v7 11/22] PCI: mvebu: Adapt to the new device tree layout

2013-07-09 Thread Jason Cooper
Bjorn, On Tue, Jul 09, 2013 at 01:41:13PM -0300, Ezequiel Garcia wrote: > From: Thomas Petazzoni > > The new device tree layout encodes the window's target ID and attribute > in the PCIe controller node's ranges property. This allows to parse > such entries to obtain such information and use the

Re: Fixed PHY Device Tree usage?

2013-07-09 Thread Florian Fainelli
Widening audience FlorianLe mardi 9 juillet 2013 17:44:55 Fainelli a écrit : > Hello Thomas, > > 2013/7/9 Thomas Petazzoni : > > Hello, > > > > We have a case of an hardware platform that uses the mvneta network > > driver, but instead of the SoC being connected to a PHY, it's connected > > dir

Re: [PATCHv3 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-07-09 Thread Jonathan Cameron
Sorry, looks like I forgot to push the tree out. Anyhow should be there shortly. On 07/09/2013 03:04 PM, Alexandre Belloni wrote: > Hi Jonathan, > > I don't actually see it in iio.git on kernel.org, am I doing something > wrong ? > > On 06/07/2013 12:24, Jonathan Cameron wrote: >> On 07/04/2013

Re: [PATCH v9 0/8] Generic PHY Framework

2013-07-09 Thread Felipe Balbi
Hi, On Tue, Jul 09, 2013 at 02:33:58PM +0200, Patel, Satish wrote: > > > Operation: > > > > > > Once the card gets inserted into the slot, user application can > > > initiate activate sequence anytime, it is not mandatory that > > > activation has to be called Immediately. It all depends whether >

[PATCH v7 17/22] ARM: mvebu: Initialize MBus using the DT binding

2013-07-09 Thread Ezequiel Garcia
Now that the mbus device tree binding has been introduced, we can switch over to it. Also, and since the initialization of the mbus driver is quite fundamental for the system to work properly, this patch adds a BUG() in case mbus fails to initialize. Signed-off-by: Ezequiel Garcia --- arch/arm/

[PATCH v7 02/22] bus: mvebu-mbus: Add new API for window creation

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni We add an API to create MBus address decoding windows from the target ID and attribute. This function will be used later and deprecate the current name based scheme. Signed-off-by: Thomas Petazzoni --- drivers/bus/mvebu-mbus.c | 33 + incl

[PATCH v7 12/22] bus: mvebu-mbus: Remove the no longer used name-based API

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni Now that every user of the deprecated name-based API has been converted to using the ID-based API, let's remove the former one. Signed-off-by: Thomas Petazzoni --- drivers/bus/mvebu-mbus.c | 38 -- include/linux/mbus.h | 5 -

[PATCH v7 07/22] bus: mvebu-mbus: Factor out initialization details

2013-07-09 Thread Ezequiel Garcia
We introduce a common initialization function mvebu_mbus_common_init() that will be used by both legacy and device-tree initialization code. This patch is an intermediate step, which will allow to introduce the DT binding for this driver in a less intrusive way. Signed-off-by: Thomas Petazzoni Si

[PATCH v7 15/22] bus: mvebu-mbus: Factorize Armada 370/XP data structures

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni These structures were only different in the mapping tables. Now that those tables have been removed, it doesn't make any sense to keep different structures. Signed-off-by: Thomas Petazzoni --- drivers/bus/mvebu-mbus.c | 14 +++--- 1 file changed, 3 insertions(+),

[PATCH v7 18/22] ARM: mvebu: Use the preprocessor on Armada 370/XP device tree files

2013-07-09 Thread Ezequiel Garcia
Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-370-db.dts | 2 +- arch/arm/boot/dts/armada-370-mirabox.dts | 2 +- arch/arm/boot/dts/armada-370-rd.dts | 2 +- arch/arm/boot/dts/armada-370.dtsi| 2 +- arch/arm/boot/dts/armada-xp-db.dts

[PATCH v7 04/22] ARM: mv78xx0: Move to ID based window creation

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni With the introduction of the ID based MBus API, it's better to switch to use it instead of the current name based scheme. This will allow to deprecate the name based API, once every user is removed. Signed-off-by: Thomas Petazzoni --- arch/arm/mach-mv78xx0/pcie.c | 23 +

[PATCH v7 05/22] ARM: orion5x: Move to ID based window creation

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni With the introduction of the ID based MBus API, it's better to switch to use it instead of the current name based scheme. This will allow to deprecate the name based API, once every user is removed. Signed-off-by: Thomas Petazzoni --- arch/arm/mach-orion5x/common.c

[PATCH v7 09/22] bus: mvebu-mbus: Add static window allocation to the DT binding

2013-07-09 Thread Ezequiel Garcia
This patch adds static window allocation to the device tree binding. Each first-child of the mbus-compatible node, with a suitable 'ranges' property, declaring an address translation, will trigger an address decoding window allocation. Signed-off-by: Ezequiel Garcia --- .../devicetree/bindings/b

[PATCH v7 00/22] MBus DT binding: The return of PCIe

2013-07-09 Thread Ezequiel Garcia
Here's the new MBus DT binding, implementing the changes proposed by Thomas when we discussed the previous patchset: http://www.spinics.net/lists/arm-kernel/msg257170.html As far as I know, this round fixes *all* the concerns raised in the past and therefore I'd like to get Acked-by's from all

Re: [PATCH V2 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-09 Thread Scott Wood
On 07/05/2013 01:27:05 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fsl/elo3-dma-0.dtsi | 90 ++

[PATCH v7 21/22] ARM: mvebu: Relocate Armada 370/XP DeviceBus device tree nodes

2013-07-09 Thread Ezequiel Garcia
Now that mbus has been added to the device tree, it's possible to move the DeviceBus out of internal registers, placing it directly below the mbus. This is a more accurate representation of the hardware. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-370-xp.dtsi | 94 +++

[PATCH v7 22/22] ARM: mvebu: Relocate Armada 370/XP PCIe device tree nodes

2013-07-09 Thread Ezequiel Garcia
Now that mbus has been added to the device tree, it's possible to move the PCIe nodes out of internal registers, placing it directly below the mbus. This is a more accurate representation of the hardware. Moving the PCIe nodes, we now need to introduce an extra cell to encode the window target ID

[PATCH v7 20/22] ARM: mvebu: Add BootROM to Armada 370/XP device tree

2013-07-09 Thread Ezequiel Garcia
In order to access the SoC BootROM, we need to declare a mapping (through a ranges property). The mbus driver will use this property to allocate a suitable address decoding window. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-370-db.dts | 3 ++- arch/arm/boot/dts/arma

[PATCH v7 19/22] ARM: mvebu: Add MBus to Armada 370/XP device tree

2013-07-09 Thread Ezequiel Garcia
The Armada 370/XP SoC family has a completely configurable address space handled by the MBus controller. This patch introduces the device tree layout of MBus, making the 'soc' node as mbus-compatible. Since every peripheral/controller is a child of this 'soc' node, this makes all of them sit behin

[PATCH v7 14/22] bus: mvebu-mbus: Update main description

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni After replacing the MBus name-based by the new ID-based API let's fix the general description of the driver at the beginning of the file. Signed-off-by: Thomas Petazzoni --- drivers/bus/mvebu-mbus.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff -

[PATCH v7 16/22] ARM: mvebu: Remove the harcoded BootROM window allocation

2013-07-09 Thread Ezequiel Garcia
The address decoding window to access the BootROM should not be allocated programatically, but instead declared in the device tree. Signed-off-by: Ezequiel Garcia --- arch/arm/mach-mvebu/platsmp.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/

[PATCH v7 10/22] bus: mvebu-mbus: Add new API for the PCIe memory and IO aperture

2013-07-09 Thread Ezequiel Garcia
We add two optional properties to the MBus DT binding, to encode the PCIe memory and IO aperture. This allows such information to be retrieved by -for instance- the pci driver to allocate the MBus decoding windows. Correspondingly, and in order to retrieve this information, we add two new APIs. S

[PATCH v7 13/22] bus: mvebu-mbus: Remove name -> target, attribute mapping tables

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni This tables were used together with the name-based MBus window creation API. Since that's has been removed, we can also remove the tables. Signed-off-by: Thomas Petazzoni --- drivers/bus/mvebu-mbus.c | 150 +++ 1 file changed,

[PATCH v7 11/22] PCI: mvebu: Adapt to the new device tree layout

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni The new device tree layout encodes the window's target ID and attribute in the PCIe controller node's ranges property. This allows to parse such entries to obtain such information and use the recently introduced MBus API to create the windows, instead of using the current n

[PATCH v7 08/22] bus: mvebu-mbus: Introduce device tree binding

2013-07-09 Thread Ezequiel Garcia
This patch adds the most fundamental device-tree initialization. We only introduce what's required to be able to probe the mvebu-mbus driver from the DT. Follow-up patches will extend the device tree binding, allowing to describe static address decoding windows. Signed-off-by: Thomas Petazzoni Si

[PATCH v7 06/22] ARM: dove: Move to ID based window creation

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni With the introduction of the ID based MBus API, it's better to switch to use it instead of the current name based scheme. This will allow to deprecate the name based API, once every user is removed. Signed-off-by: Thomas Petazzoni --- arch/arm/mach-dove/common.c | 68 ++

[PATCH v7 01/22] memory: mvebu-devbus: Remove address decoding window workaround

2013-07-09 Thread Ezequiel Garcia
Now that mbus device tree binding has been introduced, remove the address decoding window management from this driver. A suitable 'ranges' entry should be added to the devbus-compatible node in the device tree, as described by the mbus binding documentation. Acked-by: Greg Kroah-Hartman Signed-of

[PATCH v7 03/22] ARM: kirkwood: Move to ID based MBus window creation

2013-07-09 Thread Ezequiel Garcia
From: Thomas Petazzoni With the introduction of the ID based MBus API, it's better to switch to use it instead of the current name based scheme. This will allow to deprecate the name based API, once every user is removed. Signed-off-by: Thomas Petazzoni --- arch/arm/mach-kirkwood/common.c | 1

Re: [PATCH V3 2/3] clocksource: mmp: support CLOCKSOURCE OF DECLARE

2013-07-09 Thread Thomas Petazzoni
Dear Neil Zhang, On Tue, 9 Jul 2013 14:42:45 +0800, Neil Zhang wrote: > support CLOCKSOURCE OF DECLARE for mmp timer. > > Signed-off-by: Neil Zhang > --- > arch/arm/mach-mmp/mmp-dt.c |5 ++--- > arch/arm/mach-mmp/mmp2-dt.c |3 +-- > arch/arm/mach-mmp/time.c| 15 ++- >

Re: [RFC PATCH V2 1/8] regulator: Introduce OMAP regulator to control PMIC over VC/VP

2013-07-09 Thread Nishanth Menon
On 07/09/2013 10:29 AM, Mark Brown wrote: On Mon, Jul 08, 2013 at 12:22:36PM -0500, Nishanth Menon wrote: case #1 - TPS62361 has a single SMPS and a single generic i2c bus, one can talk on. In this case, you'd associate the regulator device in one place - i2cX or on custom SoC hardware interfac

Re: [RFC PATCH V2 1/8] regulator: Introduce OMAP regulator to control PMIC over VC/VP

2013-07-09 Thread Mark Brown
On Mon, Jul 08, 2013 at 12:22:36PM -0500, Nishanth Menon wrote: > case #1 - TPS62361 has a single SMPS and a single generic i2c bus, > one can talk on. In this case, you'd associate the regulator device > in one place - i2cX or on custom SoC hardware interface. > When used with custom SoC hardwar

Re: [PATCH v4 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 04:25:29PM +0200, Richard Genoud wrote: > - reg: Should contain SSC registers location and length > - interrupts: Should contain SSC interrupt > +For dma transfer: > +- dmas: DMA specifier, consisting of a phandle to DMA controller node, > + the memory interface and SSC

Re: [PATCH v4 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 04:25:28PM +0200, Richard Genoud wrote: > This add the sound DT binding for sam9x5ek-wm8731 machine driver > > Signed-off-by: Richard Genoud > --- > .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30 > Put new binding documents in the same pa

Re: [PATCH v6] video: imxfb: Add DT support

2013-07-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:09 Fri 05 Jul , Fabio Estevam wrote: > Hi Jean-Christophe, > > On Tue, May 28, 2013 at 8:09 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 12:35 Sun 26 May , Markus Pargmann wrote: > >> Add devicetree support for imx framebuffer driver. It uses the generic > >> display binding

Re: [PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 04:25:27PM +0200, Richard Genoud wrote: > +/* > + * Authorized rates are: > + * Rate = MCLK_RATE / (n * 2) > + * Where n is in [1..4095] > + * (cf register SSC_CMR) > + */ > +static unsigned int rates[] = { > + 8000, > + 16000, > + 32000, > + 48000, > +

Re: [PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 04:25:26PM +0200, Richard Genoud wrote: >> [I've just seen that I forgot to cc Uwe to the cover letter, sorry for that.] > > This is the second or third copy of this patch set I've been sent > *today*. Worse, everything seems to be being sent in repl

Re: [PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 04:25:26PM +0200, Richard Genoud wrote: > [I've just seen that I forgot to cc Uwe to the cover letter, sorry for that.] This is the second or third copy of this patch set I've been sent *today*. Worse, everything seems to be being sent in reply to the same thread increasin

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Stephen Warren
On 07/09/2013 06:03 AM, Rob Herring wrote: > On Tue, Jul 9, 2013 at 3:10 AM, Huang Shijie wrote: >> 于 2013年07月09日 15:51, Sascha Hauer 写道: >> >>> On Tue, Jul 09, 2013 at 03:46:34PM +0800, Huang Shijie wrote: 于 2013年07月09日 15:05, Sascha Hauer 写道: > > Why don't you set the matching

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Stephen Warren
On 07/09/2013 01:05 AM, Sascha Hauer wrote: > On Fri, Jul 05, 2013 at 04:43:38PM +0800, Huang Shijie wrote: >> If we set the uart compatible in the dts file like this: >>-- >> compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; >>

[PATCH v4 7/7] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-09 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 2bf51cc..0534c58 100644 --- a/arch/arm/boot

[PATCH v4 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sa

[PATCH v4 6/7] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-09 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9

[PATCH v4 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-09 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud Acked-by: Mark Brown --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index d10724

[PATCH v4 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver

2013-07-09 Thread Richard Genoud
This add the sound DT binding for sam9x5ek-wm8731 machine driver Signed-off-by: Richard Genoud --- .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-aud

[PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch fro

[PATCH v4 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
As atmel-ssc can be used with DMA, the documentation should be updated. Also, a configuration DMA example is given. Signed-off-by: Richard Genoud --- .../devicetree/bindings/misc/atmel-ssc.txt | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Docu

[PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Richard Genoud
[I've just seen that I forgot to cc Uwe to the cover letter, sorry for that.] Hi, This patchset add sound on the at91sam9x5ek board. It's based on Nicolas Ferre's work in the 2.6.39 atmel patch for sam9x5: https://github.com/linux4sam/linux-at91/commit/0aa157c9e71f3abc30fa37eb5c95b392978d It

Re: [PATCH v3 3/5] clk: dt: binding for basic multiplexer clock

2013-07-09 Thread Mike Turquette
Quoting Mark Rutland (2013-06-26 01:40:58) > Hi, > > I have a couple of minor comments. > > On Fri, Jun 21, 2013 at 07:14:14AM +0100, Mike Turquette wrote: > > Device Tree binding for the basic clock multiplexer, plus the setup > > function to register the clock. Based on the existing fixed-cloc

Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
2013/7/9 Nicolas Ferre : > On 09/07/2013 15:19, Richard Genoud : > >> 2013/7/9 Richard Genoud : >>> >>> As atmel-ssc can be used with DMA, the documentation should be updated. >>> Also, a configuration DMA example is given. >>> >>> Signed-off-by: Richard Genoud >>> --- >>> .../devicetree/binding

Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Nicolas Ferre
On 09/07/2013 15:19, Richard Genoud : 2013/7/9 Richard Genoud : As atmel-ssc can be used with DMA, the documentation should be updated. Also, a configuration DMA example is given. Signed-off-by: Richard Genoud --- .../devicetree/bindings/misc/atmel-ssc.txt | 24 ++--

Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
2013/7/9 Richard Genoud : > As atmel-ssc can be used with DMA, the documentation should be updated. > Also, a configuration DMA example is given. > > Signed-off-by: Richard Genoud > --- > .../devicetree/bindings/misc/atmel-ssc.txt | 24 > ++-- > 1 file changed, 22 inser

[PATCH 4/4] extcon: palmas: Option to disable ID/VBUS detection based on platform

2013-07-09 Thread Laxman Dewangan
Based on system design, platform needs to detect the VBUS or ID or both. Provide option to select this through platform data to disable part of cable detection through palmas-usb. Signed-off-by: Laxman Dewangan --- .../devicetree/bindings/extcon/extcon-palmas.txt |2 + drivers/extcon/extco

[PATCH 3/4] extcon: palams: add support for suspend/resume

2013-07-09 Thread Laxman Dewangan
Add suspend/resume callbacks and support for wakeup from suspend on USB HOST or USB Device cable insertion or removal. Signed-off-by: Laxman Dewangan --- drivers/extcon/extcon-palmas.c | 38 +++--- 1 files changed, 35 insertions(+), 3 deletions(-) diff --git a/

[PATCH 1/4] extcon: palmas: remove unused member from palams_usb structure

2013-07-09 Thread Laxman Dewangan
Remove unused member vbus_enable and set_vbus_work from palmas_usb as these members are not used in drivers. Signed-off-by: Laxman Dewangan --- include/linux/mfd/palmas.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/p

[PATCH 2/4] extcon: palmas: enable ID_GND and ID_FLOAT detection always

2013-07-09 Thread Laxman Dewangan
When integrating driver with Tegra platform, it is found that the ID pins get detected only once after booting system and further removal and re-insert does not detect the ID pin. Fixing this issue with enabling interrupt on ID_GND and ID_FLOAT always and clearing the status on LATCH register whi

[PATCH 0/4] extcon: palmas: clean-up/fixes and suspend/resume susupport.

2013-07-09 Thread Laxman Dewangan
This patch series does following: - Remove unused member from extcon palmas structure. - Fix to support of detecting cable properly with multiple insert/removal. - Add support for suspend/resume functionlaity and wakup from suspend. - Option to select/de-select the ID or VBUS detection. Laxman Dew

Re: [PATCH V3 1/3] dts: change Marvell prefix to 'marvell'

2013-07-09 Thread Jason Cooper
Neil, On Tue, Jul 09, 2013 at 02:42:44PM +0800, Neil Zhang wrote: > The documented vendor prefix for Marvell is 'marvell', not 'mrvl', so > let's change it. > > Signed-off-by: Neil Zhang > --- > .../devicetree/bindings/arm/mrvl/intc.txt | 16 +++--- > .../devicetree/bindings/arm/mrvl

[PATCH v3 6/7] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-09 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9

[PATCH v3 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sa

[PATCH v3 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-09 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud Acked-by: Mark Brown --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index d10724

[PATCH v3 7/7] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-09 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 2bf51cc..0534c58 100644 --- a/arch/arm/boot

[PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
As atmel-ssc can be used with DMA, the documentation should be updated. Also, a configuration DMA example is given. Signed-off-by: Richard Genoud --- .../devicetree/bindings/misc/atmel-ssc.txt | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Doc

[PATCH v3 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch fro

[PATCH v3 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver

2013-07-09 Thread Richard Genoud
This add the sound DT binding for sam9x5ek-wm8731 machine driver Signed-off-by: Richard Genoud --- .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-aud

[PATCH v3 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Richard Genoud
Hi, This patchset add sound on the at91sam9x5ek board. It's based on Nicolas Ferre's work in the 2.6.39 atmel patch for sam9x5: https://github.com/linux4sam/linux-at91/commit/0aa157c9e71f3abc30fa37eb5c95b392978d It needs Bo Chen's patchset on the generic dmaengine (topic/atmel branch on Mark'

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Rob Herring
On Tue, Jul 9, 2013 at 3:10 AM, Huang Shijie wrote: > 于 2013年07月09日 15:51, Sascha Hauer 写道: > >> On Tue, Jul 09, 2013 at 03:46:34PM +0800, Huang Shijie wrote: >>> >>> 于 2013年07月09日 15:05, Sascha Hauer 写道: Why don't you set the matching order in the driver the way you want it to be,

Re: [PATCH v9 0/8] Generic PHY Framework

2013-07-09 Thread Felipe Balbi
Hi, On Tue, Jul 09, 2013 at 04:23:29AM +0200, Patel, Satish wrote: > > > We have two options over here > > > > > > Option 1: > > > > > > Defining generic api to which can be mapped over multiple phys > > > For smartcard case, I have can thought of following mapping with new > > > generic apis as s

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 10:19:45AM +0200, Richard Genoud wrote: >> 2013/7/8 Mark Brown : > >> > The obvious question here is of course if we can use the same driver for >> > both of them. > >> I haven't got a g20 to test that, but that's the goal. > > I think I do somewhere.

Re: [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote: > >> The dma binding is documented here >> Documentation/devicetree/bindings/dma/atmel-dma.txt >> But you're right, I shoud update >> Documentation/devicetree/bindings/misc/atmel-ssc.txt. > > No, you need to wri

Re: [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote: > The dma binding is documented here > Documentation/devicetree/bindings/dma/atmel-dma.txt > But you're right, I shoud update > Documentation/devicetree/bindings/misc/atmel-ssc.txt. No, you need to write a binding for this machine dr

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 10:19:45AM +0200, Richard Genoud wrote: > 2013/7/8 Mark Brown : > > The obvious question here is of course if we can use the same driver for > > both of them. > I haven't got a g20 to test that, but that's the goal. I think I do somewhere. > For now, g20 is still non-DT,

Re: [PATCH v1 4/4] spi/xilinx: Use of_property_read_u32 for reading value from node

2013-07-09 Thread Mark Brown
On Tue, Jul 09, 2013 at 07:26:27AM +0200, Michal Simek wrote: > On 07/08/2013 04:51 PM, Mark Brown wrote: > > Applied, thanks. > have you applied this patch? Yes, network is spotty here so pushes aren't working so well. signature.asc Description: Digital signature _

Re: [PATCH V6 0/4] Generic PHY driver for the Exynos SoC DP PHY

2013-07-09 Thread Sylwester Nawrocki
On 07/09/2013 10:03 AM, Jingoo Han wrote: > This patch series adds a simple driver for the Samsung Exynos SoC > series DP transmitter PHY, using the generic PHY framework [1]. > Previously the DP PHY used an internal DT node to control the PHY > power enable bit. > > These patches was tested on Ex

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Bo Shen
Hi Richard, On 7/9/2013 16:19, Richard Genoud wrote: 2013/7/8 Mark Brown : On Mon, Jul 08, 2013 at 03:29:49PM +0200, Richard Genoud wrote: + * Nicolas Ferre + * + * Based on sam9g20_wm8731.c by: + * Sedji Gaouaou The obvious question here is of course if we can use the same dr

Re: [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
2013/7/8 Mark Brown : > On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote: >> Signed-off-by: Richard Genoud >> --- >> arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ > > There was no binding document in your first patch - there should be one > for any new DT bindings. The dma binding is

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
2013/7/8 Mark Brown : > On Mon, Jul 08, 2013 at 03:29:49PM +0200, Richard Genoud wrote: > >> + * Nicolas Ferre >> + * >> + * Based on sam9g20_wm8731.c by: >> + * Sedji Gaouaou > > The obvious question here is of course if we can use the same driver for > both of them. I haven't got a

[PATCH V6 4/4] video: exynos_dp: Use the generic PHY driver

2013-07-09 Thread Jingoo Han
Use the generic PHY API to control the DP PHY. Signed-off-by: Jingoo Han Reviewed-by: Tomasz Figa --- .../devicetree/bindings/video/exynos_dp.txt | 18 +- drivers/video/exynos/exynos_dp_core.c| 16 drivers/video/exynos/exynos_dp_core

[PATCH V6 3/4] video: exynos_dp: remove non-DT support for Exynos Display Port

2013-07-09 Thread Jingoo Han
Exynos Display Port can be used only for Exynos SoCs. In addition, non-DT for EXYNOS SoCs is not supported from v3.11; thus, there is no need to support non-DT for Exynos Display Port. The 'include/video/exynos_dp.h' file has been used for non-DT support and the content of file include/video/exyno

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Huang Shijie
于 2013年07月09日 15:51, Sascha Hauer 写道: On Tue, Jul 09, 2013 at 03:46:34PM +0800, Huang Shijie wrote: 于 2013年07月09日 15:05, Sascha Hauer 写道: Why don't you set the matching order in the driver the way you want it to be, i.e.: { .compatible = "fsl,imx6q-uart", ... }, { .compatible =

[PATCH V6 2/4] phy: Add driver for Exynos DP PHY

2013-07-09 Thread Jingoo Han
Add a PHY provider driver for the Samsung Exynos SoC Display Port PHY. Signed-off-by: Jingoo Han Reviewed-by: Tomasz Figa Cc: Sylwester Nawrocki Acked-by: Felipe Balbi --- .../devicetree/bindings/phy/samsung-phy.txt|8 ++ drivers/phy/Kconfig|6 +

  1   2   >