Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3530510pxv; Sun, 4 Jul 2021 22:43:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2TOqiFC+yz1j/iVigtlBR3r3CZ1KLjwOoQ8CddD7ni37AloD0N77v8i/7RBTedX7l3D64 X-Received: by 2002:a17:906:c057:: with SMTP id bm23mr12101001ejb.162.1625463796494; Sun, 04 Jul 2021 22:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625463796; cv=none; d=google.com; s=arc-20160816; b=qnsQaYQGEUdEZlvAjWNYd8sG6jkACOSjaWFiAjnfGDVQ05c1bD94rQcQgYAwpdY6Nh 9mLZUO5QCkEfM08dTPn74hj/L0UCKz7J5WTToWPjgezO7z1/QsXT9wp25VotUxIhti3E 1dABVyxePF7wQnQqAzRU9cX69u5QXWPP48C7e4hCypTTTohRY+PYwGycMKsBG13aQvnx sFbYKG49T/c1KBTo1n5eCnsh3CryW5jHhff5VG5rxU9f5YnhOVcM/R4jQH94ubKNE46m xOnMYp5cMT62w3UeIc1B6DrqIDJ7ng/HS24Wc5hq7TlckZhb2wQ/N+Iln9gGu3N4j/i2 kl7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=cUVHjy+/2TXX12mQVrr7edUnlez9HboVcczmM2rfR5g=; b=DonvNaaWoyzg/VxZPHO79bq1DvsQOwrRyN4tE6f3rj8ncpM18lRmgqbGLyis2/2HOX yJio91o6UXS1cLYI7PLGpR7F5Nhg3sewMPS4snbabc/k43D2bkTHgFIxPaS+P0aCRpjC 36YBWkrVphitQYw9PSvD04BN4hqTOAnUSCyHoU/rKKznJImcqpNBAanVlZfkQrBexlz/ WjT072lHUy6jg3g8ySpS/I4+RZ7kiX4SULhqrsZC63MX1CWv6NfmIoFOsYDM5XkAigB4 N5utG2mMwYcA7sqaB6G5cUiyOezxBJR/U90af/z1PKNyPgn7nglLvrFvn5OICEW7mroJ sw8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs11si10127545ejc.185.2021.07.04.22.42.53; Sun, 04 Jul 2021 22:43:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229879AbhGEFoI (ORCPT + 99 others); Mon, 5 Jul 2021 01:44:08 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:38224 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229734AbhGEFoH (ORCPT ); Mon, 5 Jul 2021 01:44:07 -0400 X-UUID: 1f63c6d98d6345d496531e05888ed602-20210705 X-UUID: 1f63c6d98d6345d496531e05888ed602-20210705 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 639715681; Mon, 05 Jul 2021 13:41:26 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 5 Jul 2021 13:41:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 5 Jul 2021 13:41:23 +0800 From: Chun-Jie Chen To: Enric Balletbo i Serra , Matthias Brugger , Nicolas Boichat , Rob Herring CC: , , , , , , Chun-Jie Chen Subject: [v3 2/5] dt-bindings: power: Add MT8195 power domains Date: Mon, 5 Jul 2021 13:41:08 +0800 Message-ID: <20210705054111.4473-3-chun-jie.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210705054111.4473-1-chun-jie.chen@mediatek.com> References: <20210705054111.4473-1-chun-jie.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add power domains dt-bindings for MT8195. Signed-off-by: Chun-Jie Chen Acked-by: Rob Herring Reviewed-by: Enric Balletbo i Serra --- .../power/mediatek,power-controller.yaml | 2 + include/dt-bindings/power/mt8195-power.h | 51 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 include/dt-bindings/power/mt8195-power.h diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml index f234a756c193..d6ebd77d28a7 100644 --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml @@ -27,6 +27,7 @@ properties: - mediatek,mt8173-power-controller - mediatek,mt8183-power-controller - mediatek,mt8192-power-controller + - mediatek,mt8195-power-controller '#power-domain-cells': const: 1 @@ -64,6 +65,7 @@ patternProperties: "include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain. "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain. "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain. + "include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain. maxItems: 1 clocks: diff --git a/include/dt-bindings/power/mt8195-power.h b/include/dt-bindings/power/mt8195-power.h new file mode 100644 index 000000000000..43fd36e1f538 --- /dev/null +++ b/include/dt-bindings/power/mt8195-power.h @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (c) 2021 MediaTek Inc. + * Author: Chun-Jie Chen + */ + +#ifndef _DT_BINDINGS_POWER_MT8195_POWER_H +#define _DT_BINDINGS_POWER_MT8195_POWER_H + +#define MT8195_POWER_DOMAIN_PCIE_MAC_P0 0 +#define MT8195_POWER_DOMAIN_PCIE_MAC_P1 1 +#define MT8195_POWER_DOMAIN_PCIE_PHY 2 +#define MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY 3 +#define MT8195_POWER_DOMAIN_CSI_RX_TOP 4 +#define MT8195_POWER_DOMAIN_ETHER 5 +#define MT8195_POWER_DOMAIN_ADSP 6 +#define MT8195_POWER_DOMAIN_AUDIO 7 +#define MT8195_POWER_DOMAIN_AUDIO_ASRC 8 +#define MT8195_POWER_DOMAIN_NNA 9 +#define MT8195_POWER_DOMAIN_NNA0 10 +#define MT8195_POWER_DOMAIN_NNA1 11 +#define MT8195_POWER_DOMAIN_MFG0 12 +#define MT8195_POWER_DOMAIN_MFG1 13 +#define MT8195_POWER_DOMAIN_MFG2 14 +#define MT8195_POWER_DOMAIN_MFG3 15 +#define MT8195_POWER_DOMAIN_MFG4 16 +#define MT8195_POWER_DOMAIN_MFG5 17 +#define MT8195_POWER_DOMAIN_MFG6 18 +#define MT8195_POWER_DOMAIN_VPPSYS0 19 +#define MT8195_POWER_DOMAIN_VDOSYS0 20 +#define MT8195_POWER_DOMAIN_VPPSYS1 21 +#define MT8195_POWER_DOMAIN_VDOSYS1 22 +#define MT8195_POWER_DOMAIN_DP_TX 23 +#define MT8195_POWER_DOMAIN_EPD_TX 24 +#define MT8195_POWER_DOMAIN_HDMI_TX 25 +#define MT8195_POWER_DOMAIN_HDMI_RX 26 +#define MT8195_POWER_DOMAIN_WPESYS 27 +#define MT8195_POWER_DOMAIN_VDEC0 28 +#define MT8195_POWER_DOMAIN_VDEC1 29 +#define MT8195_POWER_DOMAIN_VDEC2 30 +#define MT8195_POWER_DOMAIN_VENC 31 +#define MT8195_POWER_DOMAIN_VENC_CORE1 32 +#define MT8195_POWER_DOMAIN_IMG 33 +#define MT8195_POWER_DOMAIN_DIP 34 +#define MT8195_POWER_DOMAIN_IPE 35 +#define MT8195_POWER_DOMAIN_CAM 36 +#define MT8195_POWER_DOMAIN_CAM_RAWA 37 +#define MT8195_POWER_DOMAIN_CAM_RAWB 38 +#define MT8195_POWER_DOMAIN_CAM_MRAW 39 + +#endif /* _DT_BINDINGS_POWER_MT8195_POWER_H */ -- 2.18.0