From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755556Ab3KGWWT (ORCPT ); Thu, 7 Nov 2013 17:22:19 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:49891 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753752Ab3KGWWK (ORCPT ); Thu, 7 Nov 2013 17:22:10 -0500 Date: Thu, 7 Nov 2013 14:22:05 -0800 From: Guenter Roeck To: Sebastian Andrzej Siewior Cc: Pantelis Antoniou , Grant Likely , Rob Herring , Stephen Warren , Matt Porter , Koen Kooi , Alison Chaiken , Dinh Nguyen , Jan Lubbe , Alexander Sverdlin , Michael Stickel , Dirk Behme , Alan Tull , Sascha Hauer , Michael Bohan , Ionut Nicu , Michal Simek , Matt Ranostay , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3 - V2] Introducing Device Tree Overlays Message-ID: <20131107222205.GA24450@roeck-us.net> References: <1383676898-29819-1-git-send-email-panto@antoniou-consulting.com> <20131106190152.GA8662@breakpoint.cc> <20131106193041.GA26796@roeck-us.net> <20131106203821.GC8662@breakpoint.cc> <20131106211754.GA29300@roeck-us.net> <20131107192558.GA11453@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20131107192558.GA11453@breakpoint.cc> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 07, 2013 at 08:25:58PM +0100, Sebastian Andrzej Siewior wrote: > On 06.11.13, Guenter Roeck wrote: > |… > thanks for the explanation. > > > We use DT overlays to describe the hardware on those boards and, if necessary, > > its configuration. For example, if there is a PCIe switch, the overlay would > > describe its memory and bus number configuration. > > So have your "fix" configuration and a few overlays you switch at > runtime. The problem you have is that you want to switch a specific part > if your configuration at runtime. I assume you run DT on ARM. What > happens if you swtich from ARM to x86 and you "keep" your FPGA > configuration requirement? You can't use both, DT and ACPI, right? So > what happens then? > We intend to use DT on x86 to augment ACPI data. There is a variety of reasons why we can not use ACPI, nor do we want to as we prefer a single method for handling OIR on all platforms. FWIW, the non-x86 platform is powerpc, not arm. Guenter