Re: How to represent negative values for device tree property

2013-04-02 Thread Stephen Warren
On 04/02/2013 12:29 AM, David Gibson wrote: > On Mon, Apr 01, 2013 at 05:24:19PM -0700, David Collins wrote: >> On 04/01/2013 03:00 PM, Stephen Warren wrote: >>> On 04/01/2013 03:08 PM, David Collins wrote: Hi, I am working on a thermal driver which needs to be able to read a t

Re: How to represent negative values for device tree property

2013-04-01 Thread David Gibson
On Mon, Apr 01, 2013 at 05:24:19PM -0700, David Collins wrote: > On 04/01/2013 03:00 PM, Stephen Warren wrote: > > On 04/01/2013 03:08 PM, David Collins wrote: > >> Hi, > >> > >> I am working on a thermal driver which needs to be able to read a > >> temperature threshold from a device tree property

Re: How to represent negative values for device tree property

2013-04-01 Thread David Gibson
On Mon, Apr 01, 2013 at 02:08:48PM -0700, David Collins wrote: > Hi, > > I am working on a thermal driver which needs to be able to read a > temperature threshold from a device tree property. The hardware supports > thresholds in the range -204.8 to +204.7 C in 0.1 C steps. I have found, > as I

Re: How to represent negative values for device tree property

2013-04-01 Thread David Collins
On 04/01/2013 03:00 PM, Stephen Warren wrote: > On 04/01/2013 03:08 PM, David Collins wrote: >> Hi, >> >> I am working on a thermal driver which needs to be able to read a >> temperature threshold from a device tree property. The hardware supports >> thresholds in the range -204.8 to +204.7 C in 0

Re: How to represent negative values for device tree property

2013-04-01 Thread Stephen Warren
On 04/01/2013 03:08 PM, David Collins wrote: > Hi, > > I am working on a thermal driver which needs to be able to read a > temperature threshold from a device tree property. The hardware supports > thresholds in the range -204.8 to +204.7 C in 0.1 C steps. I have found, > as I am sure others hav