Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932660Ab1CRVhG (ORCPT ); Fri, 18 Mar 2011 17:37:06 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:46947 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932131Ab1CRVg5 (ORCPT ); Fri, 18 Mar 2011 17:36:57 -0400 MIME-Version: 1.0 In-Reply-To: <201103182106.13888.arnd@arndb.de> References: <20110311165642.GA9996@kroah.com> <201103181600.09877.arnd@arndb.de> <4D839BCD.6030202@linaro.org> <201103182106.13888.arnd@arndb.de> From: Grant Likely Date: Fri, 18 Mar 2011 15:36:36 -0600 X-Google-Sender-Auth: OeIzZRIc8aaCPKThlcz-fcT-Np8 Message-ID: Subject: Re: RFC: Platform data for onboard USB assets To: Arnd Bergmann Cc: andy.green@linaro.org, Greg KH , devicetree-discuss@lists.ozlabs.org, Mark Brown , Nicolas Pitre , Linux USB list , lkml Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1088 Lines: 25 On Fri, Mar 18, 2011 at 2:06 PM, Arnd Bergmann wrote: > No, that is not the plan. The platform data is well-established > for deeply embedded systems (blackfin, arm-nommu, mips32, ...) where you > never want to build a kernel for multiple boards anyway. We also > have ways to generate platform_data from the device tree properties > to allow the same driver to be used by systems with or without > full device trees, and we have the fragments I mentioned that work > in the opposite way. Not actually true. We have drivers that can use both platform_data and device tree data, and for platform devices the resource table is automatically populated with irqs and register ranges, but platform_data is driver specific which prevents any automatic translation. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. -- 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/