From patchwork Wed Nov 30 03:17:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 27573 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp707158wrr; Tue, 29 Nov 2022 19:32:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xrdfbvq+iu/Hxrq6DVtPWJeK46JoloDqlBDe4raeYccqvcHMdvTzKDiBtsUnLcFFUdwRY X-Received: by 2002:a17:90b:944:b0:219:33a1:d05f with SMTP id dw4-20020a17090b094400b0021933a1d05fmr14635206pjb.116.1669779120974; Tue, 29 Nov 2022 19:32:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669779120; cv=none; d=google.com; s=arc-20160816; b=X2RwJ4l24keoAdrz/HJM1ikiEe+mffbkYFEf4XZ7cKYe3kPN4GggJ+yWOkWX/lykNV l7PlqZAdnEvWFr0bElHLgUbup+fz17A8osOACZJxTF3+8wcgQ/wqeF8M+UZsi6B/qNYD eM7AdxDjyKfx8Uk5jkyyMolGH+8sMBywq5gPG1sPeCLDat47ZcC9pU54jDFanQCYiR8m paEyHlB9NLUgpyyo4m3csMfn5U2qyIwr/07OLN1QIQzDpALOYtctAnb1pGeXeOoO7+Ys JljzfJCo5OxbyNIUqqh54mjdsDdMrqBUGwEn+ZxUv6zTtRn3aNKhUwIpO1z+wWrW4Kco kXKA== 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=Xnw6MILr6W2VKVd3Jp7ZUysLH8fGhtVKg7zkvqQm4t4=; b=t6wE0U/eUADNYpPtVk2ESRx4/Ukh4Ejy1wieMutyfT0T1ke9dxzLNVfkcRGiPNeKzk 7w+b9GVvA6cniZOEE2PFHog0bvMaXMgXHv6jP+fCNebcCAvoxA+bKkHyoJKJpALO4u0q hxfCT1+ro/w87FvHLuICvk8JVt6GmTkqbtf4jEcyNb4zQbqufwXf21qibtiKG9GHNQ+Y mbZYalY0Rvj53TbieBj6cbL8VIH4Z9VsJKIMbmty8FCeAbwvdTQ/qabKCk8GPy7WfZxc oz0Xva5tNSV9fBr/RmvWIifwufrm4gGOnpwZAQ3+SYBa4kwGhp7xHa/FGSVMiQ7P+Iwi eEkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bRhKhWob; 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 h29-20020a63385d000000b0047711269da1si193104pgn.11.2022.11.29.19.31.47; Tue, 29 Nov 2022 19:32:00 -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=bRhKhWob; 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 S232759AbiK3DRy (ORCPT + 99 others); Tue, 29 Nov 2022 22:17:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232420AbiK3DRv (ORCPT ); Tue, 29 Nov 2022 22:17:51 -0500 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64BBB1B9F5 for ; Tue, 29 Nov 2022 19:17:50 -0800 (PST) Received: by mail-pj1-x1031.google.com with SMTP id o5-20020a17090a678500b00218cd5a21c9so645106pjj.4 for ; Tue, 29 Nov 2022 19:17:50 -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=Xnw6MILr6W2VKVd3Jp7ZUysLH8fGhtVKg7zkvqQm4t4=; b=bRhKhWobAh4lRjLZ/Vft0dJoKCd6KIEgvIe+0eYUS+mdCP3ZyjWxtBx6+sspQjs/cl HYQI6Y8koUdlZ92rYxh8dxf8QdDwPECI3MJ73eaoQ0gj2NzBrBoNI12oKn1hsI49U54g TJDjxFDg2LPeV9U60npgw73PtV18wfwxBPMf0= 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=Xnw6MILr6W2VKVd3Jp7ZUysLH8fGhtVKg7zkvqQm4t4=; b=HK6P9grpfPWHm2Iur9Zuzt3iKrA+M1C89/ao7HzH0a4ldsgH31FmA17RaQvaIDztxc PWfa3JYQe4U0jXQeIulVXGMar3iJxfR8a9ZZrlEmyU1CvofkNm4ysPrhieBdYB4WjhK4 Gz6eU7PLH2Fn1FKWwv+TRRY3HHUZOtHfOc5jksy0Xx1zHeYrFFTaOrVkuWOHFwna9ros yCZR6ahZ1Ms/emPbW3sluzIZpHgpPvFS7bHRWM8PM1I//7o9erWqNh5m0LvS+NZZLAfU g+7qUmZH2TNs32bfpAzdZt+5jOiEVk3flw808NaFw4Hm/5RzR/mWti3u8gI3yyRoprn7 Yx+w== X-Gm-Message-State: ANoB5pnNCZjZvcRdjub8XGBZGZdOjIcmRq47jIRZL1HpgMiOQu9Q404H pZTgTHQ4R30k8Eavvbj52SrmQw== X-Received: by 2002:a17:90b:3687:b0:219:468e:88ac with SMTP id mj7-20020a17090b368700b00219468e88acmr9351959pjb.105.1669778269941; Tue, 29 Nov 2022 19:17:49 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:5acc:e86b:9bc6:1770]) by smtp.gmail.com with ESMTPSA id 135-20020a62148d000000b00528a097aeffsm212329pfu.118.2022.11.29.19.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 19:17:49 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH resend] arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken Date: Wed, 30 Nov 2022 11:17:41 +0800 Message-Id: <20221130031741.3176853-1-wenst@chromium.org> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog MIME-Version: 1.0 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=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?1750890311435482977?= X-GMAIL-MSGID: =?utf-8?q?1750890311435482977?= 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 --- 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 6b20376191a7..ef91941848ae 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -575,6 +575,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 = "broken"; }; uart0: serial@11002000 {