lkml.org 
[lkml]   [2023]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 1/2] dt-bindings: leds-lp55xx: add ti,charge-pump-mode
From
On 03/02/2023 16:38, Maarten Zanders wrote:
>
> On 2/2/23 21:13, Krzysztof Kozlowski wrote:
>> + ti,charge-pump-mode:
>>> + description:
>>> + Set the operating mode of the internal charge pump as defined in
>>> + <dt-bindings/leds/leds-lp55xx.h>. Defaults to auto.
>>> + $ref: /schemas/types.yaml#/definitions/uint8
>> This should be then uint32
>
> Why is that? I specifically chose uint8 because other settings for LED
> are also uint8. The implementation is also uint8. I surely hope we'll
> never get to >256 modes for a charge pump.

Because all IDs are unsigned int.

Best regards,
Krzysztof

\
 
 \ /
  Last update: 2023-03-27 00:09    [W:0.033 / U:1.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site