From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0095CC4742C for ; Sat, 7 Nov 2020 14:02:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3ECD206ED for ; Sat, 7 Nov 2020 14:02:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cdS4/7a7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cU7XyrnX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3ECD206ED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R9smNmPuYDUcjdcJZyROr+66YfnN3usDJOOYe3xCnqQ=; b=cdS4/7a7QhjArIicPAUXGt+cS lH9ihirCyS1LZyjfeCu8g4EdNRT1bNDoLL3yaKLXJqouuAM/vz7eI18KgaoZUIP/uBRe6QR54tNsC 17nRvxM0AbuZvUFOxySbyfI7JtVJdlpzLN3UuMM9SUS+t52SBXbA3VQfujBJWj6W9ccO9Rka1woBQ /RIEtm0Wudj+PSz3VvnVZTD2hyieoT2LAVI0yW3Qjca6U8/P4tnFFRUL9v+02frBhBwrUeOrivMdn lA5xuQ2l52KkwLvjO14a6mL/t/6QGYhM/0ychC1TFQRHIsEkJmGrcyYD7pjBaRbBEpAc85hqG9AOA LGqP5Szcw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbOlp-0005fy-Dn; Sat, 07 Nov 2020 14:00:45 +0000 Received: from mail-il1-x141.google.com ([2607:f8b0:4864:20::141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbOli-0005de-Me for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 14:00:40 +0000 Received: by mail-il1-x141.google.com with SMTP id q1so3969073ilt.6 for ; Sat, 07 Nov 2020 06:00:38 -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=qFkDVizccpmlRbi7bQcdPVn92rArQwfsAUgZrYE8+rGy+BYxZ1LGUiPJPOyvqjIvmf ph59RkaOng12dmAQK39Knrsfevh+z39HXaNsojkdIs4ilgYWJ+6CsAXP8lFPaeeZwyMY 72wHVhav5cjA93hZng4lIPmt/xAkO5C7fwJv67DhmnS/YhM+NQJqpELO1MF3agd/Em4q ftIkQ3X+YFTcjzH+u4NTQFYoVgPdV/8z6r5pubFCL5Px8TmlpIqrVzLO8YnNW8/7E4bd 7EgvrQkbuKKfZIXhPOnv0dM+po974HFUsEmvyymTbTXjLWOszhdvBsHaNGOomOY9pl1K FBUA== X-Gm-Message-State: AOAM5324Xtco74etcOva8Ri2F5o8ykjHOjIxq83Q/bkoAr4qXSPvRPFq DqE51RwQOQIL3NwRE3F4uDEXToaWBV4fiw== X-Google-Smtp-Source: ABdhPJz8TR79wmz4s+2uO7EVgsblEs4390ase1CflJvE+j8mkypawnHGRNHDyeAPKgclhXc/IhR2Uw== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201107_090038_821188_4250326A X-CRM114-Status: GOOD ( 14.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Fabio Estevam , Andrey Smirnov , Adam Ford , Sascha Hauer , aford@beaconembedded.com, krzk@kernel.org, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel