Re: [PATCH 1/2] ARM: shmobile: irqpin: add a DT property to enable masking on parent

2013-06-18 Thread Simon Horman
On Wed, Jun 12, 2013 at 05:38:50PM +0900, Simon Horman wrote: > On Tue, Jun 11, 2013 at 06:37:24PM +0900, Magnus Damm wrote: > > On Fri, May 24, 2013 at 6:13 PM, Guennadi Liakhovetski > > wrote: > > > To disable spurious interrupts, that get triggered on certain hardware, > > > the > > > irqpin d

Re: [PATCH v2] i2c: core: make it possible to match a pure device tree driver

2013-06-18 Thread Linus Walleij
On Tue, Jun 18, 2013 at 9:33 AM, Wolfram Sang wrote: > On Mon, Jun 17, 2013 at 11:15:30PM +0100, Grant Likely wrote: >> On Mon, Jun 17, 2013 at 5:33 PM, Linus Walleij >> wrote: >> > OK that works for me, I'm not in any hurry. >> >> Deferring by a merge window isn't going to make it any less pain

Re: [PATCH v7 0/3] SH pinctrl DT support

2013-06-18 Thread Linus Walleij
On Mon, Jun 17, 2013 at 8:50 PM, Laurent Pinchart wrote: > Hello, > > Here's the seventh (and hopefully final) version of the SuperH and SH Mobile > pin controllers (PFC) DT support patch set. > > The patches have been rebased on the for-next branch of the pinctrl > repository. All ARM-specific p

Re: [PATCH 1/4] Make non-linear GPIO ranges accesible from gpiolib

2013-06-18 Thread Linus Walleij
On Mon, Jun 17, 2013 at 6:04 PM, Christian Ruppert wrote: > This patch adds the infrastructure required to register non-linear gpio > ranges through gpiolib and the standard GPIO device tree bindings. > > Signed-off-by: Christian Ruppert > Documentation/devicetree/bindings/gpio/gpio.txt | 44

Re: [PATCH v2 3/3] DMA: shdma: add DT support

2013-06-18 Thread Guennadi Liakhovetski
Hi Arnd On Mon, 17 Jun 2013, Arnd Bergmann wrote: > On Thursday 06 June 2013, Guennadi Liakhovetski wrote: > > +Required properties: > > +- dmas:a list of <[DMA controller phandle] [MID/RID value]> > > pairs > > +- dma-names: a list of DMA channel names, one per "dmas" entry >

Re: [PATCH v7 0/3] SH pinctrl DT support

2013-06-18 Thread James Hogan
On 18/06/13 09:05, Linus Walleij wrote: > On Mon, Jun 17, 2013 at 8:50 PM, Laurent Pinchart > wrote: > >> Hello, >> >> Here's the seventh (and hopefully final) version of the SuperH and SH Mobile >> pin controllers (PFC) DT support patch set. >> >> The patches have been rebased on the for-next br

Re: [PATCH 1/3] mfd: twl4030-power: Split from twl-core into a dedicated module

2013-06-18 Thread Florian Vaussard
Hello, Thank you for the review. On 06/18/2013 01:56 AM, Samuel Ortiz wrote: Hi Florian, On Thu, May 30, 2013 at 03:51:54PM +0200, Florian Vaussard wrote: For now, the call to twl4030-power is hard-wired inside twl-core. To ease the future transition to DT, make twl4030-power as a separate mo

Re: [PATCH v7 0/3] SH pinctrl DT support

2013-06-18 Thread Heiko Stübner
Am Dienstag, 18. Juni 2013, 10:05:30 schrieb Linus Walleij: > On Mon, Jun 17, 2013 at 8:50 PM, Laurent Pinchart > > wrote: > > Hello, > > > > Here's the seventh (and hopefully final) version of the SuperH and SH > > Mobile pin controllers (PFC) DT support patch set. > > > > The patches have bee

Re: [PATCH 2/3] mfd: twl4030-power: Start transition to DT

