From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jisheng Zhang Subject: Re: Moving ARM dts files Date: Wed, 5 Dec 2018 06:02:39 +0000 Message-ID: <20181205135726.70badac7@xhacker.debian> References: <20181204183649.GA5716@bogus> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20181204183649.GA5716@bogus> Content-Language: en-US Content-ID: <0749FD24A27D70418492C967C58C578D@namprd03.prod.outlook.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring Cc: Andrew Lunn , Alexandre Belloni , Tony Lindgren , Linus Walleij , Liviu Dudau , Masahiro Yamada , Thierry Reding , Florian Fainelli , Kevin Hilman , Gregory Clement , Michal Simek , Krzysztof Kozlowski , "arm@kernel.org" , Joel Stanley , Andy Gross , "devicetree@vger.kernel.org" , Jason Cooper , Simon Horman , "linux-arm-kernel@lists.infradead.org" , Maxime Coquelin , Shawn Guo , =?iso List-Id: devicetree@vger.kernel.org Hi Rob, On Tue, 4 Dec 2018 12:36:49 -0600 Rob Herring wrote: > Olof, Arnd, > > I've put together a script to move the dts files and update the > makefiles. It doesn't handle files not following a common prefix which > isn't many and some includes within the dts files will need some fixups > by hand. > > MAINTAINERS will also need updating. > > A few questions: > > Do we want to move absolutely everything to subdirs? There's quite a > few platforms with only 1-2 platforms. I haven't added these to the > list yet, but can. > > Do any vendors need another level of directories? davinci, omap, nspire, > etc. for TI for example. > > What to do with armv7m.dtsi? I guess it should remain and we just fixup > the include. There may be a few other cross vendor things. > > > Sub-arch maintainers, > 'vendor_map' below is the mapping of file prefix to new subdirectory > (the SoC vendor prefix). Please comment if there are any issues. > > Rob > > 8<----------------------------------------------------------- > #!/usr/bin/env python3 > > import os > import re > from git import Git > import glob > > vendor_map = { > 'imx': 'fsl', > 'ls': 'fsl', > 'vf': 'fsl', > 'qcom': 'qcom', > 'am3' : 'ti', > 'am4' : 'ti', > 'am5' : 'ti', > 'da' : 'ti', > 'dm' : 'ti', > 'dra' : 'ti', > 'keystone' : 'ti', > 'omap' : 'ti', > 'nspire' : 'ti', > 'armada' : 'marvell', > 'berlin' : 'marvell', Now, berlin SoC is synaptics' SoC ;) Thanks