linux-mips
[Top] [All Lists]

Re: [RFC] MIPS: BCM63XX: add simple Device Tree includes for all SoCs

To: Stephen Warren <swarren@wwwdotorg.org>
Subject: Re: [RFC] MIPS: BCM63XX: add simple Device Tree includes for all SoCs
From: David Daney <ddaney.cavm@gmail.com>
Date: Tue, 13 Nov 2012 09:56:56 -0800
Cc: Jonas Gorski <jonas.gorski@gmail.com>, linux-mips@linux-mips.org, devicetree-discuss@lists.ozlabs.org, Kevin Cernekee <cernekee@gmail.com>, linux-kernel@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>, Maxime Bizon <mbizon@freebox.fr>, Florian Fainelli <florian@openwrt.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=olVNZvVUflr+i7KopeOgg1CTdH4i/jJVZWiCWvCTll0=; b=jnOsqPmkQDX34fiM3B8yQYMxtkgbu4uscMr+z+ebfLCjUGfd52de4OViTEB9iWsEzk RDw85DoU21qr9kOcGasJO8irKbAlVPfATq6J7DzP42676CVO7XWRAp1YOQYreSHcLakF VZJvGhexKDCipxYo2Dul3QsyfSLS4rlgA3Ynz9XeuOgYIVN8TjgsWFfWdmFawshJstEh mKc5NY0pYspjhUnecoGsTyA+4qd+jkQGFiY3xzQE7+jsrIQapDA27zLc+TcjhUj2Ijnq 6dYLHyonLsWHKdHvNmaNlttLpZ4EKYAMhVqglPvLuz24+m3jMluZBKVrltwBMAgshkx8 Jf7g==
In-reply-to: <50A1D290.3050409@wwwdotorg.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1352638249-29298-1-git-send-email-jonas.gorski@gmail.com> <1352638249-29298-3-git-send-email-jonas.gorski@gmail.com> <50A1D290.3050409@wwwdotorg.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2
On 11/12/2012 08:54 PM, Stephen Warren wrote:
On 11/11/2012 05:50 AM, Jonas Gorski wrote:
Add simple Device Tree include files for all currently supported SoCs.
These will be populated with device definitions as driver support
gets added.

  arch/mips/bcm63xx/dts/bcm6328.dtsi |   30 ++++++++++++++++++++++++++++++
  arch/mips/bcm63xx/dts/bcm6338.dtsi |   30 ++++++++++++++++++++++++++++++
  arch/mips/bcm63xx/dts/bcm6345.dtsi |   30 ++++++++++++++++++++++++++++++
  arch/mips/bcm63xx/dts/bcm6348.dtsi |   30 ++++++++++++++++++++++++++++++
  arch/mips/bcm63xx/dts/bcm6358.dtsi |   33 +++++++++++++++++++++++++++++++++
  arch/mips/bcm63xx/dts/bcm6368.dtsi |   33 +++++++++++++++++++++++++++++++++

All of ARM, c6x, microblaze, openrisc, powerpc put device tree files
into arch/${arch}/boot/dts/ - should MIPS follow the same layout?

At this point, I don't see what the benefit of centralizing all of these would be. Currently there is no concept of a single kernel image that would work across multiple MIPS system implementations. So keeping the DTS files with their users makes some organizational sense.

Similar arguments could be made for moving all the files in `find . -name \*.dts\*` to a top level dts/ directory.

David Daney

<Prev in Thread] Current Thread [Next in Thread>