From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932377AbcBIUdg (ORCPT ); Tue, 9 Feb 2016 15:33:36 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:52532 "EHLO dd1012.kasserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753590AbcBIUde (ORCPT ); Tue, 9 Feb 2016 15:33:34 -0500 Date: Tue, 9 Feb 2016 21:33:21 +0100 From: Danny Milosavljevic To: Julian Calaby Cc: andre.przywara@arm.com, Maxime Ripard , Chen-Yu Tsai , linux-sunxi , Arnd Bergmann , "Mailing List, Arm" , "linux-kernel@vger.kernel.org" , Catalin Marinas , Will Deacon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree Subject: Re: [linux-sunxi] Re: [PATCH 11/11] arm64: dts: add Pine64 support Message-ID: <20160209213321.7ab6beba@scratchpost.org> In-Reply-To: References: <1454348370-3816-1-git-send-email-andre.przywara@arm.com> <1454348370-3816-12-git-send-email-andre.przywara@arm.com> <20160205090337.GB1139@lukather> <56B47391.1040709@arm.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, 8 Feb 2016 11:55:43 +1100 Julian Calaby wrote: > I believe that device tree overlays are the generally recommended method. I agree. But last time I tried, the device tree compiler didn't support overlays - neither in Debian nor in the in-kernel dtc ("-@" is unsupported; last tried with linux-4.3-rc7). And even if you could compile them, the platform has to support specifying which overlays to use in the first place (for example as a Linux cmdline option). For example Beaglebone Black (TI Sitara) does. I don't know whether sunxi does. Also, the overlay dts files are very different from normal dts files, see . The original Linux device tree changeset patchset also introduced an in-kernel interface for loading/unloading of DT overlays at runtime. AFAIK, this is still not available to user space. More info at . (I tried some 4 months ago - it wasn't integrated enough. So now I just patch the main dts every time - which I probably shouldn't) Regards, Danny