Re: [PATCH 05/24] dt-bindings: sc27xx-blt: Add function and color properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue 2018-11-06 23:07:13, Jacek Anaszewski wrote:
> Refer to new "function" and "color" properties and mark "label"
> as deprecated.
> 
> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>
> Cc: Xiaotong Lu <xiaotong.lu@xxxxxxxxxxxxxx>
> Cc: Baolin Wang <baolin.wang@xxxxxxxxxx>

Don't you want to keep both color and label? New dts on old kernel
should still work...?

Ok, I see these are only examples....

								Pavel


> @@ -25,17 +27,17 @@ led-controller@200 {
>  	reg = <0x200>;
>  
>  	led@0 {
> -		label = "red";
> +		color = "red";
>  		reg = <0x0>;
>  	};
>  
>  	led@1 {
> -		label = "green";
> +		color = "green";
>  		reg = <0x1>;
>  	};
>  
>  	led@2 {
> -		label = "blue";
> +		color = "blue";
>  		reg = <0x2>;
>  	};
>  };

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux