Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1194738rwd; Thu, 8 Jun 2023 13:50:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TIVno6b0t5Hi7RECLwE1tqaUd7CzCTVX2m6UwtcGKrK8iYZlA1d3CNLLIdawHKhcYh3Iz X-Received: by 2002:a05:6a00:2288:b0:63d:3339:e967 with SMTP id f8-20020a056a00228800b0063d3339e967mr6539731pfe.19.1686257457545; Thu, 08 Jun 2023 13:50:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686257457; cv=none; d=google.com; s=arc-20160816; b=sZZ/ZqwLpe//p7NPk3U5xc7N/cp0QjcYCEIvP2ueV7F1JxgHCDsbgRWGGBBow5BsEl FD6d2qSyCveouGRjS5ikD5R2UeeGsquuDhzS+k2+3vWSAAXK0JufBrl2hpod4W2nyRQF wd8qjGFmjeByzqJCFxdLXCwFoTVIjxGjI9mqRPP5Ela8OthbJSvikI1eXdNPk47y2sdE IoV6k7kYDlPArqBTr79Jnj1pd/Kj6m2C47ocT+SySYEibuIfMJ63U4w1EjH8QVTkuqNd stB6q5BlRUDxq9ejJFIyyUcYCmMqIWRjwhWN6WrS92Vgaccf1FH/zuwkirELLgeDD8Ke QN2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=V2zGsUZbx34jsCPguFcqQiOpTgKpdjSzb9KfCR6cPq8=; b=EL/LU/Dl+MQohsrykxGsRSCW1qyrKiWhWpSi/XUmdK9/ruBI7buIc+hYop2KxWp8K8 PulxS++71mWkd/OXomhpgUz+VXbWPS/+Fr9fxuNspVIWwTW9geu0zuOTsZLR8nDR33SC CwQ3MsYGxQkLV9egcw/FAQg13TDBoDG43YGSN+A+KS0iIIJjal5iqarZt5DyI5Jz3YZa N23/qOtUJ09wivGodr0HqqwiIxno6/nf5VT9Cj+P7io+2CYk13Yn7XeIL9h5eTEa3WEQ kadsRnQxuhkMk3Gu34cLCmGwOmIGkfmQx1ePNKO5mp+8cp89Qk5PKSlzRa82DHa7pyv3 KsvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fgaZ349J; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g4-20020aa79dc4000000b0064cecf7b981si1258817pfq.311.2023.06.08.13.50.43; Thu, 08 Jun 2023 13:50:57 -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=@kernel.org header.s=k20201202 header.b=fgaZ349J; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235704AbjFHUeN (ORCPT + 99 others); Thu, 8 Jun 2023 16:34:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjFHUeK (ORCPT ); Thu, 8 Jun 2023 16:34:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60167172E; Thu, 8 Jun 2023 13:34:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E800F61520; Thu, 8 Jun 2023 20:34:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5147AC4339B; Thu, 8 Jun 2023 20:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686256448; bh=sDQU8yDhZvEN0YygXlDwwk/pG5OO2+PNN+eimNV1mxQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fgaZ349JLx+w83grh2ZLXulv/+6NJAi3DgUkiDjdPUnEbtk4GQEssHtbOIddqu7NS lPaC6AHuim2fJRANrT5DaAmdXiQpvBm+7mGFYRsrpE+oxJUOyxOcSTn5lKiyDxe1Or n5YgMMfQ4bTaC2QJt/JnTYxj/givMqGUBBz3rUIry4SQD/wz5fgIIRzW+GMrEpzSFi PbfnO38m/nfnN3xuhX7TtG4zZHxJFbZGDmEo4sAIkiZ9b2pSGKKgp/euyIGBlEVoLc GjISgjtw2dBk6OSTF08aIBGYgRcFyZGTf1PvKvLV50bqV6sHmzKcOLVI2G/vh42+xc r1JZZ8BI/NqLw== Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-4f624daccd1so1292163e87.0; Thu, 08 Jun 2023 13:34:08 -0700 (PDT) X-Gm-Message-State: AC+VfDwOq1BLSa3kYFrjl204xs+74DUnDtlruVNmK1lWDymaPqXV4+8f A/uDDTnEAEt06Flu5XXLisylgiePxXycxtwQbA== X-Received: by 2002:a2e:9cd6:0:b0:2b1:d91b:51c3 with SMTP id g22-20020a2e9cd6000000b002b1d91b51c3mr4481468ljj.30.1686256446472; Thu, 08 Jun 2023 13:34:06 -0700 (PDT) MIME-Version: 1.0 References: <20220328000915.15041-1-ansuelsmth@gmail.com> <85eb14ec-f465-7447-ad77-a3dabc666f47@kernel.org> <720a2829-b6b5-411c-ac69-9a53e881f48d@app.fastmail.com> In-Reply-To: From: Rob Herring Date: Thu, 8 Jun 2023 14:33:53 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 0/1] Categorize ARM dts directory To: =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= Cc: Arnd Bergmann , linux-aspeed@lists.ozlabs.org, linux-realtek-soc@lists.infradead.org, linux-arm-kernel@axis.com, linux-stm32@st-md-mailman.stormreply.com, chrome-platform@lists.linux.dev, linux-samsung-soc@vger.kernel.org, openbmc@lists.ozlabs.org, Krzysztof Kozlowski , linux-rockchip@lists.infradead.org, Geert Uytterhoeven , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-actions@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-amlogic@lists.infradead.org, Linux-OMAP , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Christian Marangi , Linux-Renesas , kernel@dh-electronics.com, Olof Johansson , Krzysztof Kozlowski , "linux-oxnas@groups.io" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Tue, May 9, 2023 at 4:55=E2=80=AFPM Jonathan Neusch=C3=A4fer wrote: > > On Tue, May 02, 2023 at 02:40:19PM -0500, Rob Herring wrote: > [...] > > 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. > > > > 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. > > > > Here's the current mapping: > > > > vendor_map =3D { > [...] > > 'aspeed' : 'aspeed', > > 'ast2' : 'aspeed', > > 'facebook' : 'aspeed', > > 'ibm' : 'aspeed', > > > 'openbmc' : 'aspeed', > > The openbmc flash layouts are currently only used by aspeed devicetrees, > but they don't really depend on any aspeed details. It would be possible > to reuse them in Nuvoton BMC devicetrees in the future, for example. > > In that sense, I think putting them in a separate "openbmc" directory > would be slightly better. Could be used on arm64 or riscv too at some point. We do some cross arch includes, but IMO it would be better to move to include/dt-bindings/ or somewhere outside of arch/. Other common things I didn't move. I could do that here too. I prefer to that the sub-directories are just chip vendors/families. Rob