Re: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-25 Thread Stephen Warren
On 09/24/2012 10:29 PM, Philip, Avinash wrote: On Fri, Sep 21, 2012 at 23:13:39, Stephen Warren wrote: On 09/21/2012 12:03 AM, Philip, Avinash wrote: Hi Stephen, On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wrote: On 09/20/2012 10:51 PM, Philip, Avinash wrote: Some backlights perform

[PATCH v3 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Fabio Porcedda
Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ drivers/watchdog/at91sam9_wdt.c | 21 + 2 files changed, 40 insertions(+)

[PATCH v3 0/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Fabio Porcedda
From: Fabio Porcedda fabio.porce...@telit.com Hi all, This set of patches is for adding device tree support to the at91sam_wdt driver. I've tested it on an at91sam9260 board (evk-pro3). Changes: v3: - add heartbeat option - default disabled for all the soc, enable only for evk-pro3 board -

[PATCH v3 2/2] ARM: at91: add at91sam9_wdt driver to at91sam926x, at91sam9g45

2012-09-25 Thread Fabio Porcedda
Enable the driver for the evk-pro3 board. Tested on an at91sam9260 board (evk-pro3). Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- arch/arm/boot/dts/at91sam9260.dtsi | 6 ++ arch/arm/boot/dts/at91sam9263.dtsi | 6 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 6 ++

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Steffen Trumtrar
On Mon, Sep 24, 2012 at 09:16:28PM +0200, Sascha Hauer wrote: On Mon, Sep 24, 2012 at 10:18:39AM -0500, Rob Herring wrote: On 09/24/2012 09:12 AM, Sascha Hauer wrote: A major piece missing is the LCD controller to display interface width and component ordering. Psst. We silently

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Steffen Trumtrar
On Mon, Sep 24, 2012 at 05:09:30PM -0600, Stephen Warren wrote: On 09/24/2012 12:26 PM, Rob Herring wrote: On 09/24/2012 10:45 AM, Stephen Warren wrote: On 09/24/2012 07:42 AM, Rob Herring wrote: On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: This patch adds a helper function for parsing

Re: [PATCH v3 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:28 Tue 25 Sep , Fabio Porcedda wrote: Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ drivers/watchdog/at91sam9_wdt.c | 21

Re: [PATCH v3 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Nicolas Ferre
On 09/25/2012 09:28 AM, Fabio Porcedda : Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ drivers/watchdog/at91sam9_wdt.c | 21

Re: [PATCH v3 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Fabio Porcedda
On Tue, Sep 25, 2012 at 10:10 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 09:28 Tue 25 Sep , Fabio Porcedda wrote: Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- .../devicetree/bindings/watchdog/atmel-wdt.txt

Re: [PATCH v3 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Nicolas Ferre
On 09/25/2012 11:45 AM, Fabio Porcedda : On Tue, Sep 25, 2012 at 10:10 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 09:28 Tue 25 Sep , Fabio Porcedda wrote: Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com ---

Re: [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-25 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Sep 24, 2012 at 6:45 PM, Rob Herring robherri...@gmail.com wrote: On 09/06/2012 09:57 AM, Kishon Vijay Abraham I wrote: All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related

[PATCH v4 0/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Fabio Porcedda
Hi all, This set of patches is for adding device tree support to the at91sam_wdt driver. I've tested it on an at91sam9260 board (evk-pro3). Changes: v4: - use atmel,at91sam9260-wdt as compatible v3: - add heartbeat option - default disabled for all the soc, enable only for evk-pro3 board -

[PATCH v4 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Fabio Porcedda
Tested on an at91sam9260 board (evk-pro3) Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- .../devicetree/bindings/watchdog/atmel-wdt.txt | 19 +++ drivers/watchdog/at91sam9_wdt.c | 21 + 2 files changed, 40 insertions(+)

[PATCH v4 2/2] ARM: at91: add at91sam9_wdt driver to at91sam926x, at91sam9g45

2012-09-25 Thread Fabio Porcedda
Enable the driver for the evk-pro3 board. Tested on an at91sam9260 board (evk-pro3). Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com --- arch/arm/boot/dts/at91sam9260.dtsi | 6 ++ arch/arm/boot/dts/at91sam9263.dtsi | 6 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 6 ++

Re: [PATCH v4 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child

2012-09-25 Thread Mark Brown
On Mon, Sep 24, 2012 at 07:51:57AM -0500, Rob Herring wrote: On 09/22/2012 11:07 AM, Mark Brown wrote: On Tue, Sep 18, 2012 at 08:10:49AM +0100, Srinivas KANDAGATLA wrote: As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Laurent Pinchart
Hi Rob, On Monday 24 September 2012 08:42:12 Rob Herring wrote: On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: This patch adds a helper function for parsing videomodes from the devicetree. The videomode can be either converted to a struct drm_display_mode or a struct fb_videomode.

Re: [PATCH v3 1/2] watchdog: at91sam9_wdt: add device tree support

2012-09-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:00 Tue 25 Sep , Nicolas Ferre wrote: On 09/25/2012 11:45 AM, Fabio Porcedda : On Tue, Sep 25, 2012 at 10:10 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 09:28 Tue 25 Sep , Fabio Porcedda wrote: Tested on an at91sam9260 board (evk-pro3)

Re: [PATCH v6 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg

2012-09-25 Thread Marc Kleine-Budde
On 09/24/2012 11:38 AM, Praveen Paneri wrote: Hi Kishon, Felipe, Any further comments on these patches? Can they be merged now? One nitpick inline. Marc Thanks, Praveen On Mon, Sep 17, 2012 at 6:24 PM, Praveen Paneri p.pan...@samsung.com wrote: This driver uses usb_phy interface to

Re: [PATCH v6 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg

2012-09-25 Thread Rob Herring
On 09/25/2012 06:23 AM, Praveen Paneri wrote: Hi Rob, On Mon, Sep 24, 2012 at 6:34 PM, Rob Herring robherri...@gmail.com wrote: On 09/17/2012 07:54 AM, Praveen Paneri wrote: This driver uses usb_phy interface to interact with s3c-hsotg. Supports phy_init and phy_shutdown functions to

Re: [PATCH 0/4] deprecate regulator-compatible DT property

2012-09-25 Thread Mark Brown
On Mon, Sep 24, 2012 at 01:24:59PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com As explained in patch 1, this series deprecates the regulator-compatible DT property, and updates various binding documentation and examples for this change. Applied regulator patches,

Re: [PATCH v2] of: Add videomode helper

2012-09-25 Thread Laurent Pinchart
Hi Sascha, On Thursday 13 September 2012 13:19:54 Sascha Hauer wrote: On Thu, Sep 13, 2012 at 01:54:07PM +0300, Tomi Valkeinen wrote: On Wed, 2012-07-04 at 09:56 +0200, Sascha Hauer wrote: This patch adds a helper function for parsing videomodes from the devicetree. The videomode can be

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

2012-09-25 Thread Laurent Pinchart
On Monday 24 September 2012 21:35:46 Inki Dae wrote: 2012/9/22 Stephen Warren swar...@wwwdotorg.org: On 09/21/2012 01:22 AM, Inki Dae wrote: 2012/9/21 Stephen Warren swar...@wwwdotorg.org: On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: This patch adds device tree based discovery

Re: [PATCH v6 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg

2012-09-25 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Sep 25, 2012 at 5:48 PM, Rob Herring robherri...@gmail.com wrote: On 09/25/2012 06:23 AM, Praveen Paneri wrote: Hi Rob, On Mon, Sep 24, 2012 at 6:34 PM, Rob Herring robherri...@gmail.com wrote: On 09/17/2012 07:54 AM, Praveen Paneri wrote: This driver uses usb_phy interface to

Re: [PATCH 4/4] mfd: max8907: remove regulator-compatible from DT docs

2012-09-25 Thread Samuel Ortiz
Hi Stephen, On Mon, Sep 24, 2012 at 01:25:03PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Commit regulator: deprecate regulator-compatible DT property deprecated the use of the regulator-compatible DT property. Update the DT example in the MAX8907 binding

Re: [PATCH] media: add V4L2 DT binding documentation

2012-09-25 Thread Guennadi Liakhovetski
Hi Sylwester Ok, looks like there are no more comments coming, so, we can submit a new version:-) Thanks for your comments: On Tue, 11 Sep 2012, Sylwester Nawrocki wrote: Hi Guennadi, On 09/11/2012 05:51 PM, Guennadi Liakhovetski wrote: This patch adds a document, describing common V4L2

Re: [PATCH 07/16] ARM: at91: add pinctrl support

2012-09-25 Thread Nicolas Ferre
On 09/17/2012 05:27 PM, Jean-Christophe PLAGNIOL-VILLARD : This is also include the gpio controller as the IP share both. Each soc will have to describe the SoC limitation and pin configuration via DT. This will allow to do not need to touch the C code when adding new SoC if the IP version

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

2012-09-25 Thread Mark Brown
On Wed, Sep 26, 2012 at 12:03:44AM +0900, Inki Dae wrote: 2012/9/25 Laurent Pinchart laurent.pinch...@ideasonboard.com: Aren't DT bindings considered as an ABI, and required to be supported more or less forever ? If you merge this DT binding you'll have to keep supporting it. That's

Re: [RFC 6/6] ARM: dts: exynos4210: Add platform-specific descriptions for pin controllers

2012-09-25 Thread Stephen Warren
On 09/25/2012 03:37 AM, Tomasz Figa wrote: Hi Stephen, On Monday 24 of September 2012 17:14:38 Stephen Warren wrote: On 09/24/2012 03:31 PM, Tomasz Figa wrote: On Monday 24 of September 2012 11:42:15 Stephen Warren wrote: On 09/21/2012 01:54 PM, Tomasz Figa wrote: On Friday 21 of September

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

2012-09-25 Thread Mark Brown
On Wed, Sep 05, 2012 at 05:06:04PM +0530, Sourav Poddar wrote: +static struct regmap_config smsc_regmap_config = { + .reg_bits = 8, + .val_bits = 8, + .max_register = SMSC_MAX_REGISTER - 1; + .cache_type = REGCACHE_COMPRESSED, +}; That

[PATCH 1/1] Fix segfault in DTC

2012-09-25 Thread Markus Mayer
Prior to this change, an empty input file would cause a segfault, because yylloc had never been initialized. There was never any characters for the lexer to match, so YY_USER_ACTION was never executed before the parse error was detected. When the parser printed the error message, it tried to

[PATCH 0/1] Fix segfault in DTC

2012-09-25 Thread Markus Mayer
As suggested on linux-arm-kernel, I am copying devicetree-discuss, as well as David and Jon on this thread. Please let me know your thoughts. Regards, -Markus Markus Mayer (1): Fix segfault in dtc when empty input file is given. scripts/dtc/treesource.c |4 1 files changed, 4

Current state of devicetree and x86

2012-09-25 Thread Christian Gmeiner
Hi all. I am interested in the current state of dt and x86. In general I have device with some i2c devices and gpio stuff and a coreboot based BIOS. That means I could add the dt into the BIOS flash and make use of it. Is there any x86 bootloader that does support devicetree? Has somebody some

Re: [RFC 6/6] ARM: dts: exynos4210: Add platform-specific descriptions for pin controllers

2012-09-25 Thread Stephen Warren
On 09/25/2012 11:41 AM, Tomasz Figa wrote: On Tuesday 25 of September 2012 10:49:11 Stephen Warren wrote: On 09/25/2012 03:37 AM, Tomasz Figa wrote: Hi Stephen, On Monday 24 of September 2012 17:14:38 Stephen Warren wrote: On 09/24/2012 03:31 PM, Tomasz Figa wrote: On Monday 24 of September

[PATCH] of: dma: fix potential deadlock when requesting a slave channel

2012-09-25 Thread Jon Hunter
In the latest version of the OF dma handlers I added support (rather hastily) to exhaustively search for an available dma slave channel, for the use-case where we have alternative slave channels that can be used. In the current implementation a deadlock scenario can occur causing the CPU to loop

[RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This series adds some build rules to run cpp on *.dts-cpp prior to invoking dtc, and converts Tegra to the new rule as an example. What do people think? I assume that you've applied the dtc patches I sent yesterday. They aren't in this series. See:

[RFC PATCH 1/3] kbuild: introduce cmd_dtc_cpp

2012-09-25 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com 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. Signed-off-by: Stephen Warren swar...@nvidia.com --- scripts/Makefile.lib |3 +++ 1 files

[RFC PATCH 2/3] ARM: use cmd_dtc_cpp for compilation of *.dts-cpp to *.dtb

2012-09-25 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This allows DT source files to use the C pre-processor. A new file extension is introduced for this purpose, since use of the pre-processor must be optional; any property or node name that starts with # must be escaped to prevent the pre-processor

[RFC PATCH 3/3] ARM: tegra: compile all DT files with cpp

2012-09-25 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com We perform the minimum set of changes to convert the Tegra *.dts to compile using the C pre-processor before dtc: * Rename all the files to trigger the new build rule. * Escape all property names that start with a # so they aren't seen as C pre-processor

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Scott Wood
On 09/25/2012 02:06:35 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This series adds some build rules to run cpp on *.dts-cpp prior to invoking dtc, and converts Tegra to the new rule as an example. What do people think? I assume that you've applied the dtc patches I

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Mark Brown
On Tue, Sep 25, 2012 at 02:35:46PM -0500, Scott Wood wrote: Do you have an example of where you'd actually benefit from this? I'd think most things could either be done reasonably well with what's built into DTC (see what we've done in arch/powerpc/boot/dts/fsl), or would need math expression

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Stephen Warren
On 09/25/2012 01:35 PM, Scott Wood wrote: On 09/25/2012 02:06:35 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This series adds some build rules to run cpp on *.dts-cpp prior to invoking dtc, and converts Tegra to the new rule as an example. What do people think? I

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Scott Wood
On 09/25/2012 02:51:27 PM, Mark Brown wrote: On Tue, Sep 25, 2012 at 02:35:46PM -0500, Scott Wood wrote: Do you have an example of where you'd actually benefit from this? I'd think most things could either be done reasonably well with what's built into DTC (see what we've done in

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Stephen Warren
On 09/25/2012 01:59 PM, Scott Wood wrote: On 09/25/2012 02:51:27 PM, Mark Brown wrote: On Tue, Sep 25, 2012 at 02:35:46PM -0500, Scott Wood wrote: Do you have an example of where you'd actually benefit from this? I'd think most things could either be done reasonably well with what's built

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Mark Brown
On Tue, Sep 25, 2012 at 02:59:11PM -0500, Scott Wood wrote: On 09/25/2012 02:51:27 PM, Mark Brown wrote: The constant example is the magic numbers we need to embed into DTs for things like interrupt modes, making them human readable would be a real win. Wasn't there a patch for named

Re: [RFC 6/6] ARM: dts: exynos4210: Add platform-specific descriptions for pin controllers

2012-09-25 Thread Stephen Warren
On 09/25/2012 12:35 PM, Tomasz Figa wrote: On Tuesday 25 of September 2012 12:22:03 Stephen Warren wrote: ... BTW, how does the driver know what register addresses to use; I can see the base for each pin controller bank is in samsung,pctl-offset, but what describes the offset for each of the

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

2012-09-25 Thread David Gibson
On Tue, Sep 25, 2012 at 10:58:09AM -0700, Markus Mayer wrote: Prior to this change, an empty input file would cause a segfault, because yylloc had never been initialized. There was never any characters for the lexer to match, so YY_USER_ACTION was never executed before the parse error was

Re: [RFC PATCH 0/3] ARM: use C pre-processor with dtc

2012-09-25 Thread Tony Lindgren
* Stephen Warren swar...@wwwdotorg.org [120925 12:53]: On 09/25/2012 01:35 PM, Scott Wood wrote: Do you have an example of where you'd actually benefit from this? I'd think most things could either be done reasonably well with what's built into DTC (see what we've done in

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

2012-09-25 Thread Markus Mayer
On 25/09/2012 16:30, David Gibson wrote: On Tue, Sep 25, 2012 at 10:58:09AM -0700, Markus Mayer wrote: Prior to this change, an empty input file would cause a segfault, because yylloc had never been initialized. There was never any characters for the lexer to match, so YY_USER_ACTION was never

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

2012-09-25 Thread David Gibson
On Tue, Sep 25, 2012 at 04:51:47PM -0700, Markus Mayer wrote: On 25/09/2012 16:30, David Gibson wrote: On Tue, Sep 25, 2012 at 10:58:09AM -0700, Markus Mayer wrote: Prior to this change, an empty input file would cause a segfault, because yylloc had never been initialized. There was never any

RE: [PATCH v4 0/3] ARM: Exynos: Add support for MSHC controller

2012-09-25 Thread Kukjin Kim
Thomas Abraham wrote: This patch series adds Exynos5250 platform support for MSHC controllers. Thomas Abraham (3): ARM: Samsung: Add support for MSHC controller clocks ARM: Exynos5: Add AUXDATA support for MSHC controllers ARM: dts: Add nodes for dw_mmc controllers for Samsung

RE: [PATCH v4] ARM: EXYNOS: Add MFC device tree support

2012-09-25 Thread Kukjin Kim
Karol Lewandowski wrote: On 09/22/2012 08:07 PM, Arun Kumar K wrote: This patch adds device tree entry for MFC v6 in the Exynos5 SoC. Makes the required changes in the clock files and adds MFC to the DT device list. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com

Re: [PATCH 2/2] dtc: cpp co-existence: add support for #line directives

2012-09-25 Thread David Gibson
On Mon, Sep 24, 2012 at 04:51:17PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Line control directives of the following formats are supported: #line LINE FILE # LINE FILE [FLAGS] This allows dtc to consume the output of pre-processors, and to provide

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-25 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, Sep 19, 2012 at 5:26 PM, Felipe Balbi ba...@ti.com wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For omap4, the clk_get of this clock will fail since it does not have this clock.

Re: [PATCH 2/2] dtc: cpp co-existence: add support for #line directives

2012-09-25 Thread Stephen Warren
On 09/25/2012 10:34 PM, David Gibson wrote: On Mon, Sep 24, 2012 at 04:51:17PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Line control directives of the following formats are supported: #line LINE FILE # LINE FILE [FLAGS] This allows dtc to consume the