Re: [PATCHv3 2/4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-01 Thread Dmitry Torokhov
Hi Sourav, On Mon, Oct 01, 2012 at 04:31:50PM +0530, Sourav Poddar wrote: > From: G, Manjunath Kondaiah > > SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device > supports a keypad scan matrix of 23*8.This driver uses this > device as a keypad driver. > > Tested on omap5430 evm w

Re: [PATCH 2/2] pwm: pwm-tiehrpwm: Add device-tree binding support for EHRPWM driver

2012-10-01 Thread Thierry Reding
On Wed, Sep 26, 2012 at 04:57:43PM +0530, Philip, Avinash wrote: > Add support for device-tree binding and of_xlate for EHRWPM driver. > of_xlate provides EHRPWM polarity configuration from client driver > device-tree. > Also size of pwm-cells set to 3 to support pwm channel number, pwm > period &

Re: [PATCH 1/2] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-10-01 Thread Thierry Reding
On Wed, Sep 26, 2012 at 04:57:42PM +0530, Philip, Avinash wrote: [...] > +#include [...] > +static struct pwmss_platform_data am33xx_data = { > + .has_configspace= true, > +}; This structure is defined in a public header. I don't see why it has to, given that it's only used to associa

Re: [PATCH 1/1] Fix segfault in DTC

2012-10-01 Thread David Gibson
On Mon, Oct 01, 2012 at 10:41:09AM -0600, Stephen Warren wrote: > On 10/01/2012 12:46 AM, David Gibson wrote: > > On Sun, Sep 30, 2012 at 11:34:50PM -0600, Stephen Warren wrote: > >> On 09/29/2012 05:53 PM, David Gibson wrote: > >>> On Fri, Sep 28, 2012 at 01:05:33PM -0600, Stephen Warren wrote: >

Re: [PATCH] MAINTAINERS: add scripts/dtc under Devicetree maintainers

2012-10-01 Thread Rob Herring
On Oct 1, 2012 5:09 PM, "Stephen Warren" wrote: > > On 10/01/2012 02:49 PM, Rob Herring wrote: > > From: Rob Herring > > > > scripts/dtc has no explicit in kernel maintainer, so add it under > > Devicetree maintainers. > > > diff --git a/MAINTAINERS b/MAINTAINERS > > > F: Documentation/devicet

Re: [PATCH] MAINTAINERS: add scripts/dtc under Devicetree maintainers

2012-10-01 Thread Stephen Warren
On 10/01/2012 02:49 PM, Rob Herring wrote: > From: Rob Herring > > scripts/dtc has no explicit in kernel maintainer, so add it under > Devicetree maintainers. > diff --git a/MAINTAINERS b/MAINTAINERS > F: Documentation/devicetree > F: drivers/of > F: include/linux/of*.h > + scripts

Re: [PATCH 1/2] net: ti cpsw ethernet: allow reading phy interface mode from DT

2012-10-01 Thread David Miller
From: Daniel Mack Date: Mon, 01 Oct 2012 23:15:38 +0200 > On 01.10.2012 23:11, David Miller wrote: >> From: Daniel Mack >> Date: Wed, 26 Sep 2012 19:24:27 +0200 >> >>> Allow users to specify the phy interface of the CPSW slaves. The new >>> node parameter is called "phy_if_mode" and is optional

Re: [PATCH 05/14] media: add a V4L2 OF parser

2012-10-01 Thread Sylwester Nawrocki
On 09/27/2012 04:07 PM, Guennadi Liakhovetski wrote: > Add a V4L2 OF parser, implementing bindings, documented in > Documentation/devicetree/bindings/media/v4l2.txt. > > Signed-off-by: Guennadi Liakhovetski > --- > drivers/media/v4l2-core/Makefile |3 + > drivers/media/v4l2-core/v4l2-of.c

Re: [PATCH 1/2] net: ti cpsw ethernet: allow reading phy interface mode from DT

2012-10-01 Thread Daniel Mack
On 01.10.2012 23:11, David Miller wrote: > From: Daniel Mack > Date: Wed, 26 Sep 2012 19:24:27 +0200 > >> Allow users to specify the phy interface of the CPSW slaves. The new >> node parameter is called "phy_if_mode" and is optional. The original >> behaviour of the driver is preserved when not g

[PATCH V2 3/3] clocksource: time-armada-370-xp converted to clk framework

2012-10-01 Thread Gregory CLEMENT
Signed-off-by: Gregory CLEMENT --- 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 --git a/arch/arm/boot/dts/armada-370-db.d

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

2012-10-01 Thread Gregory CLEMENT
Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-370.dtsi | 12 + arch/arm/boot/dts/armada-xp.dtsi| 48 +++ arch/arm/mach-mvebu/Kconfig |5 arch/arm/mach-mvebu/armada-370-xp.c |8 +- arch/arm/mach-mvebu/common.h

[PATCH V2 1/3] clk: mvebu: add armada-370-xp specific clocks

2012-10-01 Thread Gregory CLEMENT
Add Armada 370/XP specific clocks: core clocks and CPU clocks. The CPU clocks are only for Armada XP for the SMP mode. The core clocks are clocks which have their rate set during reset. The code was written with the other SoCs of the mvebu family in mind. Adding them should be pretty straight for

[PATCH V2 0/3] Add clock framework for armada 370/XP

2012-10-01 Thread Gregory CLEMENT
Hello Mike, My first version didn't get many attention, so I guess it's too late for 3.7! ;) I should have ping you earlier about this series. This time was not lost, by using the cpu clock with SMP I found a bug and fixed it. And I also improved the spelling and removed unnecessary small piece of

