Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7181130rwr; Tue, 25 Apr 2023 09:08:29 -0700 (PDT) X-Google-Smtp-Source: AKy350ak/MdD0Pu8rZ1IBl+nCYMStprQzcSERHtu/6/Xkc43o78AgDaV30hckPHJnU9dJsOr5wSs X-Received: by 2002:a05:6a20:54a6:b0:f0:ffb:d1e2 with SMTP id i38-20020a056a2054a600b000f00ffbd1e2mr23409786pzk.53.1682438909033; Tue, 25 Apr 2023 09:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682438909; cv=none; d=google.com; s=arc-20160816; b=ZDm8QntAqll9Oz227OzcaIn0/b29o9ProEa7ftsdGm1eFsjnZt2MW1urPl3Yk+thXS nWKFMEowv4SPcVIv9PqjM8Tqm6TC+UdOsfEQNtsQBhYptNI6QORlBvP1k1Rk0MG/8/Rs 0yYiKVDYA8K7gadjJ6kOThyP1GF1vi2w6grvtayC9rRyQiwZ5vb+nDkvzQdY+niDGSBG Kp+0XoxceXqgAo2mNzZd6SPaoqJw+TTCR+SZ06kXfVf7lwEFwq/68sy2RkLrnp/uqcTM GxXqdC/lfhiIYULMAxfK+jztaFJOGCu52iFbKqWflBybPocMOAo9UixZokxG4hiqKWn9 cnjA== 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=yr8CMeCeO4ZhWVxQDfJ98/DRbmLx7FFVRYE94TKtodA=; b=FuyetIGmcOQstS3ctoC7gW9ChKBRaf3l6fHOhV37d/JfLwI3pId4PIXDsJVz4LHk7E ECzO4ltSszyfx0FI793i81A1rhFJu/4lGY6w8bTTx0OKEJNl7SYMTKPYT4/78u0iw/ps ToSjwpoP2hygfTwISqDpwVU6mViH0P0Ow4EuiWYM0XEGJeJXs0FwjJmv8gn67Wr+R4Ky UyJNHtQyWN+i1mE3kCiSh9qCbwbFVyhMQCKQ8IH8epEz0MzskvTD66VoJaO5qowcOz61 O/iA7AYXI4rGJtNsoNiQaRcRySLNXvRXX7nWShQ4cu06xboFW0GSmkD7O0fEJgNswYv7 Grrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EgTh2lVl; 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 h185-20020a636cc2000000b0052868a865d1si2576952pgc.272.2023.04.25.09.07.39; Tue, 25 Apr 2023 09:08:29 -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=EgTh2lVl; 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 S234608AbjDYP6N (ORCPT + 99 others); Tue, 25 Apr 2023 11:58:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234320AbjDYP6M (ORCPT ); Tue, 25 Apr 2023 11:58:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 490A3C17A; Tue, 25 Apr 2023 08:58:11 -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 D8BB4627EB; Tue, 25 Apr 2023 15:58:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4722BC433AE; Tue, 25 Apr 2023 15:58:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682438290; bh=itrfj1uL7ULKhIO/qSGGwopdMhHtcuGv7fowY1MDPYk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=EgTh2lVlpMtQ5px5R+jV+EfXPM/vMd0vZZcesoDR/dZgys7DryqsRrWS2pdpS9uas OYd9yTEmElOVrIZbn0OqVscAcdbafdiKbG9xGY95F+dXOVKPpAW5UFqkaPFQaikMgo aWZCYgp15j+P/IiGD62g++flweL1qEmmRIyA46J9ZxdgcgQr67x7Q3TlACfNIAqEWA ybnHZqICC3N6Bh2h/8vZ/QwOp/oM5lTZZiMl9J1LI5jXGxCqVcLQ5wSHavpOM+9lzJ GcWe9oPB1zz3J6OXPcR6ftsIf9jN3vnmyzPm8qTrcAX6jvM8Z/Yhdc9tzdb3LHV6hX cc5h5IH4H4Nww== Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-b8f510fecf4so8839269276.1; Tue, 25 Apr 2023 08:58:10 -0700 (PDT) X-Gm-Message-State: AAQBX9emzZf9PORKzjyHfI5irsQQKf8MEyvZsMuWVRFxGXK0/SrZpWgE A34Q+tos0Tb/oPdrg5JeObgsZsyFUvrEKoiU8g== X-Received: by 2002:a25:b097:0:b0:b97:f46:a2b8 with SMTP id f23-20020a25b097000000b00b970f46a2b8mr12284894ybj.17.1682438288965; Tue, 25 Apr 2023 08:58:08 -0700 (PDT) MIME-Version: 1.0 References: <20220328000915.15041-1-ansuelsmth@gmail.com> <85eb14ec-f465-7447-ad77-a3dabc666f47@kernel.org> In-Reply-To: From: Rob Herring Date: Tue, 25 Apr 2023 10:57:57 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 0/1] Categorize ARM dts directory To: Geert Uytterhoeven , Arnd Bergmann , Olof Johansson Cc: Ansuel Smith , 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@vger.kernel.org, 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-soc@vger.kernel.org, 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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, Apr 25, 2023 at 2:28=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Rob, > > On Tue, Apr 25, 2023 at 12:16=E2=80=AFAM Rob Herring = wrote: > > I have a script[1] that does the conversion written the last time this > > came up. Just have to agree on directory names. I think the easiest > > would be for Arnd/Olof to run it at the end of a merge window before > > rc1. > > "emev2" and "sh7" are missing for renesas. No doubt it's been bitrotting (or I may have missed some). > Does your script also cater for .dts files not matching any pattern, > but including a .dtsi file that does match a pattern? I assume I built everything after moving, but maybe not... 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'. One nice thing with subdirs is 'make CHECK_DTBS=3Dy arch/arm/boot/dts/foo/' can build everything for a platform family without having to mess with the kconfig. Maybe most folks don't care, but I do. My CI job running schema checks looks like this to deal with grouping the arm dts files (this list is probably out of date too, but less so): if [ "$ARCH" =3D "arm" ]; then VENDOR_LIST=3D"alphascale alpine artpec aspeed axm bcm cx9 (ecx|highbank) \ efm ep7 imx1 imx23 imx28 imx27 imx5 imx6 imx7 ls vf qcom \ (am3|am4|am5|dra|keystone|omap|compulab|logicpd|elpida|motoro= la-cpcap|da|dm) \ nspire armada dove kirkwood orion mvebu mmp2 berlin pxa (arm-|integ|mps|ve) \ (at91|sama|usb_|tny_|mpa1600|animeo_ip|aks-cdu|ethernut5|evk-= pro3|pm9g45|ge86) \ exynos s3c s5p gemini (hisi|hi3|hip) mt meson moxa nuvo lpc owl ox8 \ (r7|r8|r9|emev2|sh73a|gr-|iwg) (rk|rv11) socfpga stm (sti|st-pin) ste \ spear (sun|axp) tegra uniph (vt8500|wm8) xen zynq" else VENDOR_LIST=3D$(ls arch/$ARCH/boot/dts/ | xargs) fi Rob