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 D5820C433F5 for ; Tue, 16 Nov 2021 17:57:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9079613A3 for ; Tue, 16 Nov 2021 17:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239232AbhKPSAO (ORCPT ); Tue, 16 Nov 2021 13:00:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239158AbhKPSAM (ORCPT ); Tue, 16 Nov 2021 13:00:12 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B2B2C061570 for ; Tue, 16 Nov 2021 09:57:14 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id i12so97312pfd.6 for ; Tue, 16 Nov 2021 09:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sa65/ZE9h1qzWynmnBdCmRbLMl55VjRQMOwYHfoESIQ=; b=0UWRl7wXxIRuc+vbGmYE/2N56zC3mO02m5rsLsJngIxKQYXSgo14hQsLhFw6rD47gA JkOTUg/LYydrTqrqcxGzWJqyqATiGmoyoeWkuF+543qi+YPGwjX3tsbfHEnRmgMtQ0VX +RdLf8y7i+qjbVJBlNVJb4rR5UuUW84aaBZdKXMkY+zOK9ZXUvI7/GaBrMrfzWFBaCaH C5e03o9VygF4rDe+o0yvoJ0iAiv4eIUmCWQ2zUuQb6jAfj86KFAg2t/s5sBMGMp7iYdQ dUzk6ECn4eu+uQmeu6pFgLhqHkl3//ZsGWRUqB9DvkimTLCJYkytMV3D6oT9g+qUVWyY HoiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sa65/ZE9h1qzWynmnBdCmRbLMl55VjRQMOwYHfoESIQ=; b=kUbDoHh1ruE0I6Jm4uO/0Dodvx0vcuRHhYZQkaXLcR4PIut18vnmldm2xkH0xQ8uBs /zeWFozn5Wcdo60m8izA0s+KCzJ3MuAoOqe4ylvQnbdUIxfjJKbGpx3RveodAwfjH5Zh hmrPYXqIphKptR6Ahly8/H8JU865jy4cZTvvLJ/pF6oeYvxcy+VzQFpcXFFAs58kwDD8 51SQl6xDweoYCgRjblO/sxS/UsLh5VwVhPkyBo91I7QISSZ+p8m72OSRj1KE2qhKDJcl Ic0piIRsF+ZlxYtrGRLeqAGrnQS1khZk/0V9qSaAqsSJOP5rjMbAL14+0AZmJD6eKtJ1 WM8A== X-Gm-Message-State: AOAM533lFDCZy9RWcqevwnwnp7TeRpRLB+vEOgVvkTKatuuYYWYjnkPf bYhwgJG7pjLgaKVRNeh6uCU0E1ET/WAcAjTO70OaTQ== X-Google-Smtp-Source: ABdhPJwW+jKX109KdnnMcln5jZoaf2HNSEPWCS5I92cCEexFhgsh3em/VILGZ1mtRJxr/E7+6GLjEHAcW7uaW/gEnDI= X-Received: by 2002:aa7:888d:0:b0:46b:72b2:5d61 with SMTP id z13-20020aa7888d000000b0046b72b25d61mr41532241pfe.73.1637085433944; Tue, 16 Nov 2021 09:57:13 -0800 (PST) MIME-Version: 1.0 References: <20211104161804.587250-1-aford173@gmail.com> In-Reply-To: <20211104161804.587250-1-aford173@gmail.com> From: Tim Harvey Date: Tue, 16 Nov 2021 09:57:02 -0800 Message-ID: Subject: Re: [PATCH V3 0/9] arm64: imx8mn: Enable more imx8m Nano functions To: Adam Ford Cc: Linux ARM Mailing List , Adam Ford-BE , ariel.dalessandro@collabora.com, Krzysztof Kozlowski , Lucas Stach , Device Tree Mailing List , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 4, 2021 at 9:18 AM Adam Ford wrote: > > 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. > > V3: Fixes an the yaml example > V2: Fixes the clock count in the blk-ctrl > > 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 | 75 ++++++++++++- > include/dt-bindings/power/imx8mn-power.h | 5 + > 5 files changed, 305 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml > Adam, Thanks for the patches. I'm not sure how best to test this but on an imx8mm-venice-gw7902 which has USB, but no display. I find that if DRM_ETNAVIV is enabled I hang at 'etnaviv etnaviv: bound 38000000.gpu (ops 0xffff800010964748)'. If DRM_ETNAVIV is not enabled: - boots fine - usb works - soft reboot works (does not hang) Best regards, Tim