Re: [PATCH 1/2] net: ti cpsw ethernet: allow reading phy interface mode from DT

2012-10-01 Thread David Miller
From: Daniel Mack Date: Wed, 26 Sep 2012 19:24:27 +0200 > Allow users to specify the phy interface of the CPSW slaves. The new > node parameter is called "phy_if_mode" and is optional. The original > behaviour of the driver is preserved when not given. > > Signed-off-by: Daniel Mack Applied, t

Re: [PATCH 1/2] of: add helper to parse display specs

2012-10-01 Thread Mitch Bradley
On 10/1/2012 10:25 AM, Stephen Warren wrote: > On 10/01/2012 01:16 PM, Mitch Bradley wrote: >> On 10/1/2012 6:53 AM, Stephen Warren wrote: >>> On 09/24/2012 09:35 AM, Steffen Trumtrar wrote: Parse a display-node with timings and hardware-specs from devictree. >>> diff --git a/Documentatio

[PATCH] MAINTAINERS: add scripts/dtc under Devicetree maintainers

2012-10-01 Thread Rob Herring
From: Rob Herring scripts/dtc has no explicit in kernel maintainer, so add it under Devicetree maintainers. Cc: Grant Likely Signed-off-by: Rob Herring --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 94b823f..2d7eaba 100644 --- a/MAINTAIN

Re: [PATCH 04/14] media: add V4L2 DT binding documentation

2012-10-01 Thread Sylwester Nawrocki
Hi Guennadi, On 09/27/2012 04:07 PM, Guennadi Liakhovetski wrote: > This patch adds a document, describing common V4L2 device tree bindings. > > Co-authored-by: Sylwester Nawrocki > Signed-off-by: Guennadi Liakhovetski > --- > Documentation/devicetree/bindings/media/v4l2.txt | 162 > +

Re: [PATCH 1/2] of: add helper to parse display specs

2012-10-01 Thread Stephen Warren
On 10/01/2012 01:16 PM, Mitch Bradley wrote: > On 10/1/2012 6:53 AM, Stephen Warren wrote: >> On 09/24/2012 09:35 AM, Steffen Trumtrar wrote: >>> Parse a display-node with timings and hardware-specs from devictree. >> >>> diff --git a/Documentation/devicetree/bindings/video/display >>> b/Documenta

Re: [PATCH v2] leds: leds-gpio: adopt pinctrl support

