All of lore.kernel.org
 help / color / mirror / Atom feed
* Device Tree "Status" Property Question
@ 2009-12-30 16:58 John Schmoller
  2010-01-04 14:50 ` Yoder Stuart-B08248
  2010-01-04 20:37 ` Scott Wood
  0 siblings, 2 replies; 3+ messages in thread
From: John Schmoller @ 2009-12-30 16:58 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

Hello all,

I'm currently working with U-Boot to pass POST results to Linux in an
FDT.  To do this, I'm intending to use the "status" property, as
documented in ePAPR 1.0 (I'm using PowerPC).  My question involves the
"fail-sss" property value.  What is the intention of "sss"?  Is it meant
to be 3 digit error code, or a string, or what?  I'd like to append a
failure message to the value if that's appropriate.  Something like
"fail-Widgit X did not respond" or some such thing.  Please let me know
if that's not the intended use of the "fail-sss" value.

Thanks for your time,
John

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Device Tree "Status" Property Question
  2009-12-30 16:58 Device Tree "Status" Property Question John Schmoller
@ 2010-01-04 14:50 ` Yoder Stuart-B08248
  2010-01-04 20:37 ` Scott Wood
  1 sibling, 0 replies; 3+ messages in thread
From: Yoder Stuart-B08248 @ 2010-01-04 14:50 UTC (permalink / raw)
  To: John Schmoller, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

 

> -----Original Message-----
> From: 
> devicetree-discuss-bounces+stuart.yoder=freescale.com-uLR06cmDAlY@public.gmane.org
labs.org [mailto:devicetree-discuss->
bounces+stuart.yoder=freescale.com-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org] On 
> Behalf Of John Schmoller
> Sent: Wednesday, December 30, 2009 10:58 AM
> To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> Subject: Device Tree "Status" Property Question
> 
> Hello all,
> 
> I'm currently working with U-Boot to pass POST results to Linux in an
> FDT.  To do this, I'm intending to use the "status" property, as
> documented in ePAPR 1.0 (I'm using PowerPC).  My question involves the
> "fail-sss" property value.  What is the intention of "sss"?  
> Is it meant
> to be 3 digit error code, or a string, or what?  I'd like to append a
> failure message to the value if that's appropriate.  Something like
> "fail-Widgit X did not respond" or some such thing.  Please 
> let me know
> if that's not the intended use of the "fail-sss" value.

This property comes from IEEE-1275 and it's described use in that
spec is that the "sss" is human readable information.   So a message
as you described seems perfectly fine.  I've seen nothing that would
indicate a 3 digit error code is intended.

We plan to do a minor rev to the ePAPR in the near future and will 
clarify that when we do it.

Stuart

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Device Tree "Status" Property Question
  2009-12-30 16:58 Device Tree "Status" Property Question John Schmoller
  2010-01-04 14:50 ` Yoder Stuart-B08248
@ 2010-01-04 20:37 ` Scott Wood
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Wood @ 2010-01-04 20:37 UTC (permalink / raw)
  To: John Schmoller; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

John Schmoller wrote:
> Hello all,
> 
> I'm currently working with U-Boot to pass POST results to Linux in an
> FDT.  To do this, I'm intending to use the "status" property, as
> documented in ePAPR 1.0 (I'm using PowerPC).  My question involves the
> "fail-sss" property value.  What is the intention of "sss"?  Is it meant
> to be 3 digit error code, or a string, or what?  I'd like to append a
> failure message to the value if that's appropriate.  Something like
> "fail-Widgit X did not respond" or some such thing.  Please let me know
> if that's not the intended use of the "fail-sss" value.

I believe it's supposed to be an arbitrary string, the meaning of which 
is device-specific.

-Scott

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-04 20:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30 16:58 Device Tree "Status" Property Question John Schmoller
2010-01-04 14:50 ` Yoder Stuart-B08248
2010-01-04 20:37 ` Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.