Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Terje Bergström
On 15.11.2012 23:28, Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in the previous versions, such as deferred probe not working > properly and the display remaining enabled after the driver is removed. > > I've also put the two patches

Re: [PATCH 0/7] core, cpu and gated clocks for mvebu

2012-11-15 Thread Andrew Lunn
> I had a quick look and made a few comments, but overall, it looks > really great. I really hope we can get this in 3.8. Hi Thomas Thanks for the quick feedback. It looks like i squashed some patches from Sebastian in the wrong place. I will fix this and your other comments. I will probably sen

Re: [PATCH v8 1/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Anton Vorontsov
Hi Alexandre, The code looks neat, thanks for you work! Just a couple of comments... On Fri, Nov 16, 2012 at 03:38:21PM +0900, Alexandre Courbot wrote: [...] > + > +#include "power_seq_delay.c" > +#include "power_seq_regulator.c" > +#include "power_seq_pwm.c" > +#include "power_seq_gpio.c" This

Re: [Resend v6 PATCH 2/2] ASoC: atmel-ssc: add pinctrl consumer

2012-11-15 Thread Bo Shen
On 11/16/2012 14:41, Mark Brown wrote: On Fri, Nov 16, 2012 at 02:33:50PM +0800, Bo Shen wrote: On 11/16/2012 14:12, Mark Brown wrote: No, this isn't what was meant - the idea is to send only the addition of pinctrl data as one patch, based off the ASoC branch instead of -next. What is the

Re: [Resend v6 PATCH 2/2] ASoC: atmel-ssc: add pinctrl consumer

2012-11-15 Thread Mark Brown
On Fri, Nov 16, 2012 at 02:33:50PM +0800, Bo Shen wrote: > On 11/16/2012 14:12, Mark Brown wrote: > >No, this isn't what was meant - the idea is to send only the addition of > >pinctrl data as one patch, based off the ASoC branch instead of -next. > What is the pinctrl data? (This patch can be ap

[PATCH v8 3/3] Take maintainership of power sequences

2012-11-15 Thread Alexandre Courbot
Add entry for power sequences into MAINTAINERS with all the needed contact and SCM info. Signed-off-by: Alexandre Courbot --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 59203e7..c86a93b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v8 1/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Alexandre Courbot
Some device drivers (e.g. panel or backlights) need to follow precise sequences for powering on and off, involving GPIOs, regulators, PWMs with a precise powering order and delays to respect between steps. These sequences are device-specific, and do not belong to a particular driver - therefore the

[PATCH v8 2/3] pwm_backlight: use power sequences

2012-11-15 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot Reviewed-by: Stephen Warren --- .../bindings/video/backlight/pwm-backlight.txt | 63 +++- drivers/video/backlight/Kconfig

[PATCH v8 0/3] Runtime Interpreted Power Sequences

2012-11-15 Thread Alexandre Courbot
Hopefully the final series before the feature gets merged. Anton Vorontsov kindly accepted to take it into his tree, so this series is mostly a call for acks, tests and reviews notices before the merge window for 3.8 opens. If you are interested in seeing this feature, please add your name. This s

Re: [Resend v6 PATCH 2/2] ASoC: atmel-ssc: add pinctrl consumer

2012-11-15 Thread Bo Shen
Hi Mark, On 11/16/2012 14:12, Mark Brown wrote: On Fri, Nov 16, 2012 at 02:03:57PM +0800, Bo Shen wrote: Add pinctrl consumer for atmel ssc peripheral Signed-off-by: Bo Shen --- Resend: Split one patch into two. - one add pinctrl nodes - one add pinctrl consumer No, this isn't

Re: [PATCH v9] can: grcan: Add device driver for GRCAN and GRHCAN cores

2012-11-15 Thread Andreas Larsson
On 2012-11-15 21:32, Marc Kleine-Budde wrote: On 11/15/2012 08:47 AM, Andreas Larsson wrote: This driver supports GRCAN and CRHCAN CAN controllers available in the GRLIB VHDL IP core library. Signed-off-by: Andreas Larsson Acked-by: Wolfgang Grandegger Applied to can-next/master - and inclu

RE: [PATCH 1/4] mfd: tps65217: Set PMIC to shutdowm on PWR_EN toggle

2012-11-15 Thread AnilKumar, Chimata
On Wed, Nov 14, 2012 at 15:54:53, Mark Brown wrote: > On Wed, Nov 14, 2012 at 11:08:49AM +0100, Benoit Cousson wrote: > > > I was wondering that, because exposing a pin to control the whole PMIC > > low power mode seems to be something that should be generic enough to be > > handled by the regulat

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-15 Thread AnilKumar, Chimata
On Mon, Nov 12, 2012 at 15:17:48, AnilKumar, Chimata wrote: > On Tue, Nov 06, 2012 at 11:15:34, Bedia, Vaibhav wrote: > > On Mon, Nov 05, 2012 at 15:12:27, AnilKumar, Chimata wrote: > > [...] > > > > > > +#define SHUTDOWN_TIME_SEC2 > > > +#define SECS_IN_MIN 6

Re: [Resend v6 PATCH 2/2] ASoC: atmel-ssc: add pinctrl consumer

2012-11-15 Thread Mark Brown
On Fri, Nov 16, 2012 at 02:03:57PM +0800, Bo Shen wrote: > Add pinctrl consumer for atmel ssc peripheral > > Signed-off-by: Bo Shen > --- > Resend: > Split one patch into two. > - one add pinctrl nodes > - one add pinctrl consumer No, this isn't what was meant - the idea is to send onl

[Resend v6 PATCH 2/2] ASoC: atmel-ssc: add pinctrl consumer

2012-11-15 Thread Bo Shen
Add pinctrl consumer for atmel ssc peripheral Signed-off-by: Bo Shen --- Resend: Split one patch into two. - one add pinctrl nodes - one add pinctrl consumer --- drivers/misc/atmel-ssc.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/misc/atmel-ssc.c b/drivers/m

[Resend v6 PATCH 1/2] ARM: at91: atmel-ssc: add pinctrl nodes

2012-11-15 Thread Bo Shen
Add pinctrl nodes for atmel ssc peripheral Signed-off-by: Bo Shen --- Resend: Split one patch into two. - one add pinctrl nodes - one add pinctrl consumer --- arch/arm/boot/dts/at91sam9260.dtsi | 18 ++ arch/arm/boot/dts/at91sam9263.dtsi | 36 +++

[PATCH 01/16] gpio: SPEAr: add spi chipselect control driver

2012-11-15 Thread Viresh Kumar
From: Shiraz Hashim SPEAr platform provides a provision to control chipselects of ARM PL022 Prime Cell spi controller through its system registers, which otherwise remains under PL022 control which some protocols do not want. This commit intends to provide the spi chipselect control in software

Re: [Patch v6 1/4] ARM: at91: atmel-ssc: add pinctrl support

2012-11-15 Thread Mark Brown
On Fri, Nov 16, 2012 at 10:43:15AM +0800, Bo Shen wrote: > On 11/16/2012 9:03, Mark Brown wrote: > >This generates lots of conflicts in the pinctrl stuff in the DTS - looks > >like it was generated against -next. Can you please regenerate against > >my atmel branch with just the changes to add th

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Alex Courbot
On Friday 16 November 2012 11:36:36 Alex Courbot wrote: > On Friday 16 November 2012 05:28:21 Thierry Reding wrote: > > This third version of the patch series cleans up some minor issues that > > were found in the previous versions, such as deferred probe not working > > properly and the display re

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Mark Zhang
Thierry, By the way, when do you plan to send drm patches for Tegra 3? I'm wondering if you don't have a Tegra 3 board for testing, I can do that for you. Mark On 11/16/2012 05:28 AM, Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in t

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Mark Zhang
Hi Thierry, Thank you for your hard work. The series, Acked-by: Mark Zhang Reviewed-by: Mark Zhang Tested-by: Mark Zhang On Ventana, LVDS and HDMI worked. PS: Alex's power sequence patch is needed to enable panel and backlight. Also we need to define dc and hdmi nodes in tegra20-ventana.

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Alex Courbot
On Friday 16 November 2012 05:28:21 Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in the previous versions, such as deferred probe not working > properly and the display remaining enabled after the driver is removed. > > I've also put

Re: [RFC] dt/platform: Use cell-index for device naming if available

2012-11-15 Thread Stepan Moskovchenko
On 11/15/2012 8:10 AM, Grant Likely wrote: On Mon, 12 Nov 2012 18:48:43 -0800, Stepan Moskovchenko wrote: On 11/11/2012 5:45 PM, Stepan Moskovchenko wrote: On Sun, Nov 11, 2012 at 2:32 AM, Rob Herring wrote: On 11/09/2012 06:48 PM, Stepan Moskovchenko wrote: Use the cell-index property t

Re: [Patch v6 1/4] ARM: at91: atmel-ssc: add pinctrl support

2012-11-15 Thread Bo Shen
Hi J, On 11/16/2012 9:03, Mark Brown wrote: On Wed, Nov 14, 2012 at 06:09:08PM +0800, Bo Shen wrote: Add pinctrl support for atmel ssc peripheral Signed-off-by: Bo Shen This generates lots of conflicts in the pinctrl stuff in the DTS - looks like it was generated against -next. Can you ple

Re: [PATCH -next] tty: of_serial: fix return value check in of_platform_serial_setup()

2012-11-15 Thread Wei Yongjun
On 11/15/2012 08:08 PM, Grant Likely wrote: > On Thu, 1 Nov 2012 13:27:34 +0800, Wei Yongjun wrote: >> From: Wei Yongjun >> >> In case of error, the function clk_get() returns ERR_PTR() >> and never returns NULL. The NULL test in the return value >> check should be replaced with IS_ERR(). >> >> d

Re: [PATCH] spi: omap2-mcspi: remove duplicated include from spi-omap2-mcspi.c

2012-11-15 Thread Wei Yongjun
On 11/14/2012 11:54 PM, Grant Likely wrote: > On Sun, 7 Oct 2012 21:29:21 +0800, Wei Yongjun wrote: >> From: Wei Yongjun >> >> Remove duplicated include. > Applied, thanks. > >> dpatch engine is used to auto generate this patch. >> (https://github.com/weiyj/dpatch) > Since I have to manually remo

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-11-15 Thread Vinod Koul
On Fri, 2012-11-09 at 14:01 -0600, Jon Hunter wrote: > Hi Vinod, > > A few people have been asking me if getting device-tree support for DMA > engine is plan for record for v3.8. I know that you were working through > implementing a common interface and so I wanted to check how that is > going. Do

Re: [PATCH v5 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-15 Thread Paul Gortmaker
On Thu, Nov 15, 2012 at 8:25 AM, Philipp Zabel wrote: > Hi Paul, > > Am Freitag, den 26.10.2012, 15:46 -0400 schrieb Paul Gortmaker: > > On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel > wrote: > > > This patch keeps all created pools in a global list and adds two > > > functions that allow to re

Re: [Patch v6 4/4] ASoC: at91sam9g20ek-wm8731: convert to dt support

2012-11-15 Thread Mark Brown
On Wed, Nov 14, 2012 at 06:09:11PM +0800, Bo Shen wrote: > convert at91sam9g20ek with wm8731 to device tree support Applied, thanks. Now I have a board with full DT enablement I can run (I think...)! signature.asc Description: Digital signature ___ de

Re: [Patch v6 3/4] ASoC: atmel-ssc-dai: match new method of dai and pcm register

2012-11-15 Thread Mark Brown
On Wed, Nov 14, 2012 at 06:09:10PM +0800, Bo Shen wrote: > Remove unneeded code with the new method of dai and pcm register Applied, thanks. signature.asc Description: Digital signature ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlab

Re: [Patch v6 2/4] ASoC: atmel-ssc-dai: register dai and pcm directly

2012-11-15 Thread Mark Brown
On Wed, Nov 14, 2012 at 06:09:09PM +0800, Bo Shen wrote: > change the method for register dai and pcm > - let the atmel-ssc-dai no longer as a standalone platform device > - remap ssc and then register dai directly > - register pcm from dai directly > - modify the code which related with th

Re: [PATCH -next] tty: of_serial: fix return value check in of_platform_serial_setup()

2012-11-15 Thread Greg KH
On Thu, Nov 15, 2012 at 12:08:11PM +, Grant Likely wrote: > On Thu, 1 Nov 2012 13:27:34 +0800, Wei Yongjun wrote: > > From: Wei Yongjun > > > > In case of error, the function clk_get() returns ERR_PTR() > > and never returns NULL. The NULL test in the return value > > check should be replace

Re: [Patch v6 1/4] ARM: at91: atmel-ssc: add pinctrl support

2012-11-15 Thread Mark Brown
On Wed, Nov 14, 2012 at 06:09:08PM +0800, Bo Shen wrote: > Add pinctrl support for atmel ssc peripheral > > Signed-off-by: Bo Shen This generates lots of conflicts in the pinctrl stuff in the DTS - looks like it was generated against -next. Can you please regenerate against my atmel branch with

Re: [U-Boot] [PATCH 09/14] fdt: Add polarity-aware gpio functions to fdtdec

2012-11-15 Thread Simon Glass
Hi Stephen, On Thu, Nov 15, 2012 at 3:46 PM, Stephen Warren wrote: > On 11/15/2012 04:31 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Wed, Oct 31, 2012 at 9:50 PM, Stephen Warren >> wrote: >>> On 10/31/2012 05:59 PM, Simon Glass wrote: Hi, On Fri, Oct 26, 2012 at 12:17 AM, Luca

Re: [U-Boot] [PATCH 09/14] fdt: Add polarity-aware gpio functions to fdtdec

2012-11-15 Thread Stephen Warren
On 11/15/2012 04:31 PM, Simon Glass wrote: > Hi Stephen, > > On Wed, Oct 31, 2012 at 9:50 PM, Stephen Warren wrote: >> On 10/31/2012 05:59 PM, Simon Glass wrote: >>> Hi, >>> >>> On Fri, Oct 26, 2012 at 12:17 AM, Lucas Stach wrote: Am Donnerstag, den 25.10.2012, 19:31 -0700 schrieb Simon Gla

Re: [U-Boot] [PATCH 09/14] fdt: Add polarity-aware gpio functions to fdtdec

2012-11-15 Thread Simon Glass
Hi Stephen, On Wed, Oct 31, 2012 at 9:50 PM, Stephen Warren wrote: > On 10/31/2012 05:59 PM, Simon Glass wrote: >> Hi, >> >> On Fri, Oct 26, 2012 at 12:17 AM, Lucas Stach wrote: >>> Am Donnerstag, den 25.10.2012, 19:31 -0700 schrieb Simon Glass: From: Sean Paul Add get and set gp

Re: [PATCH] Documentation: Move common leds properties description to separate file.

2012-11-15 Thread Stephen Warren
On 11/15/2012 02:51 PM, Marek Belisko wrote: A commit description might be nice. Aside from that, Reviewed-by: Stephen Warren ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Stephen Warren
On 11/15/2012 02:28 PM, Thierry Reding wrote: > This third version of the patch series cleans up some minor issues that > were found in the previous versions, such as deferred probe not working > properly and the display remaining enabled after the driver is removed. > > I've also put the two patc

Re: [PATCH 0/7] core, cpu and gated clocks for mvebu

2012-11-15 Thread Thomas Petazzoni
Dear Andrew Lunn, On Thu, 15 Nov 2012 22:28:19 +0100, Andrew Lunn wrote: > This patchset combines code from Gregory Clement, Sebastian > Hesselbarth and myself to implement core clks, cpu clock and gated > clocks on Marvel MVEBU SoCs. > > The Armada 370/XP core clock code is a refactored version

Re: [PATCH 6/7] ARM: dove: switch to DT clock providers

2012-11-15 Thread Thomas Petazzoni
Dear Andrew Lunn, On Thu, 15 Nov 2012 22:28:25 +0100, Andrew Lunn wrote: > + core_clk: core-clocks@d0214 { > + compatible = "marvell,dove-core-clocks"; > + reg = <0xd0214 0x4>; > + #clock-cells = <1>; > + }; > + >

[PATCH] Documentation: Move common leds properties description to separate file.

2012-11-15 Thread Marek Belisko
Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/gpio/led.txt| 14 Documentation/devicetree/bindings/leds/common.txt | 24 + 2 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/com

Re: [PATCH 4/7] clocksource: time-armada-370-xp converted to clk framework

2012-11-15 Thread Thomas Petazzoni
Dear Andrew Lunn, Title should be "clocksource: convert time-armada-370-xp to the clk framework". On Thu, 15 Nov 2012 22:28:23 +0100, Andrew Lunn wrote: > diff --git a/drivers/clocksource/time-armada-370-xp.c > b/drivers/clocksource/time-armada-370-xp.c > index 4674f94..a4605fd 100644 > --- a/d

Re: [PATCH 3/7] clk: armada-370-xp: add support for clock framework

2012-11-15 Thread Thomas Petazzoni
Dear Andrew Lunn, On Thu, 15 Nov 2012 22:28:22 +0100, Andrew Lunn wrote: > diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig > index 416d46e..e5f0ae2 100644 > --- a/arch/arm/mach-mvebu/Kconfig > +++ b/arch/arm/mach-mvebu/Kconfig > @@ -9,11 +9,17 @@ config ARCH_MVEBU > s

Re: [PATCH 2/7] clk: mvebu: add armada-370-xp CPU specific clocks

2012-11-15 Thread Thomas Petazzoni
Dear Andrew Lunn, On Thu, 15 Nov 2012 22:28:21 +0100, Andrew Lunn wrote: > From: Gregory CLEMENT > > Add Armada 370/XP specific CPU clocks > > Signed-off-by: Gregory CLEMENT > --- > .../devicetree/bindings/clock/mvebu-core-clock.txt | 18 +-- The changes to this file. > .../devicetree/bin

[PATCH 7/7] ARM: Kirkwood: switch to DT clock providers

2012-11-15 Thread Andrew Lunn
With true DT clock providers available switch Kirkwood clock setup in DT- enabled boards. While AUXDATA can be removed completely from bus probing, some devices still don't know about DT. Therefore, some clkdev aliases are created until these devices also move to DT. Signed-off-by: Andrew Lunn --

[PATCH 6/7] ARM: dove: switch to DT clock providers

2012-11-15 Thread Andrew Lunn
From: Sebastian Hesselbarth With true DT clock providers available switch Dove clock setup in DT- enabled boards. While AUXDATA can be removed completely from bus probing, some devices still don't know about DT at all. Therefore, some clock aliases are created until the devices also move to DT.

[PATCH 5/7] clk: mvebu: add clock gating control provider for DT

2012-11-15 Thread Andrew Lunn
From: Sebastian Hesselbarth This driver allows to provide DT clocks for clock gates found on Marvell Dove and Kirkwood SoCs. The clock gates are referenced by the phandle index of the corresponding bit in the clock gating control register to ease lookup in the datasheet. Signed-off-by: Sebastian

[PATCH 4/7] clocksource: time-armada-370-xp converted to clk framework

2012-11-15 Thread Andrew Lunn
From: Gregory CLEMENT Signed-off-by: Gregory CLEMENT cc: John Stultz --- arch/arm/boot/dts/armada-370-db.dts |4 arch/arm/boot/dts/armada-370-xp.dtsi |1 + drivers/clocksource/time-armada-370-xp.c | 11 ++- 3 files changed, 7 insertions(+), 9 deletions(-) diff

[PATCH 1/7] clk: mvebu: add mvebu core clocks.

2012-11-15 Thread Andrew Lunn
From: Sebastian Hesselbarth This driver allows to provide DT clocks for core clocks found on Marvell Kirkwood, Dove & 370/XP SoCs. The core clock frequencies and ratios are determined by decoding the Sample-At-Reset registers. Although technically correct, using a divider of 0 will lead to div_b

[PATCH 3/7] clk: armada-370-xp: add support for clock framework

2012-11-15 Thread Andrew Lunn
From: Gregory CLEMENT Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-370.dtsi |7 ++ arch/arm/boot/dts/armada-xp.dtsi| 42 +++ arch/arm/mach-mvebu/Kconfig |6 + arch/arm/mach-mvebu/armada-370-xp.c |9 +++- 4 fi

[PATCH 2/7] clk: mvebu: add armada-370-xp CPU specific clocks

2012-11-15 Thread Andrew Lunn
From: Gregory CLEMENT Add Armada 370/XP specific CPU clocks Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/clock/mvebu-core-clock.txt | 18 +-- .../devicetree/bindings/clock/mvebu-cpu-clock.txt | 21 +++ drivers/clk/mvebu/Kconfig |3 + drivers/clk/

[PATCH 0/7] core, cpu and gated clocks for mvebu

2012-11-15 Thread Andrew Lunn
This patchset combines code from Gregory Clement, Sebastian Hesselbarth and myself to implement core clks, cpu clock and gated clocks on Marvel MVEBU SoCs. The Armada 370/XP core clock code is a refactored version of the already submitted and ACKed code from Gregory. It has been made to fit inside

[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Thierry Reding
This third version of the patch series cleans up some minor issues that were found in the previous versions, such as deferred probe not working properly and the display remaining enabled after the driver is removed. I've also put the two patches in this series into the tegra/drm/for-3.8 branch of

Re: [PATCH v9] can: grcan: Add device driver for GRCAN and GRHCAN cores

2012-11-15 Thread Marc Kleine-Budde
On 11/15/2012 08:47 AM, Andreas Larsson wrote: > This driver supports GRCAN and CRHCAN CAN controllers available in the GRLIB > VHDL IP core library. > > Signed-off-by: Andreas Larsson > Acked-by: Wolfgang Grandegger Applied to can-next/master - and included in the pull-reqeust I just sent to D

[PATCH 1/1 v2] of_spi: add generic binding support to specify cs gpio

2012-11-15 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to use gpio for chip select with no modification in the driver binding When use the cs-gpios, the gpio number will be passed via the cs_gpio field and the number of chip select will automatically increased with max(hw cs, gpio cs). So if for example the controller has 2 CS lines,

Re: [PATCH 01/14] pinctrl: SPEAr: add spi chipselect control driver

2012-11-15 Thread Linus Walleij
On Thu, Nov 15, 2012 at 3:19 PM, Viresh Kumar wrote: > On 15 November 2012 19:47, Linus Walleij wrote: >> Just one question: since this driver is not using any >> pinctrl interfaces, why is it under drivers/pinctrl/*? >> >> Shouldn't it be under drivers/gpio from a technical >> point of view? >>

Re: [PATCH v10 1/6] video: add display_timing and videomode

2012-11-15 Thread Laurent Pinchart
On Thursday 15 November 2012 18:03:59 Grant Likely wrote: > On Thu, 15 Nov 2012 17:00:57 +0100, Laurent Pinchart wrote: > > On Thursday 15 November 2012 15:47:53 Grant Likely wrote: > > > On Thu, 15 Nov 2012 10:23:52 +0100, Steffen Trumtrar wrote: > > > > Add display_timing structure and the accord

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-15 Thread Jamie Lentin
On Thu, 15 Nov 2012, Grant Likely wrote: On Sun, 11 Nov 2012 17:21:29 +0100, Andrew Lunn wrote: From: Jamie Lentin Given appropriate devicetree bindings, this driver registers a pm_power_off function to set a GPIO line high/low to power down your board. Signed-off-by: Jamie Lentin Signed-o

Re: [RFC PATCH 3.7.0-rc2] dt/platform: insert resources correctly into resource tree

2012-11-15 Thread Srinivas KANDAGATLA
On 15/11/12 13:11, Grant Likely wrote: > On Fri, 2 Nov 2012 10:46:19 +, Srinivas KANDAGATLA > wrote: >> From: Srinivas Kandagatla >> >> This patch add new code to correctly add resources into platform device. >> Issue with the existing code was the resources are added as flat entry >> witho

Re: [PATCH V5 1/2] kbuild: centralize .dts->.dtb rule

2012-11-15 Thread Stephen Warren
On 11/15/2012 11:20 AM, Grant Likely wrote: > On Thu, Nov 15, 2012 at 6:09 PM, Stephen Warren wrote: >> On 11/15/2012 04:51 AM, Grant Likely wrote: >>> Grant Likely wrote: Or how about: I could pick up the patch with only the MIPS hunk and every other user can be fixed up independently t

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-15 Thread Grant Likely
On Thu, Nov 15, 2012 at 6:11 PM, Jamie Lentin wrote: > On Thu, 15 Nov 2012, Grant Likely wrote: > >> On Sun, 11 Nov 2012 17:21:29 +0100, Andrew Lunn wrote: >>> >>> From: Jamie Lentin >>> >>> Given appropriate devicetree bindings, this driver registers a >>> pm_power_off function to set a GPIO li

Re: [PATCH V5 1/2] kbuild: centralize .dts->.dtb rule

2012-11-15 Thread Grant Likely
On Thu, Nov 15, 2012 at 6:09 PM, Stephen Warren wrote: > On 11/15/2012 04:51 AM, Grant Likely wrote: >> Grant Likely wrote: >>> Or how about: I could pick up the patch with only the MIPS hunk and >>> every other user can be fixed up independently to use the new rule. >> >> Here's a trial patch to

Re: [PATCH v3 2/2] Add documentation for tca6507 devicetree bindings.

2012-11-15 Thread Grant Likely
On Mon, 12 Nov 2012 22:25:11 +0100, Marek Belisko wrote: > Signed-off-by: Marek Belisko > --- > Documentation/devicetree/bindings/leds/tca6507.txt | 40 > > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/tca6507.txt > > dif

Re: [PATCH V5 1/2] kbuild: centralize .dts->.dtb rule

2012-11-15 Thread Stephen Warren
On 11/15/2012 04:51 AM, Grant Likely wrote: > Grant Likely wrote: >> Or how about: I could pick up the patch with only the MIPS hunk and >> every other user can be fixed up independently to use the new rule. > > Here's a trial patch to fix up ARM. Does this look correct? This patch > depends on th

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-15 Thread Grant Likely
On Sun, 11 Nov 2012 17:21:29 +0100, Andrew Lunn wrote: > From: Jamie Lentin > > Given appropriate devicetree bindings, this driver registers a > pm_power_off function to set a GPIO line high/low to power down > your board. > > Signed-off-by: Jamie Lentin > Signed-off-by: Andrew Lunn > --- >

Re: [PATCH v10 1/6] video: add display_timing and videomode

2012-11-15 Thread Grant Likely
On Thu, 15 Nov 2012 17:00:57 +0100, Laurent Pinchart wrote: > Hi Grant, > > On Thursday 15 November 2012 15:47:53 Grant Likely wrote: > > On Thu, 15 Nov 2012 10:23:52 +0100, Steffen Trumtrar wrote: > > > Add display_timing structure and the according helper functions. This > > > allows the descr

Re: [PATCH 1/3] gpio: Add simple poweroff-gpio driver

2012-11-15 Thread Stephen Warren
On 11/15/2012 03:59 AM, Anton Vorontsov wrote: > On Thu, Nov 15, 2012 at 11:35:36AM +0100, Linus Walleij wrote: >> On Mon, Nov 12, 2012 at 7:58 PM, Stephen Warren >> wrote: >>> On 11/12/2012 11:43 AM, Anton Vorontsov wrote: >> Should the gpio driver fix its bindings then?.. Polarity is a qui

Re: [PATCH V2 1/5] arm: mvebu: Added support for coherency fabric in mach-mvebu

2012-11-15 Thread Gregory CLEMENT
On 11/15/2012 05:21 PM, Will Deacon wrote: > Hi Gregory, > > On Thu, Nov 15, 2012 at 03:54:39PM +, Gregory CLEMENT wrote: >> On 11/15/2012 11:17 AM, Will Deacon wrote: >>> Interesting, thanks for asking them about this. Does this mean that: >> >> Here come the answers to your new questions >

Re: [PATCH V2 1/5] arm: mvebu: Added support for coherency fabric in mach-mvebu

2012-11-15 Thread Gregory CLEMENT
On 11/15/2012 11:17 AM, Will Deacon wrote: > On Wed, Nov 14, 2012 at 08:00:32PM +, Gregory CLEMENT wrote: >> On 11/13/2012 11:43 AM, Will Deacon wrote: >>> On Mon, Nov 12, 2012 at 08:21:07PM +, Gregory CLEMENT wrote: On 11/05/2012 03:02 PM, Will Deacon wrote: > These writels may ex

Re: [RESEND PATCH] mtd: davinci: add support for parition binding nodes

2012-11-15 Thread Artem Bityutskiy
On Fri, 2012-11-02 at 10:22 -0400, Murali Karicheri wrote: > Enhance the driver to support partition subnodes inside the nand > device bindings to describe partions on the nand device. > > Signed-off-by: Murali Karicheri Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy signatu

Re: [PATCH v5 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-15 Thread Philipp Zabel
Hi Paul, Am Freitag, den 26.10.2012, 15:46 -0400 schrieb Paul Gortmaker: > On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel > wrote: > > This patch keeps all created pools in a global list and adds two > > functions that allow to retrieve the gen_pool pointer from a known > > physical address an

Re: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-11-15 Thread Artem Bityutskiy
On Wed, 2012-10-31 at 12:38 +0530, Philip, Avinash wrote: > Support to use ELM as BCH 4 & 8 bit error correction module. Also performance > enhancement by adding single shot read_page and write_page functions for the > nand flashes with page size less than 4 KB. > > ELM module can be used to corre

[PATCH 28/29] mv_xor: add Device Tree binding

2012-11-15 Thread Thomas Petazzoni
Signed-off-by: Thomas Petazzoni Cc: devicetree-discuss@lists.ozlabs.org --- Documentation/devicetree/bindings/dma/mv-xor.txt | 40 +++ drivers/dma/mv_xor.c | 57 -- 2 files changed, 93 insertions(+), 4 deletions(-) create mode 10064

Re: [PATCH V2 1/5] arm: mvebu: Added support for coherency fabric in mach-mvebu

2012-11-15 Thread Will Deacon
Hi Gregory, On Thu, Nov 15, 2012 at 03:54:39PM +, Gregory CLEMENT wrote: > On 11/15/2012 11:17 AM, Will Deacon wrote: > > Interesting, thanks for asking them about this. Does this mean that: > > Here come the answers to your new questions Great, thanks for the quick turn-around! > > 1.

Re: [PATCH 6/6] usb: chipidea: usbmisc: add post handling and errata fix for mx25

2012-11-15 Thread Martin Fuzzey
> This is because that series is based on Peter Chen's work. I should have > mentioned this in the cover-letter mail. You can merge his master branch > before adding my series: Ok thanks for the very rapid reply. I've now built this together with patch 2 "ci13xxx_imx: add 2nd and 3rd clock to sup

Re: [PATCH v5 4/4] misc: sram: add support for configurable allocation order

2012-11-15 Thread Philipp Zabel
Am Mittwoch, den 14.11.2012, 19:15 + schrieb Grant Likely: > On Thu, 18 Oct 2012 16:27:33 +0200, Philipp Zabel > wrote: > > From: Matt Porter > > > > Adds support for setting the genalloc pool's minimum allocation > > order via DT or platform data. The allocation order is optional > > for b

Re: [PATCH V2 1/5] arm: mvebu: Added support for coherency fabric in mach-mvebu

2012-11-15 Thread Will Deacon
On Wed, Nov 14, 2012 at 08:00:32PM +, Gregory CLEMENT wrote: > On 11/13/2012 11:43 AM, Will Deacon wrote: > > On Mon, Nov 12, 2012 at 08:21:07PM +, Gregory CLEMENT wrote: > >> On 11/05/2012 03:02 PM, Will Deacon wrote: > >>> These writels may expand to code containing calls to outer_sync(),

Re: [PATCH 6/6] usb: chipidea: usbmisc: add post handling and errata fix for mx25

2012-11-15 Thread Martin Fuzzey
Hi, On Wed, Nov 14, 2012 at 12:55 PM, Michael Grzeschik wrote: > @@ -213,6 +216,15 @@ static int __devinit ci13xxx_imx_probe(struct > platform_device *pdev) > goto put_np; > } > > + if (usbmisc_ops && usbmisc_ops->post) { > + ret = usbmisc_ops->post(&p

Re: [PATCH 02/14] ARM: SPEAr13xx: DT: Add spics gpio controller nodes

2012-11-15 Thread Linus Walleij
On Thu, Nov 15, 2012 at 3:08 PM, Viresh Kumar wrote: > On 15 November 2012 19:36, Linus Walleij wrote: >> I seldom comment on individual DT bindings, I just want >> to know that they're there :-) > > Its not that simple. You are required to Ack it, as we have added it in > drivers/pinctrl/spear

Re: [PATCH 3.7.0-rc4] of/net/mdio-gpio: Fix pdev->id issue when using devicetrees.

2012-11-15 Thread Grant Likely
On Tue, 13 Nov 2012 14:26:13 +, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > When the mdio-gpio driver is probed via device trees, the platform > device id is set as -1, However the id is re-used in the code while > creating an mdio bus. > So, setting up the id via aliases fro

Re: [PATCH] of_i2c: I2C child node 10-bit client addressing

2012-11-15 Thread Grant Likely
On Thu, Nov 15, 2012 at 9:35 AM, wrote: > From: Bharat Kumar Reddy > > I2C clients which has 10 bit address, struct i2c_board_info, > member "flags = I2C_CLIENT_TEN" is needed. > > Signed-off-by: Bharat Kumar Reddy Did you see my questions from yesterday? g. > > diff --git a/drivers/of/of_i2

Re: [PATCH v5 4/4] misc: sram: add support for configurable allocation order

2012-11-15 Thread Grant Likely
On Thu, 15 Nov 2012 14:11:35 +0100, Philipp Zabel wrote: > Am Mittwoch, den 14.11.2012, 19:15 + schrieb Grant Likely: > > On Thu, 18 Oct 2012 16:27:33 +0200, Philipp Zabel > > wrote: > > > From: Matt Porter > > > > > > Adds support for setting the genalloc pool's minimum allocation > > >

Re: [PATCH 02/16] of_spi: add generic binding support to specify cs gpio

2012-11-15 Thread Grant Likely
On Wed, 10 Oct 2012 14:27:20 +0800, Wenyou Yang wrote: > From: Jean-Christophe PLAGNIOL-VILLARD > > This will allow to use gpio for chip select with no modification in the > driver binding > > When use the cs-gpios, the gpio number will be passed via the cs_gpio field > and the number of chip s

Re: [PATCH v6 2/2] i2c: i2c-ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg functions

2012-11-15 Thread Peter Korsgaard
> "Andreas" == Andreas Larsson writes: Andreas> The registers in the GRLIB port of the controller are 32-bit Andreas> and in big endian byte order. The PRELOW and PREHIGH registers Andreas> are merged into one register. The subsequent registers have Andreas> their offset decreased accordi

Re: [PATCH] spi: Export OF interfaces.

2012-11-15 Thread Grant Likely
On Wed, 31 Oct 2012 17:57:33 +0200, Pantelis Antoniou wrote: > Export an interface that other in-kernel users can utilize. > > Signed-off-by: Pantelis Antoniou I'm not going to apply this before an in-kernel user exists for this. I know it's part of the whole runtime population of the device t

Re: [PATCH] arm-dt: Enable DT proc updates.

2012-11-15 Thread Grant Likely
On Wed, 31 Oct 2012 21:04:24 -0500, Rob Herring wrote: > On 10/31/2012 10:57 AM, Pantelis Antoniou wrote: > > This simple patch enables dynamic changes of the DT tree on runtime > > to be visible to the device-tree proc interface. > > > > Signed-off-by: Pantelis Antoniou > > Acked-by: Rob Herri

Re: [PATCH] backlight: Add of_find_backlight_by_node() function

2012-11-15 Thread Grant Likely
On Wed, 7 Nov 2012 23:08:39 +0100, Thierry Reding wrote: > This function finds the struct backlight_device for a given device tree > node. A dummy function is provided so that it safely compiles out if OF > support is disabled. > > Signed-off-by: Thierry Reding Looks okay to me. Reviewed-by:

Re: [linux-keystone] [PATCH] spi: davinci: add OF support for the spi controller

2012-11-15 Thread Grant Likely
On Mon, 12 Nov 2012 16:28:22 -0500, Murali Karicheri wrote: > This adds OF support to DaVinci SPI controller to configure platform > data through device bindings. > > Signed-off-by: Murali Karicheri Hi Murali, Comments below... > --- > .../devicetree/bindings/spi/spi-davinci.txt|

Re: [PATCH] dt: platform: Extract device name from device tree blob

2012-11-15 Thread Per Förlin
On 11/15/2012 04:52 PM, Grant Likely wrote: > On Mon, 12 Nov 2012 23:54:40 +0100, Per Förlin > wrote: >> On 11/12/2012 04:20 PM, Grant Likely wrote: >>> On Mon, Nov 12, 2012 at 2:59 PM, Per Forlin >>> wrote: Add support to extract device name from device tree blob. If the property "d

Re: [RFC] dt/platform: Use cell-index for device naming if available

2012-11-15 Thread Grant Likely
On Mon, 12 Nov 2012 18:48:43 -0800, Stepan Moskovchenko wrote: > On 11/11/2012 5:45 PM, Stepan Moskovchenko wrote: > > > >> On Sun, Nov 11, 2012 at 2:32 AM, Rob Herring > >> wrote: > >>> On 11/09/2012 06:48 PM, Stepan Moskovchenko wrote: > Use the cell-index property to construct names for

Re: [PATCH 1/1] mtd: physmap_of: allow to specify the mtd name for retro compatiblity

2012-11-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:19 Thu 15 Nov , Grant Likely wrote: > On Sun, 4 Nov 2012 21:57:21 +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > linux,mtd-name allow to specify the mtd name for retro capability with > > physmap-flash drivers as boot loader pass the mtd partition via the old > > device name phys

Re: [PATCH v10 1/6] video: add display_timing and videomode

2012-11-15 Thread Laurent Pinchart
Hi Grant, On Thursday 15 November 2012 15:47:53 Grant Likely wrote: > On Thu, 15 Nov 2012 10:23:52 +0100, Steffen Trumtrar wrote: > > Add display_timing structure and the according helper functions. This > > allows the description of a display via its supported timing parameters. > > > > Every ti

Re: [PATCH] bindings: i2c: use consistent naming for i2c binding descriptions

2012-11-15 Thread Grant Likely
On Tue, 13 Nov 2012 18:16:43 +0100, Wolfram Sang wrote: > Filenames of devictree binding documentation seems to be arbitrary and > for me it is unneeded hazzle to find the corresponding documentation for > a specific driver. > > Naming the description the same as the driver is a lot easier and ma

[PATCH v6 2/2] i2c: i2c-ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg functions

2012-11-15 Thread Andreas Larsson
The registers in the GRLIB port of the controller are 32-bit and in big endian byte order. The PRELOW and PREHIGH registers are merged into one register. The subsequent registers have their offset decreased accordingly. Hence the register access needs to be handled in a non-standard manner using cu

[PATCH v6 1/2] i2c: i2c-ocores: Add irq support for sparc

2012-11-15 Thread Andreas Larsson
Add sparc support by using platform_get_irq instead of platform_get_resource. There are no platform resources of type IORESOURCE_IRQ for sparc, but platform_get_irq works for sparc. In the non-sparc case platform_get_irq internally uses platform_get_resource. Signed-off-by: Andreas Larsson Acked-

[PATCH v6 0/2] i2c: i2c-ocores: Add support for sparc, custom set and get functions, and the GRLIB port of the controller

2012-11-15 Thread Andreas Larsson
On sparc, irqs are not present as an IORESOURCE in the struct platform_device representation. By using platform_get_irq instead of platform_get_resource the driver works for sparc. The GRLIB port of the ocores i2c controller needs custom getreg and setreg functions to allow for big endian register

Re: [PATCH] dt: platform: Extract device name from device tree blob

2012-11-15 Thread Grant Likely
On Mon, 12 Nov 2012 23:54:40 +0100, Per Förlin wrote: > On 11/12/2012 04:20 PM, Grant Likely wrote: > > On Mon, Nov 12, 2012 at 2:59 PM, Per Forlin > > wrote: > >> Add support to extract device name from device tree blob. > >> If the property "dev-name" is set in the DTS this name will > >> be

Re: [PATCH v10 1/6] video: add display_timing and videomode

2012-11-15 Thread Grant Likely
On Thu, 15 Nov 2012 10:23:52 +0100, Steffen Trumtrar wrote: > Add display_timing structure and the according helper functions. This allows > the description of a display via its supported timing parameters. > > Every timing parameter can be specified as a single value or a range > . > > Also, a

Re: [PATCH v5 2/2] i2c: i2c-ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg functions

2012-11-15 Thread Peter Korsgaard
> "Andreas" == Andreas Larsson writes: Andreas> The registers in the GRLIB port of the controller are 32-bit Andreas> and in big endian byte order. The PRELOW and PREHIGH registers Andreas> are merged into one register. The subsequent registers have Andreas> their offset decreased accordi

Re: [PATCH v3 1/5] ARM: kernel: smp_setup_processor_id() updates

2012-11-15 Thread Lorenzo Pieralisi
[CC'ed Vincent following MPIDR mask query] On Thu, Nov 15, 2012 at 01:49:51PM +, Will Deacon wrote: > On Thu, Nov 15, 2012 at 12:46:50PM +, Lorenzo Pieralisi wrote: > > This patch applies some basic changes to the smp_setup_processor_id() > > ARM implementation to make the code that builds

  1   2   3   >