From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: Deprecating of_platform, the path from here... Date: Wed, 09 Dec 2009 16:21:21 -0800 (PST) Message-ID: <20091209.162121.256573183.davem@davemloft.net> References: <20091209.161550.168794100.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091209.161550.168794100.davem@davemloft.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org To: grant.likely@secretlab.ca Cc: devicetree-discuss@lists.ozlabs.org, linuxppc-dev@ozlabs.org, paulus@samba.org, jk@ozlabs.org List-Id: devicetree@vger.kernel.org From: David Miller Date: Wed, 09 Dec 2009 16:15:50 -0800 (PST) > From: Grant Likely > Date: Wed, 9 Dec 2009 15:06:29 -0700 > >> 1) of_platform will be deprecated in preference of the platform bus. > > What a shame, it's one of the cleanest driver probing models > in the tree. And BTW, have you folks who "decided" this considered at all the fact that it is much easier to describe represent platform devices using of OF devices rather than the other way around? The platform device pdata mechanism requires data structure changes and is not dynamically extensible, whereas OF devices are fundamentally so. I don't like the idea to get rid of of_platform devices at all. OF devices are really clean, much like netlink messages, where arbitrary named attributes can be added or removed without any data structure changes at all.