Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp16980rwr; Tue, 2 May 2023 15:07:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tYLA0ENMuk6fFftXlVjfMB52B0nZWS4+3eFmUKyKVuMYLvbepuQpGctH5WJA12N8CpS2D X-Received: by 2002:a17:902:b707:b0:1a5:150f:8558 with SMTP id d7-20020a170902b70700b001a5150f8558mr17217pls.17.1683065223821; Tue, 02 May 2023 15:07:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683065223; cv=none; d=google.com; s=arc-20160816; b=QMhs2CcvI66bh3N0QykXJ3R6Y6mnL61z5a8yF5CWjLY+8JuVPyCwXdfSCBzmdDfV4M NWqY8C5HCvJnDWMcIIqEf2N5a1m1z1cGoZknTkxtIEJ8paWtnmk7P/yD9p6FBl4Vcxo0 zwXpIdBXBKoosupjIViycapgphF11D7UsXmw8IHmuZLwILq00zMqeiihYb3YiFuvqVvo wE6ygNRs9Q0MLrMi1B+jKPQdKFHo8+8MjsAiTlaoGyAnlVan1j3U7lHp2wxZ8ebWeZ5l rE5tk9xq+wu5LX4IcIZYWrvupEgXk5hQJWP8HReqYzl3DyfQCPGS21q8C7U7K70MFkQP /tqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=TdcAdDdlf9uHq0BGWP12DCyO25DhnUOTFA60Cufr6eI=; b=YdVxqx/tRAiGGSFe/Ll12m/gLikvLloboo36O0ryQm2AKQNAOBIfQhqyi4BIkuUtfU DqD75jMdfNZzTj6hOhYuqNA4QQKxFPRC5/LqO4AO0qhcm+wJj3B+5xIiaq8W/SC+LT52 jhs8xcPwCJp+ZB5EakOpHpoeDS9CwldfG5S9iWObOGPoxlH6bzGzwDz8ta9YLA8n0K2i EHWo9PI5vbTL2Q3yLbvcit4UgyE67OdX5EBmiljkE3+P9iVa5dGLwtPlpwURPG0lY0LM beCwdkD1z2tLKMjgBChtrz7r2lHUKPxToCESVD7kzpvSSH65lZJGXMhL8Vyrfg2u+Uxf kwwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="RT0q3Tq/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a170902748600b001ab045ac4fbsi3638174pll.183.2023.05.02.15.06.43; Tue, 02 May 2023 15:07:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="RT0q3Tq/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbjEBWBM (ORCPT + 99 others); Tue, 2 May 2023 18:01:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjEBWBK (ORCPT ); Tue, 2 May 2023 18:01:10 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD49D1FEE; Tue, 2 May 2023 15:01:08 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f19b9d5358so44037005e9.1; Tue, 02 May 2023 15:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683064867; x=1685656867; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TdcAdDdlf9uHq0BGWP12DCyO25DhnUOTFA60Cufr6eI=; b=RT0q3Tq/QobRc7VhWSA058nWN/Za5XYXvPGAIJlI1ZUNAUDMj5BN+lfBvNOL7lOsvi wsgGV7KrmVwWv/KMOdekp8C7pQaON1LAK5t9ubx19ePpGuEftKgJC/l7k+ML6sxx8JK9 UlUulOSSkFQPIDL+zYjvJKrqSMzaiEy1GG+3oxDl6PSn1KoVPFpl6qS5BdSJSBjjC2b8 bwX53rYuzNXwiPyy0bXgSp2J2HTLqVbctbilWo7XLgkDv9sLOmwJ//iCqRERemcfFjBs YRmeM+KtYqqC91FnNE0ka6uEtbetCHByeOTjm2Jt4RVi90NmQdapH1J4YBNcEwBPOh/O LYfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683064867; x=1685656867; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TdcAdDdlf9uHq0BGWP12DCyO25DhnUOTFA60Cufr6eI=; b=lUT8wj/zQNtoA1Ov5FiLP99FA897/llT9HPLVc/Pfg7GnBifj2j4kLMSkC0eTu7h5q IckfyS8pERHeUK0DMwmHxeS1B+gCLghWfgvYCovv/2lawM6+duY6ib8EmdFUgy9rDsCE A4H/2k1OE7Sb0jd0F5ibNXFe1hvg9qGrV0N4bYGp0p2ldnDKFb98NdCheDaAGjiVtLuR Vwv5UZnvzxs3auG2rGnaL5iymV0K3szFIbPQ+RBjGbyS3rdO0g5Z9UgqDnoCY4UbghTd WdNMAs0v3eLCUXsGYpdE8t5q1Uukp3YiGovOMmriY7x6zgdfFGdeSDN3UPMMleD1PcFe C9Dw== X-Gm-Message-State: AC+VfDyjQWGQqFVgHuCR5/Zb9eW+2/WvZJUn1Ykc9oA3RmtsfEvK6Xl9 SUqKRQlSn1CgsTHSeOx1AA4= X-Received: by 2002:a7b:c7d4:0:b0:3f1:9ca1:cac3 with SMTP id z20-20020a7bc7d4000000b003f19ca1cac3mr13020245wmk.34.1683064867148; Tue, 02 May 2023 15:01:07 -0700 (PDT) Received: from smtpclient.apple ([91.135.9.67]) by smtp.gmail.com with ESMTPSA id y4-20020a05600c364400b003f175954e71sm1965wmq.32.2023.05.02.15.01.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 May 2023 15:01:06 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: [RFC PATCH 0/1] Categorize ARM dts directory From: Christian Hewitt In-Reply-To: Date: Tue, 2 May 2023 23:01:04 +0100 Cc: Arnd Bergmann , Geert Uytterhoeven , Olof Johansson , Christian Marangi , Krzysztof Kozlowski , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org, linux-sunxi@lists.linux.dev, Linux-OMAP , linux-amlogic@lists.infradead.org, linux-arm-kernel@axis.com, linux-aspeed@lists.ozlabs.org, linux-rpi-kernel@lists.infradead.org, chrome-platform@lists.linux.dev, Linux-Renesas , linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, kernel@dh-electronics.com, linux-mediatek@lists.infradead.org, openbmc@lists.ozlabs.org, linux-tegra@vger.kernel.org, "linux-oxnas@groups.io" , linux-arm-msm@vger.kernel.org, linux-unisoc@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-realtek-soc@lists.infradead.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220328000915.15041-1-ansuelsmth@gmail.com> <85eb14ec-f465-7447-ad77-a3dabc666f47@kernel.org> <720a2829-b6b5-411c-ac69-9a53e881f48d@app.fastmail.com> To: Rob Herring X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 2 May 2023, at 8:40 pm, Rob Herring wrote: >=20 > On Tue, May 2, 2023 at 3:15=E2=80=AFAM Arnd Bergmann = wrote: >>=20 >> On Tue, Apr 25, 2023, at 17:57, Rob Herring wrote: >>> On Tue, Apr 25, 2023 at 2:28=E2=80=AFAM Geert Uytterhoeven = wrote: >>>=20 >>>> Does your script also cater for .dts files not matching any = pattern, >>>> but including a .dtsi file that does match a pattern? >>>=20 >>> I assume I built everything after moving, but maybe not... >>>=20 >>> That's all just "details". First, we need agreement on a) moving >>> things to subdirs and b) doing it 1-by-1 or all at once. So far = we've >>> been stuck on a) for being 'too much churn'. >>=20 >> Sorry for missing most of the discussion last week. The script sounds >> fine to me, the only reason I didn't want to do this in the past is = that >> we had the plan to move platforms out of the kernel tree to an = external >> repository and I wanted to do this platform at a time and also only = move >> each one once. I don't think that is going to happen anytime soon = now, >> so let's just do your script. >>=20 >> Can you send me the script and/or a pull request of the resulting >> tree based on my soc/dt branch? Everything is merged upstream, >> and I think git-merge would handle the remaining merges with any >> other changes in mainline. >=20 > I've dusted off my script and made a branch[1] with the result. > There's just a couple of fixes needed after the script is run (see the > top commit). The cross arch includes are all fixed up by the script. > dtbs_install maintains a flat install. I compared the number of .dtbs > before and after to check the script. >=20 > I think the only issue remaining is finalizing the mapping of > platforms to subdirs. What I have currently is a mixture of SoC > families and vendors. The most notable are all the Freescale/NXP > platforms, pxa, socfpga, and stm32. It's not consistent with arm64 > either. Once that's finalized, I still need to go update MAINTAINERS. >=20 > Here's the current mapping: >=20 > vendor_map =3D { > 'alphascale' : 'alphascale', > 'alpine' : 'alpine', > 'artpec' : 'axis', > 'axm' : 'lsi', > 'cx9' : 'cnxt', > 'ecx' : 'calxeda', > 'highbank' : 'calxeda', > 'ep7' : 'cirrus', > 'mxs': 'mxs', > 'imx23': 'mxs', > 'imx28': 'mxs', > 'sun' : 'allwinner', > 'imx': 'imx', > 'e6' : 'imx', > 'e7' : 'imx', > 'mba6' : 'imx', > 'ls': 'fsl', > 'vf': 'fsl', > 'qcom': 'qcom', > 'am3' : 'ti', > 'am4' : 'ti', > 'am5' : 'ti', > 'dra' : 'ti', > 'keystone' : 'ti', > 'omap' : 'ti', > 'compulab' : 'ti', > 'logicpd' : 'ti', > 'elpida' : 'ti', > 'motorola' : 'ti', > 'twl' : 'ti', > 'da' : 'ti', > 'dm' : 'ti', > 'nspire' : 'nspire', > 'armada' : 'marvell', > 'dove' : 'marvell', > 'kirkwood' : 'marvell', > 'orion' : 'marvell', > 'mvebu' : 'marvell', > 'mmp' : 'marvell', > 'berlin' : 'berlin', > 'pxa2' : 'pxa', > 'pxa3' : 'pxa', > 'pxa' : 'marvell', > 'arm-' : 'arm', > 'integ' : 'arm', > 'mps' : 'arm', > 've' : 'arm', > 'aspeed' : 'aspeed', > 'ast2' : 'aspeed', > 'facebook' : 'aspeed', > 'ibm' : 'aspeed', > 'openbmc' : 'aspeed', > 'en7' : 'airoha', > 'at91' : 'microchip', > 'sama' : 'microchip', > 'sam9' : 'microchip', > 'usb_' : 'microchip', > 'tny_' : 'microchip', > 'mpa1600' : 'microchip', > 'animeo_ip' : 'microchip', > 'aks-cdu' : 'microchip', > 'ethernut5' : 'microchip', > 'evk-pro3' : 'microchip', > 'pm9g45' : 'microchip', > 'ge86' : 'microchip', > 'bcm' : 'brcm', > 'exynos' : 'samsung', > 's3c' : 'samsung', > 's5p' : 'samsung', > 'gemini' : 'gemini', > 'hi3' : 'hisilicon', > 'hip' : 'hisilicon', > 'hisi' : 'hisilicon', > 'sd5' : 'hisilicon', > 'hpe' : 'hpe', > 'intel': 'intel', > 'mt' : 'mediatek', > 'meson' : 'meson', =E2=80=98meson=E2=80=99 : =E2=80=98amlogic=E2=80=99, ^ to match the SoC vendor name (and arm64) Christian > 'moxa' : 'moxa', > 'mstar' : 'mstar', > 'nuvo' : 'nuvoton', > 'lpc' : 'lpc', > 'lan96' : 'microchip', > 'owl' : 'actions', > 'ox8' : 'oxsemi', > 'rda' : 'rda', > 'rtd' : 'realtek', > 'r7' : 'renesas', > 'r8' : 'renesas', > 'r9' : 'renesas', > 'emev2' : 'renesas', > 'sh73a' : 'renesas', > 'gr-' : 'renesas', > 'iwg' : 'renesas', > 'rk' : 'rockchip', > 'rv11' : 'rockchip', > 'rockchip' : 'rockchip', > 'socfpga' : 'socfpga', > 'stm' : 'stm32', > 'sti' : 'sti', > 'st-pin' : 'sti', > 'ste' : 'st-ericsson', > 'spear' : 'spear', > 'axp' : 'allwinner', > 'tegra' : 'nvidia', > 'milbeaut' : 'socionext', > 'uniph' : 'socionext', > 'vt8500' : 'vt8500', > 'wm8' : 'vt8500', > 'xen' : 'xen', > 'zx' : 'zte', > 'zynq' : 'xilinx', > } >=20 > Rob >=20 > [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git = arm-dts-move-v2 >=20 > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic