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]

 



On 20.02.23 09:48, Marco Felsch wrote:
> 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?

Exactly.

> 
> Regards,
>   Marco
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |





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

  Powered by Linux