Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1156725ybl; Wed, 4 Dec 2019 18:20:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwp3XGHbHWLad6JwtLE02us3EJj0uIMrwus9qSSy9cVu6inYZxdn7PRepEeyY0EvcI4TQWF X-Received: by 2002:a05:6830:1e75:: with SMTP id m21mr4826533otr.36.1575512444080; Wed, 04 Dec 2019 18:20:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575512444; cv=none; d=google.com; s=arc-20160816; b=cCt2BxQZQiRZImecza7dTGWknw8BncLBlsLf0q1Nc/QJPvXIDB13g59xfHAkucS2+T J8EFibBqNWcvMDIwxYXZFXRdTgstjxCSGxdQYPdWCOSiqJRj4CdkTG8N+ihik1xaz7Sn jGK6Bp9nw6Y5BtSxEKC66H9qRVK6XhRuckqYEYw4+hchM4rG/kI5Q5y1fG8fVKs5SD1P sIlfuUqsuhlb/F+ymDqmcCyguV0TKF9cGK5EBzaz1lUh2Yg5f77iPn+0pE9TjY/PZEYU fo3zPCbXmBAqCnf0W0CmygK9cQ92oZGCBi0RLXYWRDN5AHDzBliGJSXM0qDFprPUsDVB TL5w== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=o8rdL81CA1/QSUatk5QZuPPaOIlwBprO0GQX2EhaRjM=; b=Vim3gkcKFrrEAN4FcEqLj7w4gSPo3W5VMY2cb/5f4dSRG93S0hLypq1bfUNXhrZoPf whqp4eG0QmITuy3x0YgS4ru+fip/Szsvukqsh+acUUWmr4IcRJTAp5IR+iJRBTqggfmW 7BPUQzw8tBKY+I2bK80OS5PEs/9/X+AtYDlIxZZf/v9jVyHbpY2XEdpRcFaaB95wXl5j na6HZnwvuUrCZ49fNARkEjcqK/kO5ZBj5a5gHemurcsPX7wfU/3/9WS02KyfdcVDvltl Rnnh89cNBwIxCa34txZvxbyCHmmNU6ZXxcVXylJKckZdviGGIKRBTWr+YTUTH5BM4az5 /FYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W1C+dYyw; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si4037311otw.204.2019.12.04.18.20.32; Wed, 04 Dec 2019 18:20:44 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W1C+dYyw; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728917AbfLECT4 (ORCPT + 99 others); Wed, 4 Dec 2019 21:19:56 -0500 Received: from mail-yb1-f196.google.com ([209.85.219.196]:37023 "EHLO mail-yb1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728852AbfLECTw (ORCPT ); Wed, 4 Dec 2019 21:19:52 -0500 Received: by mail-yb1-f196.google.com with SMTP id x139so881203ybe.4; Wed, 04 Dec 2019 18:19:51 -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=o8rdL81CA1/QSUatk5QZuPPaOIlwBprO0GQX2EhaRjM=; b=W1C+dYywW8EEg+KrCR9sD3uflofMaz0LkxIaYVdl/6TGvx8BVp2HSq7vgphATgN2BI 6XVVI9gBWLX8BXhgqJpIOEOnWlbOzToicgYJaS/tBb+dIxQ1BjfPhhjR5gxnTz7Uat/o olvMTEB5EwL45/extiYTkrbyuMactGPuACcJrxIWL4klqMk8XGZCnS192UxkZBdXT3Y0 H7PaFjvvmjAs3+JJEbpefhzNYgO7SI7WRWgJa/jFqa9t7praVOIsTiPhgAQzyQGxX/im 3p2rBbJFcte9jSQblW7252rhLust313ljInBl79Yz6S+TBhx6Z6itNRymzOs0EbLzHvI OXcA== 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=o8rdL81CA1/QSUatk5QZuPPaOIlwBprO0GQX2EhaRjM=; b=JFipOzyFQelxvW3Nks6wpp6Zc0LR+ePibSiDPSwXXUFqsr8QJiMBIU5otRk4I3Z3xN nJcvpjsRbXdORFJpF7xaBDDNnx8jOlGumRPNO7OmVakV9M7lYqxArvNz/JWGg7l76VXH ye1Pte0hssgdMsgCsAbkgFxNuLu+u+q0M76jAhWdZ/GVqUkCp7mKh6QqfCXl0bczvzV1 Pw0r6FNQf5IeJHO28iCnJMZ2aotjQaCOfdlCjbK/eFsHb4/SKVqzWw0QD7JqDv3PPkEt GQs6vUwe7dSuPU4qoL1IhZcCiECg3QbQ9n1npcmc2azNaW4KZA7IxOkDx8VdRUZ+qzfk cUBA== X-Gm-Message-State: APjAAAXnxOr5EQczaLTXQak9Yapdln8UozytScX8owjnZECL1cOvEOO7 N5QAxT/XJ39TFsYpzQhoBYc= X-Received: by 2002:a25:d5:: with SMTP id 204mr4502582yba.165.1575512390970; Wed, 04 Dec 2019 18:19:50 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id l6sm4188449ywa.39.2019.12.04.18.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 18:19:50 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: Adam Ford , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] arm64: dts: imx8mm: add GPC power domains Date: Wed, 4 Dec 2019 20:19:21 -0600 Message-Id: <20191205021924.25188-6-aford173@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191205021924.25188-1-aford173@gmail.com> References: <20191205021924.25188-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a power domain controller on the i.XM8M Mini used for handling interrupts and controlling certain peripherals like USB OTG and PCIe, which are currently unavailable. This patch enables support the controller itself to the help facilitate enabling additional peripherals. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 82 ++++++++++++++++++++++- 1 file changed, 81 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 23c8fad7932b..d05c5b617a4d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -13,7 +14,7 @@ / { compatible = "fsl,imx8mm"; - interrupt-parent = <&gic>; + interrupt-parent = <&gpc>; #address-cells = <2>; #size-cells = <2>; @@ -495,6 +496,85 @@ interrupts = ; #reset-cells = <1>; }; + + gpc: gpc@303a0000 { + compatible = "fsl,imx8mm-gpc"; + reg = <0x303a0000 0x10000>; + interrupt-parent = <&gic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + + pgc { + #address-cells = <1>; + #size-cells = <0>; + + pgc_mipi: power-domain@0 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_pcie: power-domain@1 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_otg1: power-domain@2 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_otg2: power-domain@3 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_ddr1: power-domain@4 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_gpu2d: power-domain@5 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_gpu: power-domain@6 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_vpu: power-domain@7 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_gpu3d: power-domain@8 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_disp: power-domain@9 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_vpu_g1: power-domain@a { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_vpu_g2: power-domain@b { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_vpu_h1: power-domain@c { + #power-domain-cells = <0>; + reg = ; + }; + }; + }; }; aips2: bus@30400000 { -- 2.20.1