[PATCH] of: Add a reg-names property to name reg entries

Segher Boessenkool segher at kernel.crashing.org
Tue Oct 25 21:29:45 EST 2011


>> +		compatible = "ti,mcasp";
>> +		reg = <0 0x10 0x10>, <0 0x20 0x10>,
>> +		      <1 0x10 0x10>, <1 0x20 0x10>;
>> +		reg-names = "mpu", "dat",
>> +			    "dma", "dma_dat";
>
> Hmm for some systems looks like this can also solve how to pass the
> mux signal names cleanly from DT.

What problem does any of this solve?  The device binding for the
"mcasp" device will have to describe the possible "reg-names", and
what those mean; but the binding already has to describe its "reg"
property anyway.

The example looks like something that should be more properly done
with subdevices, not sure.


Segher



More information about the devicetree-discuss mailing list