lkml.org 
[lkml]   [2023]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 1/2] dt-bindings: leds: ROHM BD2606MVV LED driver
From
On 11/04/2023 21:30, Andreas Kemnade wrote:
> On Mon, 10 Apr 2023 17:34:00 +0200
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
>
> [...]
>>> + led-controller@66 {
>>> + compatible = "rohm,bd2606mvv";
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> + reg = <0x66>;
>>
>> reg is always second property in DTS.
>>
>>> +
>>> + led@0 {
>>> + color = <LED_COLOR_ID_RED>;
>>> + function = LED_FUNCTION_POWER;
>>> + reg = <0x0>;
>>
>> Ditto
>>
> hmm, reg also second if no compatible first? I see it usually first in
> such cases.

Right, then reg is first.

Best regards,
Krzysztof

\
 
 \ /
  Last update: 2023-04-12 09:09    [W:0.090 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site