[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ec9991e3-71b0-3671-8975-292287714f95@linaro.org>
Date: Tue, 31 May 2022 14:01:29 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Puranjay Mohan <p-mohan@...com>, linux-kernel@...r.kernel.org
Cc: davem@...emloft.net, edumazet@...gle.com,
krzysztof.kozlowski+dt@...aro.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, nm@...com, ssantosh@...nel.org,
s-anna@...com, linux-arm-kernel@...ts.infradead.org,
rogerq@...nel.org, grygorii.strashko@...com, vigneshr@...com,
kishon@...com, robh+dt@...nel.org, afd@...com, andrew@...n.ch
Subject: Re: [PATCH v2 1/2] dt-bindings: net: Add ICSSG Ethernet Driver
bindings
On 31/05/2022 13:59, Puranjay Mohan wrote:
> Hi Krzysztof,
>
> On 31/05/22 17:18, Krzysztof Kozlowski wrote:
>> On 31/05/2022 13:27, Puranjay Mohan wrote:
>>>>> +examples:
>>>>> + - |
>>>>> +
>>>>> + /* Example k3-am654 base board SR2.0, dual-emac */
>>>>> + pruss2_eth: pruss2_eth {
>>>>> + compatible = "ti,am654-icssg-prueth";
>>>>
>>>> Again missed Rob's comment.
>>>
>>> One of Rob's comment was to make the indentation as 4 which I have done.
>>
>> I clearly do not see indentation of 4, but there is 8 instead.
>
> I changed the indentation at the wrong place.
>
>>
>> Let's count:
>> + pruss2_eth: pruss2_eth {
> ^ here, it was 8 in v1 so, I changed it to 4
>
>> + compatible = "ti,am654-icssg-prueth";
>> 12345678^
>>
>
> Compatible is the child of pruss2_eth, so, It should have 4+4 = 8?
Yes. Indentation of four means first block is indented with 4 spaces.
The next block 4+4. The next one 4+4+4.
Best regards,
Krzysztof
Powered by blists - more mailing lists