[PATCH] of_property and phandles

Jan Lübbe jlu at pengutronix.de
Wed Aug 14 05:06:12 EDT 2013


On Wed, 2013-08-14 at 10:11 +0200, Sascha Hauer wrote:
> This adds the support for phandles to the of_property command.
> 
> The of_property command is able to manipulate devicetree properties,
> but so far it hasn't been able to specify phandles. With this
> series the following is possible:
> 
> of_property -s /soc/somenode propname </soc/someothernode 0xdeadbeef>
> 
> The /soc/someothernode is inserted into the property as phandle.
> 
> The projected usecase currently is to chose a display out of several
> possible during runtime.

Thanks, the series looks good.

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list