From patchwork Wed Dec 15 00:46:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12696132 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 5DA10C433EF for ; Wed, 15 Dec 2021 00:48:25 +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=R1Dn+FZdNx4DZQnmEofPJhF9WsyDNIEZIVBCnOwpsQQ=; b=edbbmsE+x91Yq9 D5iKSotKA4YLhVx88d7kNtggAjs9dIJe+qCqVHXuFMRK4Sag6HC7bEGrWrI6gK0FGtnrjZfzstfsl yp2IonCExzKOcYXw4Je6tG/aweiyPbN2H3O8BmiFFxO2Q6eDKyolh5ofzNJD7PTelYU/Df4V9JO8E 2sg2GP9B+I8jNs4EeAtEvjg4up6oSdHtBj3BAl67UBbvvw8h3n9joPZKqvnHHtZw20tnJdgNogkDn lgNQOvLDBQMHiAz+JEZW5Ww4d3512lxxprCeV281rgmkXek9SNnGyRFsgqjU3OSwZ+Bb2L2HH+yKU qH+Npjy6LR9U9wfBEevg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxIRP-00G9di-IG; Wed, 15 Dec 2021 00:46:43 +0000 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxIRL-00G9cq-P5 for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 00:46:41 +0000 Received: by mail-il1-x134.google.com with SMTP id t7so2192503iln.12 for ; Tue, 14 Dec 2021 16:46:39 -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=B2sQ+4LioILCmA5mehp5hpTPeXuQigPTBXsv4THjA+k=; b=kD91ZkFAA400/m7zaa1/gApN5KCrFMvxi2N6seSYAOQjY88S2IL3UsIJbPjn6QbDZO 4MzxmUGQmuhU0xSZbGKvRhWocR7CRxMUoCytL+mu+HBUsxCKMJ7C7gg0cMB7ds4lXMpE i8Q79H/0EXz4qL1uYLYv28kcFHmgsdC3OpZ7ADFwVs/Ck4VfFbFub9LffuRm7qJ1HjdU Mz4T0PtJW44jhxRspTbek2eHYssFjNlKOFM8nyMmZxnFCEL4exJ22G3noSayoUpEjpuW YHBtSG1LC/r1sqo7OCLbKin2WTnnnJPU9hGIdbkot9Z/pkBARDf92EWEkrisofkNoufC 1cJQ== 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=B2sQ+4LioILCmA5mehp5hpTPeXuQigPTBXsv4THjA+k=; b=lToysj0RNJjUXhHbHzrDUGzGCycBSeccduTKXFyCm1ZnHrEYh2G2U3PYNU0G+ZVXZY SV8XGSss9pvgOzwlLU8rMMFsg6wE2Xhaxk1LukmZ90ojGfaLa9BFQf30W2qatqlkSsUv uuMJrDkIRvki+EPutspQcuG6EburlB3BV/MMYIz3iUTCC1V1oYhPqeZqb+M5kNKUZJER cWqWX09IBOcak93CU1cfQ37C2y+kQVOCj7o/558Pj+pcAA+tz2OZvavDVuRu1nF/+s05 ZFk8SDn7ana8yMpofYa14P4tvRkV5FtF6uX0ZCH9qmihUBxS7Y5b2KC9EZkN6JPAbsVJ kQeA== X-Gm-Message-State: AOAM530+64rGuM4isLkaCrd+ol7jWKg8lYwKnGsKVyei9Kre6GSRgiHj RQT8FJjwx7VaIj09Z1fD/QH77agH93XIig== X-Google-Smtp-Source: ABdhPJxfNoBYMD6gW1hX+4CjevirSg7/RbR/0OezdJHMxZq+9UKHO//Th3SN8Y4uU5hNtTnQQJtvJQ== X-Received: by 2002:a92:905:: with SMTP id y5mr5491264ilg.259.1639529198272; Tue, 14 Dec 2021 16:46:38 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8256:b93c:84fb:458b]) by smtp.gmail.com with ESMTPSA id y8sm218857iox.32.2021.12.14.16.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 16:46:37 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: tharvey@gateworks.com, aford@beaconembedded.com, michael@amarulasolutions.com, jagan@amarulasolutions.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 V5 0/9] arm64: imx8mn: Enable more imx8m Nano functions Date: Tue, 14 Dec 2021 18:46:17 -0600 Message-Id: <20211215004626.2241839-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-20211214_164639_871887_8FC76FA3 X-CRM114-Status: GOOD ( 11.99 ) 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. V5: Clean up the GPU clock assignments. 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 | 104 ++++++++++++++++++ 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, 308 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml base-commit: 8d30c32befe955a537381cc40f842295322255d8