Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2000738pxb; Sat, 7 Nov 2020 06:02:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0STnlNQqZWvjXfiIZa7cHluF+/fBZHOiTYzSMMQ6wtH1z5kuzHlf4hBJTHmYzJSaMp1lU X-Received: by 2002:a05:6402:40e:: with SMTP id q14mr6684992edv.169.1604757760250; Sat, 07 Nov 2020 06:02:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604757760; cv=none; d=google.com; s=arc-20160816; b=x5zXjTdZ5+GHADTabcy6rcN1BXHoi8tqZhMGq4adY492iiWINvychU4Db6rldnR4vq ahswTHLi9gRFPWYRLW5KFJb2iEFrzy7qRUYMl6bgZjJdxqZmO394R6AX+niMbIr2dEwI 2mkgBGGgvbKelkHqSyGRu9AmOGXuePg1fjF9SYTBfjiv98WynJbHKMSKkGUWclr9qW3H U3Vel6QmznlhX7RqUDhmD1R5THo2Amn7PAC26sEZSw2PsCKQ9HVBpKBeTxdoPIhtiMDH HT65OOPCQIIdU8ChFjR0C72eEvY3y0HlnimcXaZyKQr7cvzP9Jb6/prGkbg7kCmoRiqA pHgg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0WAVnoMsBB9YRuYSr4SnXW/7hpiCwE0r98+QVKAkmBc=; b=HL7m1Sy2LjbFWooWzFfBRCYPanBJrxbdZO1qE44ISimmrFzbolK1wz6uA1P0vIWKpE h9aKzw3s92BaQo28I8wYeKfQAkPwZ0WUf0fu/cGK8Ih0BRQFlY1E2C7wwA7GQ0IbBPUL 6/uJQAACrREDhHoH5ROBgOUX63RuwUHGAH0kNDRUWrGcGt+Sf7dfMT/380x4mrumbL0L ciZzvBF/cQiBKyUOcNKHRDIQVm2UPNS8IcSlpRC+l1KIt5zr6syMvr3D48dS9SZZ6M6r 7Kl+xGorRPy7KUSBRCj6n/UoKgR3My+sgcbUGz2oTO/aTMuw3aeu504ukh8ECRtZmWjC G+bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cU7XyrnX; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q22si3175314ejs.100.2020.11.07.06.02.03; Sat, 07 Nov 2020 06:02:40 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cU7XyrnX; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728188AbgKGOAi (ORCPT + 99 others); Sat, 7 Nov 2020 09:00:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728130AbgKGOAh (ORCPT ); Sat, 7 Nov 2020 09:00:37 -0500 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7C09C0613D2; Sat, 7 Nov 2020 06:00:36 -0800 (PST) Received: by mail-il1-x143.google.com with SMTP id l12so1244900ilo.1; Sat, 07 Nov 2020 06:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0WAVnoMsBB9YRuYSr4SnXW/7hpiCwE0r98+QVKAkmBc=; b=cU7XyrnXFaHjm9ODpQ4wtYren6CgmKVT6316mnrdcEfJ/C3dxifQXroKXfb6IESSXa 6TDJj1xN7VUClNC+jyX/cOjThrCOqqkWMyU8c9x0v4XLxAlFJ+HEeaUwWsTb16YteHVH eJ8H8lg7zBbM5kXkH9bhikVMwlyRgFf4cxdtbSmgm3HaYC4uU+ertdaN72JP4r4eIWzn HYhjPfTQirdrnPENXN19G+F3yUvw6kbW4C3bHXXqV60wxjHhaDbufjOoNfDDOJDLojl3 YJ+xvShugsCGvXiuVxr7bGbIikbxOHNNEcAtMZKxyFlUYwTylu1Wf+lCTUCD11QHbw4z 7iNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0WAVnoMsBB9YRuYSr4SnXW/7hpiCwE0r98+QVKAkmBc=; b=q75AEvd/QvMMPEL9VQP1kXQk66VXgmrkZNClRpv13dplmsugwV2T+gVwNt7MZ+7gSm y8tWizNCVQB3eUih+2NMEUEvkFMT9R6C6UwfdoYpZYHr5IIbKzk5USGe8bjuxFbmUXR1 hfpKK/Lof9ggGeM96/sKyzJH23XZiu9c5P5/sa6kegCUSuWQRZ1jUoGeJP4GbaCdUeTc jRWhAih26cj/2I2aR+Ekjnhk8APMmbvCX+5vbe2oMhf8LH4qhvem+hcGtXQFPKxYx0S0 Ad0cgTWav7X15XveewLntozE+UTK4fU2hiByB5EqTLKQ090oX7r7HDMcKbmhbKIkJkoZ x1tg== X-Gm-Message-State: AOAM532UIcDLjGyfyYgOqregy3ZDtm60exn/gET3xsy4SODT3o2V6VPj foXhvkGas+8xzeQIDCVj0eA= X-Received: by 2002:a92:85c5:: with SMTP id f188mr4797570ilh.173.1604757636173; Sat, 07 Nov 2020 06:00:36 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:5d9e:32b:1062:f8cd]) by smtp.gmail.com with ESMTPSA id g5sm3030257ilq.33.2020.11.07.06.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 06:00:35 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, krzk@kernel.org, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrey Smirnov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 3/5] arm64: dts: imx8mn: add GPC node and power domains Date: Sat, 7 Nov 2020 08:00:23 -0600 Message-Id: <20201107140026.1974312-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201107140026.1974312-1-aford173@gmail.com> References: <20201107140026.1974312-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the DT nodes to describe the power domains available on the i.MX8MN. There are more power domains, but the displaymix and mipi power domains need a separate clock block controller which not yet available, so this limits it to the HSIO, OTG and GPU domains. Signed-off-by: Adam Ford --- V2: Fix missing includes Remove interrupt controller flag Remove domains which interact with blk-ctl arch/arm64/boot/dts/freescale/imx8mn.dtsi | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index ee1790230490..c37dee13057a 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 @@ -598,6 +600,40 @@ 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_USB_BUS>; + }; + + 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>; + }; + }; + }; }; aips2: bus@30400000 { -- 2.25.1