From patchwork Wed Mar 29 19:17:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 7422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp636419vqo; Wed, 29 Mar 2023 12:24:06 -0700 (PDT) X-Google-Smtp-Source: AKy350YwAg63EhaDA0EoFRPIpw+Oi74ivveGiWbqbdEECgDY8dwy+8cBXD0QihAOOXfY9nA2Xy09 X-Received: by 2002:a17:906:fb08:b0:8b1:2d0e:281 with SMTP id lz8-20020a170906fb0800b008b12d0e0281mr22153240ejb.18.1680117845883; Wed, 29 Mar 2023 12:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680117845; cv=none; d=google.com; s=arc-20160816; b=T3W07r/zdCMQm3yGTpN8hFpr0KoK2kvfWv6z+iwPuTbToNKlD1aALEHHKYKUOisNqO B6FjSYtJJHjCSEcCds8AVNhB18UeBAE4b5Ek1u7jmVvtUYOLQ6Fcf+W3vi1g3vSCMh1/ t/fZx0EhD0Bt5UGhTpThchHkWDVnx0gHpurnBWuG7Fp+A1/NUTKFJdy5oEjdgwSjNXdU fejBqWsyJkl68QmM9vlB5XmbXQ9/zI4ivIMtQFhNcJ5RZfMM3QuLyabRK5W5P65TzG1u 3sL3RaKUWTeaIx0uy6/j2wHduO1uR+3cCrtOdWZVTrWhILnZt7Z2Q2r0mDng+/+G7JO2 MBIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=N7Y/HPqAFT5kZl2+NC7WtMfO4VvsFK7oS+JSs0n+9bA=; b=xls2P2prm/ybhywDnQ7AUVkhIJCK3vx/ssPvwxtn8KKtNun+U6bWcXVGIW+pQJrn3v 2tBfM61UlhJPeoiQx8oj2L9qo6w9i/rfWq7V3HyXqG3CGgiLoaAcexN8e5Kjp54RAGry bAWQieerY2hTZo5GEwnBHMeER81HZsTgHMm9+d05Wi2JVz/+e9pMehr82axPSDllZ+Ow qYQ8IiO37hfBClsA+GCaTmm8c55tDXK6QCwF9XECjt1UqvwoYP0Yg75icd+SNetcvnuk 5E48VBx30Zlt32dnHh6BjRCIWu3cWOoAtNSKxBKVLtkzxL8xTKVGloDFDCSl+udu8tsk cW2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ePy3yHQy; 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 n16-20020a1709062bd000b0092d6e62eb2bsi36182179ejg.197.2023.03.29.12.23.42; Wed, 29 Mar 2023 12:24:05 -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=ePy3yHQy; 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 S230217AbjC2TRu (ORCPT + 99 others); Wed, 29 Mar 2023 15:17:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbjC2TRr (ORCPT ); Wed, 29 Mar 2023 15:17:47 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8649D659D for ; Wed, 29 Mar 2023 12:17:37 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id x20so17258783ljq.9 for ; Wed, 29 Mar 2023 12:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680117456; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=N7Y/HPqAFT5kZl2+NC7WtMfO4VvsFK7oS+JSs0n+9bA=; b=ePy3yHQyUDCk3dHpqjHmBogZ0+Q+dtThapN4Wj1u2xBEVf5B6fJv52k66s3fkG+BWD x33wjSmg1zsEDlBuuo0mer0wtFgaOkwA8Yqinlksmsb4wpvRvwQTkBgm5ZdoEszmYd9M p2Xgj9DA1sOAlWu//uXK74xxfbzIE3g2dWJTl8dTvDOuJtgC/qybP+rjw3VVU+jSiprW NtSHxqj5iuDPMqKoCS7AIpqfRsLsHy2w2izDqFM1vDlRjprLVV2a+17BcYdvwfcircIk IjqVCq7j7gIDKQcLRkDdMQdtmzlIRmqu4fI6BA31Ks52xfAw2Cm/pOp1pGhC3AIhsRZD uS2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680117456; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N7Y/HPqAFT5kZl2+NC7WtMfO4VvsFK7oS+JSs0n+9bA=; b=A8/fXCJOs1EFTaKt9bNdd/xPUspw9JO2mQIWWako4LZDNnNw3eDD4c9dY88E7DxdB1 pKs1qI+SUudKpxno+bJ32Hf0r7FnlA8KiquDTq67wi/BZCyFLQyFIw7F7MT39PKb5ODi tek28MuVB95ZNHK3oImJnhTVUdS2DJgDa1NuWq/JWkoPmMaapUmGwwuDGeMmHiG4T1vt LVWX+mqyaz/JeoE8MiPXPyN2YIsyEwu1xH9PHZrM2xU6IY1SMoXFRv4boyRgacoDMqa7 Afbw2fYwr8z9UTq2Sk77kKhgq5v4kBwCxS4//AAjto7Ojmcvt211Jqmha9RwBirLMaVW +/YQ== X-Gm-Message-State: AAQBX9f7JYjedVThjtWDWpkSXsa4bPtitbWn3zafnQngmimf250CM8lW bfY9YchbfGH0RmWBznT28hSrgg== X-Received: by 2002:a2e:998c:0:b0:293:4fff:422e with SMTP id w12-20020a2e998c000000b002934fff422emr6607507lji.16.1680117455637; Wed, 29 Mar 2023 12:17:35 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id f4-20020a2e3804000000b0029ad1fc89b3sm5189658lja.60.2023.03.29.12.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:17:35 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/4] Improve some Adreno Device Tree nodes Date: Wed, 29 Mar 2023 21:17:27 +0200 Message-Id: <20230329-topic-adreno_opp-v1-0-24d34ac6f007@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMeOJGQC/x2NWwrCQAwAr1LybaDN+kCvIiLpNtpAyS5ZFaH07 gY/Z2CYFZq4SoNLt4LLR5sWCxh2HeSZ7SmoUzBQT6lPdMZXqZqRJxcr91IrnuRAw56THBNBZCM 3wdHZ8hyhvZclZHV56Pf/ud627QdCYcNidwAAAA== To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno , Jordan Crouse , Srinivas Kandagatla , Vivek Gautam , Vinod Koul , Rob Clark , Stephen Boyd Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680117452; l=1244; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=R+iZN33iXNE83lVFVAXEpdrjmzEbMXX//N/oquX/lSc=; b=aOoG66b4K2f7ANm0dA2l6lBH4bb/0MElCkmExKL9etLcF8nux5IvprDbrGSm6O8y5SlWDZHq+1Dy QgjOdLLPAyba4zG1IOukpheImGgU78q3GKZfgh19YZw0p45S25nF X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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?1761731250313850008?= X-GMAIL-MSGID: =?utf-8?q?1761731250313850008?= There are a couple of issues with some of the existing Adreno DT nodes: - opp-level is used wrongly instead of required-opps - the correct power domain for scaling is not always selected - some frequencies are missing And up until now, the power domain was not even scaled at all, until the introduction of commit "Enable optional icc voting from OPP tables". This series tries to address all of these. 8916 and 8996 didn't explode, 8998 could use some testing. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (4): arm64: dts: qcom: msm8998: Improve GPU OPP table arm64: dts: qcom: msm8996: Pass VDDMX to gpu in power-domains arm64: dts: qcom: msm8996: Improve GPU OPP table arm64: dts: qcom: msm8916: Improve GPU OPP table arch/arm64/boot/dts/qcom/msm8916.dtsi | 22 ++++++++++++++++---- arch/arm64/boot/dts/qcom/msm8996.dtsi | 29 +++++++++++++++++++------- arch/arm64/boot/dts/qcom/msm8998.dtsi | 39 +++++++++++++++-------------------- 3 files changed, 57 insertions(+), 33 deletions(-) --- base-commit: 198925fae644b0099b66fac1d972721e6e563b17 change-id: 20230329-topic-adreno_opp-7e5214a3e632 Best regards,