Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp483797rdb; Fri, 26 Jan 2024 01:20:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+/VIWnyL1s/jzppD/v8HtqpQETkBiTlLAFVHCJkrROhaZRMb4Kt6CzrsSieMk2zGe0GcT X-Received: by 2002:a05:6a20:c906:b0:19c:89b2:9642 with SMTP id gx6-20020a056a20c90600b0019c89b29642mr459272pzb.0.1706260807449; Fri, 26 Jan 2024 01:20:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706260807; cv=pass; d=google.com; s=arc-20160816; b=PqllaWLyCdT+lzM28CGSQ5/WJU5ADEZ9Dlvi0WcJYbXbBPQyXvkOqoxkslZvCJFWqK QTekKLyO/GQB/YbNcCF/jjOl+Iy+o94ZaxP5Z0TKYAOiO5Y1nFVBcMiCCJbBgrMhIPEA JNWpZoBcOF3qTZPXRaILKInMOWeBfdeUFcd/8kQDbNKsZHpFy+RtJmn7KO3ZwRNGlbjZ XoH/jdDfeLfSMC1xRYU7TVKJV6sNt81/V18jsfU2tD1OamJchtfqxQU/udBovFMA3l6R meOwYFshVN5jhgfV6FmJJ44vr5+JMZaoI7bQa4Pcs2892YGKSKYHLs2FPAmAynxPUGql tyYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gS8snO1/vF+ftwDIApC4LGz0nYBLwZc4VG0Le1Mma9k=; fh=aR0OZCPyp8RZT/ga4V0cx6GxoDArQb0UkFeUrP1dhLY=; b=Bn4eF7asxxUinWQeJTVuMtyfUQDe0QUgPVCc3ZWCLYMCGlfXdWQipBYvvEwoEzCwf/ kNLs4WNzBG4VmkvOMZvUgE+lJkQZM8OY0tbwnpJiK9KHGuTyIvlTBCuywbQ92dp7Czh8 LcpCvk4SGXz+aFUQy7wZKfu0kmRiq6eWMk8sNpIUDIXncfn7we0xns2G1veEckfB3tDz 27aKZDJ5S+4WLGmRo49v3xAYje10msGZdeQltOCd19SXnlqKWJ6fwpplA5Iu7bZOcCfX iRYzitb7wXp7+sXK/n7UTe7iwkGEBXOLKlEGK9xVCw+47/HfqzOqf+AX89rPn3ta8fIY 8JxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="ido/6WbC"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-39770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id le10-20020a056a004fca00b006d981a0e55fsi853209pfb.367.2024.01.26.01.20.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:20:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="ido/6WbC"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-39770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B5F6D281981 for ; Fri, 26 Jan 2024 09:19:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 25D757FBA3; Fri, 26 Jan 2024 08:38:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ido/6WbC" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 646721CF89 for ; Fri, 26 Jan 2024 08:38:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706258298; cv=none; b=q2qQo4aTKn+Mc80gUJ9r30DCDda05yNKcxjF5cbiNMw1MjvEZfmD21MX/Fm942Qw9PRSzV+tz96snRyaW79zrRbvMxxA3QWxhqdAffD/YONEMMwnxkmD1LGckY0nUkRaVR6bvdQsAlEFEM+yJ9z1PwAXRAJNnqguZuc7OgoltJs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706258298; c=relaxed/simple; bh=TU+al1btcRCFuEg2mYMUIO4F1n9jUTjsi6M0Gg/QFwI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PCviMCk3dYjgmmI9ov/wrM1pqESO/dtY4NfHhgaN96TKxNegnTjuxn4czrpMl1q2wNPp2zSZnEUtXXHWZ8CeNbXhAA1qc697DJ+7LROb+yL2l6qd9B6TBS9WeAPmsGdps7YZr1A80Twg7RoDlyIMHcMwqSWFzhqmQOWDr23T3nc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=ido/6WbC; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1d780a392fdso916735ad.3 for ; Fri, 26 Jan 2024 00:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706258296; x=1706863096; 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=gS8snO1/vF+ftwDIApC4LGz0nYBLwZc4VG0Le1Mma9k=; b=ido/6WbC+LV0yUV1lJBhZEyJdbqCbVJMUnFUkbmWE9rGRpZnyPEUnQsJMbhKT+ZAsO fKJ+uVY+KL6kb9XLdlYIeaAx1yvo9tf9yh9zvvRSpH/jUBPMPLcjicuRm74lPfAzBum8 pm5VpWoMw6w9kYvS2OQJDAtw14yoa8c658oCA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706258296; x=1706863096; 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=gS8snO1/vF+ftwDIApC4LGz0nYBLwZc4VG0Le1Mma9k=; b=l/pvp1DcXDygzC5ot7rLZ7lEekqvhkKxokTLYs6QBBukRBbtY/p4npztbBitZ7lhxT Pywf/6KLdnrlFEL11zdoG2X+9IIkrDkyYMYuiSUwToJPJZRyYKqdPTeWvoiFNJTHuDCj 1xS6g/20SothVZxvT7ARc5fnBjS1Y/OzBJa7SGPguguhcKN965I+xZ6RJSre8tkbeZG9 mpHzTMmp9z9FhVlV1wRbZWY22hiS+mfWYRMLrJVPojsK2YuT/3QGnZpNUs3+Wh0dJCyg vVRGO+Tw7CsNCRE7CYqekTPr6Lu4hSvwre++eP0//Qr8XmxT/ve4CMWmf6iYnqpB/knP ubHg== X-Gm-Message-State: AOJu0YwdtJHjcAOoj244mnWfqA3Q2eEThZLQiuHbOzVZS81+46PVOPM4 kDQayv3qvgZ3gex2M5CRayY3UBuE2jKTfZBch7rnMGZS6GfwXyFWhD5LchZ64w== X-Received: by 2002:a17:902:e546:b0:1d7:450c:be68 with SMTP id n6-20020a170902e54600b001d7450cbe68mr1389129plf.66.1706258295724; Fri, 26 Jan 2024 00:38:15 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:2614:bbbd:8db2:1f54]) by smtp.gmail.com with ESMTPSA id b2-20020a170902a9c200b001d6ff1795aesm589529plr.8.2024.01.26.00.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 00:38:15 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Eugen Hristev , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: [PATCH v5 1/9] dt-bindings: arm: mediatek: Sort entries by SoC then board compatibles Date: Fri, 26 Jan 2024 16:37:50 +0800 Message-ID: <20240126083802.2728610-2-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240126083802.2728610-1-wenst@chromium.org> References: <20240126083802.2728610-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Reviewed-by: AngeloGioacchino Del Regno --- Changes since v4: - Rebased and fit in mt8188-evb Changes since v3: - Collected reviewed-by from Angelo Changes since v2: - none Changes since v1: - Collected ack from Conor --- .../devicetree/bindings/arm/mediatek.yaml | 131 +++++++++--------- 1 file changed, 66 insertions(+), 65 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 12cf02b30967..dd5240b03d6c 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 @@ -137,75 +138,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,mt8188-evb - - const: mediatek,mt8188 - - 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 @@ -263,6 +199,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 Makomo (Lenovo 100e Chromebook 2nd Gen MTK 2) items: - enum: @@ -284,10 +227,68 @@ 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 + - items: + - enum: + - mediatek,mt8188-evb + - const: mediatek,mt8188 + - 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.429.g432eaa2c6b-goog