From patchwork Sun May 7 19:07:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 679778 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 AC9E7C7EE2A for ; Sun, 7 May 2023 19:07:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbjEGTHp (ORCPT ); Sun, 7 May 2023 15:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbjEGTHo (ORCPT ); Sun, 7 May 2023 15:07:44 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE0083595 for ; Sun, 7 May 2023 12:07:39 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f139de8cefso24260955e87.0 for ; Sun, 07 May 2023 12:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683486458; x=1686078458; 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=Vi+qNNaZPyxsefGB1oajp1oVBPaOfr1xKPuapQZUe7c=; b=TJ2OW2h9+vAdfIimLLcFyqQpLgWeG13d7qrrf6/L4c9rdK2z/x9YfLYFal1s3weaPq Qas9IUxu4knuqOr+Qc8iqe7KXNJ3/Ui8jDwznA7k2fRx7LK7ycX3Ge/uor9R/QHsOTsj 2tU+/KBSNHO0jehJGuAOFL5YKnqHNgTKtAxGHZreISsnHRozBPIBCYZ8Co+Xg8zlho69 KX7JMZlYmp3+go6LLLSm/AANkOlRsok01w7Dm/NLi2WY0grLrEdqrwE77v97f3sLM15/ hAj1RheSj8S5M8u+V1W7sjS4HS4KR8RBLpcCn1bZGsp9Amuw2+9V5pjodKvQ7ehDXshs nlCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683486458; x=1686078458; 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=Vi+qNNaZPyxsefGB1oajp1oVBPaOfr1xKPuapQZUe7c=; b=AvLrYxMjloQNLC9Qdye9uW+ui58BSAHBuPmwJpfSe0nGpdkoUcUkjdXHQVY1pcZLM4 U+d8LSV1Xgn4U/pDCfbP0UabPBKGzsQ2zlj1bIFailO4I5bZn486YYspR7vLITN1AAiO H0XvkaHh5ioJtkB2g1aTB0B5UMRWUdwvoQbACiOLASKB9ICVgNZhO6CBk8RkDxX7XWxq GxRHasCyGEv3ZLn3fsNlTRi36/U/dwvpIrXO3KGJJ9tSypJ/fFwrKguwWu2UMTqSge+Z bsm9uzqil/bBUpITjJGxHR4k73fCT3WVxqUBPtslklDFSnbaCUDxX0q3+IatTVwdurYL MulQ== X-Gm-Message-State: AC+VfDxOm4uPIhdh7lbjkVI22eteI5eMbh9nP26VBH7wYFSXEn23SCEm TJW3+Mbv4jyLXwKCLW5SbXCaPw== X-Google-Smtp-Source: ACHHUZ54X56ZL4KurSonVDETk5lAq4ryk4zzE4ihXGauROlICUtkYX8683vKfjtxl1NB3mlT5ufddg== X-Received: by 2002:a19:5507:0:b0:4d8:5de4:e3b4 with SMTP id n7-20020a195507000000b004d85de4e3b4mr2069054lfe.1.1683486457955; Sun, 07 May 2023 12:07:37 -0700 (PDT) Received: from lothlorien.lan (dzdqv0yyyyyyyyyyybm5y-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::ab2]) by smtp.gmail.com with ESMTPSA id f8-20020a19ae08000000b004f14ecc03f1sm755841lfc.100.2023.05.07.12.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 12:07:37 -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 1/4] ARM: dts: qcom: msm8974: add ocmem clock to GPU Date: Sun, 7 May 2023 22:07:32 +0300 Message-Id: <20230507190735.2333145-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230507190735.2333145-1-dmitry.baryshkov@linaro.org> References: <20230507190735.2333145-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org To get GPU working with the OCMEM, the oxili_ocmemgx_clk clock should be enabled. Pass it to the GPU to get it to work on apq8074/msm8974 boards. Fixes: fe079442db63 ("ARM: dts: qcom: msm8974: add gpu support") Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-msm8974.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 834ad95515b1..fb661c1bd3d5 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -2104,8 +2104,9 @@ gpu: adreno@fdb00000 { clocks = <&mmcc OXILI_GFX3D_CLK>, <&mmcc OXILICX_AHB_CLK>, + <&mmcc OXILI_OCMEMGX_CLK>, <&mmcc OXILICX_AXI_CLK>; - clock-names = "core", "iface", "mem_iface"; + clock-names = "core", "iface", "mem", "mem_iface"; sram = <&gmu_sram>; power-domains = <&mmcc OXILICX_GDSC>;