Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp614938rdg; Thu, 12 Oct 2023 16:03:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMDUm/STwdJXtc9tCNJujYJvK6SESAh1qkaNMUsK7LPMejtoejASkyyXq7dSdYon8UbWbw X-Received: by 2002:a17:902:e847:b0:1bd:d92d:6b2 with SMTP id t7-20020a170902e84700b001bdd92d06b2mr27486948plg.10.1697151807876; Thu, 12 Oct 2023 16:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697151807; cv=none; d=google.com; s=arc-20160816; b=Jp9LW/o0IseRH3EwGKovG1t4JL98c2OOFuQ9tqdU9lTB5oH8YQMmhL6Rwn0kUKm46c BeOEe7eBRQAAvlWTKlnctTwUmw0w30VcDdqssx2J9XwMsDpRz2+4n8muDlwym2eEflvW eHmkH1OCqkRfWDSZkxhCkcikj1CHkNhmVequJnSiMXu6JevCsWulnFJSIvhG7eg+HDlD NGH4oXaShd83mTgBS29Zs/gOnF+MjNCUQh+hQ6wbw32lOknYWAlFp8bKXID3Wg7rlocR HcnpW9FDWODAbSdZp7v25Hec1E3asaZkezxw2M0GvlyoeB2K/qXXw9lp1YKn8UCf2gve 9kSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xzPG+xpT5BbDg0qW2qt+Y19uOu7gh9PwNNdVozZqNeg=; fh=ozUc+Kv5N17AfI/qHB2FbMG+hTd56NCl/ZR03jXHGLs=; b=FueFrdUv6Pz0RpkQgsYVF2VZNKBOs1ACVEEnrHcpV6Nnb1uLzUE+cATaWkFqFzwN+t xzuFo8zSXspmUOvaG1bvCVuDmLKvwj/BSUewpczQJ3eS6rcUdFoYdqNrNTCeHcCHdCpP UnqCvaEW28eIjcPhTvESHVlNZFNzLokAwKQYBiSrgyNF6UOHIEO1XfVWhtooiRGe4f79 ClCMQoN4+0FaetAs/2rOOaYTR1KzofPp0ebKPc+kdiCGBPdRYYe7jE0MslP1LVFlXdvB wlyk8Dnkl7IU8dkhbFylFTDohOkwDV4NH4AxFJ7uE4z/+xIALpe0YQwaBBGnHwBF/QWZ I34A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ORzF2Wtq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n11-20020a170902e54b00b001c9b15bf939si3403063plf.358.2023.10.12.16.03.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 16:03:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ORzF2Wtq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 81FEE829F674; Thu, 12 Oct 2023 16:03:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443064AbjJLXCz (ORCPT + 99 others); Thu, 12 Oct 2023 19:02:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344180AbjJLXCy (ORCPT ); Thu, 12 Oct 2023 19:02:54 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39FECA9 for ; Thu, 12 Oct 2023 16:02:52 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1c88b46710bso11791195ad.1 for ; Thu, 12 Oct 2023 16:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1697151772; x=1697756572; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xzPG+xpT5BbDg0qW2qt+Y19uOu7gh9PwNNdVozZqNeg=; b=ORzF2WtqmhanDFaA7QXWdAKBDR0zTc+NkCtKBc9qsEGqlOpJvqfyZzIw3Xys3I5lRu a5Nl7z/OdnfzpsZ/XBfb6fJedOscXIdwU5741lVApdOnmXIGL018YTSFvCAW/bvJdqak alKrlm9Z1LmpDzXK8UqfULYoIwbrKcmwsChNY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697151772; x=1697756572; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xzPG+xpT5BbDg0qW2qt+Y19uOu7gh9PwNNdVozZqNeg=; b=chbfcvhVQleHJ6xL3vIgcNgKttPgW+/jItLA+dUZhcoxoELgMLLTqvrx/Y6xJEw2RR A909dZ+lBg3UPIVkxQKW3GotFGhVxOnzQYLBEZTGYwAyzIXzHpGJM5Gmaoz5MVlFVaqW T8Z/9jYpqFcyoNBueuChc9kBNaDl1LGIHGWA/utGu6URfGHDtaYTYWcWUz+Ve+BKrekZ bTAnT+Rf8arFh2UnwMKN3rhGEUmvn72khsVJC4S1qN8zyRsNuI4XLqVp2DejUwHmc7Rj 1EweEgfjA2jd2NFR8656rkG+ZV0d76BOQOZhOMHVvNbm3ggFQpQ40vwMxKSNYnGXcm28 Rj5A== X-Gm-Message-State: AOJu0Yzfa9AvKSUeWsJKJ8Aekv+a3uOd/hUNXXI/sBmwcQS7OEulamzy bPesPwVii6C64D+lfh/J7VmfQw== X-Received: by 2002:a17:902:a409:b0:1c6:33fe:257b with SMTP id p9-20020a170902a40900b001c633fe257bmr23054265plq.19.1697151771692; Thu, 12 Oct 2023 16:02:51 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:7397:2561:ed13:bac8]) by smtp.gmail.com with ESMTPSA id g11-20020a1709026b4b00b001c613091aeasm2494390plt.297.2023.10.12.16.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 16:02:51 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/9] dt-bindings: arm: mediatek: Sort entries by SoC then board compatibles Date: Fri, 13 Oct 2023 07:02:27 +0800 Message-ID: <20231012230237.2676469-2-wenst@chromium.org> X-Mailer: git-send-email 2.42.0.655.g421f12c284-goog In-Reply-To: <20231012230237.2676469-1-wenst@chromium.org> References: <20231012230237.2676469-1-wenst@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 12 Oct 2023 16:03:19 -0700 (PDT) Some of the new MediaTek board entries were inserted in a chronological order, or just randomly. This makes it harder to search for an entry. Sort the entries by first grouping by SoC, then sorting by board compatible strings. Also add a comment at the top asking people to do the same. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/arm/mediatek.yaml | 123 +++++++++--------- 1 file changed, 62 insertions(+), 61 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index a5999b3afc35..60337b439744 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -17,6 +17,7 @@ properties: const: '/' compatible: oneOf: + # Sort by SoC (last) compatible, then board compatible - items: - enum: - mediatek,mt2701-evb @@ -129,71 +130,10 @@ properties: - enum: - mediatek,mt8173-evb - const: mediatek,mt8173 - - items: - - enum: - - mediatek,mt8183-evb - - const: mediatek,mt8183 - - description: Google Hayato rev5 - items: - - const: google,hayato-rev5-sku2 - - const: google,hayato-sku2 - - const: google,hayato - - const: mediatek,mt8192 - - description: Google Hayato - items: - - const: google,hayato-rev1 - - const: google,hayato - - const: mediatek,mt8192 - - description: Google Spherion rev4 (Acer Chromebook 514) - items: - - const: google,spherion-rev4 - - const: google,spherion - - const: mediatek,mt8192 - - description: Google Spherion (Acer Chromebook 514) - items: - - const: google,spherion-rev3 - - const: google,spherion-rev2 - - const: google,spherion-rev1 - - const: google,spherion-rev0 - - const: google,spherion - - const: mediatek,mt8192 - - description: Acer Tomato (Acer Chromebook Spin 513 CP513-2H) - items: - - enum: - - google,tomato-rev2 - - google,tomato-rev1 - - const: google,tomato - - const: mediatek,mt8195 - - description: Acer Tomato rev3 - 4 (Acer Chromebook Spin 513 CP513-2H) - items: - - const: google,tomato-rev4 - - const: google,tomato-rev3 - - const: google,tomato - - const: mediatek,mt8195 - - items: - - enum: - - mediatek,mt8186-evb - - const: mediatek,mt8186 - - items: - - enum: - - mediatek,mt8192-evb - - const: mediatek,mt8192 - - items: - - enum: - - mediatek,mt8195-demo - - mediatek,mt8195-evb - - const: mediatek,mt8195 - description: Google Burnet (HP Chromebook x360 11MK G3 EE) items: - const: google,burnet - const: mediatek,mt8183 - - description: Google Krane (Lenovo IdeaPad Duet, 10e,...) - items: - - enum: - - google,krane-sku0 - - google,krane-sku176 - - const: google,krane - - const: mediatek,mt8183 - description: Google Cozmo (Acer Chromebook 314) items: - const: google,cozmo @@ -244,6 +184,13 @@ properties: - google,kodama-sku32 - const: google,kodama - const: mediatek,mt8183 + - description: Google Krane (Lenovo IdeaPad Duet, 10e,...) + items: + - enum: + - google,krane-sku0 + - google,krane-sku176 + - const: google,krane + - const: mediatek,mt8183 - description: Google Willow (Acer Chromebook 311 C722/C722T) items: - enum: @@ -251,10 +198,64 @@ properties: - google,willow-sku1 - const: google,willow - const: mediatek,mt8183 + - items: + - enum: + - mediatek,mt8183-evb + - const: mediatek,mt8183 - items: - enum: - mediatek,mt8183-pumpkin - const: mediatek,mt8183 + - items: + - enum: + - mediatek,mt8186-evb + - const: mediatek,mt8186 + - description: Google Hayato + items: + - const: google,hayato-rev1 + - const: google,hayato + - const: mediatek,mt8192 + - description: Google Hayato rev5 + items: + - const: google,hayato-rev5-sku2 + - const: google,hayato-sku2 + - const: google,hayato + - const: mediatek,mt8192 + - description: Google Spherion (Acer Chromebook 514) + items: + - const: google,spherion-rev3 + - const: google,spherion-rev2 + - const: google,spherion-rev1 + - const: google,spherion-rev0 + - const: google,spherion + - const: mediatek,mt8192 + - description: Google Spherion rev4 (Acer Chromebook 514) + items: + - const: google,spherion-rev4 + - const: google,spherion + - const: mediatek,mt8192 + - items: + - enum: + - mediatek,mt8192-evb + - const: mediatek,mt8192 + - description: Acer Tomato (Acer Chromebook Spin 513 CP513-2H) + items: + - enum: + - google,tomato-rev2 + - google,tomato-rev1 + - const: google,tomato + - const: mediatek,mt8195 + - description: Acer Tomato rev3 - 4 (Acer Chromebook Spin 513 CP513-2H) + items: + - const: google,tomato-rev4 + - const: google,tomato-rev3 + - const: google,tomato + - const: mediatek,mt8195 + - items: + - enum: + - mediatek,mt8195-demo + - mediatek,mt8195-evb + - const: mediatek,mt8195 - items: - enum: - mediatek,mt8365-evk -- 2.42.0.655.g421f12c284-goog