Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3408059pxv; Mon, 28 Jun 2021 04:01:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSVNwjWIs635qQi3N7wEy7u6bZBaSWHrrbI4ATLNHWyzlsYutgNFGASAu1mslZV3Cfppvg X-Received: by 2002:a05:6000:1810:: with SMTP id m16mr26921529wrh.349.1624878119181; Mon, 28 Jun 2021 04:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624878119; cv=none; d=google.com; s=arc-20160816; b=axDCEj7lBnUPD2BJA4vt26gFSBPUng3HutJI33t18WEwtyffrvgMKWm5bGAtHH/OUp YWJi3btyVftKTxFNPuCMKOsrOykkGZUELseLLpbBKFsplIu2GheqkU5047bJLNGlhWEr uw3iY79bUb+nT1IZq1sIj0BKzOjR1OivS+SFKURsVIs4dB1R0Z+/qD24GMXLFQGmDOVg mrwL5t+Wi1bpD4RL5cH/qdnd/pU1w7gMP1cqDXICfmIIKvBNM9Pclsw0uPFB833YIEsX jVZCHb5xmA/IkRuNxoCWItb46M/jB+L/Mj4zVA5RYvuDjBg+ue9PS2/nRDwe1LkKwsMf RE/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=/uSwIhUTGzgWud23+aNg1TbxMnbf4cZss/WEmETMEjk=; b=jGwKInU22vR2ABnA7P5KM5nyDkvQCFFFBtNBcigfgGdBsvpUZJSeUrldTstyyG3qoL KOiTaYIznqB/+Au2noMlDT/9Xk1dNK4TQAesKJYyDrtvPwoB4vt4lJ9aOFtCjQ+6zfu7 FsvlR0JxRhYembMo5xCb/xC6Nuz2evpsL3JY8os5qlAMtX+43bQWFRRTL7snESoH6401 oAi/axkhd55iQ3G1zrmHzf8aDYYE4s3KtZ6Ikls7xZHPCYP95zt9sTJwnglU/SeGPev3 pp+R0W9mf4I7zhgYxbVymXmnOf8K6xGAYx+4seCJeuTDM3jeJvYH+FZ6/k4fdYgJN7zI XlFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b="x/vH1wVt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si15775143ejd.407.2021.06.28.04.01.34; Mon, 28 Jun 2021 04:01:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b="x/vH1wVt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232801AbhF1LCA (ORCPT + 99 others); Mon, 28 Jun 2021 07:02:00 -0400 Received: from phobos.denx.de ([85.214.62.61]:51970 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232745AbhF1LB7 (ORCPT ); Mon, 28 Jun 2021 07:01:59 -0400 Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id F18FA82DA2; Mon, 28 Jun 2021 12:59:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1624877973; bh=/uSwIhUTGzgWud23+aNg1TbxMnbf4cZss/WEmETMEjk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=x/vH1wVtGgHw+yvzhphYwEHnlVO5UOyO9VVWdjw6WXS5MjtoaIjT5EZZcYgEIRod4 ynJMaTJHC4Gx3F5FJhvJSPTBK15iV9wiODNuoGRDjbAbnliz5inXIdwXgRU/eWciTF MLawKS6d+wtLoqTyouuSAiCsF9WrNxYjFMwU/aPQ25DSkNlufyl+LDSiz1V0+nLIJS //mkv8ZCZgZx/9WjF021RhUhAKYjOVYYTQ+r2tdzaCmlEGwhBsoJ4P2zEbiae4U5uJ FcYa+pdSUE47JCm4mZXKMXMK0mDTtjsxHW8Mi1P99BymubE1Hh+a1zgSynqj9nyeSk 5hVWfLoPBP2Bg== Subject: Re: [PATCH V7 4/4] soc: imx: Add blk-ctl driver for i.MX8MM To: Adam Ford , "Peng Fan (OSS)" Cc: Rob Herring , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , NXP Linux Team , Philipp Zabel , Lucas Stach , Krzysztof Kozlowski , =?UTF-8?Q?Guido_G=c3=bcnther?= , Andrey Smirnov , devicetree , arm-soc , Linux Kernel Mailing List , Jacky Bai , Schrempf Frieder , Abel Vesa , Peng Fan References: <20210612133134.2738-1-peng.fan@oss.nxp.com> <20210612133134.2738-5-peng.fan@oss.nxp.com> From: Marek Vasut Message-ID: <2c39672b-780a-8e33-038e-0856e32ede7a@denx.de> Date: Mon, 28 Jun 2021 12:59:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/14/21 8:07 PM, Adam Ford wrote: > On Sat, Jun 12, 2021 at 7:58 AM Peng Fan (OSS) wrote: >> >> From: Peng Fan >> >> The i.MX8MM SoC has dispmix BLK-CTL and vpumix BLK-CTL, so we add >> that support in this driver. >> >> Reviewed-by: Abel Vesa >> Signed-off-by: Peng Fan > > Maybe my TF-A is too old, but I am not able to wake the device from > suspend-to-ram with this series. I used the device tree from [1] to > enable both the GPCv2 and the blk-ctl stuff. > > [1] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210604111005.6804-1-peng.fan@oss.nxp.com/ > > I based both off Shawn's for-next branch. I also ran into issues with this, although it could also be related to GPCv2. On MX8MM , the system sometimes hangs when bringing up the GPCv2 power domain 6 (VPUMIX). It seems that the GPCv2 driver sets GPC_PU_PGC_SW_PUP_REQ register to 0x100 to bring up the VPUMIX and the bit never self-clears. After that, it seems the entire GPC locks up. Have you ever seen that kind of behavior ?