> -----Original Message----- > From: Rob Herring [mailto:robh@xxxxxxxxxx] > Sent: Wednesday, April 04, 2018 2:50 AM > To: Yuan, Linyu (NSB - CN/Shanghai) > Cc: devicetree-spec@xxxxxxxxxxxxxxx; David Gibson; Jon Loeliger; Devicetree > Compiler > Subject: Re: integer lost format from dtb to dts > > On Mon, Apr 2, 2018 at 4:15 AM, Yuan, Linyu (NSB - CN/Shanghai) > <linyu.yuan@xxxxxxxxxxxxxxx> wrote: > > Hi all, > > > > When use dtc to compile dtb to dts, always lost integer format, > > For example, clock frequency, normally it should not print as hexadecimal, > other issue from my view is integer lower than 255, normally should not print > as hexadecimal too. > > > > Any good method to solve this issue ? > > No. The dtb format doesn't have type information, nor formatting > information. Adding this is certainly desired, but no one has come up > with a way to add the information in a backwards compatible way. Can we append a special data type after property data, and it is only used for dtc tool ? > > Rob ��.n��������+%������w��{.n����z�{���n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