Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp150338rwb; Wed, 30 Nov 2022 23:50:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Kg5ROFUqb7bmUKJvtbKtM3bqCPy0pUDs5U6qzKOSmpCuLb08WdGecYr3VQhD1qDch4wSE X-Received: by 2002:a17:906:1484:b0:7ae:6746:f270 with SMTP id x4-20020a170906148400b007ae6746f270mr4632124ejc.728.1669881011283; Wed, 30 Nov 2022 23:50:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669881011; cv=none; d=google.com; s=arc-20160816; b=P+Xj1CJQw353y7boUXAFZNSG9NLPzvYrj0XoVN10ArNzisM8U8u89AJwryo2PfvbRK ZZpy7N5xtCiOKqZfXdO+e1OWs+p7Mj54T55q5/oiatVCaJXdOzB12i37D7EyZoIGFqAY Jdm4Ip2HRp1OZXEvgmUBH1GhwrDGf+1aPmJg3xjDZAF1xf5NPXS61zd+vPNSrLU+aBNR sJDoHsnPjGgy9Dto1nT5FiZkwvOh954Do8oWr9L2MTNA7sWswnYSlELO/drLtytqh5/d zoTQdzn0jeqfQjedqf2Vh9AKczxFmlmQdQEn+WbTKfwApWJ592XiAE+NWTrYDC1gbdSG 1SPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=GEB/PItp3ApqYqJMuq7w9mwjWCEXCCq4x+XaxUYFjtY=; b=CIVC1tDSLX1nMViOXMnlwEgzyemAzhYKSj4TgwK7Vegm5yhro/rZ4ymxbvKn9DLW4a p7Xmn0jWoPPGsouW/0LkuQBXrZMGOqPrTA8ljvSbWv9E7bxOt4A2sn7A6XBbfhOg8LZy zpoYVi9c+mRz3fEgIQ3Blw5k+54gNYKQxXGLbf6NywrBrkZy722RpuiAOT5gIKYbb4AT XNqzFnw1N4B9y88rvohThxEoTqPoqIFtusDSqSNYKz8kxDe8jGG2VnpQVjGmIRiVbZ3V Ov0I+fs/+1NW6MyanJQa38dxVadHIOsbP8TX7XEm7dmpSyldV9KBPHI/GeYsXpdf+bQG jg6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WGLBy8dU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id re3-20020a170906d8c300b007815a44de91si2791183ejb.771.2022.11.30.23.49.51; Wed, 30 Nov 2022 23:50:11 -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=@mediatek.com header.s=dk header.b=WGLBy8dU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229895AbiLAHdr (ORCPT + 82 others); Thu, 1 Dec 2022 02:33:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiLAHdn (ORCPT ); Thu, 1 Dec 2022 02:33:43 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2A3132047; Wed, 30 Nov 2022 23:33:39 -0800 (PST) X-UUID: f60f3869cfd94774a36a8475ca396d66-20221201 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=GEB/PItp3ApqYqJMuq7w9mwjWCEXCCq4x+XaxUYFjtY=; b=WGLBy8dU39blEpJFwRgIQVMqlq4N5GUMWE1ApWNtuEa8bXgFJQoA7bL1IRonaCvyP82UYVWL6uzzL1YReIcNm6egKUOvDfQdF+shpxJLwppxqpvMzE4AELDazkxkX2DAqvN9pnMY7mJHi7v9yY01fdUnU5SyBfllwVgcz4bJDG8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:9389cffb-4fcc-4b91-9c5f-ebd33effa78c,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.14,REQID:9389cffb-4fcc-4b91-9c5f-ebd33effa78c,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:dcaaed0,CLOUDID:68a23e6c-41fe-47b6-8eb4-ec192dedaf7d,B ulkID:221201153334SA4JXALR,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: f60f3869cfd94774a36a8475ca396d66-20221201 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1360004168; Thu, 01 Dec 2022 15:33:32 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Thu, 1 Dec 2022 15:33:30 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 1 Dec 2022 15:33:30 +0800 From: Allen-KH Cheng To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger CC: , , , , , , Chen-Yu Tsai , Allen-KH Cheng Subject: [PATCH] arm64: dts: mt8192: Add adsp power domain controller Date: Thu, 1 Dec 2022 15:33:28 +0800 Message-ID: <20221201073328.1559-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY 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 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>; + }; }; }; 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