2013-06-18 Thread Florian Vaussard
Hello, On 06/18/2013 02:02 AM, Samuel Ortiz wrote: Hi Florian, On Thu, May 30, 2013 at 03:51:55PM +0200, Florian Vaussard wrote: int twl4030_power_probe(struct platform_device *pdev) { struct twl4030_power_data *pdata = pdev->dev.platform_data; + struct device_node *node = pd

Re: [PATCH 2/3] dmaengine: add support for DMA multiplexer DT nodes

2013-06-18 Thread Guennadi Liakhovetski
Hi Arnd Thanks for your comments On Mon, 17 Jun 2013, Arnd Bergmann wrote: > On Thursday 06 June 2013, Guennadi Liakhovetski wrote: > > Documentation/devicetree/bindings/dma/dma.txt | 44 > > + > > drivers/dma/of-dma.c | 31 +

Re: [PATCH v7 0/3] SH pinctrl DT support

2013-06-18 Thread Linus Walleij
On Tue, Jun 18, 2013 at 10:51 AM, James Hogan wrote: > Should we be standardizing the pins/groups/function properties too, > since the strings are pretty much passed straight through? The usage > seems pretty similar between the drivers I've seen (except ugly vendor > prefixes), so we could presu

Re: [PATCH v2 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-18 Thread Jonas Jensen
I may have submitted this one too early. There are now a few things I want to address: * rename moxart_uc7112lx_defconfig moxart_defconfig * remove MACH_UC7112LX "default y" from arch/arm/mach-moxart/Kconfig Also, the omitted arch/arm/mach-moxart/idle.c hinges on a patch now submitted to Russell'

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Samuel Ortiz
Hi Olof, On Mon, Jun 17, 2013 at 10:44:51AM -0700, Olof Johansson wrote: > On Mon, Jun 17, 2013 at 04:51:09PM +0100, Lorenzo Pieralisi wrote: > > The TC2 versatile express core tile integrates a logic block that provides > > the > > interface between the dual cluster test-chip and the M3 microcon

Re: [RFC PATCH v3 0/2] drivers: mfd: Versatile Express SPC support

2013-06-18 Thread Samuel Ortiz
Hi Pawell, On Thu, Jun 13, 2013 at 10:45:57AM +0100, Pawel Moll wrote: > On Thu, 2013-06-13 at 01:13 +0100, Samuel Ortiz wrote: > > Now, about the driver itself, besides the really odd code design, the > > static variables all over the place, the nasty init hacks and the > > unneeded long function

Re: [RFC PATCH v3 0/2] drivers: mfd: Versatile Express SPC support

2013-06-18 Thread Pawel Moll
Morning, Samuel, On Tue, 2013-06-18 at 10:09 +0100, Samuel Ortiz wrote: > Hi Pawell, Double l in the wrong place ;-) > > If you feel strongly about it, I'm ready to split it into mfd_cells and > > move the gpio and leds code into separate drivers, however I'm not > > convinced that it's worth th

Re: [PATCH v11 2/8] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-18 Thread Sekhar Nori
On 6/18/2013 12:08 PM, Joel A Fernandes wrote: > From: 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. Enables build on OMAP. > > Changes by Joel: > * Setup default one-to

Re: [PATCH v7 1/9] drivers: phy: add generic PHY framework

2013-06-18 Thread Felipe Balbi
Hi, On Thu, Jun 13, 2013 at 02:13:51PM +0530, Kishon Vijay Abraham I wrote: > +struct phy_provider *of_phy_provider_register(struct device *dev, > + struct module *owner, struct phy * (*of_xlate)(struct device *dev, > + struct of_phandle_args *args)) I would rename this to __of_phy_provid

Re: [PATCH v7 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-06-18 Thread Felipe Balbi
Hi, On Thu, Jun 13, 2013 at 02:13:52PM +0530, Kishon Vijay Abraham I wrote: > @@ -159,6 +191,12 @@ static int omap_usb2_probe(struct platform_device *pdev) > otg->start_srp = omap_usb_start_srp; > otg->phy= &phy->phy; > > + pm_runtime_enable(phy->dev); e

Re: [PATCH v7 3/9] usb: phy: twl4030: use the new generic PHY framework

2013-06-18 Thread Felipe Balbi
On Thu, Jun 13, 2013 at 02:13:53PM +0530, Kishon Vijay Abraham I wrote: > Used the generic PHY framework API to create the PHY. For powering on > and powering off the PHY, power_on and power_off ops are used. Once the > MUSB OMAP glue is adapted to the new framework, the suspend and resume > ops of

Re: [PATCH v7 4/9] usb: phy: twl4030: twl4030 shouldn't be subsys_initcall

2013-06-18 Thread Felipe Balbi
On Thu, Jun 13, 2013 at 02:13:54PM +0530, Kishon Vijay Abraham I wrote: > Changed the inticall from subsys_initcall to module_init for > twl4030-usb. > > Signed-off-by: Kishon Vijay Abraham I not part of the series, should be sent separately. I'll queue this one for v3.12 once v3.11-rc1 is tagge

Re: [PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-18 Thread Felipe Balbi
On Thu, Jun 13, 2013 at 02:13:55PM +0530, Kishon Vijay Abraham I wrote: > In order for controllers to get PHY in case of non dt boot, the phy > binding information (phy device name) should be added in the platform > data of the controller. > > Signed-off-by: Kishon Vijay Abraham I I would rather

Re: [PATCH v7 6/9] ARM: dts: omap: update usb_otg_hs data

2013-06-18 Thread Felipe Balbi
On Thu, Jun 13, 2013 at 02:13:56PM +0530, Kishon Vijay Abraham I wrote: > Updated the usb_otg_hs dt data to include the *phy* and *phy-names* > binding in order for the driver to use the new generic PHY framework. > Also updated the Documentation to include the binding information. > The PHY bindin

Re: [PATCH v7 8/9] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-06-18 Thread Felipe Balbi
On Thu, Jun 13, 2013 at 02:13:58PM +0530, Kishon Vijay Abraham I wrote: > Now that omap-usb2 is adapted to the new generic PHY framework, > *set_suspend* ops can be removed from omap-usb2 driver. > > Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Felipe Balbi -- balbi signature.asc Desc

Re: [PATCH v7 9/9] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-06-18 Thread Felipe Balbi
On Thu, Jun 13, 2013 at 02:13:59PM +0530, Kishon Vijay Abraham I wrote: > Now that twl4030-usb is adapted to the new generic PHY framework, > *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. > > Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Felipe Balbi -- balbi

Re: [PATCH v7 7/9] usb: musb: omap2430: use the new generic PHY framework

2013-06-18 Thread Felipe Balbi
Hi, On Thu, Jun 13, 2013 at 02:13:57PM +0530, Kishon Vijay Abraham I wrote: > Use the generic PHY framework API to get the PHY. The usb_phy_set_resume > and usb_phy_set_suspend is replaced with power_on/get_sync and > power_off/put_sync to align with the new PHY framework. > > musb->xceiv can't b

Re: [PATCH v7 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-06-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 June 2013 03:10 PM, Felipe Balbi wrote: Hi, On Thu, Jun 13, 2013 at 02:13:52PM +0530, Kishon Vijay Abraham I wrote: @@ -159,6 +191,12 @@ static int omap_usb2_probe(struct platform_device *pdev) otg->start_srp = omap_usb_start_srp; otg->phy

Re: [PATCH v7 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 03:19:03PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 18 June 2013 03:10 PM, Felipe Balbi wrote: > >Hi, > > > >On Thu, Jun 13, 2013 at 02:13:52PM +0530, Kishon Vijay Abraham I wrote: > >>@@ -159,6 +191,12 @@ static int omap_usb2_probe(struct platform_dev

Re: [PATCH v7 0/9] Generic PHY Framework

2013-06-18 Thread Felipe Balbi
Hi, On Mon, Jun 17, 2013 at 12:16:35PM +0200, Sylwester Nawrocki wrote: > I have already used this API for our MIPI CSI-2/DSIM DPHYs driver, > the RFC patch series can be found at [1]. > > Thanks, > Sylwester > > [1] http://www.spinics.net/lists/arm-kernel/msg251666.html one comment to that ser

Re: [PATCH v7 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-06-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 June 2013 03:20 PM, Felipe Balbi wrote: Hi, On Tue, Jun 18, 2013 at 03:19:03PM +0530, Kishon Vijay Abraham I wrote: Hi, On Tuesday 18 June 2013 03:10 PM, Felipe Balbi wrote: Hi, On Thu, Jun 13, 2013 at 02:13:52PM +0530, Kishon Vijay Abraham I wrote: @@ -159,6 +191,12 @@ s

Re: [PATCH v7 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 03:26:23PM +0530, Kishon Vijay Abraham I wrote: > >>>On Thu, Jun 13, 2013 at 02:13:52PM +0530, Kishon Vijay Abraham I wrote: > @@ -159,6 +191,12 @@ static int omap_usb2_probe(struct platform_device > *pdev) > otg->start_srp = omap_usb_sta

Re: [RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-06-18 Thread Rahul Sharma
Thanks all, On Fri, Jun 14, 2013 at 11:39 AM, 김승우 wrote: > Hello Kishon, > > On 2013년 06월 13일 21:54, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 13 June 2013 04:51 PM, Inki Dae wrote: >>> >>> -Original Message- From: Sylwester Nawrocki [mailto:s.nawro...@samsung.com]

Re: [PATCH -next] [media] coda: fix missing unlock on error in coda_stop_streaming()

2013-06-18 Thread Philipp Zabel
Am Dienstag, den 18.06.2013, 13:00 +0800 schrieb Wei Yongjun: > From: Wei Yongjun > > Add the missing unlock before return from function coda_stop_streaming() > in the error handling case. > > Signed-off-by: Wei Yongjun > --- > drivers/media/platform/coda.c | 1 + > 1 file changed, 1 insertion

Re: [PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 June 2013 03:14 PM, Felipe Balbi wrote: On Thu, Jun 13, 2013 at 02:13:55PM +0530, Kishon Vijay Abraham I wrote: In order for controllers to get PHY in case of non dt boot, the phy binding information (phy device name) should be added in the platform data of the controller. Si

Re: [PATCH v11 3/8] ARM: edma: Add EDMA crossbar event mux support

2013-06-18 Thread Sekhar Nori
On 6/18/2013 12:08 PM, Joel A Fernandes wrote: > From: Matt Porter > > Changes by Joel: > * Split EDMA xbar support out of original EDMA DT parsing patch > to keep it easier for review. > * Rewrite shift and offset calculation. > > Suggested-by: Sekhar Nori > Suggested by: Andy Shevchenko > Si

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Lorenzo Pieralisi
Hi Olof, thanks a lot. On Mon, Jun 17, 2013 at 06:44:51PM +0100, Olof Johansson wrote: > On Mon, Jun 17, 2013 at 04:51:09PM +0100, Lorenzo Pieralisi wrote: > > The TC2 versatile express core tile integrates a logic block that provides > > the > > interface between the dual cluster test-chip and

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Lorenzo Pieralisi
On Tue, Jun 18, 2013 at 05:25:22AM +0100, Nicolas Pitre wrote: > On Mon, 17 Jun 2013, Lorenzo Pieralisi wrote: > > > The TC2 versatile express core tile integrates a logic block that provides > > the > > interface between the dual cluster test-chip and the M3 microcontroller that > > carries out

Re: [PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 03:34:36PM +0530, Kishon Vijay Abraham I wrote: > On Tuesday 18 June 2013 03:14 PM, Felipe Balbi wrote: > >On Thu, Jun 13, 2013 at 02:13:55PM +0530, Kishon Vijay Abraham I wrote: > >>In order for controllers to get PHY in case of non dt boot, the phy > >>binding informa

Re: [PATCH REBASE] i2c-designware: make SDA hold time configurable

2013-06-18 Thread Andy Shevchenko
On Mon, Jun 17, 2013 at 11:55 PM, Rob Herring wrote: >> +Optional properties : >> + - sda-hold-time : should contain the SDA hold time in nanoseconds. > > Please specify time units in the property name. Perhaps > i2c-sda-hold-time-ns. > > Based on reading the discussion, there is one similar prop

Re: [PATCH v2 0/4] ARM: dts: Add LCD and PWM support for exynos4210-origen

2013-06-18 Thread Sachin Kamat
Ping Kukjin. On 11 June 2013 11:59, Sachin Kamat wrote: > This series is based on for-next branch of Kukjin's tree. > Tested on Origen board. > > Changes since v1: > * Split LCD patch into LCD and PWM as suggested by Tomasz Figa. > * Added all PWM output nodes to pinctrl dtsi file. > > Sachin Kam

[PATCH 3/4] ARM: dts: omap5-uevm: Provide USB Host PHY clock frequency

2013-06-18 Thread Roger Quadros
USB Host PHY clock on port 2 must be configured to 19.2MHz. Provide this information. CC: Sricharan R Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap5-uevm.dts |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot

[PATCH 0/4] ARM: OMAP4: Panda USB Host support and DVI EDID fix

2013-06-18 Thread Roger Quadros
Hi Benoit & Tony, The first two patches make changes to dts files to get USB host support and DVI EDID to work on Panda. The third patch should get USB host functional on uEVM. The fourth patch is a temporary workaround to create a clock alias to the USB PHY clock as it is not possible to define

[PATCH 1/4] ARM: dts: omap4-panda: Add USB Host support

2013-06-18 Thread Roger Quadros
Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for the USB host pins. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4-panda-common.dtsi | 62 + 1 files changed, 62

[PATCH 2/4] ARM: dts: omap4-panda: Fix DVI EDID reads

2013-06-18 Thread Roger Quadros
On Panda the +5V supply for DVI EDID is supplied by the same regulator that poweres the USB Hub. Currently, the DSS/DVI subsystem doesn't know how to manage this regulator and so DVI EDID reads will fail if USB Hub is not enabled. As a temporary fix we keep this regulator permanently enabled on bo

[PATCH 4/4] ARM: OMAP2+: dts: HACK: Provide alias to USB PHY clock

2013-06-18 Thread Roger Quadros
Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB Host & Ethernet will not be functional with device tree boots on Panda and uEVM. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/board-generic.

Re: [PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 June 2013 03:57 PM, Felipe Balbi wrote: Hi, On Tue, Jun 18, 2013 at 03:34:36PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 18 June 2013 03:14 PM, Felipe Balbi wrote: On Thu, Jun 13, 2013 at 02:13:55PM +0530, Kishon Vijay Abraham I wrote: In order for controllers to get

Re: [PATCH 4/4] ARM: OMAP2+: dts: HACK: Provide alias to USB PHY clock

2013-06-18 Thread Tony Lindgren
* Roger Quadros [130618 04:17]: > Till the OMAP clocks are correctly defined in device tree, use > this temporary hack to provide clock alias to the USB PHY clocks. > > Without this, USB Host & Ethernet will not be functional with > device tree boots on Panda and uEVM. Thanks, this looks OK to m

[PATCH v3 00/12] MBus device tree binding

2013-06-18 Thread Ezequiel Garcia
In the current device tree binding proposal, for each MBus' child device there's an mbus-node 'ranges' property entry, in addition to the ranges property of the child itself. For each of this mbus-node ranges entry, the MBus driver creates a decoding window for it, on probe time. For instance, in

[PATCH v3 05/12] ARM: mvebu: Remove the harcoded BootROM window allocation

2013-06-18 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-mvebu/platsmp.c b/arch/arm/mach-mv

[PATCH v3 04/12] ARM: mvebu: Initialize MBus using the DT binding

2013-06-18 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 v3 03/12] bus: mvebu-mbus: Add static window allocation to the DT binding

2013-06-18 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 v3 02/12] bus: mvebu-mbus: Introduce device tree binding

2013-06-18 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 v3 01/12] bus: mvebu-mbus: Factor out initialization details

2013-06-18 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 v3 06/12] memory: mvebu-devbus: Remove address decoding window workaround

2013-06-18 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. Signed-off-by: Ezequiel Garcia --- dr

[PATCH v3 09/12] ARM: mvebu: Add BootROM to Armada 370/XP device tree

2013-06-18 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 v3 07/12] ARM: mvebu: Use the preprocessor on Armada 370/XP device tree files

2013-06-18 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 v3 11/12] ARM: mvebu: Relocate Armada 370 PCIe device tree nodes

2013-06-18 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. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-370-db.dts | 1 + arch/ar

[PATCH v3 08/12] ARM: mvebu: Add MBus to Armada 370/XP device tree

2013-06-18 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 v3 10/12] ARM: mvebu: Relocate Armada 370/XP DeviceBus device tree nodes

2013-06-18 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 v3 12/12] ARM: mvebu: Relocate Armada XP PCIe device tree nodes

2013-06-18 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. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-xp-db.dts | 67 +

Re: [PATCH v3 00/12] MBus device tree binding

2013-06-18 Thread Sebastian Hesselbarth
On 06/18/13 13:25, Ezequiel Garcia wrote: In the example below there's an extract of a device tree showing how the internal-regs and pcie nodes can be represented: #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) soc { compatible = "m

Re: [PATCH v4 02/10] pinctrl: mvebu: dove pinctrl driver

2013-06-18 Thread Russell King - ARM Linux
On Thu, Sep 13, 2012 at 05:41:44PM +0200, Sebastian Hesselbarth wrote: > +#define DOVE_GLOBAL_CONFIG_1 (DOVE_SB_REGS_VIRT_BASE | 0xe802C) > +#define DOVE_TWSI_ENABLE_OPTION1BIT(7) > +#define DOVE_GLOBAL_CONFIG_2 (DOVE_SB_REGS_VIRT_BASE | 0xe8030) > +#define DOVE_TWSI_ENABLE_OP

Re: [RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-06-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 June 2013 03:33 PM, Rahul Sharma wrote: > Thanks all, > > On Fri, Jun 14, 2013 at 11:39 AM, 김승우 wrote: >> Hello Kishon, >> >> On 2013년 06월 13일 21:54, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 13 June 2013 04:51 PM, Inki Dae wrote: > -Original M

Re: [PATCH v3 06/12] memory: mvebu-devbus: Remove address decoding window workaround

2013-06-18 Thread Jason Cooper
On Tue, Jun 18, 2013 at 08:25:31AM -0300, Ezequiel Garcia wrote: > 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

Re: [PATCH v4 02/10] pinctrl: mvebu: dove pinctrl driver

2013-06-18 Thread Sebastian Hesselbarth
On 06/18/13 13:36, Russell King - ARM Linux wrote: On Thu, Sep 13, 2012 at 05:41:44PM +0200, Sebastian Hesselbarth wrote: +#define DOVE_GLOBAL_CONFIG_1 (DOVE_SB_REGS_VIRT_BASE | 0xe802C) +#define DOVE_TWSI_ENABLE_OPTION1 BIT(7) +#define DOVE_GLOBAL_CONFIG_2 (DOVE_SB_REG

Re: [PATCH 7/9] drm/exynos: use of_get_named_gpio to get hdmi hpd gpio

2013-06-18 Thread Rahul Sharma
Thanks Mr. Dae, Please discard the REST of the patches in this series. I am posting a another patch-set which has all the patches independent of hdmiphy related changes. regards, Rahul Sharma. On Mon, Jun 17, 2013 at 8:22 AM, Inki Dae wrote: > Applied. > > Thanks, > Inki Dae > > > 2013/6/14 김승우

Re: [PATCH v3 06/12] memory: mvebu-devbus: Remove address decoding window workaround

2013-06-18 Thread Thomas Petazzoni
Dear Jason Cooper, On Tue, 18 Jun 2013 07:39:20 -0400, Jason Cooper wrote: > On Tue, Jun 18, 2013 at 08:25:31AM -0300, Ezequiel Garcia wrote: > > Now that mbus device tree binding has been introduced, remove the address > > decoding window management from this driver. > > A suitable 'ranges' entry

Re: [PATCH -next] [media] coda: fix missing unlock on error in coda_stop_streaming()

2013-06-18 Thread Wei Yongjun
On 06/18/2013 06:03 PM, Philipp Zabel wrote: > Am Dienstag, den 18.06.2013, 13:00 +0800 schrieb Wei Yongjun: >> From: Wei Yongjun >> >> Add the missing unlock before return from function coda_stop_streaming() >> in the error handling case. >> >> Signed-off-by: Wei Yongjun >> --- >> drivers/media

[PATCH 0/4] exynos5420/hdmi: add support for hdmi subsystem

2013-06-18 Thread Rahul Sharma
Add support for exynos5420 hdmi subsystem. It adds compatible strings for exynos5420 mixer and Changes the drivers as per IP modifications. This set doesn't have changes for hdmiphy, which will posted independently. This set is based on drm-next branch of Inki Dae's tree at http://git.kernel.org/

[PATCH 1/4] drm/exynos: rename compatible strings for hdmi subsystem

2013-06-18 Thread Rahul Sharma
This patch renames the combatible strings for hdmi, mixer, ddc and hdmiphy. It follows the convention of using compatible string which represent the SoC in which the IP was added for the first time. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt|6

[PATCH 2/4] drm/exynos: add support for exynos5420 mixer

2013-06-18 Thread Rahul Sharma
Add support for exynos5420 mixer IP in the drm mixer driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 49 + drivers/gpu/drm/exynos/regs-mixer.h |7 + 2 files changed, 44 insertions(+), 12 deletions(-) diff --git a/driver

[PATCH 3/4] drm/exynos: fix interlace resolutions for exynos5420

2013-06-18 Thread Rahul Sharma
Modified code for calculating hdmi IP register values from drm timing values. The modification is based on the inputs from hw team and specifically proposed for 1440x576i and 1440x480i. But same changes holds good for other interlaced resolutions also. Signed-off-by: Rahul Sharma --- drivers/gpu

[PATCH 4/4] ARM/dts: change compatible strings for hdmi subsystem

2013-06-18 Thread Rahul Sharma
This patch renames the combatible strings for hdmi, mixer, ddc and hdmiphy. It follows the convention of using compatible string which represent the SoC in which the IP was added for the first time. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/cros5250-common.dtsi|4 ++-- arch/arm/b

Re: [PATCH 4/4] ARM: OMAP2+: dts: HACK: Provide alias to USB PHY clock

2013-06-18 Thread Roger Quadros
On 06/18/2013 02:23 PM, Tony Lindgren wrote: > * Roger Quadros [130618 04:17]: >> Till the OMAP clocks are correctly defined in device tree, use >> this temporary hack to provide clock alias to the USB PHY clocks. >> >> Without this, USB Host & Ethernet will not be functional with >> device tree b

Re: [PATCH v3 06/12] memory: mvebu-devbus: Remove address decoding window workaround

2013-06-18 Thread Jason Cooper
On Tue, Jun 18, 2013 at 02:17:31PM +0200, Thomas Petazzoni wrote: > Dear Jason Cooper, > > On Tue, 18 Jun 2013 07:39:20 -0400, Jason Cooper wrote: > > On Tue, Jun 18, 2013 at 08:25:31AM -0300, Ezequiel Garcia wrote: > > > Now that mbus device tree binding has been introduced, remove the address >

Re: [PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 04:43:44PM +0530, Kishon Vijay Abraham I wrote: > >On Tue, Jun 18, 2013 at 03:34:36PM +0530, Kishon Vijay Abraham I wrote: > >>On Tuesday 18 June 2013 03:14 PM, Felipe Balbi wrote: > >>>On Thu, Jun 13, 2013 at 02:13:55PM +0530, Kishon Vijay Abraham I wrote: > In ord

Re: [PATCH v3 06/12] memory: mvebu-devbus: Remove address decoding window workaround

2013-06-18 Thread Ezequiel Garcia
On Tue, Jun 18, 2013 at 08:33:54AM -0400, Jason Cooper wrote: > On Tue, Jun 18, 2013 at 02:17:31PM +0200, Thomas Petazzoni wrote: > > Dear Jason Cooper, > > > > On Tue, 18 Jun 2013 07:39:20 -0400, Jason Cooper wrote: > > > On Tue, Jun 18, 2013 at 08:25:31AM -0300, Ezequiel Garcia wrote: > > > > No

Re: [PATCH v3 00/12] MBus device tree binding

2013-06-18 Thread Ezequiel Garcia
Hi Sebastian, On Tue, Jun 18, 2013 at 01:33:37PM +0200, Sebastian Hesselbarth wrote: > On 06/18/13 13:25, Ezequiel Garcia wrote: > > In the example below there's an extract of a device tree showing how > > the internal-regs and pcie nodes can be represented: > > > > #define MBUS_ID(target,attr

Re: [PATCH v11 0/8] ] DMA Engine support for AM33XX

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, Joel A Fernandes wrote: > > This series is a repost of Matt Porter's EDMA patches for AM33XX EDMA support > with changes for few pending review comments on v9 series. > > Currently this is required for AM33XX (Beaglebone or EVM) to access MMC > and be able mount to rootfs

Re: [PATCH 1/2] ARM: dts: Change dw-apb-timer-osc and dw-apb-timer-sp to just dw-apb-timer

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, dingu...@altera.com wrote: > @@ -476,27 +476,31 @@ > }; > > timer0: timer0@ffc08000 { > - compatible = "snps,dw-apb-timer-sp"; > + compatible = "snps,dw-apb-timer"; > inter

[PATCH v2 1/5] mfd: twl4030-power: Split from twl-core into a dedicated module

2013-06-18 Thread Florian Vaussard
For now, the call to twl4030-power is hard-wired inside twl-core. To ease the future transition to DT, make twl4030-power as a separate module, like what is already done for twl4030-audio and others. Signed-off-by: Florian Vaussard --- drivers/mfd/twl-core.c | 12 +++--- drivers/mfd/t

[PATCH v2 0/5] mfd: twl4030-power: Start DT conversion and updates

2013-06-18 Thread Florian Vaussard
Hello, This series enables a partial DT support for twl4030-power. The missing part is the power management scripts, as the required binding should be defined first. It however enables the complete shutdown of the processor at poweroff when booting with DT, dropping the power consumption from arou

[PATCH v2 2/5] mfd: twl4030-power: Simplify probing of power scripts and resources

2013-06-18 Thread Florian Vaussard
Increase lisibility when probing power scripts and resources by creating dedicated functions. Signed-off-by: Florian Vaussard --- drivers/mfd/twl4030-power.c | 60 -- 1 files changed, 40 insertions(+), 20 deletions(-) diff --git a/drivers/mfd/twl4030-po

[PATCH v2 5/5] mfd: twl4030-power: Fix relocking on error

2013-06-18 Thread Florian Vaussard
If an error occurs when loading power scripts or resources, the registers are not correctly relocked. Fix it. Signed-off-by: Florian Vaussard --- drivers/mfd/twl4030-power.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/twl4030-power.c b/drivers/

[PATCH v2 3/5] mfd: twl4030-power: Start transition to DT

2013-06-18 Thread Florian Vaussard
Support for loading twl4030-power module via devicetree. For now, when booting with a DT, only the poweroff callback feature is supported through the ti,use_poweroff property. Signed-off-by: Florian Vaussard --- .../devicetree/bindings/mfd/twl4030-power.txt | 28 drivers/mfd/

[PATCH v2 4/5] mfd: twl4030-power: Simplify error path

2013-06-18 Thread Florian Vaussard
Remove unnecessary goto statements, causing duplicated if conditions. Signed-off-by: Florian Vaussard --- drivers/mfd/twl4030-power.c | 38 +++--- 1 files changed, 15 insertions(+), 23 deletions(-) diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-

Re: [PATCH 2/3] dmaengine: add support for DMA multiplexer DT nodes

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, Guennadi Liakhovetski wrote: > > > > Hmm, you've clearly shown that this can work, but it feels like a really > > odd way to > > do this. I don't think we should do it this way, because it tries to be > > really > > generic but then cannot some of the interesting cases,

Re: [PATCH 2/4] ARM: dts: omap4-panda: Fix DVI EDID reads

2013-06-18 Thread Roger Quadros
On 06/18/2013 02:11 PM, Roger Quadros wrote: > On Panda the +5V supply for DVI EDID is supplied by the > same regulator that poweres the USB Hub. Currently, the > DSS/DVI subsystem doesn't know how to manage this regulator > and so DVI EDID reads will fail if USB Hub is not enabled. > > As a tempo

Re: [PATCH v2 3/3] DMA: shdma: add DT support

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, Guennadi Liakhovetski wrote: > Hi Arnd > > On Mon, 17 Jun 2013, Arnd Bergmann wrote: > > > On Thursday 06 June 2013, Guennadi Liakhovetski wrote: > > > +Required properties: > > > +- dmas: a list of <[DMA controller phandle] [MID/RID value]> > > > pairs > > > +-

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, Jingoo Han wrote: > On Monday, June 17, 2013 9:45 PM, Arnd Bergmann wrote: > > On Monday 17 June 2013 18:45:52 Jingoo Han wrote: > > > On Friday, June 14, 2013 9:54 PM, Arnd Bergmann wrote: > > > > > > > > Please look up the documentation about inbound viewport and describe

Re: [PATCH] dmaengine: Add hisilicon k3 DMA engine driver

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, zhangfei gao wrote: > On Tue, Jun 18, 2013 at 4:58 AM, Arnd Bergmann wrote: > > > >> +static struct of_dma_filter_info k3_dma_filter; > >> +static bool k3_dma_filter_fn(struct dma_chan *chan, void *param) > >> +{ > >> + return (*(int *)param == chan->chan_id); > >> +}

[PATCH 0/5] clk/exynos5420: add clocks for hdmi subsystem

2013-06-18 Thread Rahul Sharma
Add clock changes for hdmi subsystem for exynos5250 SoC. These include addition of new clocks like mout_hdmi and smmu_tv, associating ID to clk_hdmiphy and some essential corrections. This set is based on kukjin's for-next branch at http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.g

[PATCH 1/5] clk/exynos5420: add sclk_hdmiphy to the list of special clocks

2013-06-18 Thread Rahul Sharma
Add sclk_hdmiphy to the list of exposed clocks. This is required by hdmi driver to change the parent of hdmi clock. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + drivers/clk/samsung/clk-exynos5420.c |4 ++-- 2 f

[PATCH 5/5] clk/exynos5420: assign sclk_pixel id to pixel clock divider

2013-06-18 Thread Rahul Sharma
sclk_pixel is used to represent pixel clock divider on all exynos SoCs not as a gate clock. It is queried in driver to pass as the parent to hdmi clock while switching between parents. A new ID can be asssigned Pixel gate clock which is currently not in use. Pixel clock gate is default 'on'. Signe

[PATCH 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

2013-06-18 Thread Rahul Sharma
hdmi driver needs to change the parent of hdmi clock to pixel clock or hdmiphy clock, based on the stability of hdmiphy. This patch is exposing the mux for changing the parent. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |5 + drivers/clk/

[PATCH 3/5] clk/exynos5420: fix the order of parents of hdmi mux

2013-06-18 Thread Rahul Sharma
Listing sclk_hdmiphy at 0th position in the list of parents is causing wrong configuration in reg SRC_DISP10. Signed-off-by: Rahul Sharma --- drivers/clk/samsung/clk-exynos5420.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/driver

Re: [PATCH v4 4/4] arm: add basic support for Rockchip RK3066a boards

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, Heiko Stübner wrote: > > Side comment: I think it would be nice if the generic code did this > > init if a l2x0 device node was in the device tree, since the only > > reason to override init_machine is to do this call in addition to > > of_platform_populate(). > > Arnd sai

Re: [PATCH 5/5] clk/exynos5420: assign sclk_pixel id to pixel clock divider

2013-06-18 Thread Rahul Sharma
With this patch, it is at par with Exynos5250 and Exynos4 clocks where sclk_pixel ID is assigned to a divider clock but in real, sclk_pixel is listed under gate clocks (enum value). Alternate to this, I can allocate a new ID, div_pixel, listed under new category of Divider Clocks for Exyno4, 5250

[PATCH v2] of: Add more stubs for non-OF builds

2013-06-18 Thread Alexander Shiyan
Patch adds of_get_next_child and of_get_next_available_child stubs for non-OF builds. Signed-off-by: Alexander Shiyan --- include/linux/of.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/linux/of.h b/include/linux/of.h index 1fd08ca..c086c1a 100644

[PATCH 2/5] clk/exynos5420: add gate clock for tv sysmmu

2013-06-18 Thread Rahul Sharma
Adding sysmmu clock for tv for exynos5420. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + drivers/clk/samsung/clk-exynos5420.c |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/d

Re: [PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 June 2013 06:05 PM, Felipe Balbi wrote: Hi, On Tue, Jun 18, 2013 at 04:43:44PM +0530, Kishon Vijay Abraham I wrote: On Tue, Jun 18, 2013 at 03:34:36PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 18 June 2013 03:14 PM, Felipe Balbi wrote: On Thu, Jun 13, 2013 at 02:13:55

  1   2   >