Message ID | 20230628-topic-a7xx_drmmsm-v1-2-a7f4496e0c12@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9204860vqr; Wed, 28 Jun 2023 14:00:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fiYIYjxxRhXYCqmEtimMYROrbwlb1tGImA3QAswzPz1j+wBaw7PjTy/0RkgyW+iMs5Fsg X-Received: by 2002:a05:6a00:1f95:b0:677:3439:874a with SMTP id bg21-20020a056a001f9500b006773439874amr11556836pfb.3.1687986019248; Wed, 28 Jun 2023 14:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687986019; cv=none; d=google.com; s=arc-20160816; b=rJSoy1gydFK2f/G7uSme3fLSqvCnRz5Tv0J+KqUI1Uim9TFnD7h2XNhK0F/WIWNinJ 80ie+9BcaCY1+VIrbQ7NtL6TiXL41S/yAltzMg2YxVDEsCff4aBbzCuVUfZlPfEorhgF oI5YS4bIpLJbJjf+lFSV0YwDfVv4KUlGK0lKZWuRCLmjZYf60+rQV/C0owtqZhy6QgES RLKm/h+qLJlC9e2tXbmBJ4K7pQqk2ISljfY0DdhWaeeJ7QWITDJXxmb/Hq4SNVWyv89X UClCGPSyGMIXeK47vfZ9eHeipxp5WOB5fRwAotZQOU3uLmB4qLQCvVYEKi7ucctlhk3n IWaw== 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=ShOVFQ7RXIUW1rLCJcISdnIxitPcQmG9jiBKht2mxDw=; fh=y5CufWdCvRG/D46wPUQAs6a5TaO9Xg7IL+UXm/FDyGE=; b=tVwujWJlkmahEtiXWTyFdnAeSXHM3OF+M3GGSR23vWvWwCtgVJ/BsxNEgdezgS8xXu xy6JAPh+9zU1vPDJUEFAFhoi3zm6nkitY3gmvGkv8K5iWLjKEZXU8Qi5RFXrgn5NJW4h mGa0ZURJvg5uF2/ydxAx4sfoFDc1VnyVIep7DyeNAJU2Yzki+YUQETJgMS+rwwkCae6K H/i1A4Y1eHLAUtiAu8S60ZQV56lwfzucX+eJuFl9XU9SnBFWPbucY8/VTSIVBICboAyo ouzAGRhlNy33E9U9qyK609mXX8XKFyxtQa10ysPR+SvtDBUOEpHSnL7nbNQvRut4zElp aC/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fNvzPeTr; 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 h20-20020a056a001a5400b0065300b42889si9559642pfv.363.2023.06.28.14.00.05; Wed, 28 Jun 2023 14:00: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=@linaro.org header.s=google header.b=fNvzPeTr; 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 S232235AbjF1UgI (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Wed, 28 Jun 2023 16:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231834AbjF1Ufd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 28 Jun 2023 16:35:33 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9493E2113 for <linux-kernel@vger.kernel.org>; Wed, 28 Jun 2023 13:35:30 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f8689fbf59so1857768e87.0 for <linux-kernel@vger.kernel.org>; Wed, 28 Jun 2023 13:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687984529; x=1690576529; 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=ShOVFQ7RXIUW1rLCJcISdnIxitPcQmG9jiBKht2mxDw=; b=fNvzPeTrPGUOqRRGumNpPGd+754lAgnO/eYgAcwbEajTsV4Yo9vtXgYRlrfMy4vOU+ 4wxSxfNS3KuLFWtJHAPSlMoS4+RZZt+tE/T7mhO1l8d0SD4nlBSZwIL86qzm7eaLNzfO ciYaMhg86FJ3nK+zMXRGDwK2PxCeJ8E1UfJpReNszWZN6Bxtv0yeOg0V+RqzK1Zg/tXj RWglgcVmVxoRURGvKVGscpioN2Bklr19WjycEAAX9VmQ4wkhSgxfbTA6UDjpbrSytcJH /vPYU3GcNZ+ytrB9EEAuW5M+KZLsGRJSRe1w7uK3lWpIPi4i0mXWrKi2S0ItZBWaJ/o+ wBnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687984529; x=1690576529; 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=ShOVFQ7RXIUW1rLCJcISdnIxitPcQmG9jiBKht2mxDw=; b=XYyHIGTADhNGBF5zizhCMz5Tr2aaT+CLDRrlHUEsGU8RMs0BglAlZ+2lebAQz3TcH3 se8b2CNvhWkgomkKOm6ftemcOavKUpiqWG+K7ZNVTQeY93ko1yo6+p7pON76KvtY2Tr8 93ZA6x0GR6ivUBUnpqUrc3uiZqDcNYOwSer2MOOF189KoPuTcp9P53agA0Xl5yE7rmKb KY/RapCzwKvg968/qhL9PpINc/X8fzNkSvcYhraTM3ZPg5L/sfW3L7w/k2KdV77829hk wXr1QV4y+aQEGNn2KlV03VtsBqDjVKFXK25IxbyUFww+4Hf4+ir6xFWQbiMqHlvpzFGW Rh8Q== X-Gm-Message-State: AC+VfDzkUNjUn0f0sqi//KJE64QdpRUY+Y+S6uEEBgqAEYriyrpbNN/6 6my//2vTGVZ1jnsIXyfisV87yQ== X-Received: by 2002:a05:6512:308a:b0:4f8:6e1a:f3ac with SMTP id z10-20020a056512308a00b004f86e1af3acmr818922lfd.28.1687984528942; Wed, 28 Jun 2023 13:35:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 13:35:28 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 28 Jun 2023 22:35:02 +0200 Subject: [PATCH 02/14] dt-bindings: display/msm/gmu: Allow passing QMP handle MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230628-topic-a7xx_drmmsm-v1-2-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 <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, 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 <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687984524; l=1089; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Zi8pu5SYXNW6tkMGEBTZIqc+2Rypg7fUU6hDiwoM2xw=; b=uC3bn2D19iI0waNc/bVHfDh6gUGVjhjvACMWf6s7R7DndLYPdT5QGdN5du2GLi5C+sV5+aWWM XXKWRLPMxBMDrz+ghSG6R4/ez/yar5S7D68HsS/BTPVOnOUHc83YUEZ 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769981627954923247?= X-GMAIL-MSGID: =?utf-8?q?1769981627954923247?= |
Series |
A7xx support
|
|
Commit Message
Konrad Dybcio
June 28, 2023, 8:35 p.m. UTC
When booting the GMU, the QMP mailbox should be pinged about some tunables
(e.g. adaptive clock distribution state). To achieve that, a reference to
it is necessary. Allow it and require it with A730.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Documentation/devicetree/bindings/display/msm/gmu.yaml | 7 +++++++
1 file changed, 7 insertions(+)
Comments
On 28/06/2023 22:35, Konrad Dybcio wrote: > When booting the GMU, the QMP mailbox should be pinged about some tunables > (e.g. adaptive clock distribution state). To achieve that, a reference to > it is necessary. Allow it and require it with A730. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > Documentation/devicetree/bindings/display/msm/gmu.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml > index 20ddb89a4500..9e6c4e0ab071 100644 > --- a/Documentation/devicetree/bindings/display/msm/gmu.yaml > +++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml > @@ -64,6 +64,10 @@ properties: > iommus: > maxItems: 1 > > + qcom,qmp: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: Phandle to the QMP mailbox mailbox would suggest you should use mailbox properties. Instead maybe "Always On Subsystem (AOSS)" or just use existing description. I assume it's exactly the same. Best regards, Krzysztof
On 4.07.2023 10:29, Krzysztof Kozlowski wrote: > On 28/06/2023 22:35, Konrad Dybcio wrote: >> When booting the GMU, the QMP mailbox should be pinged about some tunables >> (e.g. adaptive clock distribution state). To achieve that, a reference to >> it is necessary. Allow it and require it with A730. >> >> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> >> --- >> Documentation/devicetree/bindings/display/msm/gmu.yaml | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml >> index 20ddb89a4500..9e6c4e0ab071 100644 >> --- a/Documentation/devicetree/bindings/display/msm/gmu.yaml >> +++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml >> @@ -64,6 +64,10 @@ properties: >> iommus: >> maxItems: 1 >> >> + qcom,qmp: >> + $ref: /schemas/types.yaml#/definitions/phandle >> + description: Phandle to the QMP mailbox > > mailbox would suggest you should use mailbox properties. That won't be a very strong argument at all, but the Linux mailbox framework did not at all fit the JSON-like nature of this mbox and it ended up being its own thing.. > Instead maybe > "Always On Subsystem (AOSS)" or just use existing description. I assume > it's exactly the same. I don't think I quite get what you mean. Konrad > > > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml index 20ddb89a4500..9e6c4e0ab071 100644 --- a/Documentation/devicetree/bindings/display/msm/gmu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml @@ -64,6 +64,10 @@ properties: iommus: maxItems: 1 + qcom,qmp: + $ref: /schemas/types.yaml#/definitions/phandle + description: Phandle to the QMP mailbox + operating-points-v2: true opp-table: @@ -251,6 +255,9 @@ allOf: - const: hub - const: demet + required: + - qcom,qmp + - if: properties: compatible: