lkml.org 
[lkml]   [2012]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH 7/7] leds-lm3530: enhanced arithmetic operation
>> The reason why dividing by two is only 7-bits of brightness value in the LM3530 register.
>>
>> Bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0
>> ------------------------------------------------------
>> N/A | LED Brightness Data (Bits[6:0])
>> ------------------------------------------------------
>>
>> So maximum value is limited to 127.

> So the max_brightness property of your led should be set to 127.

That's good point. Thanks a lot !
Additional patch needs for this.

Best Regards,
Milo -



\
 
 \ /
  Last update: 2012-01-20 18:33    [W:0.038 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site