From patchwork Sun Nov 28 13:18:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12693850 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E2996C433F5 for ; Sun, 28 Nov 2021 13:21:06 +0000 (UTC) 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=/MgM4zb0jLNCwzWMURzQi23thkDGamB6lBfM8+DaLuQ=; b=hPHA10N5Ec1B3T ZPQVYE98B2BjIiYrSSgfccmQmm5VwI99NDR/q7M8yF/9YjFW+o7ZP7a04dL5gpV98hHRKGPWxO9mo eXTWTEHa0m3u9CeQy1nXI8w7KzxHR5FqcD9uF9tDIjYWZwkZTaI2kjTf+GLJgIZ2Shkzg8O/81Iq3 laOfx82D98NkHTSP0S6Z73q0bF/qqNSS6laoWU1Tz33bk1b5En02P7UrxgA7gGXntcfDuFLv1nZxX l2JDBDFm3B5fHDTKwmXwiJwia+tKDsccTspvsVa3DZ59au+yXOauaxSR3ihYL2d5ap5a4rqLM8Awb XbDxQ9Cd9rzCCiukEcyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrK5h-00FmzW-To; Sun, 28 Nov 2021 13:19:38 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrK5O-00FmrH-Kk for linux-arm-kernel@lists.infradead.org; Sun, 28 Nov 2021 13:19:21 +0000 Received: by mail-io1-xd36.google.com with SMTP id z18so17544669iof.5 for ; Sun, 28 Nov 2021 05:19:16 -0800 (PST) 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=rgH6bDvZzbG8b8t+1LLRo1oRPHaeFK2CSFYLS3VI3Ak=; b=llDkk7kaNIFNgZZvbTKAZRmDr4SPfRqb/3DUU8c+ES5LXxNLZhox2Eqyyte2epBWyP az9XGNDrP9UtfmLPNAhVe4FpJFNHA8ED/i2J+3uahaNz1Li9mb4r6gwPeXGB19YsZHyJ suhVunEEq2DkxKxHMcY9pxgj5wiKAY00rE7xAF2qi7Den+9i0viMVQi3ClssFbIz9EC5 cgyLQpFbz98vxasr9HFscuYIoHLaJZ4/s5IjiYocgOWVX5Wowq+xADdVcBKz+FHvz1Qq bJkENBOEeuOJbexvb7JqDyPTKqgoU8W6E9pgYKHBZIAxFzjuFFvzAPbmdCocJfjb+S+A CUbQ== 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=rgH6bDvZzbG8b8t+1LLRo1oRPHaeFK2CSFYLS3VI3Ak=; b=BYPmo1bYb1nm5w3s4Bh41yWWkfzKB8Lau4p+dW1f5wjOw5MjXTrhK9fdq63RrdQLcN CcLwLgDLoaMRnuN3KwPJ6De6APoUMrV0Y7bY4NrsmOMW9nMBEhzYhTuqkOq1LNuWckpZ RE9D1dGw6kCE+wEA9dU8AaLhD/m2UCfpGpn8P21/kmSXQxVNHAHpXSbEVGQr3JGpTu5y /hr6Gx26tRff9lH6Pe1PrZ4reLnClRguEyjWDvOG3zAhkwrrgPF8H85I4RsOx3qrUhGG QXtSotsFK20RWGkAJT0dbI0OFInnACfqwOvBjtf7R5ReJaYGhoFdtGpq1iYI9y8sb8rW XpmQ== X-Gm-Message-State: AOAM533y23yeR8KV9/z8JIP//ABrKv5vE9U6OA/QmiVgRIc9XYF6ILXa Uf+2operaWawgicre0CChJL7WJG9TaetOw== X-Google-Smtp-Source: ABdhPJy/IdK3EwHgNszHnLIx5GT3XZ8aG2lh43dN8vG+3jVJtIFrB5omHokIpsvev9y1/0lD2R+K3g== X-Received: by 2002:a02:ccb3:: with SMTP id t19mr57646053jap.145.1638105555709; Sun, 28 Nov 2021 05:19:15 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:2a06:17d2:47df:6c8e]) by smtp.gmail.com with ESMTPSA id q12sm6990413ile.77.2021.11.28.05.19.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 05:19:15 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, tharvey@gateworks.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 V4 0/9] arm64: imx8mn: Enable more imx8m Nano functions Date: Sun, 28 Nov 2021 07:18:43 -0600 Message-Id: <20211128131853.15125-1-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211128_051918_704679_A7A4AD86 X-CRM114-Status: GOOD ( 11.87 ) 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 is similar to the i.MX8M Mini in some ways, but very different in others. With the blk-ctrl driver for Mini in place, this series expands the blk-ctrl driver to support the Nano which opens the door for additional functions in the future. As part of this series, it also addresses some issues in the GPCv2 driver and finally adds support for enabling USB and GPU. V4: Rebase on top of [1] which fixes hangs caused from CSI and DSI reset and add the same fixes for CSI and DSI to the Nano V3: Fixes an the yaml example V2: Fixes the clock count in the blk-ctrl [1] - https://www.spinics.net/lists/arm-kernel/msg936266.html Adam Ford (9): soc: imx: gpcv2: keep i.MX8MN gpumix bus clock enabled soc: imx: gpcv2: Add dispmix and mipi domains to imx8mn dt-bindings: power: imx8mn: add defines for DISP blk-ctrl domains dt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl arm64: dts: imx8mn: add GPC node arm64: dts: imx8mn: put USB controller into power-domains arm64: dts: imx8mn: add DISP blk-ctrl arm64: dts: imx8mn: Enable GPU .../soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml | 97 +++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 103 ++++++++++++++++++ drivers/soc/imx/gpcv2.c | 26 +++++ drivers/soc/imx/imx8m-blk-ctrl.c | 77 ++++++++++++- include/dt-bindings/power/imx8mn-power.h | 5 + 5 files changed, 307 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml --- 2.32.0