Re: [PATCH v2 1/2] dt-bindings: leds: ROHM BD2606MVV LED driver
From: Krzysztof Kozlowski
Date: Wed Apr 12 2023 - 03:09:37 EST
On 11/04/2023 21:30, Andreas Kemnade wrote:
> On Mon, 10 Apr 2023 17:34:00 +0200
> Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> 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