Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp679408rwb; Tue, 27 Sep 2022 03:12:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QA46LJpIHZE/7LE1Z3UXBIcK2n07iN5LD7Ygjz9yxHtwh/DSUvNgkBYP1Wj6cHG+pCeDZ X-Received: by 2002:a62:7989:0:b0:541:e66c:c19a with SMTP id u131-20020a627989000000b00541e66cc19amr28333121pfc.24.1664273553694; Tue, 27 Sep 2022 03:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664273553; cv=none; d=google.com; s=arc-20160816; b=Ab3qhMN/pfGCmxD2OmOOCHWFpAPXaARr6jITCP94CJY2/RxL2pWvnMa6JB76xzUhcD wH/qsAZKec7G5VNxNCRJ77A8KJtoKal74LZrqz04A65G2yLamlxv9WTMnGhgNtGfbtbD gLlfRz76Moz033A2FnDoQjV/4pgZJC2AdaqkAkCppYEa07vOK8f35hXyPYkOi19wg96E I+zX/i69+eSzNakHJ+LYLSL0loV7B7dauGoIit8PU80gV1e6iZx7tz43NKJ2PXKdm8a2 VqXMrdTFdklnPyt+Mv4Z23GmX3liaHvx+7z1r36XgDf+hYBM6E6V3dD35U7goNWcKkUL uE1A== 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=tCud6e42czc0UwHCyidR/KwZejpItT6B2bYoCkqzMwg=; b=fgg6kWFn03fPacohMRnH3yk1KxPkF1DTIWfTf7OGNpYmY19n5mfk5RW95OLHog/4hR NmcM2d3jGD7aiq4p0mQGZKPtXFw70JjeXcYYyyqwpiH8awijv5J/GFxoNL+Ug6hQr6HT XRSjiGNYrJyWoAt4rzgtt7a8ZXdRhtRMlu5YxFI/lVE6BQPFolV2563CeBuowWk7Pu0K vtYMGUPMf/0vWqx9mb5LJn8GpumdcVi8bMrtQjnhjiaXSDbHSm6MEx+kz5izlQVnedrC oW1qCIfdNPibNr1+O+M+FKNPdXDSkIX4Y4KYkF4HXCZ7vor5sNibYBfHo7J0AC5qBvaQ FXYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=eJZnYEZf; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p30-20020a635b1e000000b00434b5b0788dsi1486313pgb.74.2022.09.27.03.12.20; Tue, 27 Sep 2022 03:12:33 -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=@collabora.com header.s=mail header.b=eJZnYEZf; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231838AbiI0KLm (ORCPT + 99 others); Tue, 27 Sep 2022 06:11:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231786AbiI0KLi (ORCPT ); Tue, 27 Sep 2022 06:11:38 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 197EF9E0F6; Tue, 27 Sep 2022 03:11:35 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id BBEEA6602265; Tue, 27 Sep 2022 11:11:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1664273494; bh=0o/8cVorzOsad5b/Haf5ctcd6DYaAoupPjEfo3dU2RU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eJZnYEZfTW2546Q2EMvR2zOhotutnmTNfvUp5QmaRpkiW1g4Wt14O3+WNGym1Amm5 8smEJPUErM/974lSgBmHLaFNa4oG5vZP63vrbr9CvjBye9eJXgESWlqjw1X+dAut0F XLBduncdVcXKfxWJ3RMpyLVnShssV42OD+omYQWkdJPaahFEKKuZsmUV80Guk8zQGZ YuvNqD9q/zgf9gwogttzCxa4gbtU8F7/nCVcFHTx8tsUQ70JCp31E6E+a22Lj94DRf c9PoYLK467JFbItzlAxjNe27VpsAzup5DbNljauDEAY0VATAvPkPw9n5Gn31yEWubg fq5Gmn2dVtRnw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: mturquette@baylibre.com, sboyd@kernel.org, angelogioacchino.delregno@collabora.com, wenst@chromium.org, miles.chen@mediatek.com, rex-bc.chen@mediatek.com, nfraprado@collabora.com, chun-jie.chen@mediatek.com, jose.exposito89@gmail.com, drinkcat@chromium.org, weiyi.lu@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Subject: [PATCH v3 01/10] arm64: dts: mt8183: Fix Mali GPU clock Date: Tue, 27 Sep 2022 12:11:19 +0200 Message-Id: <20220927101128.44758-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220927101128.44758-1-angelogioacchino.delregno@collabora.com> References: <20220927101128.44758-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 From: Chen-Yu Tsai The actual clock feeding into the Mali GPU on the MT8183 is from the clock gate in the MFGCFG block, not CLK_TOP_MFGPLL_CK from the TOPCKGEN block, which itself is simply a pass-through placeholder for the MFGPLL in the APMIXEDSYS block. Fix the hardware description with the correct clock reference. Fixes: a8168cebf1bc ("arm64: dts: mt8183: Add node for the Mali GPU") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index a70b669c49ba..402136bfd535 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1678,7 +1678,7 @@ gpu: gpu@13040000 { ; interrupt-names = "job", "mmu", "gpu"; - clocks = <&topckgen CLK_TOP_MFGPLL_CK>; + clocks = <&mfgcfg CLK_MFG_BG3D>; power-domains = <&spm MT8183_POWER_DOMAIN_MFG_CORE0>, -- 2.37.2