2012-10-01 Thread Linus Walleij
On Mon, Oct 1, 2012 at 5:44 PM, Tony Lindgren wrote: >> OK that is typical pinctrl driver implementation work. >> I hope Tony can advice on this? > > I think we're best off to just stick to alternative named modes > passed from device tree. For example, for GPIO wake-ups you can > have named mode

Re: [PATCH 1/2] of: add helper to parse display specs

2012-10-01 Thread Mitch Bradley
On 10/1/2012 6:53 AM, Stephen Warren wrote: > On 09/24/2012 09:35 AM, Steffen Trumtrar wrote: >> Parse a display-node with timings and hardware-specs from devictree. > >> diff --git a/Documentation/devicetree/bindings/video/display >> b/Documentation/devicetree/bindings/video/display >> new file

Re: dtc: import latest upstream dtc

2012-10-01 Thread Jon Loeliger
> > What more do you think needs discussion re: dtc+cpp? How not to abuse the ever-loving shit out of it? :-) jdl ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: dtc: import latest upstream dtc

2012-10-01 Thread Stephen Warren
On 10/01/2012 11:56 AM, Rob Herring wrote: > On 10/01/2012 11:13 AM, Stephen Warren wrote: >> On 10/01/2012 10:09 AM, Rob Herring wrote: >>> On 09/28/2012 04:25 PM, Stephen Warren wrote: From: Stephen Warren This updates scripts/dtc to commit 317a5d9 "dtc: zero out new label ob

Re: dtc: import latest upstream dtc

2012-10-01 Thread Jon Loeliger
> > Seems dtc doesn't really have a maintainer. Picking nits, let's be clear on that phraseology: Seems dtc doesn't really have a maintainer within the kernel repository. Over in git.jdl.com land, there is a well established maintainer for the upstream DTC. > Probably makes more sense

Re: [PATCH v2 6/7] usb: dwc3-omap: Minor fixes to get dt working

2012-10-01 Thread Sergei Shtylyov
Hello. On 01-10-2012 12:25, Kishon Vijay Abraham I wrote: Includes few minor fixes in dwc3-omap like populating the compatible string in a correct way, extracting the utmi-mode property properly and changing the index of get_irq since irq of core is removed from hwmod entry. Also updated the do

Re: dtc: import latest upstream dtc

2012-10-01 Thread Rob Herring
On 10/01/2012 11:13 AM, Stephen Warren wrote: > On 10/01/2012 10:09 AM, Rob Herring wrote: >> On 09/28/2012 04:25 PM, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> This updates scripts/dtc to commit 317a5d9 "dtc: zero out new label >>> objects" from git://git.jdl.com/software/dtc.git. >>>

Re: [PATCH 1/2] of: add helper to parse display specs

2012-10-01 Thread Stephen Warren
On 09/24/2012 09:35 AM, Steffen Trumtrar wrote: > Parse a display-node with timings and hardware-specs from devictree. > diff --git a/Documentation/devicetree/bindings/video/display > b/Documentation/devicetree/bindings/video/display > new file mode 100644 > index 000..722766a > --- /dev/null

Re: [PATCH 1/1] Fix segfault in DTC

2012-10-01 Thread Stephen Warren
On 10/01/2012 12:46 AM, David Gibson wrote: > On Sun, Sep 30, 2012 at 11:34:50PM -0600, Stephen Warren wrote: >> On 09/29/2012 05:53 PM, David Gibson wrote: >>> On Fri, Sep 28, 2012 at 01:05:33PM -0600, Stephen Warren wrote: On 09/28/2012 12:53 PM, Jon Loeliger wrote: >>> >>> Yeah, see

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-10-01 Thread Matt Porter
On Thu, Sep 27, 2012 at 03:11:08PM +0530, Vinod Koul wrote: > On Fri, 2012-09-21 at 19:47 +0100, Russell King - ARM Linux wrote: > > On Fri, Sep 21, 2012 at 10:45:29PM +0530, S, Venkatraman wrote: > > > On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter wrote: > > > > The EDMA DMAC has a hardware limita

