From patchwork Wed Jul 6 14:52:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588234 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70CF2CCA483 for ; Wed, 6 Jul 2022 14:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233393AbiGFOwq (ORCPT ); Wed, 6 Jul 2022 10:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233575AbiGFOw3 (ORCPT ); Wed, 6 Jul 2022 10:52:29 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56BFC248D2 for ; Wed, 6 Jul 2022 07:52:28 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id r9so18756090ljp.9 for ; Wed, 06 Jul 2022 07:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mWYa/JkrXaVyDqQ/AUIdjm9Zadu3uW7Es8evksI4JMM=; b=nERqmQSL/Sc95hbch1fUd+1YIJJKoAoxd5LsP6r7mwfI8nOkG5rzaw00oL/4prG7NW Mh2X4WCl6FTODYsm+9mEAVMgTWjDNeXWB+vKiwEtOeDe5QFq5dOQi4LHz0bjbnl/59HW iPdgDNyuPofN9+LkhhhCVEOfSu0FNzHNomDtkjVXJcWMztTGTZkAvwspoZYDKXu4mVcT zhfmWfvOf58fIT1Jr6PGC7Znm3KcqgKcGWbjAjQ1lZBjdJjccwTWrGyXc43FT5A8RyE/ gSkA2r6BQVSaAB7SFPquNl/o99zqvuyRz6pd46abT+i4L4bSQUQDbfIBRUPVmduLygWR 4XJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mWYa/JkrXaVyDqQ/AUIdjm9Zadu3uW7Es8evksI4JMM=; b=ITtW2jYBOUDWH0AO9xa8ZkBjLuTpBJBF+4YpELDpRm4PQUIu6tXPARKz04hgVpfvGu kYyEcfzu2Qwp1NoRw/jUYP8GvAhXK08kIoEMIn1p8CZm54uGfvTXEObjZPYSph/fq/P3 jp3C2JKkpHF9kkxlQ/K3eScutE2YQAYnc9h/gkjrTU1xmf46GWs2Fua+di5As1U65bT/ uSDCgQ4iHWpluR/y7OqLp7fV2leqyh+0jwQd7Ndof5isRSo/Pz87GLkU5SuZpm6EK2XT xSQ0/8JUwpDLAnneBugwv9Nft2M1GoHE6Aizlx+n0XRjMaaEm78b1ux/CKRNywd1AeS1 ln/w== X-Gm-Message-State: AJIora8+t3fp7l89jGPMb/t7z1nrq+AW1cJtKXPva4fLfA+Ta5g5Eayv VygUMjsQnMOlt02EhofYx6Dxtg== X-Google-Smtp-Source: AGRyM1siQ8prPMCEpPsf2tjnXe3IHRkBfsg1LyW8G4wrbodaZchvocP37Mu2sxympGNIK81TjehE8w== X-Received: by 2002:a05:651c:1798:b0:25d:3043:58e0 with SMTP id bn24-20020a05651c179800b0025d304358e0mr6628027ljb.310.1657119146681; Wed, 06 Jul 2022 07:52:26 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id v25-20020a056512049900b004855e979abcsm556617lfq.99.2022.07.06.07.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 07:52:25 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 2/4] dt-bindings: display/msm/gpu: document using the amd,imageon adreno too Date: Wed, 6 Jul 2022 17:52:20 +0300 Message-Id: <20220706145222.1565238-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220706145222.1565238-1-dmitry.baryshkov@linaro.org> References: <20220706145222.1565238-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The DT binding desribes using amd,imageon only for Imageon 2xx GPUs. We have been using amd,imageon with newer (Adreno) GPUs to describe the headless setup, when the platform does not (yet) have the display DT nodes (and no display support). Document this trick in the schema. Signed-off-by: Dmitry Baryshkov --- 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 346aabdccf7b..e006da95462c 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml @@ -16,9 +16,13 @@ properties: - description: | The driver is parsing the compat string for Adreno to figure out the gpu-id and patch level. + Optional amd,imageon compatibility string enables using Adreno + without the display node. items: - pattern: '^qcom,adreno-[3-6][0-9][0-9]\.[0-9]$' - const: qcom,adreno + - const: amd,imageon + minItems: 2 - description: | The driver is parsing the compat string for Imageon to figure out the gpu-id and patch level. @@ -148,6 +152,8 @@ allOf: description: GPU 3D engine clock - const: rbbmtimer description: GPU RBBM Timer for Adreno 5xx series + - const: rbcpr + description: GPU RB CPR clock minItems: 2 maxItems: 7