Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753565AbbKQPQT (ORCPT ); Tue, 17 Nov 2015 10:16:19 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:60534 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751616AbbKQPQQ (ORCPT ); Tue, 17 Nov 2015 10:16:16 -0500 From: Arnd Bergmann To: Laura Abbott , arve@android.com Cc: Rob Herring , Frank Rowand , Sumit Semwal , Riley Andrews , John Stultz , Grant Likely , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Gall , Colin Cross , devel@driverdev.osuosl.org, Greg Kroah-Hartman , romlem@google.com, mitchelh@codeaurora.org, linux-arm-kernel@lists.infradead.org, Feng Tang , Marek Szyprowski Subject: Re: [PATCHv2 0/3] Devicetree bindings for Ion Date: Tue, 17 Nov 2015 16:15:15 +0100 Message-ID: <8990901.B0bMvlhTJH@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1447721855-7574-1-git-send-email-laura@labbott.name> References: <1447721855-7574-1-git-send-email-laura@labbott.name> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:SXntKJ+OskI+Du1QkIurMxZZ4mntqN7YlxD+1zEBV3xJWgVNAn5 rxZx1OtqcQYTvYW3LFZEETY+9X0+nJAC0Jj3aj/HyXeqzteZp++rcLZ9e3yQ2w3eTJjttZ5 ZDghpqVb1RN8eUdKcI03i59XM2qqtP3+FYZuMWNz8UjloJx7eDpIVJHs6eynV1ymp/wL/EG QdVEzOEWO35jbVw2i8y4g== X-UI-Out-Filterresults: notjunk:1;V01:K0:MU3jNIjOrUw=:GW0hMFtgyxbSXY5fqMSLOw /JXYZdtclmkbOdpXFo7Iy0urm/wZPxglKrTdQOY3A2yrH0NC3Ngnze6LRifURAJomXxbxc4Vy 1pR0OEhtKy95aV17BIQ+Th2NgriqduM070X4nF3doxH82/Li66trMCMS7LOmhJVuPJm22ta1/ XHxTPkHDBId0I4EeDYEdoTWnhDb17Cx+Y8cbJ2nyAH7frybjwHc5LGk3RDB5zhAUJZVC+vjjx 8WjuFQjN1bkcuT2H4mB5sL25YKDRx2hpcfW1V9y8CQTJEsYAuGJlNg8jaYxOG8nyr2IznFKZo 2FHugeBuv6hkAsAETzLb7GNmGuQXWvUNnpOuRuogoHJ1YU4m7eHbQj0MYKvYG0pHsDUsM8Vf8 wVJSDHA6ca4jm1uinN2T0a8sMFL8nWidamvpn/6hhO+srRlHrj0B/dcchnfwlhIi5Sm5Os3D3 N0OVlf8eCgAEzAUi+CH+AkYozsYJt5+oGo951y+z3/NYQzDVLgr/ANT09l5rxWRrWsp+78rHO HPW6L1ScMS53eoZ5zX3vGBMuUTEsSzXyDzMq3ym/wuLNmxlEeb11XxhqKMy/ePE9weJuizvBO OC6asdWf2e2jMTvQWNQJI2pDGMOZVwzaR5Qu5dTc027Vici2lGKz97hmtNGq8JQShW8GRvTBs rVsPrnBcV4fd4zhj36T44Vk98uDPIOrGA5U7Byo6mp0oD0kOmoZT85VSL98z3/Ol9hu/NeTsP r97zBDhGLLLJT3ff Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1578 Lines: 29 On Monday 16 November 2015 16:57:32 Laura Abbott wrote: > Hi, > > This is another attempt at devicetree bindings for Ion. The big complaint from > v1 was that too much unnecessary data was being pushed into devicetree. > v2 takes a different approach of using just compatbile strings for the heaps. > This gets closer to the devicetree philosophy of describing just the hardware. > Each heap ultimately represents some kind of memory that exists in the system. > The compatible string indicates the match for how to handle the type of memory > on this system. The details like heap-id, name etc. are now pushed out to C > files. This makes Ion heaps look closer to something like a quirks framework. > (I'd argue this isn't a complete mischaracterization given the type of setup > Ion gets used for...) The one downside here is that this leads to more new > bindings for each board that gets added. > > This version also includes a sample C file which shows what the structure > might look like. As always, your comments and reviews are appreciated. I'm still a bit unsure about the concept of hardwiring ion in the DT bindings. It's not just Linux-specific, it's specific to the implementation of one or two GPU drivers, and if we fix the bindings for Ion, we might never be able to migrate them away from this framework. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/