[microblaze-uclinux] Re: [microblaze-uclinux] RE: [PATCH v3] Device tree bindings for Xilinx devices

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Wed Oct 24 02:25:02 EST 2007


 

> -----Original Message-----
> From: 
> linuxppc-dev-bounces+stephen.neuendorffer=xilinx.com at ozlabs.or
> g 
> [mailto:linuxppc-dev-bounces+stephen.neuendorffer=xilinx.com at o
zlabs.org] On Behalf Of Michal Simek
> Sent: Monday, October 22, 2007 9:08 PM
> To: microblaze-uclinux at itee.uq.edu.au
> Cc: Leonid; Wolfgang Reissnegger; Arnd Bergmann; 
> linuxppc-dev at ozlabs.org
> Subject: RE: [microblaze-uclinux] Re: [microblaze-uclinux] 
> RE: [PATCH v3] Device tree bindings for Xilinx devices
> 
> >> In my opinion will be better generate only parameters which 
> >> you want not all.
> >> That smells with unusable parameters.
> >
> >In the long term, this may be true.  In the short term:
> >1) dtb size is not the key problem
> Yes of course
> >2) making sure that everything works is a key problem.
> >3) The code that generates the dts should be as simple as possible,
> >so that we can easily document what it does.
> Yes but you must document every parameter which your generate 
> do. The better way is 
> document only parameters which you want use.

No, that's exactly my point.  The generator should document what it
*does*
i.e.  When there is a parameter in the EDK file, then such and such
corresponding parameter will be generated in the dts.  The devices and
drivers
will inevitably change over time: your proposal would result in
an unnecessary maintenance headache...  The documentation of what the
individual
parameters are should be unambiguous from the EDK documentation.

The only things that the generator should handle 'specially', in my
opinion
are parameters that need to be munged to be standard names.

Steve




More information about the Linuxppc-dev mailing list