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

2012-11-20 Thread Andrew Morton
On Fri, 16 Nov 2012 11:30:14 +0100 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 and from a device tree node. > > ... > > +/* > + * gen_pool_find_by_phys - find a pool

Re: [PATCH v12 0/6] of: add display helper

2012-11-20 Thread Steffen Trumtrar
On Tue, Nov 20, 2012 at 05:13:19PM +0100, Laurent Pinchart wrote: > On Tuesday 20 November 2012 16:54:50 Steffen Trumtrar wrote: > > Hi! > > > > Changes since v11: > > - make pointers const where applicable > > - add reviewed-by Laurent Pinchart > > Looks good to me. > > Acked-by: Lauren

[PATCH v3] pwm: Device tree support for PWM polarity.

2012-11-20 Thread Philip, Avinash
Add support for encoding PWM properties in bit encoded form with of_pwm_xlate_with_flags() function support. Platforms require platform specific PWM properties has to populate in 3rd cell of the pwm-specifier and PWM driver should also set .of_xlate support with this function. Currently PWM propert

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

2012-11-20 Thread Philip, Avinash
On Mon, Nov 19, 2012 at 18:13:56, Philip, Avinash wrote: > > On Thu, Nov 15, 2012 at 16:52:14, Artem Bityutskiy wrote: > > 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 addin

Re: [PATCH RESEND v6] Input: matrix-keypad - Add device tree support

2012-11-20 Thread Dmitry Torokhov
On Wed, Nov 21, 2012 at 06:45:45AM +, AnilKumar, Chimata wrote: > On Thu, Nov 15, 2012 at 19:43:08, AnilKumar, Chimata wrote: > > Add device tree support to matrix keypad driver and usage details > > are added to device tree documentation. Also modified the driver > > according to recent update

RE: [PATCH RESEND v6] Input: matrix-keypad - Add device tree support

2012-11-20 Thread AnilKumar, Chimata
On Thu, Nov 15, 2012 at 19:43:08, AnilKumar, Chimata wrote: > Add device tree support to matrix keypad driver and usage details > are added to device tree documentation. Also modified the driver > according to recent update of matrix_keypad_build_keymap(), which > automatically allocate memory for

RE: [PATCH 3/3] ARM: dts: AM33XX: Add memory resource to d_can node

2012-11-20 Thread AnilKumar, Chimata
On Tue, Nov 20, 2012 at 15:56:32, Marc Kleine-Budde wrote: > On 11/20/2012 11:23 AM, AnilKumar, Chimata wrote: > > On Tue, Nov 20, 2012 at 15:43:04, Marc Kleine-Budde wrote: > >> On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > >>> Add a new address space/memory resource to d_can device tree node. D_C

[PATCH v2] can: c_can: Add d_can raminit support

2012-11-20 Thread AnilKumar Ch
Add D_CAN raminit support to C_CAN driver to enable D_CAN RAM, which holds all the message objects during transmission or receiving of data. This initialization/de-initialization should be done in synchronous with D_CAN clock. In case of AM335X-EVM (current user of D_CAN driver) message RAM is con

RE: [PATCH v2] pwm: Device tree support for PWM polarity.

2012-11-20 Thread Philip, Avinash
On Tue, Nov 20, 2012 at 20:37:55, Thierry Reding wrote: > On Mon, Nov 19, 2012 at 11:21:12PM +0530, Philip, Avinash wrote: > [...] > > diff --git a/include/linux/pwm.h b/include/linux/pwm.h > > index 112b314..70756f2 100644 > > --- a/include/linux/pwm.h > > +++ b/include/linux/pwm.h > > @@ -78,6 +7

Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays

2012-11-20 Thread Rob Herring
On 11/19/2012 10:45 PM, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > This expects arrays from DT to be passed as: > - u8 array: > property = /bits/ 8 <0x50

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-20 Thread Alex Courbot
Hi Grant, On Wednesday 21 November 2012 05:54:29 Grant Likely wrote: > > With the advent of the device tree and of ARM kernels that are not > > board-tied, we cannot rely on these board-specific hooks anymore but > > This isn't strictly true. It is still perfectly fine to have board > specific co

Re: [Resend PATCH v6 1/4] pinctrl: atmel-ssc: add pinctrl support

2012-11-20 Thread Mark Brown
On Wed, Nov 21, 2012 at 10:17:09AM +0800, Bo Shen wrote: > Add pinctrl support for atmel ssc peripheral > > Signed-off-by: Bo Shen Acked-by: Mark Brown signature.asc Description: Digital signature ___ devicetree-discuss mailing list devicetree-discu

[Resend PATCH v6 1/4] pinctrl: atmel-ssc: add pinctrl support

2012-11-20 Thread Bo Shen
Add pinctrl support for atmel ssc peripheral Signed-off-by: Bo Shen --- Resend - based on linux-next-20121115 - commit id: 3805711eb31d3b980c4a55a6994bbc8b22a9ec65 Change since v5 - correct the pull setting, without pull up Change since v4 - This is initial version --- arch/arm/boot/dts/

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-20 Thread Alex Courbot
Hi Tomi, On Tuesday 20 November 2012 22:48:18 Tomi Valkeinen wrote: > I guess there's a reason, but the above looks a bit inconsistent. For > gpio you define the gpio resource inside the step. For power and pwm the > resource is defined before the steps. Why wouldn't "pwm = <&pwm 2 > 500>;" wo

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

2012-11-20 Thread Mark Brown
On Wed, Nov 21, 2012 at 09:43:33AM +0800, Bo Shen wrote: > So, should I keep these two patches [1] and [2] and then send to > pinctrl again, or I need keep it in one patch as [3] which i sent > first. Please send something coherent which can be applied without breaking the branch it is applied to

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

2012-11-20 Thread Bo Shen
Hi Mark, On 11/20/2012 18:27, Mark Brown wrote: On Tue, Nov 20, 2012 at 05:31:22PM +0800, Bo Shen wrote: based on ASoC tree? And the upper go into pinctrl tree? ---<8--- ssc0: ssc@fffbc000 { compatible = "atmel,at91rm9200-ssc"; reg = <0xfffbc000 0x4000>; interrupts = <14

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-20 Thread Mark Brown
On Tue, Nov 20, 2012 at 09:54:29PM +, Grant Likely wrote: > On Sat, 17 Nov 2012 19:55:45 +0900, Alexandre Courbot > wrote: > > With the advent of the device tree and of ARM kernels that are not > > board-tied, we cannot rely on these board-specific hooks anymore but > This isn't strictly tr

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

2012-11-20 Thread Stephen Warren
On 11/20/2012 03:05 PM, Andrew Lunn wrote: > On Tue, Nov 20, 2012 at 02:17:24PM -0700, Stephen Warren wrote: >> On 11/20/2012 01:31 PM, Andrew Lunn wrote: >>> On Tue, Nov 20, 2012 at 10:11:18AM -0700, Stephen Warren wrote: On 11/20/2012 01:37 AM, Andrew Lunn wrote: > Hi Jason > > T

Re: Device tree node to major/minor?

2012-11-20 Thread Simon Glass
Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely wrote: > On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: >> Hi, >> >> I hope this is a stupid question with an easy answer, but I cannot find it. >> >> I have a device tree node for an mmc block device and I want to use >> that block d

Re: Device tree node to major/minor?

2012-11-20 Thread Grant Likely
On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: > Hi, > > I hope this is a stupid question with an easy answer, but I cannot find it. > > I have a device tree node for an mmc block device and I want to use > that block device from another driver. I have a phandle which lets me > get the node

Device tree node to major/minor?

2012-11-20 Thread Simon Glass
Hi, I hope this is a stupid question with an easy answer, but I cannot find it. I have a device tree node for an mmc block device and I want to use that block device from another driver. I have a phandle which lets me get the node of the mmc device, but I am not sure how to convert that into a bl

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

2012-11-20 Thread Andrew Lunn
On Tue, Nov 20, 2012 at 02:17:24PM -0700, Stephen Warren wrote: > On 11/20/2012 01:31 PM, Andrew Lunn wrote: > > On Tue, Nov 20, 2012 at 10:11:18AM -0700, Stephen Warren wrote: > >> On 11/20/2012 01:37 AM, Andrew Lunn wrote: > >>> Hi Jason > >>> > >>> These are good comments from Stephan that i wan

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

2012-11-20 Thread Grant Likely
On Thu, 15 Nov 2012 11:31:38 -0700, Stephen Warren wrote: > 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 o

Re: [PATCHv9 0/3] Runtime Interpreted Power Sequences

2012-11-20 Thread Grant Likely
On Sat, 17 Nov 2012 19:55:44 +0900, Alexandre Courbot wrote: > Apologies for sending two patchsets in two days - the main purpose > of this new revision is to add the linux-arm-kernel list to the > audience. A few suggestions from v8 have also been added. Just to be clear from my previous reply,

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-20 Thread Grant Likely
On Sat, 17 Nov 2012 19:55:45 +0900, Alexandre Courbot wrote: > Some device drivers (e.g. panel or backlights) need to follow precise > sequences for powering on and off, involving GPIOs, regulators, PWMs > and other power-related resources, with a defined powering order and > delays to respect be

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

2012-11-20 Thread Stephen Warren
On 11/20/2012 01:31 PM, Andrew Lunn wrote: > On Tue, Nov 20, 2012 at 10:11:18AM -0700, Stephen Warren wrote: >> On 11/20/2012 01:37 AM, Andrew Lunn wrote: >>> Hi Jason >>> >>> These are good comments from Stephan that i want to address. However, >>> i also don't want to delay the pull-requests dire

[PATCH V5 3/5] arm: mvebu: Added IPI support via doorbells

2012-11-20 Thread Gregory CLEMENT
From: Yehuda Yitschak Signed-off-by: Yehuda Yitschak Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/arm/armada-370-xp-mpic.txt | 12 ++- arch/arm/boot/dts/armada-xp.dtsi |2 +- arch/arm/mach-mvebu/armada-370-xp.h|7 ++ arch/arm/mach-mvebu

[PATCH V5 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Gregory CLEMENT
From: Yehuda Yitschak 1. added smp init functions in platsmp.c 2. added secondary cpu entry point in headsmp.S 3. added hotplog initial support in hotplug.c 4. added SMP support for PJ4B cpu Signed-off-by: Yehuda Yitschak Signed-off-by: Gregory CLEMENT --- arch/arm/configs/mvebu_defconfig

[PATCH V5 4/5] arm: mm: Added support for PJ4B cpu and init routines

2012-11-20 Thread Gregory CLEMENT
From: Yehuda Yitschak Signed-off-by: Yehuda Yitschak Signed-off-by: Gregory CLEMENT Reviewed-by: Will Deacon Acked-by: Catalin Marinas --- arch/arm/mach-mvebu/Kconfig |2 +- arch/arm/mm/Kconfig |4 +++ arch/arm/mm/proc-v7.S | 66 +++

[PATCH V5 2/5] arm: mvebu: Added initial support for power managmement service unit

2012-11-20 Thread Gregory CLEMENT
From: Yehuda Yitschak Signed-off-by: Yehuda Yitschak Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/arm/armada-370-xp-pmsu.txt | 20 ++ arch/arm/boot/dts/armada-xp.dtsi |6 ++ arch/arm/mach-mvebu/Makefile |2 +- arch/arm/mach-mv

[PATCH V5 0/5] SMP support for Armada XP

2012-11-20 Thread Gregory CLEMENT
Hello, This version fixed a bug introduced by the move of set_cpu_coherency in assembly, it also fixed some typo and style issues. The purpose of this patch set is to add the SMP support for the Armada XP SoCs. Beside the SMP support itself brought by the last 3 patches, this patch set also adds

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

2012-11-20 Thread Gregory CLEMENT
From: Yehuda Yitschak Signed-off-by: Yehuda Yitschak Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/arm/coherency-fabric.txt | 16 arch/arm/boot/dts/armada-370-xp.dtsi |5 ++ arch/arm/mach-mvebu/Makefile |2 +- arch/arm/mach-mveb

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

2012-11-20 Thread Andrew Lunn
On Tue, Nov 20, 2012 at 10:11:18AM -0700, Stephen Warren wrote: > On 11/20/2012 01:37 AM, Andrew Lunn wrote: > > Hi Jason > > > > These are good comments from Stephan that i want to address. However, > > i also don't want to delay the pull-requests direction arm-soc, the > > merge window is gettin

Re: [PATCH v12 0/6] of: add display helper

2012-11-20 Thread Thierry Reding
On Tue, Nov 20, 2012 at 07:11:29PM +0100, Robert Schwebel wrote: > On Tue, Nov 20, 2012 at 05:13:19PM +0100, Laurent Pinchart wrote: > > On Tuesday 20 November 2012 16:54:50 Steffen Trumtrar wrote: > > > Hi! > > > > > > Changes since v11: > > > - make pointers const where applicable > > > - ad

Re: [PATCH v12 0/6] of: add display helper

2012-11-20 Thread Robert Schwebel
On Tue, Nov 20, 2012 at 05:13:19PM +0100, Laurent Pinchart wrote: > On Tuesday 20 November 2012 16:54:50 Steffen Trumtrar wrote: > > Hi! > > > > Changes since v11: > > - make pointers const where applicable > > - add reviewed-by Laurent Pinchart > > Looks good to me. > > Acked-by: Lauren

Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays

2012-11-20 Thread Stephen Warren
On 11/19/2012 09:45 PM, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > This expects arrays from DT to be passed as: > - u8 array: > property = /bits/ 8 <0x50

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

2012-11-20 Thread Stephen Warren
On 11/20/2012 01:37 AM, Andrew Lunn wrote: > Hi Jason > > These are good comments from Stephan that i want to address. However, > i also don't want to delay the pull-requests direction arm-soc, the > merge window is getting close. Both Linus and Anton have Acked the > current version, so please go

Re: [PATCH V4 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Will Deacon
On Tue, Nov 20, 2012 at 05:07:59PM +, Thomas Petazzoni wrote: > Dear Will Deacon, > > On Tue, 20 Nov 2012 17:01:27 +, Will Deacon wrote: > > > > I prefer to keep them separate, as we can use coherency without SMP. > > > That's why I create the coherency_ll.S file instead of putting > > >

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-20 Thread Grant Likely
On Sat, 17 Nov 2012 23:27:18 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 16:23 Fri 09 Nov , Stephen Warren wrote: > > On 11/09/2012 09:28 AM, Grant Likely wrote: > > However, I think the process for an end-user needs to be as simple as > > "drop this .dts/.dtb file into some standard

Re: [PATCH v5 1/8] dt: add helper inline for retrieving timeout-sec property

2012-11-20 Thread Rob Herring
On 11/19/2012 08:10 AM, Fabio Porcedda wrote: > The first user of this function is the watchdog framework. I still have issues with this. In addition to questionable usefulness outside the watchdog framework, I'm not even sure this is right for watchdog framework. Watchdog timeout is not a descrip

Re: [PATCH V4 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Thomas Petazzoni
Dear Will Deacon, On Tue, 20 Nov 2012 17:01:27 +, Will Deacon wrote: > > I prefer to keep them separate, as we can use coherency without SMP. > > That's why I create the coherency_ll.S file instead of putting > > everything in this file. > > Hmm, can you elaborate a bit more on coherency wit

Re: [PATCH V4 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Gregory CLEMENT
On 11/20/2012 06:01 PM, Will Deacon wrote: > On Tue, Nov 20, 2012 at 04:49:29PM +, Gregory CLEMENT wrote: >> On 11/20/2012 05:40 PM, Will Deacon wrote: >>> >>> ENTRY(armada_xp_secondary_startup) >>> ldr r0, =ARMADA_XP_CFB_BASE >>> mrc p15, 0, r1, c0, c0, 5 >>> and r1, r1

Re: [PATCH V4 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Will Deacon
On Tue, Nov 20, 2012 at 04:49:29PM +, Gregory CLEMENT wrote: > On 11/20/2012 05:40 PM, Will Deacon wrote: > > > > ENTRY(armada_xp_secondary_startup) > > ldr r0, =ARMADA_XP_CFB_BASE > > mrc p15, 0, r1, c0, c0, 5 > > and r1, r1, #0xF > > adr lr, BSYM(secondary_sta

Re: [PATCH 1/3] OF: Add helper for matching against linux, stdout-path

2012-11-20 Thread Grant Likely
On Mon, 19 Nov 2012 10:52:02 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 10:31 Thu 15 Nov , Sascha Hauer wrote: > > devicetrees may have a linux,stdout-path property in the chosen > > node describing the console device. This adds a helper function > > to match a device against this pr

Re: [PATCH V4 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Gregory CLEMENT
On 11/20/2012 05:40 PM, Will Deacon wrote: > On Mon, Nov 19, 2012 at 08:35:59PM +, Gregory CLEMENT wrote: >> +/* >> + * Armada XP specific entry point for secondary CPUs. >> + * We add the CPU to the coherency fabric and then jump to secondary >> + * startup >> + */ >> +ENTRY(armada_xp_secondar

Re: [RFC PATCH 3.7.0-rc4 0/4] introduce of_simple_module_id_table macro

2012-11-20 Thread Grant Likely
On Fri, 16 Nov 2012 13:21:08 +, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > This patch series introduces of_simple_module_id_table macro and as an example > uses this macro in 3 files. > > Most of the device tree supported drivers have of_device_id table setup with > single

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

2012-11-20 Thread Gregory CLEMENT
On 11/20/2012 05:32 PM, Will Deacon wrote: > Hi Gregory, > > Thanks for turning this around so quickly! I still have a few comments on > your assembly, but you've got the right idea: I was a little too quick I think: I have just passed a few hours to fix a bug which appeared when I have added the

Re: [PATCH V4 5/5] arm: mvebu: Added SMP support for Armada XP

2012-11-20 Thread Will Deacon
On Mon, Nov 19, 2012 at 08:35:59PM +, Gregory CLEMENT wrote: > +/* > + * Armada XP specific entry point for secondary CPUs. > + * We add the CPU to the coherency fabric and then jump to secondary > + * startup > + */ > +ENTRY(armada_xp_secondary_startup) > + > + /* Read CPU id */ > + mr

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

2012-11-20 Thread Will Deacon
Hi Gregory, Thanks for turning this around so quickly! I still have a few comments on your assembly, but you've got the right idea: On Mon, Nov 19, 2012 at 08:35:55PM +, Gregory CLEMENT wrote: > From: Yehuda Yitschak > > Signed-off-by: Yehuda Yitschak > Signed-off-by: Gregory CLEMENT [..

[PATCH 313/493] mmc: remove use of __devinitdata

2012-11-20 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton Cc: Chris Ball Cc: Grant Likely Cc: Rob Herring Cc: linux-...@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org --- drivers/mmc/host/mmc_spi.c | 2 +- drivers/mmc/host/

[PATCH 296/493] watchdog: remove use of __devinitdata

2012-11-20 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton Cc: Wim Van Sebroeck Cc: Grant Likely Cc: Rob Herring Cc: linux-watch...@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org --- drivers/watchdog/mixcomwd.c | 2 +- driv

[PATCH 306/493] i2c: remove use of __devinitdata

2012-11-20 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton Cc: Jean Delvare Cc: Wolfram Sang Cc: "Ben Dooks " Cc: Grant Likely Cc: Rob Herring Cc: linux-...@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org --- drivers/i2c/buss

[PATCH 322/493] spi: remove use of __devinitdata

2012-11-20 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton Cc: Grant Likely Cc: Rob Herring Cc: spi-devel-gene...@lists.sourceforge.net Cc: devicetree-discuss@lists.ozlabs.org --- drivers/spi/spi-orion.c | 2 +- 1 file changed, 1 insertion

[PATCH 344/493] powerpc: remove use of __devinitdata

2012-11-20 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton Cc: Kumar Gala Cc: Grant Likely Cc: Rob Herring Cc: linuxppc-...@lists.ozlabs.org Cc: devicetree-discuss@lists.ozlabs.org --- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 2 +

Re: [PATCH v2 3/3] ARM: Kirkwood: Convert IB62x0 to use gpio-poweroff.

2012-11-20 Thread Simon Baatz
Hi Andrew, On Tue, Nov 13, 2012 at 04:44:45PM +0100, Andrew Lunn wrote: > Signed-off-by: Andrew Lunn > --- > arch/arm/boot/dts/kirkwood-ib62x0.dts |6 ++ > arch/arm/mach-kirkwood/board-ib62x0.c | 13 - > 2 files changed, 6 insertions(+), 13 deletions(-) > > diff --git a/ar

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

2012-11-20 Thread Simon Baatz
Hi Andrew, On Tue, Nov 13, 2012 at 04:44:43PM +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: Andre

Re: [PATCH 6/9] usb: chipidea: add PTW and PTS handling

2012-11-20 Thread Matthieu CASTET
Alexander Shishkin a écrit : > Michael Grzeschik writes: > >> On Fri, Nov 16, 2012 at 03:34:23PM +0200, Alexander Shishkin wrote: >>> Michael Grzeschik writes: >>> On Fri, Nov 16, 2012 at 02:45:39PM +0200, Alexander Shishkin wrote: > Michael Grzeschik writes: > >> This patch ma

Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays

2012-11-20 Thread Shevchenko, Andriy
On Tue, 2012-11-20 at 10:15 +0530, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > This expects arrays from DT to be passed as: > - u8 array: > property = /bi

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-20 Thread Rajanikanth HV
On 19 November 2012 12:00, Viresh Kumar wrote: > Firstly you tried square braces [ ], I am not sure if that is allowed. > Can you point me to the specification? http://www.devicetree.org/Device_Tree_Usage " a-byte-data-property = [0x01 0x23 0x34 0x56]; " > > And simply passing 0x50, 0x60 etc.. wil

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-20 Thread Rajanikanth HV
On 19 November 2012 09:24, Viresh Kumar wrote: > On 12 November 2012 09:03, Viresh Kumar wrote: >> On 12 November 2012 01:12, Rob Herring wrote: >>> I don't think the size is stored in the dtb. It is only in the dts. You >>> need to define the size in the binding definitions and use '/bits/' >>>

Re: [PATCH 7/9] usb: chipidea: udc: add force-full-speed option

2012-11-20 Thread Matthieu CASTET
Alexander Shishkin a écrit : > Michael Grzeschik writes: > >> This patch makes it possible to set the chipidea udc >> into full-speed only mode. It can be set by the oftree >> property "force-full-speed". >> >> Signed-off-by: Michael Grzeschik >> Signed-off-by: Marc Kleine-Budde >> --- >> driv

Re: [RFC PATCH 3.7.0-rc4 2/4] mm:exynos: use of_simple_module_id_table macro.

2012-11-20 Thread Girish K S
On 16 November 2012 18:51, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > This patch uses of_simple_module_id_table macro to replace code like: > > #ifdef CONFIG_OF > static struct of_device_id xxx_of_match[] = { > { .compatible = "yyy,xxx" }, > { }, > }; >

[PATCH] script: dtc: clean generated files

2012-11-20 Thread Simon Horman
From: Magnus Damm Fix "make distclean" to clean up generated dtc files. Without this patch the following files are left around: - dtc-lexer.lex.c - dtc-parser.tab.c - dtc-parser.tab.h Signed-off-by: Magnus Damm Reviewed-by: Simon Horman --- scripts/dtc/Makefile |2 ++ 1 file changed,

[PATCH] i2c: Add support for device-tree based chip initialization

2012-11-20 Thread Guenter Roeck
Some I2C devices are not or not correctly initialized by the firmware. Configuration would be possible via platform data, but that would require per-driver platform data and a lot of code, and changing it would not be possible without re-compiling the kernel. It is more elegant to do it generically

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

2012-11-20 Thread Grant Likely
On Fri, 16 Nov 2012 19:29:09 -0800, Stepan Moskovchenko wrote: > On 11/15/2012 8:10 AM, Grant Likely wrote: > > On Mon, 12 Nov 2012 18:48:43 -0800, Stepan Moskovchenko > > wrote: > > > > Well, why exactly do you want to control the names of devices? Is it so > > that devices match up with what

Re: [PATCH v12 0/6] of: add display helper

2012-11-20 Thread Laurent Pinchart
On Tuesday 20 November 2012 16:54:50 Steffen Trumtrar wrote: > Hi! > > Changes since v11: > - make pointers const where applicable > - add reviewed-by Laurent Pinchart Looks good to me. Acked-by: Laurent Pinchart Through which tree do you plan to push this ? > Regards, > Steffen >

Re: [PATCH v3 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-11-20 Thread Peter Korsgaard
> "Daniel" == Daniel Mack writes: Hi, In omap2 driver NAND_ECC_HW ecc mode supports 3 ecc layout OMAP_ECC_HAMMING_CODE_HW_ROMCODE OMAP_ECC_BCH4_CODE_HW OMAP_ECC_BCH8_CODE_HW So selection of ecc layout data should come from DT not ecc mode. >>> >>> Ok,

[PATCH v12 0/6] of: add display helper

2012-11-20 Thread Steffen Trumtrar
Hi! Changes since v11: - make pointers const where applicable - add reviewed-by Laurent Pinchart Regards, Steffen Steffen Trumtrar (6): video: add display_timing and videomode video: add of helper for videomode fbmon: add videomode helpers fbmon: add of_videomode helpers

[PATCH v12 4/6] fbmon: add of_videomode helpers

2012-11-20 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart --- drivers/video/fbmon.c | 42 +-

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

2012-11-20 Thread Steffen Trumtrar
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, add helper functions to convert from display timings to a generic videomode

[PATCH v12 5/6] drm_modes: add videomode helpers

2012-11-20 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_modes.c | 37

[PATCH v12 2/6] video: add of helper for videomode

2012-11-20 Thread Steffen Trumtrar
This adds support for reading display timings from DT or/and convert one of those timings to a videomode. The of_display_timing implementation supports multiple children where each property can have up to 3 values. All children are read into an array, that can be queried. of_get_videomode converts

[PATCH v12 3/6] fbmon: add videomode helpers

2012-11-20 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart --- drivers/video/fbmon.c | 46

[PATCH v12 6/6] drm_modes: add of_videomode helpers

2012-11-20 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_modes.c | 35 ++

Re: [PATCH v2 5/7] usb: chipidea: usbmisc: add support for ahb, ipg and per clock

2012-11-20 Thread Sascha Hauer
On Fri, Nov 16, 2012 at 03:17:47PM +0200, Alexander Shishkin wrote: > Michael Grzeschik writes: > > > From: Marc Kleine-Budde > > > > This patch adds support for a second and third clock to the usbmisc driver. > > On > > modern freescale ARM cores like the imx51, imx53 and imx6q three clocks >

Re: [PATCH v2] pwm: Device tree support for PWM polarity.

2012-11-20 Thread Thierry Reding
On Mon, Nov 19, 2012 at 11:21:12PM +0530, Philip, Avinash wrote: [...] > diff --git a/include/linux/pwm.h b/include/linux/pwm.h > index 112b314..70756f2 100644 > --- a/include/linux/pwm.h > +++ b/include/linux/pwm.h > @@ -78,6 +78,10 @@ enum { > PWMF_ENABLED = 1 << 1, > }; > > +/* flags in

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-20 Thread Tomi Valkeinen
Hi, On 2012-11-17 12:55, Alexandre Courbot wrote: A few questions after looking at the documentation: > +Example > +--- > +Here are example sequences declared within a backlight device that use all > the > +supported resources types: > + > + backlight { > + compatible = "pwm

Re: [PATCH v2 6/7] usb: chipidea: usbmisc: add mx53 support

2012-11-20 Thread Michael Grzeschik
On Fri, Nov 16, 2012 at 03:22:34PM +0200, Alexander Shishkin wrote: > Michael Grzeschik writes: > > > This adds mx53 as the next user of the usbmisc driver and makes it > > possible to disable the overcurrent-detection of the internal phy. > > > > Signed-off-by: Michael Grzeschik > > Signed-off-

Re: [PATCH 1/3] can: c_can: Add d_can raminit support

2012-11-20 Thread Marc Kleine-Budde
On 11/20/2012 02:05 PM, AnilKumar, Chimata wrote: [...] >>> static struct platform_device_id c_can_id_table[] = { >>> [BOSCH_C_CAN_PLATFORM] = { >>> .name = KBUILD_MODNAME, >>> @@ -99,7 +119,7 @@ static int __devinit c_can_plat_probe(struct >>> platform_device *pdev) >>> cons

RE: [PATCH 1/3] can: c_can: Add d_can raminit support

2012-11-20 Thread AnilKumar, Chimata
On Tue, Nov 20, 2012 at 16:20:41, Marc Kleine-Budde wrote: > On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > > Add D_CAN raminit support to C_CAN driver to enable D_CAN RAM, > > which holds all the message objects during transmission or > > receiving of data. This initialization/de-initialization sho

Re: [PATCH v5 6/8] watchdog: at91sam9_wdt: add timeout-sec property binding

2012-11-20 Thread Nicolas Ferre
On 11/19/2012 03:10 PM, Fabio Porcedda : > Tested on at91sam9260 board (evk-pro3). > > Signed-off-by: Fabio Porcedda > Cc: Andrew Victor > Cc: Nicolas Ferre Seems good: Acked-by: Nicolas Ferre > Cc: Jean-Christophe PLAGNIOL-VILLARD > --- > Documentation/devicetree/bindings/watchdog/atmel-w

Re: [PATCH v5 7/8] watchdog: orion_wdt: move the min_timeout initialization

2012-11-20 Thread Jason Cooper
On Mon, Nov 19, 2012 at 03:10:42PM +0100, Fabio Porcedda wrote: > Move the min_timeout initialization inside the orion_wdt definition. > > Only compile tested. > > Signed-off-by: Fabio Porcedda > Cc: Jason Cooper > Cc: Andrew Lunn Acked-by: Jason Cooper thx, Jason. > --- > drivers/watchd

Re: [PATCH v5 3/8] watchdog: orion_wdt: add timeout-sec property binding

2012-11-20 Thread Jason Cooper
On Tue, Nov 20, 2012 at 01:50:46PM +0100, Fabio Porcedda wrote: > On Mon, Nov 19, 2012 at 5:06 PM, Jason Cooper wrote: > > On Mon, Nov 19, 2012 at 03:10:38PM +0100, Fabio Porcedda wrote: > >> Only compile tested. > >> > >> Signed-off-by: Fabio Porcedda > >> Cc: Jason Cooper > >> Cc: Andrew Lunn

Re: [PATCH v5 3/8] watchdog: orion_wdt: add timeout-sec property binding

2012-11-20 Thread Fabio Porcedda
On Mon, Nov 19, 2012 at 5:06 PM, Jason Cooper wrote: > On Mon, Nov 19, 2012 at 03:10:38PM +0100, Fabio Porcedda wrote: >> Only compile tested. >> >> Signed-off-by: Fabio Porcedda >> Cc: Jason Cooper >> Cc: Andrew Lunn >> --- >> Documentation/devicetree/bindings/watchdog/marvel.txt | 5 + >>

Re: [PATCH v5 3/8] watchdog: orion_wdt: add timeout-sec property binding

2012-11-20 Thread Fabio Porcedda
On Mon, Nov 19, 2012 at 5:06 PM, Jason Cooper wrote: > On Mon, Nov 19, 2012 at 03:10:38PM +0100, Fabio Porcedda wrote: > > Only compile tested. > > > > Signed-off-by: Fabio Porcedda > > Cc: Jason Cooper > > Cc: Andrew Lunn > > --- > > Documentation/devicetree/bindings/watchdog/marvel.txt | 5

Re: [PATCH v11 0/6] of: add display helper

2012-11-20 Thread Steffen Trumtrar
On Tue, Nov 20, 2012 at 11:52:06AM +0100, Laurent Pinchart wrote: > Hi Steffen, > > On Tuesday 20 November 2012 11:39:18 Steffen Trumtrar wrote: > > On Thu, Nov 15, 2012 at 02:15:06PM +0100, Steffen Trumtrar wrote: > > > Hi! > > > > > > Changes since v10: > > > - fix function name (drm_)display

Re: [PATCH 2/3] ARM: dts: AM33XX: Add d_can instances to aliases

2012-11-20 Thread Marc Kleine-Budde
On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > Add d_can instances to aliases node to get the D_CAN instance number > from the driver. To initialize D_CAN message RAM, corresponding instance > number is required. > > To initialize instance 0 message RAM then 0x1 should be written and for > instance

Re: [PATCH v11 0/6] of: add display helper

2012-11-20 Thread Laurent Pinchart
Hi Steffen, On Tuesday 20 November 2012 11:39:18 Steffen Trumtrar wrote: > On Thu, Nov 15, 2012 at 02:15:06PM +0100, Steffen Trumtrar wrote: > > Hi! > > > > Changes since v10: > > - fix function name (drm_)display_mode_from_videomode > > - add acked-by, reviewed-by, tested-by > > > > Reg

Re: [PATCH 1/3] can: c_can: Add d_can raminit support

2012-11-20 Thread Marc Kleine-Budde
On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > Add D_CAN raminit support to C_CAN driver to enable D_CAN RAM, > which holds all the message objects during transmission or > receiving of data. This initialization/de-initialization should > be done in synchronous with D_CAN clock. > > In case of AM33

Re: [PATCH v11 0/6] of: add display helper

2012-11-20 Thread Steffen Trumtrar
On Thu, Nov 15, 2012 at 02:15:06PM +0100, Steffen Trumtrar wrote: > Hi! > > Changes since v10: > - fix function name (drm_)display_mode_from_videomode > - add acked-by, reviewed-by, tested-by > > Regards, > Steffen > > > Steffen Trumtrar (6): > video: add display_timing and videom

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

2012-11-20 Thread Mark Brown
On Tue, Nov 20, 2012 at 05:31:22PM +0800, Bo Shen wrote: > >based on ASoC tree? And the upper go into pinctrl tree? > >---<8--- > >ssc0: ssc@fffbc000 { > > compatible = "atmel,at91rm9200-ssc"; > > reg = <0xfffbc000 0x4000>; > > interrupts = <14 4 5>; > >+pinctrl-names =

Re: [PATCH 3/3] ARM: dts: AM33XX: Add memory resource to d_can node

2012-11-20 Thread Marc Kleine-Budde
On 11/20/2012 11:23 AM, AnilKumar, Chimata wrote: > On Tue, Nov 20, 2012 at 15:43:04, Marc Kleine-Budde wrote: >> On 11/14/2012 07:08 PM, AnilKumar Ch wrote: >>> Add a new address space/memory resource to d_can device tree node. D_CAN >>> RAM initialization is achieved through RAMINIT register whic

RE: [PATCH 3/3] ARM: dts: AM33XX: Add memory resource to d_can node

2012-11-20 Thread AnilKumar, Chimata
On Tue, Nov 20, 2012 at 15:43:04, Marc Kleine-Budde wrote: > On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > > Add a new address space/memory resource to d_can device tree node. D_CAN > > RAM initialization is achieved through RAMINIT register which is part of > > AM33XX control module address space.

Re: [PATCH 3/3] ARM: dts: AM33XX: Add memory resource to d_can node

2012-11-20 Thread Marc Kleine-Budde
On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > Add a new address space/memory resource to d_can device tree node. D_CAN > RAM initialization is achieved through RAMINIT register which is part of > AM33XX control module address space. D_CAN RAM init or de-init should be > done by writing instance cor

[PATCH v3 1/5] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-20 Thread AnilKumar Ch
From: Colin Foe-Parker Add system power off control to rtc driver which is the in-charge of controlling the BeagleBone system power. The power_off routine can be hooked up to "pm_power_off" system call. System power off sequence:- * Set PMIC STATUS_OFF when PMIC_POWER_EN is pulled low * Enable P

[PATCH v3 2/5] mfd: tps65217: Set PMIC to shutdown on PWR_EN toggle

2012-11-20 Thread AnilKumar Ch
From: Colin Foe-Parker Set tps65217 PMIC status to OFF if power enable toggle is supported. By setting this bit to 1 to enter PMIC to OFF state when PWR_EN pin is pulled low. Also adds a DT flag to specify that device pmic supports shutdown control or not. Signed-off-by: Colin Foe-Parker [anilk

[PATCH v3 5/5] ARM: OMAP2+: omap2plus_defconfig: Enable RTC support

2012-11-20 Thread AnilKumar Ch
AM33XX family of devices uses RTC module, one has to manually enable this support to use RTC features. So this patch enable RTC driver in omap2plus_defconfig. Signed-off-by: AnilKumar Ch --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/conf

[PATCH v3 3/5] ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone

2012-11-20 Thread AnilKumar Ch
Set ti,pmic-shutdown-controller for BeagleBone in am335x-bone.dts file, this flag is used by the driver to set tps65217 PMIC status to OFF when PWR_EN toggle. Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts/am335x-bone.dts |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/

[PATCH v3 4/5] ARM: dts: AM33XX: Enable system power off control in am335x-bone

2012-11-20 Thread AnilKumar Ch
Enable system power off control for BeagleBone in am335x-bone.dts file under rtc node. RTC is the in-charge of controlling the system power. This flag is used by the driver to hook up the pm_power_off system call. Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts/am335x-bone.dts |4 1 f

[PATCH v3 0/5] pm: Add power off control

2012-11-20 Thread AnilKumar Ch
Add PM power_off control to rtc driver and PMIC status is set to STATUS_OFF to shutdown PMIC if PWR_EN is toggled by RTC module. System power off sequence:- * Set PMIC STATUS_OFF when PMIC_POWER_EN is pulled low * Enable PMIC_POWER_EN in rtc module * Set rtc ALARM2 time * Enable ALARM2 interrupt

  1   2   >