Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2566659rdb; Mon, 4 Dec 2023 00:42:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGarnRqYFuptTs+nBLcqPIvzqSxuoHG0nWuDbauF2VgIZGqD2tZLule9oHg9Oi5kbGLrEFj X-Received: by 2002:a17:903:124f:b0:1d0:8613:3cea with SMTP id u15-20020a170903124f00b001d086133ceamr1126491plh.0.1701679351845; Mon, 04 Dec 2023 00:42:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701679351; cv=none; d=google.com; s=arc-20160816; b=U/530BMMo0C4+b2XS41rl806tPB6jaDQWtS5v6wTgm+EaXrLf4uBjFsLEHrTJ9nNTT 22arxre1ZEEzU1hZCD1EajCPvDKayI1t0/CRS5t8R/+M3QE0PSQSl2zzDrr1Fwjy8lEv +0KQWZx+6QhMntQG8RW1mlQjUvxmghw9pY5xu3o3YuAUE1ow8noJT9D62eMS3Jvo+hOp cjG2tzghO7PqRbH3VlAebHSJAKQcx5IeoZpWXo9o8wFEkhj21DYeJdD4i6h63xxURd3N aE+R4kp3qEGctcjK2XO5FxRMQ9+HKFj0wi4wRcRAbK+mgh7P7LCjPpc+B+ZNG7xXZXPs qkXQ== 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=UeadimO+asAMlIwlEDVtTPemzDyXZcW7R/h9zRWVnDY=; fh=vk0CFmOqCDrOMxE80/iQurcUwEZwu9J3MfLtnm+v9Tc=; b=lD9MZLgj5KsKrOJGp+DtqVclroKOxhoV/3LlLv0sJYyFeDVH3HlBfPXWU+DJKSZPlN w1ifNBGoLpVbpH5Q3ATeJ9g5YSmjpnpxa+IMufg2nAbxWIht8Bew78gl+3Ro2AzYz5BL Rj9M6U0J7UE6jrO03DF79DG0+QZ+MA9uNs6xikvm637anm3vqT1MoNkzxDdZSVaQ2joj SnwHnqADKIDosqr2qtlZ7GO/uBDA+xwikguRhIV1boiApOAyyZ0lNuDTPAsAcrvutGxU PoVkyffL/sot4Xpadmk/oGjZwkcgmjHfIKoEuxi3waQ6kU8ROG/kchpoDN46lNuE2k4N UC0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SK2uzs0g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n3-20020a1709026a8300b001cfcc0ca762si7306920plk.108.2023.12.04.00.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:42:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SK2uzs0g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id B7EF6805DC2B; Mon, 4 Dec 2023 00:42:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230180AbjLDImR (ORCPT + 99 others); Mon, 4 Dec 2023 03:42:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDImP (ORCPT ); Mon, 4 Dec 2023 03:42:15 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C68D39B for ; Mon, 4 Dec 2023 00:42:21 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1d045097b4cso13475585ad.0 for ; Mon, 04 Dec 2023 00:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701679341; x=1702284141; 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=UeadimO+asAMlIwlEDVtTPemzDyXZcW7R/h9zRWVnDY=; b=SK2uzs0g9xzoRVrT4rDzLZ0UwSFMLazkWD9MEMzJRDIvrs8cCV9Qlrs7djrm+eHeeY bMPJd8pxBMxYrHU8Bvdk80TG1BkqoCNJxAeQCg4ni1HAUhfvB0e0mXgm+QFOh0GCSyjY /JH5t5IwxYWYMMbT8ZXt6oPjVmcdRXaAbKtEY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701679341; x=1702284141; 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=UeadimO+asAMlIwlEDVtTPemzDyXZcW7R/h9zRWVnDY=; b=ooXOJpQE1yWWa+qC1hyvEaxof2en5nrkZC2WFeJM2Finh6PhkadzownjkH1S8SGWFm /FgDZQ6rmSXoOlJ3sc3xkbPg3VM9CuFyNZbvzArAC/eKAxjOn9lPTSo/Vmabqm/SljYi 1TN0A5oE3EBDtmi3F1vvK2sGw9S23b7iMe9jOXsfz33at95NjzIKkUfeKaLfRWDEFGHd cnYOboeu86eErkyA3wlqvaZQ/AQM8sMKXTFdLV4XhIBd2BXAPKIcZOYF3UPp1SQbGrux ytWziK39968pXyWJVPiD+gBPqkF6LmEJ5FD0lgQ/UQukAK9gWxYle683ca0QhLYUklm8 1rjg== X-Gm-Message-State: AOJu0YwK8Tm/HFY6j0UP/8V+Xu/sUjrGbJR3MwfdFe7ynihb+nPKVeco 2wh7eoa35hNFT2sA5wR+0i8MeQ== X-Received: by 2002:a17:902:8c97:b0:1d0:6ffd:ce96 with SMTP id t23-20020a1709028c9700b001d06ffdce96mr1370655plo.79.1701679341305; Mon, 04 Dec 2023 00:42:21 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:6084:72e2:9ac2:f115]) by smtp.gmail.com with ESMTPSA id p14-20020a1709028a8e00b001cfc3f73927sm7871795plo.9.2023.12.04.00.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:42:20 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: [PATCH v3 1/9] dt-bindings: arm: mediatek: Sort entries by SoC then board compatibles Date: Mon, 4 Dec 2023 16:40:03 +0800 Message-ID: <20231204084012.2281292-2-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231204084012.2281292-1-wenst@chromium.org> References: <20231204084012.2281292-1-wenst@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 00:42:30 -0800 (PST) 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 Acked-by: Conor Dooley --- Changes since v2: - none Changes since v1: - none .../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.43.0.rc2.451.g8631bc7472-goog