Re: [RFC PATCH 10/13] spi: omap2-mcspi: dma_request_slave_channel() support for DT platforms

2012-10-01 Thread Matt Porter
On Thu, Sep 27, 2012 at 03:06:34PM +0530, Vinod Koul wrote: > On Fri, 2012-09-21 at 14:37 -0400, Matt Porter wrote: > > On Fri, Sep 21, 2012 at 08:42:47AM -0700, Tony Lindgren wrote: > > > > > > Can't we come up with a version of dma_request_slave_channel that works > > > both ways for now: > > >

Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-10-01 Thread Stephen Warren
On 09/30/2012 11:29 PM, Leela Krishna Amudala wrote: > Hello Stephen Warren, > > The binding names that I use in my dts file should match with the > names given in > http://lists.freedesktop.org/archives/dri-devel/2012-July/024875.html > right? I don't think so; the binding in that link is for e

Re: dtc: import latest upstream dtc

2012-10-01 Thread Stephen Warren
On 10/01/2012 10:09 AM, Rob Herring wrote: > On 09/28/2012 04:25 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> This updates scripts/dtc to commit 317a5d9 "dtc: zero out new label >> objects" from git://git.jdl.com/software/dtc.git. >> >> This adds features such as: >> * /bits/ syntax for

Re: [PATCH v2] dt: Document general interrupt controller bindings

2012-10-01 Thread Rob Herring
On 09/20/2012 07:16 AM, Thierry Reding wrote: > In order to use a device as interrupt controller, it needs to be marked > with the DT interrupt-controller property. This commit adds rudimentary > documentation about the required standard properties and describes the > most commonly used interrupt s

[PATCH V3 2/2] kbuild: introduce cmd_dtc_cpp

2012-10-01 Thread Stephen Warren
From: Stephen Warren cmd_dtc_cpp runs the C pre-processor on the input .dts file before passing it to dtc for final compilation. This allows used of #define within the .dts file. Introduce a new rule for %.dtsp -> %.dtb, which uses cmd_dtc_cpp. A new file extension is introduced for this purpose

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

2012-10-01 Thread Stephen Warren
From: Stephen Warren All architectures that use cmd_dtc do so in the same way. Move the build rule to a central location to avoid duplication. Signed-off-by: Stephen Warren --- v3: No change. v2: New patch. --- arch/arm/boot/Makefile |4 arch/c6x/boot/Makefile |3 --- ar

[PATCH V3 0/2] dtc: enable use of pre-processor

