Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1808368ybl; Wed, 28 Aug 2019 22:17:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9IWb2J7BNNiKnI48tID6+nVXhB9KwXosmxp4G8AwOL4QpRCC4Pyy+i9z98BwMFfrEJ2jU X-Received: by 2002:a62:8343:: with SMTP id h64mr8690043pfe.170.1567055834546; Wed, 28 Aug 2019 22:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567055834; cv=none; d=google.com; s=arc-20160816; b=u43llv398Bk52ymeTyZkkzppWXYciS0WZu6VDhd6ansOgDeafeCB7RHCEvdJPJ+umS MUiP6CsNKVjksfDtKZGl4Ircl0Q130mRBR36VqJcMAyWrKpe9QC+epZPITn6vp22u1c0 AtGFVlyXl6XwWo8dXIej4f7vjQZ1kU2bWMayCQpB5jEN1bBY8b46qe9eJuRvywMEmXoG 34nJO08jj/gYYhlaq2fOWgGsjpDTquLqhKf0fl+OqGXHFUtVn92U89SDpKVQk+0yqpF2 oBHR/0YxF3K9zaz50X50GIamszvkRjVZBhQ5ze7WznSSg++9mCS5zIGu8+2hoiL7YwOA YJDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=PyXQ1L86ptknjIXp7xtmZmZ2wCFllOQeknXwmd9fYgY=; b=Sa74s6TQXs18NaEA7sgvOZgAYLUws8MTccuLSxuEJUzVthNDto2ubZUwL+LL/gHZm7 8yqfGZduVfJcONW0Yrk7irtDkHp/mVoAO2kg7NFhCm3r+NhwRqa28tOWfiMhCvo+p1bI sEbbmTpJybI1SiZu8j1LftQyz4HZRT+Lx9yLGz344qPE2JFwSBuO3j9rxO2H9xWR8IwT rGHCPkVqFU54c7QOBNiUgFFMA4Yl5oon0BX50IZNBBH0Sk4c0qHmQAHQQoqCVjFW1YYz J462QadfMLS0AKbxPb7uBFastDPEx2EWm9OUUaPXn2OYLqUKX3zq/+AVPisehUNem6az 2O4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id cd2si940156plb.391.2019.08.28.22.16.59; Wed, 28 Aug 2019 22:17:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726085AbfH2FQC (ORCPT + 99 others); Thu, 29 Aug 2019 01:16:02 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:55519 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725847AbfH2FQC (ORCPT ); Thu, 29 Aug 2019 01:16:02 -0400 X-UUID: 140b0d5946774738b0505b2d56118871-20190829 X-UUID: 140b0d5946774738b0505b2d56118871-20190829 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 546569482; Thu, 29 Aug 2019 13:15:57 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 29 Aug 2019 13:16:01 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 29 Aug 2019 13:16:01 +0800 Message-ID: <1567055755.27361.3.camel@mtksdaap41> Subject: Re: [PATCH v7 13/13] arm64: dts: Add power controller device node of MT8183 From: CK Hu To: Weiyi Lu CC: Nicolas Boichat , Matthias Brugger , Rob Herring , James Liao , , , Fan Chen , , Yong Wu , Date: Thu, 29 Aug 2019 13:15:55 +0800 In-Reply-To: <1566983506-26598-14-git-send-email-weiyi.lu@mediatek.com> References: <1566983506-26598-1-git-send-email-weiyi.lu@mediatek.com> <1566983506-26598-14-git-send-email-weiyi.lu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-SNTS-SMTP: B69F33BAB9488FF3E2E1D3931DE7BABACED7F6D46C9DA57B32E857A256A086172000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Weiyi: On Wed, 2019-08-28 at 17:11 +0800, Weiyi Lu wrote: > Add power controller node and smi-common node for MT8183 > In scpsys node, it contains clocks and regmapping of > infracfg and smi-common for bus protection. > > Signed-off-by: Weiyi Lu > --- > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 62 ++++++++++++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > index c2749c4..66aaa07 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include > #include "mt8183-pinfunc.h" > > / { > @@ -238,6 +239,62 @@ > #interrupt-cells = <2>; > }; > > + scpsys: syscon@10006000 { > + compatible = "mediatek,mt8183-scpsys", "syscon"; > + #power-domain-cells = <1>; > + reg = <0 0x10006000 0 0x1000>; > + clocks = <&topckgen CLK_TOP_MUX_AUD_INTBUS>, > + <&infracfg CLK_INFRA_AUDIO>, > + <&infracfg CLK_INFRA_AUDIO_26M_BCLK>, > + <&topckgen CLK_TOP_MUX_MFG>, > + <&topckgen CLK_TOP_MUX_MM>, > + <&topckgen CLK_TOP_MUX_CAM>, > + <&topckgen CLK_TOP_MUX_IMG>, > + <&topckgen CLK_TOP_MUX_IPU_IF>, > + <&topckgen CLK_TOP_MUX_DSP>, > + <&topckgen CLK_TOP_MUX_DSP1>, > + <&topckgen CLK_TOP_MUX_DSP2>, > + <&mmsys CLK_MM_SMI_COMMON>, > + <&mmsys CLK_MM_SMI_LARB0>, > + <&mmsys CLK_MM_SMI_LARB1>, > + <&mmsys CLK_MM_GALS_COMM0>, > + <&mmsys CLK_MM_GALS_COMM1>, > + <&mmsys CLK_MM_GALS_CCU2MM>, > + <&mmsys CLK_MM_GALS_IPU12MM>, > + <&mmsys CLK_MM_GALS_IMG2MM>, > + <&mmsys CLK_MM_GALS_CAM2MM>, > + <&mmsys CLK_MM_GALS_IPU2MM>, Just mention the discussion in [1], we need to confirm this is hardware limitation or not. [1] https://patchwork.kernel.org/patch/11005731/ Regards, CK > + <&imgsys CLK_IMG_LARB5>, > + <&imgsys CLK_IMG_LARB2>, > + <&camsys CLK_CAM_LARB6>, > + <&camsys CLK_CAM_LARB3>, > + <&camsys CLK_CAM_SENINF>, > + <&camsys CLK_CAM_CAMSV0>, > + <&camsys CLK_CAM_CAMSV1>, > + <&camsys CLK_CAM_CAMSV2>, > + <&camsys CLK_CAM_CCU>, > + <&ipu_conn CLK_IPU_CONN_IPU>, > + <&ipu_conn CLK_IPU_CONN_AHB>, > + <&ipu_conn CLK_IPU_CONN_AXI>, > + <&ipu_conn CLK_IPU_CONN_ISP>, > + <&ipu_conn CLK_IPU_CONN_CAM_ADL>, > + <&ipu_conn CLK_IPU_CONN_IMG_ADL>; > + clock-names = "audio", "audio1", "audio2", > + "mfg", "mm", "cam", > + "isp", "vpu", "vpu1", > + "vpu2", "vpu3", "mm-0", > + "mm-1", "mm-2", "mm-3", > + "mm-4", "mm-5", "mm-6", > + "mm-7", "mm-8", "mm-9", > + "isp-0", "isp-1", "cam-0", > + "cam-1", "cam-2", "cam-3", > + "cam-4", "cam-5", "cam-6", > + "vpu-0", "vpu-1", "vpu-2", > + "vpu-3", "vpu-4", "vpu-5"; > + infracfg = <&infracfg>; > + smi_comm = <&smi_common>; > + }; > + > apmixedsys: syscon@1000c000 { > compatible = "mediatek,mt8183-apmixedsys", "syscon"; > reg = <0 0x1000c000 0 0x1000>; > @@ -396,6 +453,11 @@ > #clock-cells = <1>; > }; > > + smi_common: smi@14019000 { > + compatible = "mediatek,mt8183-smi-common", "syscon"; > + reg = <0 0x14019000 0 0x1000>; > + }; > + > imgsys: syscon@15020000 { > compatible = "mediatek,mt8183-imgsys", "syscon"; > reg = <0 0x15020000 0 0x1000>;