lkml.org 
[lkml]   [2014]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] arm: tegra: initial support for apalis t30
On 06/02/2014 02:18 PM, Marcel Ziswiler wrote:
> On 06/02/2014 06:26 PM, Stephen Warren wrote:

>>> + pwmleds {
>>> + compatible = "pwm-leds";
>>> +
>>> + pwm3 {
>>> + label = "PWM3";
>>> + pwms = <&pwm 1 19600>;
>>> + max-brightness = <255>;
>>> + };
>>> + pwm2 {
>>> + label = "PWM2";
>>> + pwms = <&pwm 2 19600>;
>>> + max-brightness = <255>;
>>> + };
>>> + pwm1 {
>>> + label = "PWM1";
>>> + pwms = <&pwm 3 19600>;
>>> + max-brightness = <255>;
>>> + };
>>
>> Nit: Why not sort those nodes in numerical order?
>
> Sure, the only question is ordering based on what. I choose the actual
> Tegra PWM instance while you propose to use our Apalis instance
> numbering which in this particular case turns out to be the opposite but
> makes us even more happy to comply.

Sorting by reg value, or if there is no reg value then alphanumerically,
is what I've tried to (remember to) require for the Tegra DTs.


\
 
 \ /
  Last update: 2014-06-02 23:01    [W:0.125 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site