2012-10-01 Thread Stephen Warren
From: Stephen Warren This series adds a build rule to run cpp on *.dtsp prior to invoking dtc. This patch relies on the patch I recently posted to update the in-kernel copy of dtc to match the latest upstream version ("[PATCH] dtc: import latest upstream dtc"; http://www.spinics.net/lists/kernel

Re: [PATCH v2] leds: leds-gpio: adopt pinctrl support

2012-10-01 Thread Tony Lindgren
* Linus Walleij [121001 01:25]: > On Mon, Oct 1, 2012 at 9:03 AM, AnilKumar, Chimata wrote: > > >I have gone through the "Don Aisheng" patch series, which > > adds "pinctrl_dt_add_gpio_ranges" support but not accepted > > yet. With this patch series we can overcome the driver changes. > > O

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

2012-10-01 Thread Stephen Warren
On 09/29/2012 02:08 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 13:32 Fri 28 Sep , Stephen Warren wrote: >> From: Stephen Warren >> >> All architectures that use cmd_dtc do so in the same way. Move the build >> rule to a central location to avoid duplication. >> >> Signed-off-by: Stephen

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-01 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Oct 1, 2012 at 5:39 PM, Mark Brown wrote: > On Mon, Oct 01, 2012 at 05:23:15PM +0530, ABRAHAM, KISHON VIJAY wrote: >> On Mon, Oct 1, 2012 at 5:14 PM, Mark Brown > >> > No, this is not at all sensible - if there's an mfd_remove_devices() >> > function we really ought to be able to use

Re: [PATCHv3 2/4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-01 Thread Shubhrajyoti
On Monday 01 October 2012 04:31 PM, Sourav Poddar wrote: > +smsc_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct smsc *smsc = dev_get_drvdata(pdev->dev.parent); > + struct input_dev *input; > + struct smsc_keypad *kp; > + int ret = 0, err

Re: [PATCH v6 3/5] watchdog: at91sam9_wdt: add device tree support

2012-10-01 Thread Andrew Lunn
On Mon, Oct 01, 2012 at 02:54:55PM +0200, Fabio Porcedda wrote: > On Mon, Oct 1, 2012 at 2:48 PM, Fabio Porcedda > wrote: > > On Mon, Oct 1, 2012 at 2:45 PM, Andrew Lunn wrote: > >> On Mon, Oct 01, 2012 at 02:24:39PM +0200, Fabio Porcedda wrote: > >>> Tested on an at91sam9260 board (evk-pro3) >

Re: [PATCH v6 3/5] watchdog: at91sam9_wdt: add device tree support

2012-10-01 Thread Andrew Lunn
On Mon, Oct 01, 2012 at 02:48:01PM +0200, Fabio Porcedda wrote: > On Mon, Oct 1, 2012 at 2:45 PM, Andrew Lunn wrote: > > On Mon, Oct 01, 2012 at 02:24:39PM +0200, Fabio Porcedda wrote: > >> Tested on an at91sam9260 board (evk-pro3) > >> > >> Signed-off-by: Fabio Porcedda > >> --- > >> .../device

Re: [PATCH v6 3/5] watchdog: at91sam9_wdt: add device tree support

2012-10-01 Thread Fabio Porcedda
On Mon, Oct 1, 2012 at 2:48 PM, Fabio Porcedda wrote: > On Mon, Oct 1, 2012 at 2:45 PM, Andrew Lunn wrote: >> On Mon, Oct 01, 2012 at 02:24:39PM +0200, Fabio Porcedda wrote: >>> Tested on an at91sam9260 board (evk-pro3) >>> >>> Signed-off-by: Fabio Porcedda >>> --- >>> .../devicetree/bindings/w

Re: [PATCH v6 3/5] watchdog: at91sam9_wdt: add device tree support

2012-10-01 Thread Fabio Porcedda
On Mon, Oct 1, 2012 at 2:45 PM, Andrew Lunn wrote: > On Mon, Oct 01, 2012 at 02:24:39PM +0200, Fabio Porcedda wrote: >> Tested on an at91sam9260 board (evk-pro3) >> >> Signed-off-by: Fabio Porcedda >> --- >> .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ >> drivers

Re: [PATCH v6 3/5] watchdog: at91sam9_wdt: add device tree support

2012-10-01 Thread Andrew Lunn
On Mon, Oct 01, 2012 at 02:24:39PM +0200, Fabio Porcedda wrote: > Tested on an at91sam9260 board (evk-pro3) > > Signed-off-by: Fabio Porcedda > --- > .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ > drivers/watchdog/at91sam9_wdt.c | 21 > ++

[PATCH v6 5/5] ARM: at91/dts: evk-pro3: enable watchdog

2012-10-01 Thread Fabio Porcedda
Tested on evk-pro3. Signed-off-by: Fabio Porcedda --- arch/arm/boot/dts/evk-pro3.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/evk-pro3.dts b/arch/arm/boot/dts/evk-pro3.dts index b7354e6..ce959ee 100644 --- a/arch/arm/boot/dts/evk-pro3.dts +++ b/arch/arm/boot/dts/

[PATCH v6 4/5] ARM: at91/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45

2012-10-01 Thread Fabio Porcedda
Tested on an at91sam9260 board (evk-pro3). Signed-off-by: Fabio Porcedda --- arch/arm/boot/dts/at91sam9260.dtsi | 6 ++ arch/arm/boot/dts/at91sam9263.dtsi | 6 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 6 ++ 3 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9260.

[PATCH v6 2/5] watchdog: orion_wdt: dt: add the timeout property binding

2012-10-01 Thread Fabio Porcedda
The binding is provided by the watchdog core. Signed-off-by: Fabio Porcedda --- Documentation/devicetree/bindings/watchdog/marvel.txt | 5 + drivers/watchdog/orion_wdt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bi

[PATCH v6 3/5] watchdog: at91sam9_wdt: add device tree support

2012-10-01 Thread Fabio Porcedda
Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda --- .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ drivers/watchdog/at91sam9_wdt.c | 21 + 2 files changed, 40 insertions(+) create mode 100644 Document

[PATCH v6 1/5] watchdog: core: dt: add support for the timeout device tree property

2012-10-01 Thread Fabio Porcedda
Signed-off-by: Fabio Porcedda --- Documentation/watchdog/watchdog-kernel-api.txt | 3 +++ include/linux/watchdog.h | 11 +++ 2 files changed, 14 insertions(+) diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.

[PATCH v6 0/5] watchdog: orion_wdt & at91sam9_wdt: improve dt support

2012-10-01 Thread Fabio Porcedda
Hi all, This set of patches is for adding device tree support to the at91sam9_wdt driver and to add the new timeout property to the watchdog core. I've tested the at91sam9_wdt modifications on an at91sam9260 board (evk-pro3). Changes: v6: - add watchdog core proprty timeout binding - add as ex

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-01 Thread Mark Brown
On Mon, Oct 01, 2012 at 05:23:15PM +0530, ABRAHAM, KISHON VIJAY wrote: > On Mon, Oct 1, 2012 at 5:14 PM, Mark Brown > > No, this is not at all sensible - if there's an mfd_remove_devices() > > function we really ought to be able to use it to remove the children. > > If we can't do that we should f

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-01 Thread Samuel Ortiz
Hi Sourav, On Mon, Oct 01, 2012 at 04:31:22PM +0530, Sourav Poddar wrote: > smsc ece1099 is a keyboard scan or gpio expansion device. > The patch create keypad and gpio expander child for this > multi function smsc driver. > > Tested on omap5430 evm with 3.6-rc6 custom kernel. > > Cc: Samuel Ort

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-01 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Oct 1, 2012 at 5:14 PM, Mark Brown wrote: > On Mon, Oct 01, 2012 at 05:00:06PM +0530, ABRAHAM, KISHON VIJAY wrote: >> On Mon, Oct 1, 2012 at 4:31 PM, Sourav Poddar wrote: > > Delete irrelevant context from your replies, it makes it much easier to > find new text. > >> > +static int s

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-01 Thread Mark Brown
On Mon, Oct 01, 2012 at 05:00:06PM +0530, ABRAHAM, KISHON VIJAY wrote: > On Mon, Oct 1, 2012 at 4:31 PM, Sourav Poddar wrote: Delete irrelevant context from your replies, it makes it much easier to find new text. > > +static int smsc_i2c_remove(struct i2c_client *i2c) > > +{ > > + struct s

Re: [PATCHv3 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-10-01 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Oct 1, 2012 at 4:31 PM, Sourav Poddar wrote: > smsc ece1099 is a keyboard scan or gpio expansion device. > The patch create keypad and gpio expander child for this > multi function smsc driver. > > Tested on omap5430 evm with 3.6-rc6 custom kernel. Can we have this line in comment sec

[PATCH v2 0/7] usb: dwc3-omap: add dt support

2012-10-01 Thread Kishon Vijay Abraham I
This patch series adds dt support to dwc3 core and fixes few minor stuff in dwc3-omap glue to get dwc3 working. While at that it also uses *of_platform* to create the child device (dwc3-core) and fixes to use runtime API's to enable clock and write to SYSCONFIG register. Changes from v1: * made d

[PATCH v2 4/7] usb: dwc3-omap: Remove explicit writes to SYSCONFIG register

2012-10-01 Thread Kishon Vijay Abraham I
The runtime API's takes care of setting the SYSCONFIG register with appropriate values. Hence explicit writes to SYSCONFIG register is removed. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/

[PATCH v2 6/7] usb: dwc3-omap: Minor fixes to get dt working

2012-10-01 Thread Kishon Vijay Abraham I
Includes few minor fixes in dwc3-omap like populating the compatible string in a correct way, extracting the utmi-mode property properly and changing the index of get_irq since irq of core is removed from hwmod entry. Also updated the documentation with dwc3-omap device tree binding information. S

[PATCH v2 5/7] usb: dwc3-omap: Add an API to write to dwc mailbox

2012-10-01 Thread Kishon Vijay Abraham I
Add an API in the omap glue layer to write to the mailbox register which can be used by comparator driver(twl). To pass the detection of the attached device (signified by VBUS, ID) to the dwc3 core, dwc3 core has to write to the mailbox regiter. Signed-off-by: Kishon Vijay Abraham I --- drivers/

[PATCH v2 2/7] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-01 Thread Kishon Vijay Abraham I
Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled be of_*, removed the call to dwc3_get_device_id. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 52

[PATCH v2 1/7] usb: dwc3-omap: use device_for_each_child to handle child removal

2012-10-01 Thread Kishon Vijay Abraham I
Used device_for_each_child() to handle child device (dwc3 core) removal during devexit of dwc3 omap. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/u

[PATCH v2 7/7] usb: dwc3: core: add dt support for dwc3 core

2012-10-01 Thread Kishon Vijay Abraham I
Added dwc3 support for dwc3 core and update the documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/dwc3.txt | 23 +++ drivers/usb/dwc3/core.c| 14 -- 2 fil

[PATCH v2 3/7] usb: dwc3-omap: use runtime API's to enable clocks

2012-10-01 Thread Kishon Vijay Abraham I
Before accessing any register, runtime API's should be invoked to enable the clocks. runtime API's are added here to prevent abort during register access. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/driv

Re: [PATCH 1/6] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-01 Thread Felipe Balbi
Hi, On Fri, Sep 28, 2012 at 07:01:04PM +0530, ABRAHAM, KISHON VIJAY wrote: > Hi, > > On Fri, Sep 28, 2012 at 6:27 PM, Felipe Balbi wrote: > > Hi, > > > > On Fri, Sep 28, 2012 at 06:23:10PM +0530, Kishon Vijay Abraham I wrote: > >> Used of_platform_populate() to populate dwc3 core platform_device

Re: [PATCH v2] leds: leds-gpio: adopt pinctrl support

2012-10-01 Thread Linus Walleij
On Mon, Oct 1, 2012 at 9:03 AM, AnilKumar, Chimata wrote: >I have gone through the "Don Aisheng" patch series, which > adds "pinctrl_dt_add_gpio_ranges" support but not accepted > yet. With this patch series we can overcome the driver changes. OK then this is the direction we need to go. >

Re: [PATCH 1/1] Fix segfault in DTC

2012-10-01 Thread David Gibson
On Sun, Sep 30, 2012 at 11:34:50PM -0600, Stephen Warren wrote: > On 09/29/2012 05:53 PM, David Gibson wrote: > > On Fri, Sep 28, 2012 at 01:05:33PM -0600, Stephen Warren wrote: > >> On 09/28/2012 12:53 PM, Jon Loeliger wrote: > > > > Yeah, seems like the kernel DTC is quite old. > > >

RE: [PATCH v2] leds: leds-gpio: adopt pinctrl support

2012-10-01 Thread AnilKumar, Chimata
+Don Aisheng On Tue, Sep 11, 2012 at 01:10:12, Linus Walleij wrote: > On Sat, Sep 1, 2012 at 10:16 AM, AnilKumar Ch wrote: > > > Adopt pinctrl support to leds-gpio driver based on leds-gpio > > device pointer, pinctrl driver configure SoC pins to GPIO > > mode according to definitions provided i