RE: [PATCH v2 1/2] PM / Domains: Add OF support

2012-01-16 Thread Kukjin Kim
Rafael J. Wysocki wrote: > > On Saturday, January 07, 2012, Thomas Abraham wrote: > > A device node pointer is added to generic pm domain structure to > associate > > the domain with a node in the device tree. The platform code parses the > > device tree to find available nodes representing the ge

Re: [PATCH v3 1/9] fdt: Add fdtdec functions to read byte array

2012-01-16 Thread Simon Glass
Hi Mike, On Mon, Jan 16, 2012 at 10:30 PM, Mike Frysinger wrote: > On Tuesday 17 January 2012 01:11:14 Simon Glass wrote: >> From: Anton Staff >> >> Sometimes we don't need a full cell for each value. This provides >> a simple function to read a byte array, both with and without >> copying it. >

Re: [PATCH v3 1/9] fdt: Add fdtdec functions to read byte array

2012-01-16 Thread Mike Frysinger
On Tuesday 17 January 2012 01:11:14 Simon Glass wrote: > From: Anton Staff > > Sometimes we don't need a full cell for each value. This provides > a simple function to read a byte array, both with and without > copying it. > > Signed-off-by: Simon Glass seems like getting s-o-b from Anton shou

[PATCH v3 6/9] tegra: fdt: Add keyboard definitions for Seaboard

2012-01-16 Thread Simon Glass
From: Anton Staff Seaboard uses a QUERTY keyboard. We add key codes for this to enable key scanning to work. Signed-off-by: Simon Glass --- Changes in v2: - Remove status = "okay" since this is the default anyway Changes in v3: - Move to new Linux device tree mapping for Tegra keyboard board

[PATCH v3 1/9] fdt: Add fdtdec functions to read byte array

2012-01-16 Thread Simon Glass
From: Anton Staff Sometimes we don't need a full cell for each value. This provides a simple function to read a byte array, both with and without copying it. Signed-off-by: Simon Glass --- Changes in v2: - Use correct name for get_prop_check_min_len() function include/fdtdec.h | 32

[PATCH v3 5/9] tegra: fdt: Add keyboard controller definition

2012-01-16 Thread Simon Glass
From: Anton Staff The Tegra keyboard controller provides a simple interface to a matrix keyboard. Signed-off-by: Simon Glass --- arch/arm/dts/tegra20.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi index 3

Re: [PATCH] video: s3c-fb: Add device tree support

