From patchwork Wed Jun 28 20:35:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 114041 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9194495vqr; Wed, 28 Jun 2023 13:37:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Mz/gMMjZsVYsgjANcYg7n/4w1a0rXsl+bMLXgccYDge8m5DfyYlHlVPM5KSwWXRyxHVHn X-Received: by 2002:a05:6a20:3d1d:b0:12b:bc21:65b9 with SMTP id y29-20020a056a203d1d00b0012bbc2165b9mr6709381pzi.0.1687984642609; Wed, 28 Jun 2023 13:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687984642; cv=none; d=google.com; s=arc-20160816; b=rlBhefiZ3044i4nYFgI53wVpOYl8+KrIAvebO1zAGDF9QXvaFJEHexWHvZwcnBQHM4 2Qaf8HNX4lRBnDNMJlVTykSl15PaUNjWNvGTlQzH43s6au7rwiBFjCf+TJeJ3uYFFbXL WtdRTZglHQRmRMVHqeewwMLR02/gt/BmrbT2fxezYbCYvImmThdwBvDTklLLPdNXUaem AlGuzRJoZxH8xVS3KokU/f8pIdP0GsSt4hQskajma03CFJ5Ldl/OZ2O3QQ/y0R9sO4DI ANSnlY7IVxSGCyQ+DG0zUNhqMfdVU2OqUnnEfmqeeWqWG5rwaiwODhWY39r+DTgpS+gh ZOEA== 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=QI4S80IbpmJGWcAHJEYaCz9cOc4lq8KkuI2BUdGIiSM=; fh=y5CufWdCvRG/D46wPUQAs6a5TaO9Xg7IL+UXm/FDyGE=; b=d2rz1UpSqHx/4iPUvpS37opAHtq5hewSluR/aayWF+AP9cCQnmfnrMqlPK+irYRowD GwHSiZDrnGF5tTjOYpBnmh4gbU3S5VmjhHRE8X8zCCdQ6wsaO9gIJT9z+oc78eweg6vs n5VrwxRLEem/R8QxrtKILgY23IVCXkuDSbTwPDIm7eXjELKXdZJcTYGp73d3l26ZFa5a 6eHiWWQ4h12N10AtL0sQNKO3bzyApNYC6dzqbRDhzjZ+uSTzCCiBUVsugTcNlabbzhkT PeJ/jq3hjGckrGjrO5rb9HGq3c4wrpRAt5hvSxkHewOLNFzXDB/2Xe1Z2l+QAhWVkiBO UK8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zDPaHKBH; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ba12-20020a170902720c00b001b514752ef9si9037716plb.338.2023.06.28.13.37.10; Wed, 28 Jun 2023 13:37:22 -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=@linaro.org header.s=google header.b=zDPaHKBH; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232208AbjF1UgF (ORCPT + 99 others); Wed, 28 Jun 2023 16:36:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231967AbjF1Ufe (ORCPT ); Wed, 28 Jun 2023 16:35:34 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1062127 for ; Wed, 28 Jun 2023 13:35:32 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fb41682472so84777e87.2 for ; Wed, 28 Jun 2023 13:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687984530; x=1690576530; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QI4S80IbpmJGWcAHJEYaCz9cOc4lq8KkuI2BUdGIiSM=; b=zDPaHKBHxTObBtw3Hs0Mz69O4uvQdEBwf5EyOXQImUl2K2uVOI8qzYxP8hCT90sqqh i7VcfOezs2HrZm445XlTtuKSaNlq++XGdQfEDYPQh2TgAXGmwxT7Gt4kcq+I0U/dB3F3 TOJOo+da6I8vabJE0sKX1AOb4aPUa2JFT6sZxu+EQyLiK9NkddQ63gDD+d1UFKO9+KZJ 9DCB6c8vQd7vA2XGUpXuejiT8RhEuAOiF92QMO+5PIvzN2khfhvMfuwI9ktAP/GXpEk4 jKplptsvuReqy8QrsyQ2GpQOMjRn7CX71P3fmumO0VorHmWUXEBurpMRtFAnnczP7vyI Sobw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687984530; x=1690576530; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QI4S80IbpmJGWcAHJEYaCz9cOc4lq8KkuI2BUdGIiSM=; b=F9/+gS44JG3nEWaNBDvUgKnPRBRAWUwjk6WSeWf4OUeEVv2CzRBg8zP+ea9q7jyNJ9 iUvC8/lGzBRp+C2w2/5PY3xEZBY+9b1xvpVdoVxnLOZgrP3K7ovIQ35b33YIQsqVRQC9 6WOpfURZ8fTcEf1xdQKtNv9Km5BOc37RzgQ9+rIFWG3gcnBSch2nGWyh7EEzFJWMnKqF lNGho3CdiNUvQFq/kzrIgoTDAzvoHgeenIrvh13IAeXd6ZV4uew2gOF3dghz3JFRsBY1 k37e+nhugqvki4nlNkoTaZnaoh+pGX+tWMdLAUOp4UiImmhbtebp9voG94vDtBheJRc8 Yt8A== X-Gm-Message-State: AC+VfDxxhJRFGOJW7adT8z5gviECMrfUc4/0CqsQDn7juUHUjnhZFBPG ucvP+30GEWFJgcymZyH++jAHcQ== X-Received: by 2002:a19:6445:0:b0:4f8:74b5:b4ec with SMTP id b5-20020a196445000000b004f874b5b4ecmr19816524lfj.41.1687984530292; Wed, 28 Jun 2023 13:35:30 -0700 (PDT) Received: from [192.168.1.101] (abyk82.neoplus.adsl.tpnet.pl. [83.9.30.82]) by smtp.gmail.com with ESMTPSA id m25-20020a056512015900b004fb86c89fa1sm753363lfo.135.2023.06.28.13.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 13:35:30 -0700 (PDT) From: Konrad Dybcio Date: Wed, 28 Jun 2023 22:35:03 +0200 Subject: [PATCH 03/14] dt-bindings: display/msm/gpu: Allow A7xx SKUs MIME-Version: 1.0 Message-Id: <20230628-topic-a7xx_drmmsm-v1-3-a7f4496e0c12@linaro.org> References: <20230628-topic-a7xx_drmmsm-v1-0-a7f4496e0c12@linaro.org> In-Reply-To: <20230628-topic-a7xx_drmmsm-v1-0-a7f4496e0c12@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687984524; l=1360; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=e2+Rw2GtRwMdjAHM3qAAk8/OIw+eBRortjNyKdEVon8=; b=yf24Cdam9WGLA3sF+Jtzk5K6coKWXVq+I+kC34pHa547AjU0E+y/7iswJU7WtpRl/rD+hS5aV ggU1nB3z0n3ClJFh6Qli6kJeMVihVDAGia11ruDJ0lbSnoSvsxWNsX1 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769980185040404688?= X-GMAIL-MSGID: =?utf-8?q?1769980185040404688?= Allow A7xx SKUs, such as the A730 GPU found on SM8450 and friends. They use GMU for all things DVFS, just like most A6xx GPUs. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/display/msm/gpu.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml index 58ca8912a8c3..30bfdfdbe4d9 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml @@ -17,7 +17,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-6][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 @@ -197,7 +197,7 @@ allOf: properties: compatible: contains: - pattern: '^qcom,adreno-6[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: