Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp589009rdb; Thu, 30 Nov 2023 12:36:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFORxsgSa2g5XV7zU2ay4jTidKldlDC31Cb22jC1XFlvPa6q/DACwaTjkDSuGewM4i4/8ZH X-Received: by 2002:a05:6a00:1a91:b0:6c4:9672:9a17 with SMTP id e17-20020a056a001a9100b006c496729a17mr27372032pfv.1.1701376615819; Thu, 30 Nov 2023 12:36:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701376615; cv=none; d=google.com; s=arc-20160816; b=jaYhE6TKfxLm03f6Pi6qEV5oQR5sacPnO8jGkK5ICZKkjJ570ytQWrAwE8n+Iz7SVO Fl1hJim7RKc7bihsHWizINAv8sJ6YpRmS2NPPNJQVy0ddUJJ1IHGCvm/PtQvJm4imGry bbbLVPdBhJQrs0/zfL7oXh8f/y+qHyEig+O6g5gZ9Z+GRqtUPeWi9aGMr+1tu9OAaaZ2 80qBVdE6AI6D+b/WL+H9vt/8x5uBI48XnL3EMKv54R69pag4gvAxX3bXiGMnLkcUYcUY el17y/ToINbYDK909wJ0f2wdmt1zIqWRtkX3NWE3TsWl2ogwaYUV5OKzY8EEHBvCni8l VOdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=9EU66GYy5ZBFOeEcthIESEZ7vSqktBg9m/tw4RZXAyg=; fh=+SRI1VeKmVaGGYxg8slCD/uOQWHdJo2H6VxeCiWFGUw=; b=hIdNvTN7wGkJQoVAUs67y1zEBqSR9DlogSY4nO2nr1zS860mgXAq23JnD+ofqG0e/m 3Sv8tUyfqv52rrEVOvCWVKb8MAR4khTuqs9QHG5AZhJFe6ty0nPhgjwOMJnyRvNOPa/S /LYSQTaswLpEmqkyQ7wYhRHwgfW33tkndMo1mYnx10/S4hZDtRhjNRW5lXHiMNeNE2Xs PU3izDUW9pU0+Nn9h4MMz5HfZmlcqFEN1EYbLRnFXkYFh4/MFW90jKQUVFEIGtw1qGRg XQmy/Te3amCwdIG+45cjTS3MlnSmeqbzz4P4s81wNVqDJF/GDs6HHuskk31rewHEcGzl niMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=HjoylWL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p17-20020a056a000b5100b006cdde43ecc3si1956273pfo.283.2023.11.30.12.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 12:36:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=HjoylWL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1D4DB80264AE; Thu, 30 Nov 2023 12:36:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346798AbjK3UgT (ORCPT + 99 others); Thu, 30 Nov 2023 15:36:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235230AbjK3UgR (ORCPT ); Thu, 30 Nov 2023 15:36:17 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C28151711; Thu, 30 Nov 2023 12:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1701376551; bh=nY/0hZ0vbbp5essvoHc9RPwquuPPV/hhuX4M/ILLoBg=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=HjoylWL56fHHxWhyiE7ZatEflLDYE4QsowWU8OQQByvLS/vnmDZ0VIGOgIsPaGPL0 cJEG5wgLZuddVrH1fFnuwGNgjOHJnOhCiMEV4MO5Z5mka3D9r+tr8HxqQPNnAAHtEO KXYc/ByGmHEHY3/FC9x2HWY4HxA9oNqra8gGFijA= From: Luca Weiss Date: Thu, 30 Nov 2023 21:35:18 +0100 Subject: [PATCH 1/3] dt-bindings: display/msm: gpu: Allow multiple digits for patchid MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231130-msm8226-gpu-v1-1-6bb2f1b29e49@z3ntu.xyz> References: <20231130-msm8226-gpu-v1-0-6bb2f1b29e49@z3ntu.xyz> In-Reply-To: <20231130-msm8226-gpu-v1-0-6bb2f1b29e49@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1601; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=nY/0hZ0vbbp5essvoHc9RPwquuPPV/hhuX4M/ILLoBg=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlaPIjw29rzB3cz5ouVOoxkcS+NBvkjHoAp+gt2 UWmf44YseaJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZWjyIwAKCRBy2EO4nU3X VpRID/9+c4nm+yEPLys+ExztX9UG058g7gQqCt53lQE5FB/PKvaSLDVkOGSFQ/YEP6ok1b6z4cn gWaVQgcYEuHW0tQRsnQt50QtnAZjwrl0jUADvprNfgwYm+IPtBJJ09uD5SZ2jvwdIV2yRnPyH2R ixuEe3WettFHn2yC4f6l17IprAkqX/8oKuXPWfP7DbJBHQpgjPZjyN9x45cQdhkxgd0RuW2rXMf 9hbn4wb1Gx5/4azzPUuY292RseAgLJ8kd4w+AFYMOlRQGLhrLtSQrchzPiObWOtRykWuOSD5ACA pSXDusC6eaQGDwUhe6ISkYP0yTvWH5lPVXKYJFnpYZcqSbh2OkGs6OUkU9xZFsmxsuUKlTJNuhD V67dBM0bM8oSKXRxxD1OyYjSU2oT3kuWPoTffUBJA8zcghR3hGnmxzpIUcwxz+ktTCABxeIOACI W+M5QnzVB5LvGe8HNuCQ4n4Qb6dkM9v7KXdm17EP4rfJ+XmjILliMLWghEGb4sDxTZmvHJpsxRj A+37XigPxizhtjjtlTmcDNTZsJPBREmtUXD0cEzASfzUT/NyJA1uPK1KdC7sklaawoCUj6F86Vq hjI61KS8/Q6RWBp8ozsnNi9AcwyfFZH0Ex2Dc1C02iuyxI9VhZlrpjBAibX3Zj8vEfkvGMx+pOP xkgm7dBT3u91FuA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 12:36:53 -0800 (PST) Some GPUs like the Adreno A305B has a patchid higher than 9, in this case 18. Make sure the regexes can account for that. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/display/msm/gpu.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml index b019db954793..40b5c6bd11f8 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml @@ -23,7 +23,7 @@ properties: The driver is parsing the compat string for Adreno to figure out the gpu-id and patch level. items: - - pattern: '^qcom,adreno-[3-7][0-9][0-9]\.[0-9]$' + - pattern: '^qcom,adreno-[3-7][0-9][0-9]\.[0-9]+$' - const: qcom,adreno - description: | The driver is parsing the compat string for Imageon to @@ -127,7 +127,7 @@ allOf: properties: compatible: contains: - pattern: '^qcom,adreno-[3-5][0-9][0-9]\.[0-9]$' + pattern: '^qcom,adreno-[3-5][0-9][0-9]\.[0-9]+$' then: properties: @@ -203,7 +203,7 @@ allOf: properties: compatible: contains: - pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]$' + pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]+$' then: # Starting with A6xx, the clocks are usually defined in the GMU node properties: -- 2.43.0