From patchwork Thu Jul 27 21:20:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 127217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp41540vqg; Thu, 27 Jul 2023 15:16:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlGw3l/mgZ2b5vudyEpbpjKYfb41yIFKVR3kNTdrQn/UhnJvCTlOSqOzUDB4c1Jvle18we33 X-Received: by 2002:a05:6a20:d408:b0:137:5957:6978 with SMTP id il8-20020a056a20d40800b0013759576978mr351848pzb.46.1690496179207; Thu, 27 Jul 2023 15:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690496179; cv=none; d=google.com; s=arc-20160816; b=T4NQTpz7EDY/YWxajEPZZGkMnzipMiSxwPygm/TGGjoIrJcFLpHVPp9Q98A9NY+aHv 73oxgufuugF/iWArKBcaHDd1PbfdsGSXA9SvykAhm6q/m1y/fyfho899Mn/MCDV6JO0m CZofwbazaoAVAqk8EqKLM1VAy3agft9ezMgzNFJXDfD0fMXphKNY/olLksbOWThEM+Qf PCootKMwCKfMsivLN2GpTSlVQCiMwJ9+VyC6ouHR2SCGHNs1ELXIhR7Pfg1nU0TgmSYW Fi4H9qdkJdViGGR6SOXDgGD4CxGgz1FjuSqo1Bs0+2+QPHxGj3Z828DT+z7IxeDkBmQd yjbw== 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=AQZMOPuU2NT251VkgOhkBFz/GJRkDGlyYehHpTo6xuo=; fh=6/Pmw1QsnQteNOs/empQA8bkFbv3mvWGuRkNKidq9CQ=; b=h2jm2pd7NPoop9853Pk75Zxysxg8pj9LoUx3/juTi5ny4NSd3Hsyc240MmwSW3WZxD orw8b8UfQP0vPsPZyX+Oitu2zQjhK7CEZMxq/RpHdehSU3srDYNPjfz0A7Q7ap1G54LX 9sFJHAGEYbyaYZV86Nu3WU5R0d4Gm95J5r7HEbaGMGws5zRwrTEJzVtLvYPI6guny90+ VrrKaRig/qojuaYqLhMaxIkpZyOJH2ctbv0goG7O6sIaPUdaNWLe1toyFi/IIzVeZrGM fuKeRRRfyfgu3yAqTzAmyAnslNMksvhbgyov4j6Ib4Z9lzbD3W99kbNoP2Pt+vdZ4uDE ubNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ivYp4VJC; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s35-20020a63ff63000000b0055febf14923si1717787pgk.296.2023.07.27.15.16.06; Thu, 27 Jul 2023 15:16:19 -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=@gmail.com header.s=20221208 header.b=ivYp4VJC; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbjG0VYE (ORCPT + 99 others); Thu, 27 Jul 2023 17:24:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231923AbjG0VX4 (ORCPT ); Thu, 27 Jul 2023 17:23:56 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11E2D4200; Thu, 27 Jul 2023 14:23:31 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1bb2468257fso8691155ad.0; Thu, 27 Jul 2023 14:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690493011; x=1691097811; 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=AQZMOPuU2NT251VkgOhkBFz/GJRkDGlyYehHpTo6xuo=; b=ivYp4VJCrL/8o1Xn4k6WDMaTuMD3bKTU4BJpdp83TNkv1aQzgezYW+SjC5+QLxW8lh 00IQvb2RQ1DY4Yv4R6sEuZN7yYF6qWdSiyr1towRuRVGFEwDSgZhrozK8pxzr4pPdl0S BF2uXXKUtnQ8HbzR/h352BcbpZ9jXcymuiC/O8Nf0j7q8bhifVUBAQg+JBLWBHky4h0+ fqhPJvCO5+sTO9Otyciht4/oaN9qAOIedk8P/ojCImjfWB04JEU7f2cZttDA4xqYn/DR XRtxwQUJC642nI3RwdLqczsIQdwxecFJ00gfPYR5SuUsOiOLjsZPzKFh797GJ4xDacRo PGUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690493011; x=1691097811; 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=AQZMOPuU2NT251VkgOhkBFz/GJRkDGlyYehHpTo6xuo=; b=cxmbVbwSiTWI6lqm1SADamyWfd99sselIGHFaHyh6XMssk315DwSuNBlRHatfIKudN INDmjYy/ZM2OAIvZzPKxWikISqww2A26gw2uousnQYDVS5ZTnISGH1HYBWUuc1jm3L2K 91/rPPe39udNEjyN3Rdc3dswSy1xd1uv64zd+z8yAtxd5wndtV23vhXgT6mDxONaaEB2 a8DPZTmxcTa+wgoNe+JVu/Z2TnukdtFGOI3Uk5W3pcQovJh50W50vT+zBjRiwSMpFeuV 5gZ6BS0hkkSet5TqpUIxbl36lxioxVL6QEMVNGIBDaBSmhaLbPOXhR3tZIXiHZfmQofa G+pA== X-Gm-Message-State: ABy/qLasYJ3omAxAMFOzt/pcVW4qze4wGIRBBQRArTLDtnscfqu2vOHr 3d2IHSOKxP8j/oKJT74FjWA= X-Received: by 2002:a17:902:ef87:b0:1b9:e9f1:91e0 with SMTP id iz7-20020a170902ef8700b001b9e9f191e0mr383339plb.41.1690493011002; Thu, 27 Jul 2023 14:23:31 -0700 (PDT) Received: from localhost ([2a00:79e1:abd:4a00:69d1:d8aa:25be:a2b6]) by smtp.gmail.com with ESMTPSA id z8-20020a170903018800b001b8a85489a3sm2074529plg.262.2023.07.27.14.23.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 14:23:30 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , Akhil P Oommen , Konrad Dybcio , Rob Clark , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 12/13] dt-bindings: drm/msm/gpu: Extend bindings for chip-id Date: Thu, 27 Jul 2023 14:20:17 -0700 Message-ID: <20230727212208.102501-13-robdclark@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230727212208.102501-1-robdclark@gmail.com> References: <20230727212208.102501-1-robdclark@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772613721590479767 X-GMAIL-MSGID: 1772613721590479767 From: Rob Clark Upcoming GPUs use an opaque chip-id for identifying the GPU. Signed-off-by: Rob Clark --- Documentation/devicetree/bindings/display/msm/gpu.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml index 58ca8912a8c3..56b9b247e8c2 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml @@ -13,6 +13,12 @@ maintainers: properties: compatible: oneOf: + - description: | + The driver is parsing the compat string for Adreno to + figure out the chip-id. + items: + - pattern: '^qcom,adreno-[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]$' + - const: qcom,adreno - description: | The driver is parsing the compat string for Adreno to figure out the gpu-id and patch level.