Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sascha Hauer
On Tue, Jul 02, 2013 at 11:14:45PM +0100, Russell King wrote: > On Wed, Jul 03, 2013 at 08:02:05AM +1000, Dave Airlie wrote: > > Have you also considered how suspend/resume works in such a place, > > where every driver is independent? The ChromeOS guys have bitched > > before about the exynos drive

RE: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Inki Dae
> -Original Message- > From: dri-devel-bounces+inki.dae=samsung@lists.freedesktop.org > [mailto:dri-devel-bounces+inki.dae=samsung@lists.freedesktop.org] On > Behalf Of Russell King > Sent: Wednesday, July 03, 2013 4:08 AM > To: Daniel Drake > Cc: Jean-François Moine; devicetree-d

Re: [PATCH 4/4] ARM: dts: AM33XX: update rtc node compatibility

2013-07-03 Thread Sekhar Nori
Gururaja, On 7/2/2013 11:42 AM, Sekhar Nori wrote: > Changing to Benoit's gmail id since he apparently wont access TI mail > anymore. > > On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: >> Since AM33xx RTC IP has RTC_IRQWAKEEN to support Alarm Wake-up. >> >> Update the rtc compatible property to "t

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 08:55, Sascha Hauer wrote: On Wed, Jul 03, 2013 at 08:02:05AM +1000, Dave Airlie wrote: Have you also considered how suspend/resume works in such a place, where every driver is independent? The ChromeOS guys have bitched before about the exynos driver which is has lots of sub-drivers

[Patch V2 4/4] ARM: dts: AM33XX: update rtc node compatibility

2013-07-03 Thread Hebbar Gururaja
Since AM33xx RTC IP has RTC_IRQWAKEEN to support Alarm Wake-up. Update the rtc compatible property to "ti,am3352-rtc" to enable handling of this feature inside rtc-omap driver. Signed-off-by: Hebbar Gururaja --- :100644 100644 77aa1b0... dde180a... M arch/arm/boot/dts/am33xx.dtsi arch/arm/boo

[Patch V2 0/4] rtc: omap: handle rtc wakeup support in driver

2013-07-03 Thread Hebbar Gururaja
rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms. However, rtc wake support on OMAP1 is broken. Hence the device_init_wakeup() was removed from rtc-omap driver and moved to platform board files that supported it (DA850/OMAP-L138). [1] However, recently [2] it was suggested t

[Patch V2 2/4] ARM: Davinci: da8xx/omap-l1: Remove hard coding of rtc device wakeup

2013-07-03 Thread Hebbar Gururaja
Since now rtc-omap driver itself calls deice_init_wakeup(dev, true), duplicate call from the rtc device registration can be removed. This is basically a partial revert of the prev commit commit 75c99bb0006ee065b4e2995078d779418b0fab54 Author: Sekhar Nori davinci: da8xx/omap-l1: mark RTC as

[Patch V2 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-03 Thread Hebbar Gururaja
On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) is available to enable Alarm Wakeup feature. This register needs to be properly handled for the rtcwake to work properly. Platforms using such IP should set "ti,am3352-rtc" in rtc device dt compatibility node. Signed-off-by: Hebb

[Patch V2 1/4] rtc: omap: restore back (hard-code) wakeup support

2013-07-03 Thread Hebbar Gururaja
rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms. However, rtc wake support on OMAP1 is broken. Hence the device_init_wakeup() was removed from rtc-omap driver and moved to platform board files that supported it (DA850/OMAP-L138). [1] However, recently [2] it was suggested t

RE: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Inki Dae
> -Original Message- > From: dri-devel-bounces+inki.dae=samsung@lists.freedesktop.org > [mailto:dri-devel-bounces+inki.dae=samsung@lists.freedesktop.org] On > Behalf Of Sebastian Hesselbarth > Sent: Wednesday, July 03, 2013 6:41 AM > To: Daniel Drake > Cc: Jean-Francois Moine; dev

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sascha Hauer
On Wed, Jul 03, 2013 at 05:57:18PM +0900, Inki Dae wrote: > > video { > > /* Single video card w/ multiple lcd controllers */ > > card0 { > > compatible = "marvell,armada-510-display"; > > reg = <0 0x3f00 0x100>; /* video-mem hole */ > > /* later:

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 11:02, Sascha Hauer wrote: On Wed, Jul 03, 2013 at 05:57:18PM +0900, Inki Dae wrote: video { /* Single video card w/ multiple lcd controllers */ card0 { compatible = "marvell,armada-510-display"; reg = <0 0x3f00 0x100>; /* video

RE: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Inki Dae
> -Original Message- > From: Sebastian Hesselbarth [mailto:sebastian.hesselba...@gmail.com] > Sent: Wednesday, July 03, 2013 6:09 PM > To: Sascha Hauer > Cc: Inki Dae; 'Daniel Drake'; 'Jean-Francois Moine'; devicetree- > disc...@lists.ozlabs.org; 'Russell King'; dri-de...@lists.freedeskto

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Russell King
On Wed, Jul 03, 2013 at 11:02:42AM +0200, Sascha Hauer wrote: > On Wed, Jul 03, 2013 at 05:57:18PM +0900, Inki Dae wrote: > > > video { > > > /* Single video card w/ multiple lcd controllers */ > > > card0 { > > > compatible = "marvell,armada-510-display"; > > > reg = <0 0x3

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Russell King
On Wed, Jul 03, 2013 at 06:48:41PM +0900, Inki Dae wrote: > That's not whether we can write device driver or not. dtsi is common spot in > other subsystems. Do you think the cardX node is meaningful to other > subsystems? Yes, because fbdev could also use it to solve the same problem which we're h

Re: [PATCH 1/1] of/documentation: Update s5m8767-regulator bindings document

2013-07-03 Thread Mark Brown
On Mon, Jun 24, 2013 at 03:06:57PM +0530, Sachin Kamat wrote: > s5m8767 regulator is used on Exynos platforms which use pin controller > to configure GPIOs. Update the example accordingly. Applied, thanks. Please use subject lines that match the subsystem and try to make your changelogs clearer.

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

2013-07-03 Thread Kishon Vijay Abraham I
Hi, On Wednesday 03 July 2013 03:02 PM, Patel, Satish wrote: Hi Kishon, -Original Message- From: ABRAHAM, KISHON VIJAY Sent: Wednesday, June 26, 2013 5:17 PM To: grant.lik...@linaro.org; t...@atomide.com; Balbi, Felipe; ABRAHAM, KISHON VIJAY; a...@arndb.de; swar...@nvidia.com; sylveste

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 11:53, Russell King wrote: On Wed, Jul 03, 2013 at 06:48:41PM +0900, Inki Dae wrote: That's not whether we can write device driver or not. dtsi is common spot in other subsystems. Do you think the cardX node is meaningful to other subsystems? Yes, because fbdev could also use it to

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 11:52, Russell King wrote: On Wed, Jul 03, 2013 at 11:02:42AM +0200, Sascha Hauer wrote: On Wed, Jul 03, 2013 at 05:57:18PM +0900, Inki Dae wrote: video { /* Single video card w/ multiple lcd controllers */ card0 { compatible = "marvell,armada-510-dis

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sascha Hauer
On Wed, Jul 03, 2013 at 10:52:49AM +0100, Russell King wrote: > On Wed, Jul 03, 2013 at 11:02:42AM +0200, Sascha Hauer wrote: > > > > +1 for not encoding the projected usecase of the graphics subsystem into > > the devicetree. Whether the two LCD controllers shall be used together > > or separatel

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Russell King
On Wed, Jul 03, 2013 at 12:52:37PM +0200, Sebastian Hesselbarth wrote: > But honestly, I see no way around it and it is the only way > to allow to even have the decision for one or two cards at all. > There is no way for auto-probing the users intention... It's not _just_ about the users intention

Re: [PATCH v2 4/9] wl12xx: use frequency instead of enumerations for pdata clocks

2013-07-03 Thread Tony Lindgren
* Luciano Coelho [130702 13:33]: > On Tue, 2013-07-02 at 10:02 -0500, Nishanth Menon wrote: > > On 17:55-20130702, Luciano Coelho wrote: > > > Instead of defining an enumeration with the FW specific values for the > > > different clock rates, use the actual frequency instead. Also add a > > > boo

RE: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Inki Dae
> -Original Message- > From: Sebastian Hesselbarth [mailto:sebastian.hesselba...@gmail.com] > Sent: Wednesday, July 03, 2013 7:53 PM > To: Russell King > Cc: Inki Dae; 'Sascha Hauer'; 'Daniel Drake'; 'Jean-Francois Moine'; > devicetree-discuss@lists.ozlabs.org; dri-de...@lists.freedesktop

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

2013-07-03 Thread Arnd Bergmann
On Wednesday 26 June 2013, Wolfram Sang wrote: > On Wed, Jun 26, 2013 at 10:55:06AM +0200, Christian Ruppert wrote: > > This patch makes the SDA hold time configurable through device tree. > > > > Signed-off-by: Christian Ruppert > > Signed-off-by: Pierrick Hascoet > > Applied to for-next, th

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 13:43, Inki Dae wrote: I do not understand why you keep referring to the SoC dtsi. Im my example, I said that it is made up and joined from both SoC dtsi and board dts. So, of course, lcd controller nodes and dcon are part of dove.dtsi because they are physically available on every D

Re: [PATCH v5 00/12] MBus DT binding: A new hope

2013-07-03 Thread Arnd Bergmann
On Tuesday 02 July 2013, Jason Gunthorpe wrote: > On Sat, Jun 29, 2013 at 04:04:03PM -0300, Ezequiel Garcia wrote: > > Personally, I can't see any disadvantage, and the binding looks much > > cleaner now. But of course I can be wrong, and I'm open to discussion. > > > > There's another pending is

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Russell King
On Wed, Jul 03, 2013 at 08:43:20PM +0900, Inki Dae wrote: > In case of fbdev, framebuffer driver would use lcd0 or lcd1 driver, or lcd0 > and lcd1 drivers which are placed in drivers/video/backlight/. No, that's totally wrong. Framebuffer drivers are not backlights. Framebuffer drivers go in driv

Re: [PATCH v2 4/9] wl12xx: use frequency instead of enumerations for pdata clocks

2013-07-03 Thread Luciano Coelho
On Wed, 2013-07-03 at 04:33 -0700, Tony Lindgren wrote: > * Luciano Coelho [130702 13:33]: > > On Tue, 2013-07-02 at 10:02 -0500, Nishanth Menon wrote: > > > On 17:55-20130702, Luciano Coelho wrote: > > > > Instead of defining an enumeration with the FW specific values for the > > > > different cl

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-03 Thread Richard Genoud
2013/7/2 Bo Shen : > Hi Richard, > > > On 7/2/2013 16:13, Richard Genoud wrote: >>> >>> Please hold on of this, as to the ASoC dmaengine will deal with this. So, >>> we >>> >not need do it manually. >>> > >>> >Now, I am working on it. And will send out the patch soon after testing >>> > OK. >> >> O

Re: [PATCH v4 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-07-03 Thread Arnd Bergmann
On Tuesday 02 July 2013, Pekon Gupta wrote: > (+ CC: devicetree-discuss@lists.ozlabs.org) > > Changes v3 -> v4 > - [Patch 1/3] removed MTD_NAND_OMAP_BCH8 & MTD_NAND_OMAP_BCH4 from > nand/Kconfig > ECC scheme selectable via nand DT (nand-ecc-opt). > - [*] rebased for l2-mtd.git Do you also

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

2013-07-03 Thread Felipe Balbi
Hi, On Wed, Jul 03, 2013 at 03:35:39PM +0530, Kishon Vijay Abraham I wrote: > On Wednesday 03 July 2013 03:02 PM, Patel, Satish wrote: > >Hi Kishon, > > > >>-Original Message- > >>From: ABRAHAM, KISHON VIJAY > >>Sent: Wednesday, June 26, 2013 5:17 PM > >>To: grant.lik...@linaro.org; t...@a

Re: [PATCH v4 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-07-03 Thread Artem Bityutskiy
On Wed, 2013-07-03 at 13:16 +, Gupta, Pekon wrote: > [Pekon]: Yes, I'm not seeing these build issues, as I'm cleanly > returning from probe with pr_err(), if the required libraries (/lib/bch.c) > are not build-in the system. > --- > [Patch v4 1/4]: mtd:nand:omap2: clean-up BCHx

Re: [PATCH v4 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-07-03 Thread Arnd Bergmann
On Wednesday 03 July 2013, Artem Bityutskiy wrote: > On Wed, 2013-07-03 at 13:16 +, Gupta, Pekon wrote: > > [Pekon]: Yes, I'm not seeing these build issues, as I'm cleanly > > returning from probe with pr_err(), if the required libraries (/lib/bch.c) > > are not build-in the system. > > --

Re: [PATCH v2 0/9] wilink: add device tree support

2013-07-03 Thread Luciano Coelho
On Wed, 2013-07-03 at 13:13 +0300, Grazvydas Ignotas wrote: > Hi, Hi Gražvydas, > On Tue, Jul 2, 2013 at 5:55 PM, Luciano Coelho wrote: > > Hi, > > > > This is a follow-up on a previous patch set that had a smaller > > audience. This time, I added the lists and people who were involved > > in

[PATCH v3 0/8] wilink: add device tree support

2013-07-03 Thread Luciano Coelho
Hi, This patch series adds device tree support to the wlcore_sdio driver, which is used by WiLink6, WiLink7 and WiLink8. The first patches do some clean-up to make the data needed in the wilink device tree node smaller. The remaining patches implement the actual device tree node parsing in wlcor

[PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Luciano Coelho
The platform_quirk element in the platform data was used to change the way the IRQ is triggered. When set, the EDGE_IRQ quirk would change the irqflags used and treat edge trigger differently from the rest. Instead of hiding this irq flag setting behind the quirk, have the board files set the fla

[PATCH v3 1/8] wl1251: split wl251 platform data to a separate structure

2013-07-03 Thread Luciano Coelho
Move the wl1251 part of the wl12xx platform data structure into a new structure specifically for wl1251. Change the platform data built-in block and board files accordingly. Cc: Tony Lindgren Signed-off-by: Luciano Coelho Acked-by: Tony Lindgren --- arch/arm/mach-omap2/board-omap3pandora.c

[PATCH v3 5/8] wlcore: add initial device tree support to the sdio module

2013-07-03 Thread Luciano Coelho
If platform data is not available, try to get the required information from the device tree. Register an OF match table and parse the appropriate device tree nodes. Parse interrupt property only, for now. Signed-off-by: Luciano Coelho --- drivers/net/wireless/ti/wlcore/sdio.c | 69 ++

[PATCH v3 4/8] wl12xx: use frequency instead of enumerations for pdata clocks

2013-07-03 Thread Luciano Coelho
Instead of defining an enumeration with the FW specific values for the different clock rates, use the actual frequency instead. Also add a boolean to specify whether the clock is XTAL or not. Change all board files to reflect this. Cc: Tony Lindgren Cc: Sekhar Nori Signed-off-by: Luciano Coelh

[PATCH v3 3/8] wlcore: remove pwr_in_suspend from platform data

2013-07-03 Thread Luciano Coelho
The pwr_in_suspend flag depends on the MMC settings which can be retrieved from the SDIO subsystem, so it doesn't need to be part of the platform data structure. Move it to the platform device data that is passed from SDIO to wlcore. Signed-off-by: Luciano Coelho --- drivers/net/wireless/ti/wlc

[PATCH v3 8/8] wlcore/wl12xx: check if we got correct clock data from DT

2013-07-03 Thread Luciano Coelho
The fref and the tcxo clocks settings are optional in some platforms. WiLink8 doesn't need either, so we don't check the values. WiLink 6 only needs the fref clock, so we check that it is valid or return with an error. WiLink7 needs both clocks, if either is not available we return with an error.

[PATCH v3 6/8] wlcore: sdio: add wilink clock providers

2013-07-03 Thread Luciano Coelho
Add refclock and tcxoclock as clock providers in WiLink. These clocks are not accesible outside the WiLink module, but they are registered in the clock framework anyway. Only the WiLink chip consumes these clocks. In theory, the WiLink chip could be connected to external clocks instead of using

[PATCH v3 7/8] wlcore: sdio: get clocks from device tree

2013-07-03 Thread Luciano Coelho
Read the clock nodes from the device tree and use them to set the frequency for the refclock and the tcxo clock. Also, call sdio_set_drvdata() earlier, so the glue is already set in the driver data when we call wlcore_get_pdata_from_of() and we don't need to pass it as a parameter. Signed-off-by:

Re: [PATCH] of: Fix address decoding on Bimini and js2x machines

2013-07-03 Thread Rob Herring
On 07/03/2013 01:01 AM, Benjamin Herrenschmidt wrote: > Commit: > > e38c0a1fbc5803cbacdaac0557c70ac8ca5152e7 > of/address: Handle #address-cells > 2 specially > > broke real time clock access on Bimini, js2x, and similar powerpc > machines using the "maple" platform. That code was in

Re: [PATCH v3 1/8] wl1251: split wl251 platform data to a separate structure

2013-07-03 Thread Felipe Balbi
On Wed, Jul 03, 2013 at 05:03:22PM +0300, Luciano Coelho wrote: > Move the wl1251 part of the wl12xx platform data structure into a new > structure specifically for wl1251. Change the platform data built-in > block and board files accordingly. > > Cc: Tony Lindgren > Signed-off-by: Luciano Coelh

Re: [PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Felipe Balbi
Hi, On Wed, Jul 03, 2013 at 05:03:23PM +0300, Luciano Coelho wrote: > diff --git a/arch/arm/mach-omap2/board-4430sdp.c > b/arch/arm/mach-omap2/board-4430sdp.c > index 56a9a4f..953f620 100644 > --- a/arch/arm/mach-omap2/board-4430sdp.c > +++ b/arch/arm/mach-omap2/board-4430sdp.c > @@ -703,12 +703,

Re: [PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Luciano Coelho
On Wed, 2013-07-03 at 17:03 +0300, Luciano Coelho wrote: > The platform_quirk element in the platform data was used to change the > way the IRQ is triggered. When set, the EDGE_IRQ quirk would change > the irqflags used and treat edge trigger differently from the rest. > > Instead of hiding this

Re: [PATCH v3 4/8] wl12xx: use frequency instead of enumerations for pdata clocks

2013-07-03 Thread Felipe Balbi
On Wed, Jul 03, 2013 at 05:03:25PM +0300, Luciano Coelho wrote: > Instead of defining an enumeration with the FW specific values for the > different clock rates, use the actual frequency instead. Also add a > boolean to specify whether the clock is XTAL or not. > > Change all board files to refle

Re: [PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Luciano Coelho
On Wed, 2013-07-03 at 17:13 +0300, Felipe Balbi wrote: > Hi, > > On Wed, Jul 03, 2013 at 05:03:23PM +0300, Luciano Coelho wrote: > > diff --git a/arch/arm/mach-omap2/board-4430sdp.c > > b/arch/arm/mach-omap2/board-4430sdp.c > > index 56a9a4f..953f620 100644 > > --- a/arch/arm/mach-omap2/board-443

Re: [PATCH v3 5/8] wlcore: add initial device tree support to the sdio module

2013-07-03 Thread Felipe Balbi
On Wed, Jul 03, 2013 at 05:03:26PM +0300, Luciano Coelho wrote: > If platform data is not available, try to get the required information > from the device tree. Register an OF match table and parse the > appropriate device tree nodes. > > Parse interrupt property only, for now. > > Signed-off-by

Re: [PATCH v3 8/8] wlcore/wl12xx: check if we got correct clock data from DT

2013-07-03 Thread Felipe Balbi
On Wed, Jul 03, 2013 at 05:03:29PM +0300, Luciano Coelho wrote: > The fref and the tcxo clocks settings are optional in some platforms. > WiLink8 doesn't need either, so we don't check the values. WiLink 6 > only needs the fref clock, so we check that it is valid or return with > an error. WiLink

Re: [PATCH v3 3/8] wlcore: remove pwr_in_suspend from platform data

2013-07-03 Thread Felipe Balbi
On Wed, Jul 03, 2013 at 05:03:24PM +0300, Luciano Coelho wrote: > The pwr_in_suspend flag depends on the MMC settings which can be > retrieved from the SDIO subsystem, so it doesn't need to be part of > the platform data structure. Move it to the platform device data that > is passed from SDIO to

Re: [PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Felipe Balbi
On Wed, Jul 03, 2013 at 05:18:14PM +0300, Luciano Coelho wrote: > On Wed, 2013-07-03 at 17:13 +0300, Felipe Balbi wrote: > > Hi, > > > > On Wed, Jul 03, 2013 at 05:03:23PM +0300, Luciano Coelho wrote: > > > diff --git a/arch/arm/mach-omap2/board-4430sdp.c > > > b/arch/arm/mach-omap2/board-4430sdp

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

2013-07-03 Thread Arnd Bergmann
On Wednesday 03 July 2013, Christian Ruppert wrote: > On Wed, Jul 03, 2013 at 01:43:11PM +0200, Arnd Bergmann wrote: > > On Wednesday 26 June 2013, Wolfram Sang wrote: > > > On Wed, Jun 26, 2013 at 10:55:06AM +0200, Christian Ruppert wrote: > > > > This patch makes the SDA hold time configurable

Re: [PATCH] of: Fix address decoding on Bimini and js2x machines

2013-07-03 Thread Grant Likely
On Wed, Jul 3, 2013 at 3:10 PM, Rob Herring wrote: > On 07/03/2013 01:01 AM, Benjamin Herrenschmidt wrote: >> Commit: >> >> e38c0a1fbc5803cbacdaac0557c70ac8ca5152e7 >> of/address: Handle #address-cells > 2 specially >> >> broke real time clock access on Bimini, js2x, and similar powerpc >> ma

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

2013-07-03 Thread Arnd Bergmann
On Wednesday 03 July 2013, Christian Ruppert wrote: > On Wed, Jul 03, 2013 at 04:20:03PM +0200, Arnd Bergmann wrote: > > On Wednesday 03 July 2013, Christian Ruppert wrote: > > > On Wed, Jul 03, 2013 at 01:43:11PM +0200, Arnd Bergmann wrote: > > > > On Wednesday 26 June 2013, Wolfram Sang wrote: >

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

2013-07-03 Thread Arnd Bergmann
On Wednesday 03 July 2013, Christian Ruppert wrote: > On Wed, Jul 03, 2013 at 04:20:03PM +0200, Arnd Bergmann wrote: > > On Wednesday 03 July 2013, Christian Ruppert wrote: > > > On Wed, Jul 03, 2013 at 01:43:11PM +0200, Arnd Bergmann wrote: > > > > On Wednesday 26 June 2013, Wolfram Sang wrote: >

Re: [PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Javier Martinez Canillas
On Wed, Jul 3, 2013 at 4:15 PM, Luciano Coelho wrote: > On Wed, 2013-07-03 at 17:03 +0300, Luciano Coelho wrote: >> The platform_quirk element in the platform data was used to change the >> way the IRQ is triggered. When set, the EDGE_IRQ quirk would change >> the irqflags used and treat edge tri

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

2013-07-03 Thread Arnd Bergmann
On Wednesday 03 July 2013, Stehle Vincent-B46079 wrote: > > From: Christian Ruppert [mailto:christian.rupp...@abilis.com] > (..) > > Although this doesn't explicitly state what the function returns to me > > this sounds more like the quotient is returned rather than the remainder? > > Hi, > > Yes

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-03 Thread Richard Genoud
2013/7/3 Richard Genoud : > 2013/7/2 Bo Shen : >> Hi Richard, >> >> >> On 7/2/2013 16:13, Richard Genoud wrote: Please hold on of this, as to the ASoC dmaengine will deal with this. So, we >not need do it manually. > >Now, I am working on it. And will send out the patc

Re: [PATCH v9 02/10] ASoC: imx-pcm-fiq: Introduce pcm-fiq-params

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:21PM +0200, Markus Pargmann wrote: > Cleaner parameter passing for imx-pcm-fiq. Create a seperated fiq-params > struct to pass all arguments. Applied, thanks. signature.asc Description: Digital signature ___ devicetree-dis

Re: [PATCH v9 04/10] ASoC: fsl-ssi: Add support for imx-pcm-fiq

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:23PM +0200, Markus Pargmann wrote: > + ssi_private->use_dma = !of_property_read_bool(np, "fsl,imx-fiq"); > + This binding should be documented. I'm not sure it really needs to be a binding, though - is it not possible for the driver to just figure out that DMA w

Re: [PATCH v9 03/10] ASoC: fsl: Move soc_ac97_ops from imx-ssi to fsl_ssi

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:22PM +0200, Markus Pargmann wrote: > fsl_ssi and imx-ssi can be both enabled at the same time. To be able to > add AC97 support to fsl_ssi, soc_ac97_ops have to be available to both > drivers. This needs to be redone on top of the changes that went into v3.11 to suppo

Re: [PATCH v9 09/10] ASoC: fsl: Move fsl-ssi binding doc to sound/

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:28PM +0200, Markus Pargmann wrote: > fsl-ssi was located in powerpc/fsl/ssi.txt. This is no powerpc specific > device, so it should be moved to sound/ as it connects to differen audio > codecs. Applied, thanks. signature.asc Description: Digital signature __

Re: [PATCH v9 01/10] ASoC: imx-pcm-dma: DT support

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:20PM +0200, Markus Pargmann wrote: > This patch removes the NO_DT flag. The pdev pointer may have a proper > of_node with the dmas property, so we can use it to request DMA > channels. Applied, thanks. signature.asc Description: Digital signature ___

Re: [PATCH v9 08/10] ASoC: Add phycore-ac97-dt driver

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:27PM +0200, Markus Pargmann wrote: > Notes: > Changes in v9: > - Fix blank line at end of file. > Please don't include enormous changelogs like this, they're just noise. > +config SND_SOC_PHYCORE_AC97_DT > + bool "SoC Audio support for Phytec phyCO

Re: [PATCH v9 10/10] ASoC: fsl: Update fsl-ssi binding doc

2013-07-03 Thread Mark Brown
On Thu, Jun 20, 2013 at 03:20:29PM +0200, Markus Pargmann wrote: > Update the fsl-ssi bindings. DMA is no required property anymore and > uses the generic DMA bindings. imx-fiq is a new alternative to DMA These updates should be done as part of the patches making the code changes - see the review

Re: [PATCH 2/2] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-03 Thread Scott Wood
On 07/02/2013 10:47:44 PM, Hongbo Zhang wrote: On 07/03/2013 07:13 AM, Scott Wood wrote: Wait a second -- how are we even getting into this code on these new DMA controllers? All 85xx-family DMA controllers use fsldma_chan_irq directly. Right, we are using fsldma_chan_irq, this code never

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 13:32, Russell King wrote: On Wed, Jul 03, 2013 at 12:52:37PM +0200, Sebastian Hesselbarth wrote: But honestly, I see no way around it and it is the only way to allow to even have the decision for one or two cards at all. There is no way for auto-probing the users intention... Russ

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

2013-07-03 Thread Scott Wood
On 07/03/2013 02:48:59 AM, Hongbo Zhang wrote: On 07/03/2013 11:53 AM, Hongbo Zhang wrote: hmm...add the devicetree-discuss@lists.ozlabs.org into list. Note that we are discussing a better naming for this new compatible property in the corresponding [PATCH 2/2], so I will resend a v2 of thi

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

2013-07-03 Thread Mark Brown
On Tue, Jun 18, 2013 at 11:22:13AM +0100, Lorenzo Pieralisi wrote: > On Mon, Jun 17, 2013 at 06:44:51PM +0100, Olof Johansson wrote: > > That'll trim down the driver to a point where I think you'll find it much > > easier to get merged. :-) > To start with I have to understand in which directory

Re: [PATCH v1 0/3] extend stmmac DT support.

2013-07-03 Thread David Miller
From: Srinivas KANDAGATLA Date: Tue, 2 Jul 2013 14:03:39 +0100 > From: Srinivas Kandagatla > > Hi Peppe, > > Thankyou for the comments on RFC patches. > > This patch series adds support to new gmac versions 3.6.10 and 3.710, these > versions of IP are integrated into ST STiH415/STiH416 SOCs.

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-03 Thread Bo Shen
Hi Richard, On 7/3/2013 23:51, Richard Genoud wrote: >but there's a violent hang (kernel stops, no trace) when I try the record : >arecord -v -V stereo -Dplug:default -f cd -t wav -c 2 /tmp/toto.wav >last thing I see is : >dma dma0chan3: atc_control (3) I don't meet this issue. Playback and re

[PATCH dtc] Makefile: provide separate install targets

2013-07-03 Thread Jeremy Kerr
Currently `make install` will install the binaries, libraries and includes. This change separates the install target into install-bin, install-lib and install-includes, so we have more flexibility, particularly when we're just using libfdt. Signed-off-by: Jeremy Kerr --- Makefile | 12 ++

RE: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Inki Dae
> -Original Message- > From: Russell King [mailto:r...@arm.linux.org.uk] > Sent: Wednesday, July 03, 2013 9:05 PM > To: Inki Dae > Cc: 'Sebastian Hesselbarth'; 'Sascha Hauer'; 'Daniel Drake'; 'Jean- > Francois Moine'; devicetree-discuss@lists.ozlabs.org; dri- > de...@lists.freedesktop.org

Re: [PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk

2013-07-03 Thread Sekhar Nori
On 7/3/2013 7:33 PM, Luciano Coelho wrote: > The platform_quirk element in the platform data was used to change the > way the IRQ is triggered. When set, the EDGE_IRQ quirk would change > the irqflags used and treat edge trigger differently from the rest. > > Instead of hiding this irq flag setti

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

2013-07-03 Thread Kishon Vijay Abraham I
Hi, On Wednesday 03 July 2013 06:50 PM, Felipe Balbi wrote: Hi, On Wed, Jul 03, 2013 at 03:35:39PM +0530, Kishon Vijay Abraham I wrote: On Wednesday 03 July 2013 03:02 PM, Patel, Satish wrote: Hi Kishon, -Original Message- From: ABRAHAM, KISHON VIJAY Sent: Wednesday, June 26, 2013 5