From patchwork Wed Oct 6 00:04:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538233 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 959ACC433EF for ; Wed, 6 Oct 2021 00:07:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 56A036115A for ; Wed, 6 Oct 2021 00:07:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 56A036115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3ta+Vo7IEdY3mgihZys27r7OSvG8EbK/z4+R7OU+CfA=; b=YVaL6U9A0EfJEY GBzZrxjLBDiPf29enLLlFoTHU/BkhjRjvAq+3ci7DnVOwHr7ePOL+xzCwhrinD1E4Gf1+ZUPvtTw6 zvsFALt422/GdhIdayoHngk+sJQwh6czPQX7oY0upRIN529MrQ/jHCyHwrEciGSqSCDGdcI3wXc1b Q8Vd9+OSEXMZY9rAwa4bNJ4n0Kv0kMYTtYutrxjHifXSHm2Q+d9BYMftlNWKiXVcNLcvz9sEZcsYD tNx1ybA+7aw8TTrqwyAqvQHA9qvsW9wyGtFOV64odSTGQJNZoBAPZN/9KhATImqXfo945tVcXqOaQ Mf04P86J4ZW9DgoUC55w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR3-00CLDk-Ft; Wed, 06 Oct 2021 00:05:25 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuQz-00CLC9-M9 for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:22 +0000 Received: by mail-il1-x131.google.com with SMTP id j2so1057285ilo.10 for ; Tue, 05 Oct 2021 17:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iygZcmzrLB3e1K8hChm09B8oQxVJNXkOlhdGKacTC4c=; b=U2olciHgRkvmmp16T4kKhc30f4v2PNNKP9ZrgmspGxIV3DM2ghZw5VOdcBw35N9a1q KCnjiJieZcTRqeY2XOpP9xAxAaxVF7hGUrXvD6SUrOq6PlPeM/BlHvw7jFA33PHpgpqb 6K0H+WKnsj8yCk0yVOSlui5ou0woWIJmlNks1m+wDcSTxkN/EdptuGbvScEU4+Em7iF0 4v0nj+IrkDfQxeba2kcppcZUyAZchZG8wUD2FkHg+oCK1ANahc8KP7YqPsZJuPlfwwJV bpaiqe6qBpJwgsdNs6N2ZhnlMC389rf4kolieAR89jVOxS36kC8MIxahhPUCza+VgHA3 3LAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iygZcmzrLB3e1K8hChm09B8oQxVJNXkOlhdGKacTC4c=; b=FUktP1k2J58Per+SnEjK20+cYQ+afo1kvXMfJZhEvRD0xTHDlHYi0mV4wbWoorEJ9j S4DzhjrWBBiKsVra+EY5O70foeAIU+pHIwQYoPstN8wr3SNFHevoK3FyXN8KoQlgu9e+ Iwygux4iCWN4CnyvpbLg/PdD+E/lfPi4a3YsL42+vdq1OInpyaUSrBB0PWRrk+bWjYYp N3B4cWbtff3flUZ7iEYmWbeqRs7v0HPHrKSHfWz0CYN8rAyWeBdI1pR/p4dUSpTx+apt hpj+BQMH67k8cIXqqFeLL9AoYh0b71/KNetRCCmcRWYxTEydrtxo/CEEWVre6iOrxA6+ Xw6Q== X-Gm-Message-State: AOAM533uvhdKJjF0ykEV6PO8n89t7c5LGfMOaRjkjKMMV6A8yuJtXDAZ admgb3yK3UXhID9Bi1E87Di/rRM5TXU= X-Google-Smtp-Source: ABdhPJwwbFOjXGXMQ+NxJxbxLXnQNP9FoSWtwrTv2KLasH77OsYCj4sf0T0+6jUTbbAuoOP4KZAsfw== X-Received: by 2002:a05:6e02:1c4d:: with SMTP id d13mr5121152ilg.49.1633478719642; Tue, 05 Oct 2021 17:05:19 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:19 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] dt-bindings: power: imx8mn: add defines for DISP blk-ctrl domains Date: Tue, 5 Oct 2021 19:04:58 -0500 Message-Id: <20211006000505.627334-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170521_760702_75540696 X-CRM114-Status: GOOD ( 10.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the defines for the power domains provided by the DISP blk-ctrl. Signed-off-by: Adam Ford --- include/dt-bindings/power/imx8mn-power.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/power/imx8mn-power.h b/include/dt-bindings/power/imx8mn-power.h index 102ee85a9b62..eedd0e581939 100644 --- a/include/dt-bindings/power/imx8mn-power.h +++ b/include/dt-bindings/power/imx8mn-power.h @@ -12,4 +12,9 @@ #define IMX8MN_POWER_DOMAIN_DISPMIX 3 #define IMX8MN_POWER_DOMAIN_MIPI 4 +#define IMX8MN_DISPBLK_PD_MIPI_DSI 0 +#define IMX8MN_DISPBLK_PD_MIPI_CSI 1 +#define IMX8MN_DISPBLK_PD_LCDIF 2 +#define IMX8MN_DISPBLK_PD_ISI 3 + #endif From patchwork Wed Oct 6 00:04:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538235 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDF44C433EF for ; Wed, 6 Oct 2021 00:07:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A00E5610E6 for ; Wed, 6 Oct 2021 00:07:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A00E5610E6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/aUpr02UxnFnUfxhfEvg7eVAltdAoxtgHazfRCWJ3dI=; b=zyYdAsB/mKN6aU 6CHgIQtbFqq/Hxl+7Qq3MCryT28w6ujEZyB8t2k9U5CKGILcxME5MulPJd1FuekRWVU27VgEQVw2E nhc7KaI83S69chhmJ/5M7qcC2FRgxPCgJKeBRxSczPHUClGUbKiRe/yexxnRwNDW7bX0+xqfEbqAY MPl5MJNtSn3m9YiEotISfAzYsZ1mI7JO2UM9s2Y8ldFhGMJUkxPRGqf1u2k48UdldSN+c7oXb1W1T LOnyqOou2ndq0P+9LjshKfy3QQzMEMkXzAuRkHldFE1JEi35+YKXbaaK4TUDoZmAHoAv1KCfIQ++V nxtnE1mNWkJAcHkJSQiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuRG-00CLHh-22; Wed, 06 Oct 2021 00:05:38 +0000 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR0-00CLCZ-J2 for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:24 +0000 Received: by mail-il1-x12f.google.com with SMTP id b6so1151142ilv.0 for ; Tue, 05 Oct 2021 17:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rAkXeFy8iFivf1XRGNuvjO555eIFq0kOCrxJ9EswG8c=; b=AKlby4eJObsm2EFkImU5h9zjJFSYFMCkcaoUKlw35sVrYfmMg+JS6Zfikcod3OLMw0 KhP8e0z5xrgwwKH0CGmdPTrsonhjIZt7FGiQwAJuwrTa4hH/A5lI7c5y/bi2Pmh3NbPM kMNQYrMH4Ab3DBpQL7Vf5D6a9x5wsDFRuXnvKFKfOdkjy8vRUwedIPJNGWyfr3ruOhB8 6inu1TIul6mq+2fTgNPHnQNwIB+zJYHSt6kkLeDdIlM+Y67eXs3tz2Z30g4XnFP3EoA6 r9QY6qLewcO6gpnh9gKSC6CXQwu7TacZ+2FqMjnUxMMhlFwcZ4wwZL7nNmtBSXmhxP/L Os7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rAkXeFy8iFivf1XRGNuvjO555eIFq0kOCrxJ9EswG8c=; b=4nthKeQCL5SqAdJ+LSkF7h5u9Pkefi3r5wPknU5Fg6u0kRnsyd5OR7DQR3NwMeRFyG tF+g+gXnPaOvWbf0r9PFigMXyDP+6mBNWVtWRtjpgFr7GxAZp4CF8sHEUWO+YkFYQalA rtTs2risCfP9YZgv3FcHfu75NfOZzsV9HFJ/2ScYtUKvEHMPFvwAPCYknb42F1KCmxBL WdkZqreUM8BnT6ynAtgxHKI7zHk3jHDlWD3S4OVe93MtVZXUMm5n4taU2O81dIuMwZId fXW2nKVFi3CCIu1TTpaD7BwcRJGexI6fq/uvl+ot1zJAKm7wfWCY8f7+A3CQtS+ExE+p WzhQ== X-Gm-Message-State: AOAM530RYvT5pDMpYAU3cCyD+1NoMz0L+Vz0xiUvjAH/O7kIxjsvRahV ViR9M7LlIFyDMh1KHkQk60v96waO+UU= X-Google-Smtp-Source: ABdhPJzbNvp4A+gMfoIm3tiVfdlUgTlItIRd+YmuMZAqa76iVVoflkkR0zDjDxuED61VLZoNDEz1Ag== X-Received: by 2002:a05:6e02:1d18:: with SMTP id i24mr5294632ila.182.1633478721321; Tue, 05 Oct 2021 17:05:21 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:20 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] dt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl Date: Tue, 5 Oct 2021 19:04:59 -0500 Message-Id: <20211006000505.627334-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006000505.627334-1-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170522_653733_C2274948 X-CRM114-Status: GOOD ( 14.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the DT binding for the i.MX8MN DISP blk-ctrl. Signed-off-by: Adam Ford --- .../soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml new file mode 100644 index 000000000000..92d30aff446e --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8MN DISP blk-ctrl + +maintainers: + - Lucas Stach + +description: + The i.MX8MN DISP blk-ctrl is a top-level peripheral providing access to + the NoC and ensuring proper power sequencing of the display and MIPI CSI + peripherals located in the DISP domain of the SoC. + +properties: + compatible: + items: + - const: fsl,imx8mn-disp-blk-ctrl + - const: syscon + + reg: + maxItems: 1 + + '#power-domain-cells': + const: 1 + + power-domains: + minItems: 5 + maxItems: 5 + + power-domain-names: + items: + - const: bus + - const: isi + - const: lcdif + - const: mipi-dsi + - const: mipi-csi + + clocks: + minItems: 11 + maxItems: 11 + + clock-names: + items: + - const: disp_axi + - const: disp_apb + - const: disp_axi_root + - const: disp_apb_root + - const: lcdif-axi + - const: lcdif-apb + - const: lcdif-pix + - const: dsi-pclk + - const: dsi-ref + - const: csi-aclk + - const: csi-pclk + +required: + - compatible + - reg + - power-domains + - power-domain-names + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + disp_blk_ctl: blk_ctrl@32e28000 { + compatible = "fsl,imx8mn-disp-blk-ctrl", "syscon"; + reg = <0x32e28000 0x100>; + power-domains = <&pgc_dispmix>, <&pgc_dispmix>, + <&pgc_dispmix>, <&pgc_mipi>, + <&pgc_mipi>; + power-domain-names = "bus", "isi", "lcdif", "mipi-dsi", + "mipi-csi"; + clocks = <&clk IMX8MN_CLK_DISP_AXI>, + <&clk IMX8MN_CLK_DISP_APB>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, + <&clk IMX8MN_CLK_DSI_CORE>, + <&clk IMX8MN_CLK_DSI_PHY_REF>, + <&clk IMX8MN_CLK_CSI1_PHY_REF>, + <&clk IMX8MN_CLK_CAMERA_PIXEL_ROOT>; + clock-names = "disp_axi", "disp_apb", "disp_axi_root", "disp_apb_root", + "lcdif-axi", "lcdif-apb", "lcdif-pix", "dsi-pclk", + "dsi-ref", "csi-aclk", "csi-pclk"; + #power-domain-cells = <1>; + }; From patchwork Wed Oct 6 00:05:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538237 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1D73C433EF for ; Wed, 6 Oct 2021 00:07:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 69C1261175 for ; Wed, 6 Oct 2021 00:07:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 69C1261175 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IiIzcrts7UWdMW0iVDMa9OGjN8wtIIkkGrdHXy8lk98=; b=vHSybkjCRJH7KE zac8V50IZr0s3wUY/wENZlV4BQgjjfcu/28gl9gUwOf88u376JPYxKrHIWhfh8IKhshd8IiB8sszz 1+UcBa1UUsVNue5j23khNvNzqTrv9FGIJXMdpxX8mPvvbzh88dcIpdDXG46+NUN8wGKbAb6Lz7gGT peteeZnlIpLOJQcB1pwoUTqCTHHXOGULV3qQMxyWfpzBV9KXoCUgla/ktABxYLZM07HaPc717zqSZ yEYooa0qMMFgim3Fg4kwq0SoR1yTsBwX/s6ZvHhc9PquC4pOhgP50nAN3foHz7FJDQ8N9tkTvpBHQ koJeEE87ARukVehtuhug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuRR-00CLL0-By; Wed, 06 Oct 2021 00:05:49 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR2-00CLD4-4K for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:25 +0000 Received: by mail-il1-x12c.google.com with SMTP id l13so1100921ilo.3 for ; Tue, 05 Oct 2021 17:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=akNDEe+kJOl28ay+y5Gnkbqr2EBbo/gtcDP1PA6ZmAo=; b=dezX+RhlSeS7JzthKehV0pZYqy9zHkI0EbuQRQbHoOKuQ3+JYiPWJVntXtZ1K0ESPT FOQMOKPk3aryIvRUHhKQFd2PElQhdmj5rcCRsr23N3NP99+66NIFI0qPbF+cXBhaecwS 5omRvtmqraYsbGBEo2hGf/ASjHhJ8Xoa1C2SLZSiJhITTSBeUNgjlqdzS4v6jtsWV3dg tzLj41VMY1P+Qz8e8einbXLixHG5GjhPfUYFk+pnoy1YGrQq9dL+S7aQUKj5RI01KJgq RJG6hKuGLafxjYLSgj6SURNNm4cCu66yb6uGcOaRadjnx0XjmQ0373pcDisQeAVQ/ZKL kF6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=akNDEe+kJOl28ay+y5Gnkbqr2EBbo/gtcDP1PA6ZmAo=; b=vu43mz1cecakIY/qhnvLsZDxdl8a4gtk295QHNkw5TiYJ5YsZfnTreDeyk6nttSmKs CdpZdNQ2/hVP2KPNZ3ISR5b3NltHFsw9IAIAdDtzSh64N4rYjIHzkAgnj1GgpQ1Q4h5u Q8WKbTDzZhA5KaXeLdolXop8fqvcoloTafYeDjbwVklGGgZ+Xp9EcKOvGudEubLPvcKt T7+pAP84nR+IzHzP9rUFRUpFvWKulHVG/F/1mf4b6C9WlmhdMX9ZSQf0dkaF5qmRYioa 4c9xbtkiLhRxrE+T7LyENkG296L4ltd1J6qAK5KimmJoTjwgyhwW9FGrZsfs5RgRTdGt 859w== X-Gm-Message-State: AOAM532AgGejgdMqcsU3lbb3zLAjkpeZcZSnHas8d/0jMRhnk9QA27tl 8PUGtq6epqCdZrrPNM2TRBWXyvLpRv0= X-Google-Smtp-Source: ABdhPJz9NzE0MxRp7tokSSNfE0HMMX9kyD6FZUznh+ikcZtyTem0x8X1s+RfK19RaVablqOiHuW2zw== X-Received: by 2002:a05:6e02:893:: with SMTP id z19mr5013863ils.224.1633478722865; Tue, 05 Oct 2021 17:05:22 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:22 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl Date: Tue, 5 Oct 2021 19:05:00 -0500 Message-Id: <20211006000505.627334-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006000505.627334-1-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170524_198039_B18E8D10 X-CRM114-Status: GOOD ( 17.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the description for the i.MX8MN disp blk-ctrl. Signed-off-by: Adam Ford --- drivers/soc/imx/imx8m-blk-ctrl.c | 70 ++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c index e172d295c441..8fcd5ed62f50 100644 --- a/drivers/soc/imx/imx8m-blk-ctrl.c +++ b/drivers/soc/imx/imx8m-blk-ctrl.c @@ -14,6 +14,7 @@ #include #include +#include #define BLK_SFT_RSTN 0x0 #define BLK_CLK_EN 0x4 @@ -498,6 +499,75 @@ static const struct imx8m_blk_ctrl_data imx8mm_disp_blk_ctl_dev_data = { .num_domains = ARRAY_SIZE(imx8mm_disp_blk_ctl_domain_data), }; + +static int imx8mn_disp_power_notifier(struct notifier_block *nb, + unsigned long action, void *data) +{ + struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, + power_nb); + + if (action != GENPD_NOTIFY_ON && action != GENPD_NOTIFY_PRE_OFF) + return NOTIFY_OK; + + /* Enable bus clock and deassert bus reset */ + regmap_set_bits(bc->regmap, BLK_CLK_EN, BIT(8)); + regmap_set_bits(bc->regmap, BLK_SFT_RSTN, BIT(8)); + + /* + * On power up we have no software backchannel to the GPC to + * wait for the ADB handshake to happen, so we just delay for a + * bit. On power down the GPC driver waits for the handshake. + */ + if (action == GENPD_NOTIFY_ON) + udelay(5); + + + return NOTIFY_OK; +} + +static const struct imx8m_blk_ctrl_domain_data imx8mn_disp_blk_ctl_domain_data[] = { + [IMX8MN_DISPBLK_PD_MIPI_DSI] = { + .name = "dispblk-mipi-dsi", + .clk_names = (const char *[]){ "dsi-pclk", "dsi-ref", }, + .num_clks = 2, + .gpc_name = "mipi-dsi", + .rst_mask = BIT(0) | BIT(1), + .clk_mask = BIT(0) | BIT(1), + }, + [IMX8MN_DISPBLK_PD_MIPI_CSI] = { + .name = "dispblk-mipi-csi", + .clk_names = (const char *[]){ "csi-aclk", "csi-pclk" }, + .num_clks = 2, + .gpc_name = "mipi-csi", + .rst_mask = BIT(2) | BIT(3), + .clk_mask = BIT(2) | BIT(3), + }, + [IMX8MN_DISPBLK_PD_LCDIF] = { + .name = "dispblk-lcdif", + .clk_names = (const char *[]){ "lcdif-axi", "lcdif-apb", "lcdif-pix", }, + .num_clks = 3, + .gpc_name = "lcdif", + .rst_mask = BIT(4) | BIT(5), + .clk_mask = BIT(4) | BIT(5), + }, + [IMX8MN_DISPBLK_PD_ISI] = { + .name = "dispblk-isi", + .clk_names = (const char *[]){ "disp_axi", "disp_apb", "disp_axi_root", + "disp_apb_root"}, + .num_clks = 2, + .gpc_name = "isi", + .rst_mask = BIT(6) | BIT(7), + .clk_mask = BIT(6) | BIT(7), + }, +}; + +static const struct imx8m_blk_ctrl_data imx8mn_disp_blk_ctl_dev_data = { + .max_reg = 0x84, + .power_notifier_fn = imx8mn_disp_power_notifier, + .domains = imx8mn_disp_blk_ctl_domain_data, + .num_domains = ARRAY_SIZE(imx8mn_disp_blk_ctl_domain_data), +}; + static const struct of_device_id imx8m_blk_ctrl_of_match[] = { { .compatible = "fsl,imx8mm-vpu-blk-ctrl", From patchwork Wed Oct 6 00:05:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538239 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12280C433EF for ; Wed, 6 Oct 2021 00:08:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CB1D16115A for ; Wed, 6 Oct 2021 00:08:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CB1D16115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hxsEpgWZVMtfsOhbAkFJkCh6hgVPeQERdeBA8eFZZMU=; b=y8kP0L0uXQdhg8 sv8jflwz+yqmzW3kQxEnJ96/8pRUXSNXjndYa2AjTGXw6rFc+5ByaFG1Go5ovvjodtxW727lh96rw O++d+CcSsYrF/7Wtv9KroPMIX7huplhsk8Z07KGdpaAelNOEJuOXaQD4PkHm4BE4HjjvwIhv9dYBO jYPqA65n7ipAqMNxkqBJvNtswaXb/gXv22XlLU3N3wYkaKheYAmQR5+dCqAoRf4dVPTgRzaqlCRkS tOHJzQ0bpbL2vFw8uD1iAE/J7Peh1wQYH7XvgEVMLFxLkmWwpEYYmtQ1pzEy5la77XJzcqqmuf4m7 C/QpeaM4pJDGsFQm4/iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuRg-00CLQj-6a; Wed, 06 Oct 2021 00:06:04 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR3-00CLE8-R0 for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:27 +0000 Received: by mail-il1-x133.google.com with SMTP id b6so1151225ilv.0 for ; Tue, 05 Oct 2021 17:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/mItAfD+DmXPI/U2/7d84lAQbIbOWle9iFNPVWbFVBQ=; b=Lt64vf3/f+3uG11aIAcDt7gkgRUbULrkKKVPo1X3OTTCCV/XZ6aLz2pXPOJMGjmKTC +qAqdRmaq7t0FjJgYPLKnSO+UyoSfzhQYKUX89+7YUEMgqsB6kdcXsHw4vqpmw6D/mx5 oAhUcylQx6TOzKiLIE8g8K3aZUb/VFl9jKYGhAyPtC3A54uWPXiumwP2Dksz256uU18p RmMDOb8FBIa8NN0Ry612axrlM36IKyARf3h9ncSEQQQBv/oVS4ilAyPMEelIDOS9hLfC PvESJ5o+oQiq+ZZNpYe1fePdpeYyTaE7j7cSt7/9f0YHkfRkF4B3NQupa/1txwx4ZQKf 8o+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/mItAfD+DmXPI/U2/7d84lAQbIbOWle9iFNPVWbFVBQ=; b=hVVwm8BiJJoSCnWsZfdNRAn2910OQ9Xw8ht28CbzFR2iI2XM6FqmJ2phNSumlXkQSN 6glu5uiNd84pzGDO5oeSEHtVr8OHEDKDmRpeSt6w5E5qC5e9PEVKCGK2rImZHcRY2+sg lvrazy3YbNbn3vMtxOVvibyirLnQHjkRVMKj2KkHJ0rWcoXii52GAh6VKvP4Bvq9qNMz vVKTSG1mdzv7abZruHM/90UCiFTt62wuW3DtINq5vBV3u7JA14JcxbLeaij/uPRVz9aQ bgGyNN3ClP9KUjZkESVT0BFu2Irc9lEBiNhVVf4NgjAFdluo9DgqqPSNNszbrczKIorC kroA== X-Gm-Message-State: AOAM533ukXRDjf+Hcgx9NshtCZj431ZulgY1tH7qfr3LKGi/RAs5b97Q xFqkLzExb4bobKwo5w9HqqHRH5R9osg= X-Google-Smtp-Source: ABdhPJwBY6Xxa2lxCFj5Qd2WVcBILAKok0OjZoVUS87WNziPjmy/1kf13BRW3NjVy3L19xgfXw8UUA== X-Received: by 2002:a05:6e02:1808:: with SMTP id a8mr2108025ilv.119.1633478724491; Tue, 05 Oct 2021 17:05:24 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:24 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] arm64: dts: imx8mn: add GPC node Date: Tue, 5 Oct 2021 19:05:01 -0500 Message-Id: <20211006000505.627334-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006000505.627334-1-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170525_935099_91DEE3D1 X-CRM114-Status: GOOD ( 12.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>; + }; + + 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 { From patchwork Wed Oct 6 00:05:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538241 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9440FC433F5 for ; Wed, 6 Oct 2021 00:08:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5D8F66115A for ; Wed, 6 Oct 2021 00:08:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5D8F66115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ymaykyAsjgJhSb0peq7JjlnDv2XeSIr0qYqPJu7aSns=; b=1qfsoWaCz2bZkf BYX6BqhRUqJ9RMeQwXqid+DELkTDbDYx5E4yxGuiF7h9/1Sa2bgRfX0Pza+XJsx2Oco24U8kC8KGz ZfNBIXIbWuoOtO/hRRi3Z1mPlYhsNXuQyy1AccH0yFYhySKrLRFISOR8MrwAGGg9j5hdyLDfMNGMv uthKe3tt6vxfomE6JOgeKSAJQWKcMzyrVV+CXtXDRkl7tdajZiEoe5fU8k0RCYc8TOHLk+H8n+R15 GkAjeFf8BZuQHl5h98Xp1RP9I0xQofyJyHEFztW61Tvz6WOmIP/lIozvvTPjOddLeWco4+n9on+ZU TkoXWFzMiXkpVEZYMy/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuRz-00CLXf-8A; Wed, 06 Oct 2021 00:06:23 +0000 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR5-00CLEo-TD for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:29 +0000 Received: by mail-io1-xd35.google.com with SMTP id d18so844170iof.13 for ; Tue, 05 Oct 2021 17:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cwzb1uhRt9EdpwYAtAW3BzrEcgUPOYqIAqZ9uGq69hs=; b=KPEaQ2iPcxHlYfymydS0Taq0RMMu0KBkH6MLWiG3ZW/pWY64/vceJrmnHmj+qjJV+p l0Qi4GKI/Q3pb7b7IIb0VJw89UyaxVkSia+psuqYOxw2l5MPPzpj5IDUPGuOcnKQB3Aj 7jliAhEPCV03gNMBg/3iMJjaMFsYGVKKEzdkwNHuQeLlF9WXEo9fC8TWJqTtmTQIIimi KVcmu0+4mCid3gJ8PSeeaB4Bpkz4zoyz6+LLvKCItZLCDN9yivN827Z+dogxL4lsIa6P x7VDpkx6Q4Sz+RealV2UsCLQC5w3VOlmkhNHAiovp+D/2nHe2Dz7FRYdigeOLjffpr1z 3Q1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Cwzb1uhRt9EdpwYAtAW3BzrEcgUPOYqIAqZ9uGq69hs=; b=yjHxB6V5H0FV/00vrKkzbTTm8yGetojyQ3X1zu++i5g90xVEAD8ju9vJ7ScOwKiQoN Gv3pMYgjpSUGboiDIhj8SAwuk8WO18papEvZ5cDNlEMmo7na2Z+tXQruHO2nEWCvUjvU kOK6MDRZjmJBe42hfs2J+u50ZxcaPn9zIybwkN6Fm8PTPJMEiAcA6HZPnYgzmXlHsHpV IKZnd6NWWoKqO6iFp6+uALZ+crCpShTnddQfdiuaIlqyIaiRkNG3wzcDlQfTpmMLjqI9 VQO9u+KhgjsgXkd/ek7dJQmTlbX2Jv2Bp02obw9RFEa09e7sV73TS2SWdE7dbUmq5c5s S14w== X-Gm-Message-State: AOAM530P3/SURd45eU7khr6OeSJ17jvfYucSC4DMiS/D6flIEA6yKFXA FnAR0RUc34/Cc63C8YOLkkVJMVa+5Yw= X-Google-Smtp-Source: ABdhPJx1bWyVtD6+ZxQakcc2/dX/VUy+rU1XfVhIZh4K1kMCIy47mZc4gZwCWDZycUWdwsaQdz9P0Q== X-Received: by 2002:a5d:8715:: with SMTP id u21mr4420256iom.1.1633478726237; Tue, 05 Oct 2021 17:05:26 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:25 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] arm64: dts: imx8mn: put USB controller into power-domains Date: Tue, 5 Oct 2021 19:05:02 -0500 Message-Id: <20211006000505.627334-5-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006000505.627334-1-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170528_004002_9EFD7523 X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Now that we have support for the power domain controller on the i.MX8MN, we can put the USB controller in the respective power domain to allow it to power down the PHY when possible. Signed-off-by: Adam Ford Reviewed-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 4191b5bfcdf3..ea994dd9fb03 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1021,6 +1021,7 @@ usbotg1: usb@32e40000 { assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>; phys = <&usbphynop1>; fsl,usbmisc = <&usbmisc1 0>; + power-domains = <&pgc_otg1>; status = "disabled"; }; From patchwork Wed Oct 6 00:05:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8574C433EF for ; Wed, 6 Oct 2021 00:09:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 895A9610E6 for ; Wed, 6 Oct 2021 00:09:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 895A9610E6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F6nmESryEhkuMeMrMnT4mZ5z7VRYjucIPeiNj6LYWWE=; b=Pfkdn+T14pfh9j UURV/ox/9qPAD7qZmBBrXhcsSWWrvdlSULyoPvP9iU83cjVXwT+1+YOIP/5PuNfJqwGm3kTngX6Fz 6Vf4THdyffaCzkPv816gyRGQDPzoz3wbUsZybEubOZ9NMZrf/6Ms5XZxRL8vtM96fuOEpwM2UQk8l O4ff5Cq9TzS0DEj44Ni7p0Nui01VQtQnvjAQt6HJN7wCH8uMNCHTm0bbWxGyeDTXEnLghlBJIQ8W/ xLYp9mUaRQZ078joFwLoVfFE1vLYiMTJZiRzpRimonZ0JVa8IwBzmdx55+hJuwhHC93rZUhxoSmSA 1EhGZ3ZjlC4tL1CMEQ2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuSI-00CLfs-0y; Wed, 06 Oct 2021 00:06:42 +0000 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR7-00CLFK-H2 for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:30 +0000 Received: by mail-io1-xd2a.google.com with SMTP id d18so844245iof.13 for ; Tue, 05 Oct 2021 17:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x11HqO+/PtZ+6U0J6esjEI4aLwAmQPl4b6jkYZuk7fs=; b=EInVCwBKI97wtAWN81C9K10uzeMPwCZdF4HHjHL0U2WAyuzerVNbTyxUpSWEXhFRpG bLYpXWbkcICSlovgdXjnhKvaW46Wi7LH651hrwflA8HCkXvvlf/aezemgguqS8hKcu2j 0EF712X7u+gBp07RuKZJPiuKfX1TKVw9ZeWreS0SURRwW5cl5GyPAmtkyXgx9WrYdCCq ZMS3x24r2jg8OF/7a62OoiDCL2JpoA6oN6nzSQ6EWFCezQoNLlrNjBJJIqeI3UdRgxMn st+K54D7UAPPIXL1XDHV3IKDBwCOOZ0aBZasSGtD1tJIGyUqjKoiX+iU9l1CoNinXrii BllQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=x11HqO+/PtZ+6U0J6esjEI4aLwAmQPl4b6jkYZuk7fs=; b=5SUHGEAgU+N68SouxzU3rFZKcg5j+1cnDBHKVuINKlSaTi3XN5gQqs36PYHkSuSvW/ JpT/3jpdeYrgEIEavlyjxFYegGbAz/X7H6l9DVkSBlOZPVfCR/Zg4A5umy1XpxO2RXfr LXcGbdU2FlyXesPdQAaBdoPa/fyO13Js2QRJn/gbqtkjErnzhlNScDiUWVr80f0+fmUj xZsHHR1/X8ZnRtY0Lm1bge7V8xsrwm3GflHEky7XKpZYfPBXkuqSDk7cpD+I5RJkEaIq 1KhlyKbr72R3Ur7kODA6pzm4HJKUlVHzFHYBl/XTT9F4g9fEPyQMaBwQnFWFCCwScFnB Cq2w== X-Gm-Message-State: AOAM532mYxfPgrc4x/Lu0cA+53gAIrVft0GYTk+G+8Uq9GUThjrY04d6 S1RuQQMI1wJ6p1tvilJ/63nZJBATmgc= X-Google-Smtp-Source: ABdhPJza6rBWrLL23igGyfG2ReHHTGXFm1fmhrwVo+qo8zbheAoKpS1X6I4CCGxvnTSf9rwIsBy+Sw== X-Received: by 2002:a02:8804:: with SMTP id r4mr4810477jai.55.1633478727974; Tue, 05 Oct 2021 17:05:27 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:27 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] arm64: dts: imx8mn: add DISP blk-ctrl Date: Tue, 5 Oct 2021 19:05:03 -0500 Message-Id: <20211006000505.627334-6-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006000505.627334-1-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170529_587802_7A7CD20D X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the DT node for the DISP blk-ctrl. With this in place the display/mipi power domains should be functional. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index ea994dd9fb03..57f67257d2fd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1011,6 +1011,34 @@ aips4: bus@32c00000 { #size-cells = <1>; ranges; + disp_blk_ctrl: blk-ctrl@32e28000 { + compatible = "fsl,imx8mn-disp-blk-ctrl", "syscon"; + reg = <0x32e28000 0x100>; + power-domains = <&pgc_dispmix>, <&pgc_dispmix>, + <&pgc_dispmix>, <&pgc_mipi>, + <&pgc_mipi>; + power-domain-names = "bus", "isi", + "lcdif", "mipi-dsi", + "mipi-csi"; + clocks = <&clk IMX8MN_CLK_DISP_AXI>, + <&clk IMX8MN_CLK_DISP_APB>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, + <&clk IMX8MN_CLK_DSI_CORE>, + <&clk IMX8MN_CLK_DSI_PHY_REF>, + <&clk IMX8MN_CLK_CSI1_PHY_REF>, + <&clk IMX8MN_CLK_CAMERA_PIXEL_ROOT>; + clock-names = "disp_axi", "disp_apb", + "disp_axi_root", "disp_apb_root", + "lcdif-axi", "lcdif-apb", "lcdif-pix", + "dsi-pclk", "dsi-ref", + "csi-aclk", "csi-pclk"; + #power-domain-cells = <1>; + }; + usbotg1: usb@32e40000 { compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb"; reg = <0x32e40000 0x200>; From patchwork Wed Oct 6 00:05:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12538245 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 245D4C433F5 for ; Wed, 6 Oct 2021 00:09:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DC9A66115A for ; Wed, 6 Oct 2021 00:09:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DC9A66115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RMoSBV6mj+zYbbHJjcZolF7cZIEmOf7lYhSGLWFxau4=; b=SlHMFEnM1u/sIO 56MElc7LKOH76h2eIzhOE1LqzHzNIenXK3Sem79mEFyDcIPUKVaTXMGejId/83K+KVnXTW/bFb6Ue 2jbF1ThSeSKlGX3tOwG/SSBmLXDWzBL1wohgtiHw4xI+vfLk+pLgrw5TTWjxWamwzGHFLQYnjfVBH G205fEw7gDuMVZpsPQCCgkkIQLGxOZ4Czz75CAeKDFXfWLiT/oZNT8/+z0ujzAA2y0JJEc/2slcJi 1C94rk7ThRpEUxGRoA7ROJKOHqkfaJNWdHOYiG7YDPrQ0tax8r+zlATNhK4Z0andd3B6a5gLkCDHe 5W7SxdSwNAq9Q7ebxakg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuSh-00CLqg-Jr; Wed, 06 Oct 2021 00:07:08 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXuR9-00CLFs-25 for linux-arm-kernel@lists.infradead.org; Wed, 06 Oct 2021 00:05:32 +0000 Received: by mail-io1-xd33.google.com with SMTP id r75so883629iod.7 for ; Tue, 05 Oct 2021 17:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PLAxQdhoFe7v2vMVDyp/8Fr7Jukarsi+bCPeqRNe98M=; b=IqyWOBm3QzJtcUSGGdL25ly8ZDLzh3Zn8ZTUT5ZgrAt6jLwtTFX6W9iInXDrhjjj63 EWgh9zLjb5Jp02vubkPEhfzBYgtXO6gdzkDpP1NFX8U/l0hfPzQtxeXgFPyjkCges2i0 LX4JF/r+kFmErO/B87kt4D39/0weVWzMe/JTkOHNgzeXx/qbpgNCuDmM5MPd8eQ5zA7O HCafRFk1jhUsPLey+vie63HTxLnGXTTixKMO9+2LWlqGJJLaGAoxED1Qh5MQI3tBlbYa 3MH4q59BdlO+T80NDWpU7z4Ku9Q0zrcBSFIdh7YXrOitLuUjt4ywj6C8daV2vkIgwJHg xRuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PLAxQdhoFe7v2vMVDyp/8Fr7Jukarsi+bCPeqRNe98M=; b=FT+6wcu5VhSzFy07VEgotLohTpO4hb3xO8dBkDss+eeiH8HsonxH6GvTSPb+U6v+hc HMR0Z+of/X7lPCeJHwEEj10wRkRSBY+dOgXs5CeOcYNVUCiaC2d49q5t0mObymEbYyYR 5k2AsoOvyzhL7qRFFFWR25bzvt529M7sDjsseefrPEHGhnzsO0gk+XkYjlmfejnHVdml fp/5yYd3KathC1BhaJe3j0OISkpPe85tuX06mfLBzlavrhYAR8TCngqzCA+729cGyxn/ eOtyt8mjTIqvrY9jZcjgXWAY0UmgMBCyIGQkxyMsC2E5niMi2W92VwUumbtImLfK2z2g OwHA== X-Gm-Message-State: AOAM5310swVdq3uUXl0XSlBFDjzrMClDiQFrDVIpPyOxFAciLSm78pxU iPGOgrppH+AodIDenYW2HaaMXc8GK9Y= X-Google-Smtp-Source: ABdhPJzDQh6yuWWYopVdkwBNX2GzrDeNJDUhUXZl5orB7yTsXH9jvMxTa4Wk21lZRPe4YbfVVFFHIg== X-Received: by 2002:a02:1088:: with SMTP id 130mr4859821jay.87.1633478729803; Tue, 05 Oct 2021 17:05:29 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:94fc:9a4b:2e18:e915]) by smtp.gmail.com with ESMTPSA id y2sm11338646ioj.12.2021.10.05.17.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 17:05:29 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] arm64: dts: imx8mn: Enable GPU Date: Tue, 5 Oct 2021 19:05:04 -0500 Message-Id: <20211006000505.627334-7-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006000505.627334-1-aford173@gmail.com> References: <20211006000505.627334-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_170531_136991_B84B429B X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The i.MX8M-Nano features a GC7000. The Etnaviv driver detects it as: etnaviv-gpu 38000000.gpu: model: GC7000, revision: 6203 Signed-off-by: Adam Ford --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 57f67257d2fd..46144a7482d3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1089,6 +1089,31 @@ gpmi: nand-controller@33002000 { status = "disabled"; }; + gpu: gpu@38000000 { + compatible = "vivante,gc"; + reg = <0x38000000 0x8000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_GPU_AHB>, + <&clk IMX8MN_CLK_GPU_BUS_ROOT>, + <&clk IMX8MN_CLK_GPU_CORE_ROOT>, + <&clk IMX8MN_CLK_GPU_SHADER_DIV>; + clock-names = "reg", "bus", "core", "shader"; + assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE_SRC>, + <&clk IMX8MN_CLK_GPU_SHADER_SRC>, + <&clk IMX8MN_CLK_GPU_AXI>, + <&clk IMX8MN_CLK_GPU_AHB>, + <&clk IMX8MN_GPU_PLL>, + <&clk IMX8MN_CLK_GPU_CORE_DIV>, + <&clk IMX8MN_CLK_GPU_SHADER_DIV>; + assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>, + <&clk IMX8MN_GPU_PLL_OUT>, + <&clk IMX8MN_SYS_PLL1_800M>, + <&clk IMX8MN_SYS_PLL1_800M>; + assigned-clock-rates = <0>, <0>, <800000000>, <400000000>, <1200000000>, + <400000000>, <400000000>; + power-domains = <&pgc_gpumix>; + }; + gic: interrupt-controller@38800000 { compatible = "arm,gic-v3"; reg = <0x38800000 0x10000>,