From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 6054E1A075B for ; Mon, 27 Apr 2015 08:47:59 +1000 (AEST) Message-ID: <1430086106.16571.79.camel@kernel.crashing.org> Subject: Re: [PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform From: Benjamin Herrenschmidt To: Jacek Anaszewski Date: Mon, 27 Apr 2015 08:08:26 +1000 In-Reply-To: <20150424121549.27b74b25@ja.home> References: <20150422234509.626d9dc7@ja.home> <55388254.4000606@linux.vnet.ibm.com> <20150423161342.55e9ac8f@ja.home> <5539D501.3040601@linux.vnet.ibm.com> <20150424121549.27b74b25@ja.home> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: stewart@linux.vnet.ibm.com, cooloney@gmail.com, Vasant Hegde , rpurdie@rpsys.net, linuxppc-dev@lists.ozlabs.org, linux-leds@vger.kernel.org, khandual@linux.vnet.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.