Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp113508pxb; Wed, 6 Oct 2021 00:49:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlDiirIdv0kdL0yDwOvpbeDeDyZMcQpeJpxIp0/tSULIaUUfqDAyK+u8TMRmmLaWqmRMNi X-Received: by 2002:a62:800a:0:b0:447:b73e:6e18 with SMTP id j10-20020a62800a000000b00447b73e6e18mr35200747pfd.28.1633506580652; Wed, 06 Oct 2021 00:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633506580; cv=none; d=google.com; s=arc-20160816; b=aXXe2qC5FEZyMYFeCxOwWpzr43ttvgT4nZzKLYvR5yQSTgdjjNXMT6iTztk9/yi8P1 7a4f4OyMwhG4sCsQPZo5G+8N9wDyH6B0tDMtAVb4jTE8i7QtKkym2javTWLmLJ6gE9uW k+ShY1lqMOHGygYNJ3ANnDL13eWnC/nF+1tSG+tBA+tHjDrSzC8XlAFHi3RjjAY5qaPq MxoRjgKrtfmzo6xOzAPDyhiwqrpei11MxpSenh8N6KAG0EwHKi5Pla0iKSeqOeLcxEY+ ljkagFEM4Yr0to3X2hLuvTamH3hP1UExFOm4tMQbjZ+CRPhflW3HPu+f39IQAu/Xi5Nt xOSA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=3Oz6JHu0ATdgncvK/jPP/huUgh5pVckgzWQWyq1VTvs=; b=kNSgk806YJWyQSWE8B0EFdvSn89d3qCYuxM63QTCSQfoNXwsGFTL/feH2Nu5q5+ka6 sn962zGs+7XR7THbixyxrKUIzudKjvOKf/ItgbRVGAjb5EGAskX5EJ2e12E4GmRm6UWT 0rML/7KKCJLXP++mFCh8iSzIVggtF0bb9oAdQNJoP86jqjWR/qacZmHTMeLM84nX1CE+ 1OgIJyGZme156WNkRcq3CNHVEJ83qBdKcNMLNu46jyceGokXm4I/ke0gqUQOxAEGTJfo EOQJeMJHj5Akjdx8dsyR886luf8+fQwZQ3t69vF7J5hGMcynV9osJCOhLlZhHhr/kx5c U6bw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k26si6213365pgt.72.2021.10.06.00.49.27; Wed, 06 Oct 2021 00:49:40 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237551AbhJFHue (ORCPT + 99 others); Wed, 6 Oct 2021 03:50:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236829AbhJFHud (ORCPT ); Wed, 6 Oct 2021 03:50:33 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 009D6C061749 for ; Wed, 6 Oct 2021 00:48:42 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mY1fG-0001t3-BQ; Wed, 06 Oct 2021 09:48:34 +0200 Message-ID: <4a47669a6b450822da7128bbb62f50b046dfd210.camel@pengutronix.de> Subject: Re: [PATCH 4/7] arm64: dts: imx8mn: add GPC node From: Lucas Stach To: Adam Ford , linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 06 Oct 2021 09:48:33 +0200 In-Reply-To: <20211006000505.627334-4-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> <20211006000505.627334-4-aford173@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, dem 05.10.2021 um 19:05 -0500 schrieb Adam Ford: > Add the DT node for the GPC, including all the PGC power domains, > some of them are not fully functional yet, as they require interaction > with the blk-ctrls to properly power up/down the peripherals. > > Signed-off-by: Adam Ford > --- > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 49 +++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > index da6c942fb7f9..4191b5bfcdf3 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > @@ -4,6 +4,8 @@ > */ > > #include > +#include > +#include > #include > #include > #include > @@ -612,6 +614,53 @@ src: reset-controller@30390000 { > interrupts = ; > #reset-cells = <1>; > }; > + > + gpc: gpc@303a0000 { > + compatible = "fsl,imx8mn-gpc"; > + reg = <0x303a0000 0x10000>; > + interrupt-parent = <&gic>; > + interrupts = ; > + > + pgc { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pgc_hsiomix: power-domain@0 { > + #power-domain-cells = <0>; > + reg = ; > + clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>; This should be IMX8MN_CLK_USB_BUS. Regards, Lucas > + }; > + > + pgc_otg1: power-domain@1 { > + #power-domain-cells = <0>; > + reg = ; > + power-domains = <&pgc_hsiomix>; > + }; > + > + pgc_gpumix: power-domain@2 { > + #power-domain-cells = <0>; > + reg = ; > + clocks = <&clk IMX8MN_CLK_GPU_CORE_ROOT>, > + <&clk IMX8MN_CLK_GPU_SHADER_DIV>, > + <&clk IMX8MN_CLK_GPU_BUS_ROOT>, > + <&clk IMX8MN_CLK_GPU_AHB>; > + resets = <&src IMX8MQ_RESET_GPU_RESET>; > + }; > + > + pgc_dispmix: power-domain@3 { > + #power-domain-cells = <0>; > + reg = ; > + clocks = <&clk IMX8MN_CLK_DISP_AXI_ROOT>, > + <&clk IMX8MN_CLK_DISP_APB_ROOT>; > + }; > + > + pgc_mipi: power-domain@4 { > + #power-domain-cells = <0>; > + reg = ; > + power-domains = <&pgc_dispmix>; > + }; > + }; > + }; > }; > > aips2: bus@30400000 {