Re: [PATCH v1 00/20] dts: avoid DT breakage new fancy DTC v1.7.0 syntax

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

 



Hi Ahmad,

On 23-02-17, Ahmad Fatoum wrote:
> The fresh v1.7.0 release of the device tree compiler now contains
> fancy new syntax:
> 
>   &{i2c1/at24@50} {
> 	partitions {
> 		/* something */
> 	};
>   };
> 
> instead of &{/soc/bus1/bus2/i2c@12345678/at24@50}, which is overly
> verbose or &i2c1 { at24@50 }, which will break once someone renames
> it upstream to please the schema checker.

Just to double check this and I understood you correctly, the compiler
will complain if we specify:

	&{i2c1/at24@50} { };

and the node is not exisitng anymore?

Regards,
  Marco




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux