Re: [PATCH] of/flattree: use callback to setup initrd from /chosen

2010-01-12 Thread Grant Likely
On Tue, Dec 22, 2009 at 6:17 AM, Michael Ellerman wrote: > On Tue, 2009-12-22 at 18:54 +0800, Jeremy Kerr wrote: >> Hi Michael, >> >> > >  void early_init_dt_setup_initrd_arch(unsigned long start, >> > >                                 unsigned long end); >> > >> > arch_early_init_dt_setup_initrd(

Re: RFC: proposal to extend the open-pic interrupt specifier definition

2010-01-12 Thread Grant Likely
On Tue, Jan 12, 2010 at 11:06 PM, Grant Likely wrote: > On Tue, Jan 12, 2010 at 11:36 AM, Yoder Stuart-B08248 > wrote: >>> > The advantage of the above approach is backwards compatibility. >>> > Existing interrupt specifiers (and device trees) are valid with >>> > this proposal. >>> >>> Actually

Re: RFC: proposal to extend the open-pic interrupt specifierdefinition

2010-01-12 Thread Grant Likely
On Thu, Jan 7, 2010 at 10:39 AM, Yoder Stuart-B08248 wrote: >> > > Um.. what do "type" and "sub-type" mean in this context? >> > >> > "type" specifies the type of interrupt-- example timer, MSI, >> > etc and would define the meaning of the interrupt number >> > portion of the interrupt specifier.

Re: RFC: proposal to extend the open-pic interrupt specifier definition

2010-01-12 Thread Grant Likely
On Tue, Jan 12, 2010 at 11:36 AM, Yoder Stuart-B08248 wrote: >> > The advantage of the above approach is backwards compatibility. >> > Existing interrupt specifiers (and device trees) are valid with >> > this proposal. >> >> Actually they're not, like BenH pointed out. > > The proposal is backward

Re: [Power.org:parch] Re: RFC: proposal to extend the open-pic interrupt specifierdefinition

2010-01-12 Thread Grant Likely
On Thu, Jan 7, 2010 at 10:18 AM, Scott Wood wrote: > David Gibson wrote: >> >> On Wed, Jan 06, 2010 at 08:33:03PM -0700, Yoder Stuart-B08248 wrote: >>> >>> "type" specifies the type of interrupt-- example timer, MSI, >>> etc and would define the meaning of the interrupt number >>> portion of the i

Q/RFC: add dts property for i2c apater timeout?

2010-01-12 Thread Albrecht Dreß
Hi, before submitting a patch, I would like to hear your opinion... When testing a i2c bus on the '5200, I ran into bus hangs because one of the attached chips went south. The timeout in struct i2c_adapter of drivers/i2c/busses/i2c-mpc.c is hard-wired to 1 second (HZ jiffies) which is *really*

RE: RFC: proposal to extend the open-pic interrupt specifier definition

2010-01-12 Thread Yoder Stuart-B08248
> -Original Message- > From: > devicetree-discuss-bounces+stuart.yoder=freescale@lists.oz labs.org [mailto:devicetree-discuss-> bounces+stuart.yoder=freescale@lists.ozlabs.org] On > Behalf Of Segher Boessenkool > Sent: Tuesday, January 12, 2010 12:18 PM > To: Yoder Stuart-B0824

Re: RFC: proposal to extend the open-pic interrupt specifier definition

2010-01-12 Thread Segher Boessenkool
> The current open-pic binding defines that interrupt specifiers > have 2 cells-- an interrupt number and level/sense encoding. > > With chips like the P4080 this is no longer sufficient to > represent the various types of interrupt sources handled by > the interrupt controller. A linear list of i

[PATCH] Modification of lexer and parser, improving dtc portability.

2010-01-12 Thread Lukasz Wojcik
This mod allows successful build of dtc using both bison/flex and yacc/lex. --- dtc-lexer.l |2 ++ dtc-parser.y |3 ++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dtc-lexer.l b/dtc-lexer.l index d142de5..96c2fce 100644 --- a/dtc-lexer.l +++ b/dtc-lexer.l @@ -38,6 +38,8