Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp227074rwb; Thu, 1 Dec 2022 01:13:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XRkco07DBmEu6+BxR+k+GDcqXOCMS2kB7t8LdqpqdMW5UZYgLV4mrL2xTUhFevos7xH9Q X-Received: by 2002:a17:90b:4f89:b0:218:d481:6b7a with SMTP id qe9-20020a17090b4f8900b00218d4816b7amr45230747pjb.4.1669886000031; Thu, 01 Dec 2022 01:13:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669886000; cv=none; d=google.com; s=arc-20160816; b=nodE9vRsH7KaavwyRb1hWXebzdaqOi8l0vonB4uQcDMIP8cFNn4x5iza+YIZqV/vuC L+ir1/VdlQgnroG+PGlPqgu+6RwFTMZWnUBcQ81El9tB5t5ApO1T3BfFt92qxbXuaVCM 7PaLmgqoPV95DrB6O+Wp8SLmcbjMWvigwmFqmhjPmS+FuXppIxMnxhyIXgZgs4/kDkx3 j77yEgcBrFJRy/PtMcgPkhhba35rzYRDGcYiTfdlgCYkm9e4A7WOD1q7m8IizlcTQ2C+ WgXPshA6HNKkp9coB0BLbZgQqSMgFiBTiawJ1TGAEY9IXRoW1weaN4Fk/a8vOBi3uis6 XWLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gAHU+obH6I+iGnv6YAFhQgkeKBQcF4Y1zkbhIvFN4iA=; b=FMgpcAwBpSMobNsF8Oj23h45Xg08e+ahfzpcRH2CiE56q/nadFVZsdnVzmv2XC8aM5 zH0HUQiRN3g4RtLvNtyEUc7lhiSQMpZrT+GYOdgo8URFcX3LGTHDrefzzGYD3xl7e3Jp Osdx4AAmFYSt3eAl6E2xOQVHSSYn5qYHajSZsYqy1fM7D4PzlWdZgI7+Cv6dF8LQTFyz d7Tvb57RlsATrjAyGyvn897VWCOHlyHu1l4jiFZ8dQ2jKP52eq9w0z5JSajn2cHdLioY 2Lkdd1xmVlaC+S0ZKyMPjuYn7S12DPmtOgRZdP0SCuGTq6jkTlSJNi+25VI7G94ovYHm x6wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mNNU1ZCc; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a656a94000000b00476f8b57e4asi4020210pgu.475.2022.12.01.01.13.09; Thu, 01 Dec 2022 01:13:20 -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=mNNU1ZCc; 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 S229900AbiLAI6a (ORCPT + 83 others); Thu, 1 Dec 2022 03:58:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbiLAI62 (ORCPT ); Thu, 1 Dec 2022 03:58:28 -0500 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 744E72A711 for ; Thu, 1 Dec 2022 00:58:24 -0800 (PST) Received: by mail-vk1-xa36.google.com with SMTP id bi15so512403vkb.11 for ; Thu, 01 Dec 2022 00:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gAHU+obH6I+iGnv6YAFhQgkeKBQcF4Y1zkbhIvFN4iA=; b=mNNU1ZCcD2hOY5+CL69baaLmZlwX4asgqShmaFT8CS1ojh94DP+8nF0yKqn1FZ9V6v JT6j54iCOXcxMkAd9SqA02dbEUzu0Mld/ZBLA3CkvhhSplN0s7HDxR4PrkA8Vw0/S9mb B9MBGhm1dPImMAwKs4okXFSllMh5XQrV2rE7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gAHU+obH6I+iGnv6YAFhQgkeKBQcF4Y1zkbhIvFN4iA=; b=hKAL8C7re4MJw7/ANocizPyFVxuWZ5L253WpAI7p4qwPn6LhxtZ7x2Vn520GKhFw0M g8BppXUNg+YuPBDJg3DO1esLx7RSITlZ/Flcy/nFldQIAyr0zDO6Rb87eayYUSvvEWLs zUVG7vKj7A8LuiOmQAjS7WdN09UIj5pY1ARj7v6sqg4llT/Dg5CDjuyNxaWHeFTKkJul wAUu6uzauDMhTJMJ6nNWs1j8ZzWkwL91YZeC23Yhnw2jaoiAxxh4bDsG6FpQerxcxsiZ gxEATQ9yRbciD4nU5w/xV71PcFkpGLQI7GqKtXNPYzluZafx8Jsja8LDQuiDE394qJ4X RCMw== X-Gm-Message-State: ANoB5pkImmlxn7Vh36P5j/ypYMBwDvpUEOT77qKumJin3OH//XWvmY3C Fyr4t+qPNKEPF0/PXWELYQVA4DyYQ76ro8qxTLvdpQ== X-Received: by 2002:a05:6122:904:b0:3bc:e1c0:469b with SMTP id j4-20020a056122090400b003bce1c0469bmr9896962vka.18.1669885103582; Thu, 01 Dec 2022 00:58:23 -0800 (PST) MIME-Version: 1.0 References: <20221201073328.1559-1-allen-kh.cheng@mediatek.com> In-Reply-To: <20221201073328.1559-1-allen-kh.cheng@mediatek.com> From: Chen-Yu Tsai Date: Thu, 1 Dec 2022 16:58:12 +0800 Message-ID: Subject: Re: [PATCH] arm64: dts: mt8192: Add adsp power domain controller To: Allen-KH Cheng Cc: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Project_Global_Chrome_Upstream_Group@mediatek.com, angelogioacchino.delregno@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 1, 2022 at 3:33 PM Allen-KH Cheng wrote: > > Add adsp power domain controller node for mt8192 SoC. > > Signed-off-by: Allen-KH Cheng > --- > Ref: https://lore.kernel.org/all/2ec80bd8-dfef-d2e6-eb41-6e6088043e33@collabora.com/ > [Allen-KH Cheng ] > --- > --- > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 8 ++++++++ > include/dt-bindings/power/mt8192-power.h | 1 + > 2 files changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > index 424fc89cc6f7..e71afba871fc 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > @@ -514,6 +514,14 @@ > }; > }; > }; > + > + power-domain@MT8192_POWER_DOMAIN_ADSP { > + reg = ; > + clocks = <&topckgen CLK_TOP_ADSP_SEL>; > + clock-names = "adsp"; > + mediatek,infracfg = <&infracfg>; > + #power-domain-cells = <0>; > + }; > }; > }; > Please also tie the new power domain to the SCP_ADSP clock. ChenYu > diff --git a/include/dt-bindings/power/mt8192-power.h b/include/dt-bindings/power/mt8192-power.h > index 4eaa53d7270a..63e81cd0d06d 100644 > --- a/include/dt-bindings/power/mt8192-power.h > +++ b/include/dt-bindings/power/mt8192-power.h > @@ -28,5 +28,6 @@ > #define MT8192_POWER_DOMAIN_CAM_RAWA 18 > #define MT8192_POWER_DOMAIN_CAM_RAWB 19 > #define MT8192_POWER_DOMAIN_CAM_RAWC 20 > +#define MT8192_POWER_DOMAIN_ADSP 21 > > #endif /* _DT_BINDINGS_POWER_MT8192_POWER_H */ > -- > 2.18.0 >