Message ID | 20221229101202.1655924-1-wenst@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2328785wrt; Thu, 29 Dec 2022 02:19:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXsKafr3WEVWzSjm46aN5yDoRgFQSHxwRCp6lt8hi9hklMaNA/kIHJipSl0md+c++KFPmcXt X-Received: by 2002:a17:907:7da1:b0:7c0:d6b6:1ee9 with SMTP id oz33-20020a1709077da100b007c0d6b61ee9mr28296435ejc.11.1672309183484; Thu, 29 Dec 2022 02:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672309183; cv=none; d=google.com; s=arc-20160816; b=yK7Qfzhv+KbwGbrh7fEoyOILVsJBG/mWRNatvOQhEQyE1rQByzyDWcI51DhHTjG2MK pwYUTpu+ymo8lAIS1408y0H4CbAFq1pn2z1Fc87kG89SFEDpjbH8XtEv6FxinjJ7qkhK dfC1Bv0EI5V68isd7Y0M8s5T3XabW6TmelLWOqa4/hWhfwHSUfgitCKXdeT8aj99pkRk nFMDhOmZ5/XUoB1nwRKgolKmHACSA2swIWNcdwKaDwXpnMyhvsJF8jlDsQwhkZu4uYTw GG9kqz5dlTOH9YwETkOu0YsF2StR4UzLrE/JGild64KwGjzpJArXepMKAqygoWM5LeqF wWtA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=B4PWewLwFvhPgA/g5BiED2BT3HTWS9F6JCR/JU66we8=; b=NHAUnAC/xz+RXzrdLALazhntjv2C8JQppvRxCMC6zFgRpFchFQXYCDEukTyYUzOJay LAOQe/Omz5RrwipJsYiUZG6+UnDk9qH4ebadaJIPxvkgwuj8QuQsvaQvoTMMsGffz5a7 5ukWrmFMlzexM6QXdMXLId7+pKTW5GTJ8vcH/wIRHEnH+VirUIiyMJWV3lMW+eIRrmWt vHNkY6N66opukjXSEm3dbVZ/2u0b6zbm0QKskxQSGNWmN580YH9eTSI/2g+k4QMXVURa YQLyhAVO0WbHcYru2Vu32hEqoTrh02EvEY6DoNxF+yLgE69GVIRrr6fFNAD9obczIevr rjZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=B2DleHZV; 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=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho34-20020a1709070ea200b007c1691c5296si14514545ejc.385.2022.12.29.02.19.19; Thu, 29 Dec 2022 02:19:43 -0800 (PST) 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=@chromium.org header.s=google header.b=B2DleHZV; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233382AbiL2KQ2 (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Thu, 29 Dec 2022 05:16:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232969AbiL2KNv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 29 Dec 2022 05:13:51 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36B355F66 for <linux-kernel@vger.kernel.org>; Thu, 29 Dec 2022 02:12:07 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id gv5-20020a17090b11c500b00223f01c73c3so18154670pjb.0 for <linux-kernel@vger.kernel.org>; Thu, 29 Dec 2022 02:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B4PWewLwFvhPgA/g5BiED2BT3HTWS9F6JCR/JU66we8=; b=B2DleHZVuSPcPWUD6oNq/HUS5bmKzL6BhQnqqL7ca9taihBXoh0DILjADWG3L2BlpK BTqGS/gjbNVA2mYiiPs7IhFKkmdBDJeMZILTB2K7RYRZKVPX3lNoYpbTHK/5Bzyonqtq TcPVME6rlp60Evj+hS6NC23sn7m0bBwC3LCss= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B4PWewLwFvhPgA/g5BiED2BT3HTWS9F6JCR/JU66we8=; b=kxYhjkhR5Ngb5IcM/sAaUfvonrtqbbOhhS242jryZ1Ucs8qEMp0wV5hI43kExgCfiP fS+khpBZWPR1oOFmVe6WrXc41fMCxZRjTZqsutQA/ucgoGgbuhY58LD2OlnSToFr/ZUg 3NPBjtBJGETiThfyNrd/SSObSVnpO9d+RjRx0iMVptU1i3typxeYUp4Yij1dTaxucHMF Rhac8LSzF8LeQZnn7zkcQPMK7bX+Ng+8l1aRZv73QO7L1BQ/w54yCVLLnZYBzSWXKjrw GBpqOnU0Urq2VG6AOdasACEBPgkCk+7RIgLk6vzedpTGtX6IREVbF4dVs5D+r8hbeOfj 06jw== X-Gm-Message-State: AFqh2koGqMFfZdIv2hSOcZDIhGwkhZe9wzk32k9+d96d9KRfDiFV630b f5gIHywXJ8IV1qbVLV6Uu7e1LA== X-Received: by 2002:a17:90a:bd11:b0:225:b29f:42 with SMTP id y17-20020a17090abd1100b00225b29f0042mr31599271pjr.14.1672308726759; Thu, 29 Dec 2022 02:12:06 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:4f78:5286:f0f2:c795]) by smtp.gmail.com with ESMTPSA id 30-20020a17090a09a100b00225f49bd4b6sm6072516pjo.36.2022.12.29.02.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 02:12:06 -0800 (PST) From: Chen-Yu Tsai <wenst@chromium.org> To: Matthias Brugger <matthias.bgg@gmail.com> Cc: Chen-Yu Tsai <wenst@chromium.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= <nfraprado@collabora.com> Subject: [PATCH v2] arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken Date: Thu, 29 Dec 2022 18:12:02 +0800 Message-Id: <20221229101202.1655924-1-wenst@chromium.org> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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: <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?1753543274322259915?= X-GMAIL-MSGID: =?utf-8?q?1753543274322259915?= |
Series |
[v2] arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken
|
|
Commit Message
Chen-Yu Tsai
Dec. 29, 2022, 10:12 a.m. UTC
The scp_adsp clock controller is under the SCP_ADSP power domain. This
power domain is currently not supported nor defined.
Mark the clock controller as broken for now, to avoid the system from
trying to access it, and causing the CPU or bus to stall.
Fixes: 5d2b897bc6f5 ("arm64: dts: mediatek: Add mt8192 clock controllers")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
---
Changes since v1:
- Changed "broken" to "fail"
- Rebased onto v6.2-rc1 plus v6.2-tmp/* from mediatek repo
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 ++
1 file changed, 2 insertions(+)
Comments
On Thu, Dec 29, 2022 at 06:12:02PM +0800, Chen-Yu Tsai wrote: > The scp_adsp clock controller is under the SCP_ADSP power domain. This > power domain is currently not supported nor defined. > > Mark the clock controller as broken for now, to avoid the system from > trying to access it, and causing the CPU or bus to stall. > > Fixes: 5d2b897bc6f5 ("arm64: dts: mediatek: Add mt8192 clock controllers") > Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Even though personally I couldn't notice any such CPU or bus stall after manually enabling or reading back the scp_adsp_audiodsp clock without the patch applied. Thanks, Nícolas
On 29/12/2022 11:12, Chen-Yu Tsai wrote: > The scp_adsp clock controller is under the SCP_ADSP power domain. This > power domain is currently not supported nor defined. > > Mark the clock controller as broken for now, to avoid the system from > trying to access it, and causing the CPU or bus to stall. > > Fixes: 5d2b897bc6f5 ("arm64: dts: mediatek: Add mt8192 clock controllers") > Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Applied thanks! > --- > Changes since v1: > - Changed "broken" to "fail" > - Rebased onto v6.2-rc1 plus v6.2-tmp/* from mediatek repo > > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > index dd618c563e8a..ef4fcefa2bfc 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > @@ -644,6 +644,8 @@ scp_adsp: clock-controller@10720000 { > compatible = "mediatek,mt8192-scp_adsp"; > reg = <0 0x10720000 0 0x1000>; > #clock-cells = <1>; > + /* power domain dependency not upstreamed */ > + status = "fail"; > }; > > uart0: serial@11002000 {
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index dd618c563e8a..ef4fcefa2bfc 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -644,6 +644,8 @@ scp_adsp: clock-controller@10720000 { compatible = "mediatek,mt8192-scp_adsp"; reg = <0 0x10720000 0 0x1000>; #clock-cells = <1>; + /* power domain dependency not upstreamed */ + status = "fail"; }; uart0: serial@11002000 {