2012-01-16 Thread Thomas Abraham
Hi Sylwester, On 14 January 2012 03:00, Sylwester Nawrocki wrote: > On 01/13/2012 10:03 PM, Sylwester Nawrocki wrote: >> On 01/09/2012 09:01 PM, Thomas Abraham wrote: >>> >>> +    for (idx = 0; idx<   nr_gpios; idx++) { >>> +            gpio = of_get_gpio(dev->of_node, idx); >>> +            if (

Re: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-16 Thread Shawn Guo
On Mon, Jan 16, 2012 at 05:08:57PM +0100, Linus Walleij wrote: ... > As you can see none of the text above claims that the group is > about hardware-defined groups or anything like that. The groups > are just that - a group of pins, an abstract concept of a group. Ok, the thing gets clarified. Th

Re: [PATCH v3 2/2] ARM: Exynos: Hook up power domains to generic power domain infrastructure

2012-01-16 Thread Rafael J. Wysocki
On Thursday, January 12, 2012, Thomas Abraham wrote: > Add support for generic power domain for Exynos4 platforms and remove the > Samsung specific power domain control for Exynos4. > > The generic power domain infrastructure is used to control the power domains > available on Exynos4. For non-dt

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-16 Thread Turquette, Mike
On Fri, Jan 13, 2012 at 11:36 AM, Aneesh V wrote: > Hi Olof, > > > On Monday 09 January 2012 11:12 AM, Olof Johansson wrote: >> >> Hi, >> >> On Sun, Jan 8, 2012 at 9:23 AM, Aneesh V  wrote: >>> >>> Hi, >>> >>> >>> On Tuesday 20 December 2011 03:08 PM, Aneesh V wrote: Hi Benoit

Re: [PATCH v2] [INCREMENTAL] Input: tegra-kbc - add device tree support

2012-01-16 Thread Leon Romanovsky
  21 +++ >  2 files changed, 27 insertions(+), 11 deletions(-) For any reasons this patch is missing from for-next branch and the absence of the lines below prevents from linux-next-20120116 build (and previous too). > +       u32 prop; > +    

Re: [RFC v2 4/9] of: add clock providers

2012-01-16 Thread Turquette, Mike
On Fri, Jan 13, 2012 at 4:47 AM, Shawn Guo wrote: > On Wed, Jan 11, 2012 at 09:46:58PM -0700, Grant Likely wrote: > ... >> >> +Required properties: >> >> +- compatible : shall be "fixed-clock". >> >> +- #clock-cells : from common clock binding; shall be set to 0. >> >> +- clock-frequency : frequen

Re: [i2c-mpc.c] adding entry for mpc8360

2012-01-16 Thread Richard Retanubun
On 13/01/12 02:26 AM, Wolfgang Grandegger wrote: Hello, I added the "devicetree-discuss" ml. On 01/12/2012 04:34 PM, Richard Retanubun wrote: Hello, I am wondering if it is okay to add .compatible entries for mpc8360 and declare its data structure to mpc-i2c.c something like this: {.compati

Re: [i2c-mpc.c] adding entry for mpc8360

2012-01-16 Thread Wolfgang Grandegger
Hello, I added the "devicetree-discuss" ml. On 01/12/2012 04:34 PM, Richard Retanubun wrote: > Hello, > > I am wondering if it is okay to add .compatible entries for mpc8360 and > declare its data structure > to mpc-i2c.c > > something like this: > > {.compatible = "fsl,mpc8360-i2c", .data = &

Re: [RFC v2 4/9] of: add clock providers

2012-01-16 Thread Turquette, Mike
On Thu, Jan 12, 2012 at 2:07 AM, Jamie Iles wrote: > On Wed, Jan 11, 2012 at 09:46:58PM -0700, Grant Likely wrote: >> On Tue, Jan 10, 2012 at 2:33 PM, Jamie Iles wrote: >> > On Mon, Dec 12, 2011 at 03:02:04PM -0700, Grant Likely wrote: >> > I'm about to start trying to get this and Mike's common

Re: Pinmux bindings proposal

2012-01-16 Thread Grant Likely
On Fri, Jan 13, 2012 at 12:39:42PM -0800, Stephen Warren wrote: > I thought a bit more about pinmux DT bindings. I came up with something > that I like well enough, and is pretty similar to the binding that Dong > posted recently. I think it'll work for both Tegra's and IMX's needs. > Please take a

Re: multiple drivers for same hardware

2012-01-16 Thread Stuart Yoder
On Fri, Jan 13, 2012 at 12:52 PM, Kumar Gala wrote: > We have some scenarios in which we might have 2 different drivers (one in > kernel or one user space as an example) and wanted to see how we'd convey in > the device tree which driver should "claim" the specific device instance. > I don't th

Re: [GIT PULL] devicetree changes for v3.3

2012-01-16 Thread Grant Likely
On Sat, Jan 07, 2012 at 12:41:25PM -0800, Linus Torvalds wrote: > On Wed, Jan 4, 2012 at 11:11 PM, Grant Likely > wrote: > > Hi Linus, > > > > Please pull the following device tree changes queued up for 3.3. > > > > There is a signed tag for this pull request: devicetree-for-linus-20120104 > > >

Re: [PATCH] x86: convert to generic irq_domain

2012-01-16 Thread Grant Likely
On Sun, Jan 15, 2012 at 05:35:38PM +0100, Sebastian Andrzej Siewior wrote: > * Rob Herring | 2011-12-16 23:18:49 [-0600]: > > >From: Grant Likely > > > >This is needed to avoid struct collisions with the generic irq_domain > >support being added to kernel/irq/generic-chip.c. > > > >Boot tested, b

Re: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-16 Thread Linus Walleij
On Sat, Jan 14, 2012 at 2:22 AM, Shawn Guo wrote: > On Fri, Jan 13, 2012 at 10:16:36AM -0800, Stephen Warren wrote: >> Admittedly, the wording of Linusw's actually seems to agree more with how >> you're interpreting what Dong said, but in that case, I don't think his >> reply makes sense - the who

Re: [PATCH v2 REPOST] dtc: Add support for named integer constants

2012-01-16 Thread Jon Loeliger
> > > For what it's worth, I'd tend towards a simple expression-based syntax > > where property values can be calculated with C-style expressions. Basic > > math stuff like ( ) + - * / & | ~ << >> and some basic string handling > > operations (str(int) and concatenation). > > ... > > I think appl

RE: Pinmux bindings proposal

2012-01-16 Thread Dong Aisheng-B29396
> -Original Message- > From: Stephen Warren [mailto:swar...@nvidia.com] > Sent: Saturday, January 14, 2012 4:40 AM > To: Dong Aisheng-B29396; linus.wall...@stericsson.com; s.ha...@pengutronix.de; > rob.herr...@calxeda.com; ker...@pengutronix.de; c...@laptop.org; Simon Glass > (s...@chromium

Re: [PATCH v2 REPOST] dtc: Add support for named integer constants

2012-01-16 Thread David Gibson
On Wed, Jan 11, 2012 at 01:36:46PM -0800, Stephen Warren wrote: > Jon Loeliger wrote at Wednesday, January 11, 2012 7:38 AM: > > > On Tue, Jan 10, 2012 at 01:54:30PM -0800, Stephen Warren wrote: > > > > John, David, > > > > > > > > What can we do to reach consensus on expanding dtc to handle named