Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1770939pxy; Thu, 29 Apr 2021 14:18:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy8bLSkonLLK3XKcchIZDkfBzbNMF9byPAQi25XhkZET+zu0v2UYqwCoR4XI4JjdKwNZrf X-Received: by 2002:a05:6402:1907:: with SMTP id e7mr1914536edz.313.1619731127241; Thu, 29 Apr 2021 14:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619731127; cv=none; d=google.com; s=arc-20160816; b=vcMRT2RMp7Ayt80fwoZfmTI7wuisXkjuEXe9vdKskLoUwOVEe9gfT28O4OICKH9WOm 4cZ5FOoiUBVMrNOx/h0A/jvb3ts9ee2PmrYtYJ4kRbb8YvG7mqTMDGLM5LRsyJBKQriX aSQZ9XQy0gjUHkWyjbl1D44Pzc8zwqcJF+GSAVRN8+UlvAnfm6bHh/t1dFQASxh8uA5p 7gYzzmr6iHsbSy+GggusWKpfjOpS4qCj/qZRR83ldtRh2kTqT3Wk3LXMxFOR8ANrFY+K WYfnRxDp444dfoasf+bbfwDEdvLwvWZq1y7NHzOQWxgKO/qpIK4WbubvAweb60dLHLFq +Vyg== 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=jPgVXT1uW8e6Y9HHaJbfKFsDy0UCQUs1OiFXNXzhl7c=; b=XVZxTJuAvtrq0LQameAvoe8ZTyG0IcNfd0ZrIm/L8fD8tZ6/vK9wX6NyL/i8RufwNl nAN2qynIg88/LT50ORzubbXlFyCBLaIFzNjc4AFVXBiL2iLhNKog7qwkMaT8rxdXfkCu TORfBShQhLG8nXv3UCazRaTV2b1HNCfVAajmotNZ5ulE0vs0yxXLmQb5n5LQa8F6oyWG nT1A2EMyVC99XbScwJGV9HBvxMvhKUg3mH97Jle+TJXsDM11AX8v9NJTmdi78J/3Es8N T+Nb4fGtbKAPaqgcF9xl6tG1KjJ8rgzDADZxNwjAJE35elKu5VbdjlZmC0DLpS97rn0p FMNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RF2rOfLy; 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 dt20si1255405ejb.445.2021.04.29.14.18.23; Thu, 29 Apr 2021 14:18:47 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RF2rOfLy; 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 S237285AbhD2VRi (ORCPT + 99 others); Thu, 29 Apr 2021 17:17:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237299AbhD2VRe (ORCPT ); Thu, 29 Apr 2021 17:17:34 -0400 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 397F6C061344; Thu, 29 Apr 2021 14:16:47 -0700 (PDT) Received: by mail-il1-x133.google.com with SMTP id c3so4789598ils.5; Thu, 29 Apr 2021 14:16:47 -0700 (PDT) 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=jPgVXT1uW8e6Y9HHaJbfKFsDy0UCQUs1OiFXNXzhl7c=; b=RF2rOfLyhULT8rqUxBzQzMpM9sxh5+Fy+/qnjRZXYt8ZkJ7YZ/nGUs5f6XaSfJAgVX SlMhQ6GKS/NueJyWyQUe10tBr33lTybSeG+iWFEydZ5a6Qx2IYKQpVa0mA//XCRMcvsk bIYrAgsL//74qpOtC2jfp6OXH8DtMDsh38tJqfpH/8LF7Wboihn/1K3Z8lTGVtosOkDi HuGF3biuvBc3n8OLiUKpDgK0ea9u9gv3wCywyu95tgvbCxiFHf7LCHkpb79s0+Hhp0GB OnQd7eFKTuE++zsWuCfrxX92eWR86Jh9mJ6swQlO3S0Tn7GJ1PD+XI+DGUXPcNafbSyC ofoQ== 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=jPgVXT1uW8e6Y9HHaJbfKFsDy0UCQUs1OiFXNXzhl7c=; b=DSxRCd32eEcyIh4M2fd5EP38F/fbTABL7lFDunv8uieZ/451xOh19HS3HVCk3Dc5kb VWR/bx8T+CTyGoW+MQMC/dwGEbIzjBvFbdfNHoE3cWo2vhQvWjpchWJWyM+nNCD/nsF7 nxD98YnzxExNuSyAuwlii++faQaq41gj1K9nz4USMZdqzUDH3AVTIMU5F2tvJT6LRJLW 97ECC7BDcYUKjKPnE1CtR8dJWqspHE3CDcQE9CqLKRlivaS4RcDgjWikTpBcjePruVly bYcAk0YDDzS5MOn2n6nKEzhGUPt5+K3lu1YBejvpIT+Ya0Z8SKlzXDh4T8ZD64OVQLY1 xxkg== X-Gm-Message-State: AOAM530IovfhI7amFdfRTHCsydrQpDDeEAIWwuv+p4lBp64mG07Tr067 hrrzTfUtPGMpgfuBCGFzG3U= X-Received: by 2002:a92:ca0a:: with SMTP id j10mr1470621ils.73.1619731006477; Thu, 29 Apr 2021 14:16:46 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8a74:d2ad:27b:e619]) by smtp.gmail.com with ESMTPSA id q11sm1808076ile.56.2021.04.29.14.16.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 14:16:46 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: peng.fan@oss.nxp.com, marex@denx.de, frieder.schrempf@kontron.de, tharvey@gateworks.com, aford@beaconembedded.com, 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 V3 3/5] arm64: dts: imx8mn: add GPC node and power domains Date: Thu, 29 Apr 2021 16:16:22 -0500 Message-Id: <20210429211625.1835702-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210429211625.1835702-1-aford173@gmail.com> References: <20210429211625.1835702-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 --- V3: Rebase on series starting https://lkml.org/lkml/2021/4/29/72 V2: Fix missing includes Remove interrupt controller flag Remove domains which interact with blk-ctl Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 16ea50089567..609294329c7b 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,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