[PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Apr 27 08:08:26 AEST 2015


On Fri, 2015-04-24 at 12:15 +0200, Jacek Anaszewski wrote:
> No matter what format of device tree OPAL produces, I assume that
> it must compile it from some sources.

Nope. Well... .C code maybe qualifies as "sources" :-)

> dtb file is a compiled form of human readable dts file containing
> Flattened Device Tree - a data structure for describing the hardware
> in the system.
> 
> Please refer to: http://elinux.org/Device_Tree

We are quite familiar with this, guess what architecture created the
whole flat device-tree stuff in the first place ?

In any case, in our case, the fdt is procedurally generated by firmware.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list