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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46BB4C77B73 for ; Sat, 6 May 2023 15:26:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5B94885F39; Sat, 6 May 2023 17:26:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1683386767; bh=qtRNnlinREL4i+uxgLyKxfo0s1hIMpIqZnm7XhmdoVs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=njmUOtE3v9BI1884xBhYzVuEeAAR8C79ERjgG5clokEzSNJ+uqr4JcYT4kSbkH7vp 5/PLYunPEuMq/4WFl/mrs6JSbwlM6GcZln55awmVY/Gb+luWdHCHBtTdt4VaxtRWWX Xbs70Nj+Gpoofsn/z/u86SLN8YSUAc8zcZhtXKeptoCzx20XOoA96qF3Jt6XO6uw8T SdK/nlXdaUwKzVk9LNmrAefsBgtkRqy2USsZ6/SO/m2P7oQF9G6Rnu0u/n/n1cRlxL AWxOV8fTIsFYh7Jvnu92TTgKUgEdokapWS9I3xqEVx4mCEvaQ2xVTEgQ67p/cA9H0D qTgtfMCmhb1Nw== Received: from [127.0.0.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 10BD685EF6; Sat, 6 May 2023 17:26:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1683386766; bh=qtRNnlinREL4i+uxgLyKxfo0s1hIMpIqZnm7XhmdoVs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=zzlojcN3f9Yl3V8RQdmmZIVuIRpXwCiPDyR2QgCWFjcwFqhyRyF2HZe5blJVplcRB ji6RZizmJbq721BKr42RqaWodaYShXSYPPi+uc9gEyFY8tZtDLbCL8Fj/XxFjBmprS Gbr+ZjAStuCitwAYNkc0urKmCtTQFUMBSsWzoPACfzng0EJLgbbsEiZ5HdIIeV0xlf 4OU0aR13SGHZ62lNR/t52wjd93KkZ5Naf8mAuGN2/JOhOClHKdwhbucyznDeVZWLsN QntzsnL46rItks3o/YIQj9Hz9OSNVbdveXskUQ7P41Hg0YJH2YcDyAcWH5QfBWzMi7 jL6V3qzoVwVnA== Message-ID: Date: Sat, 6 May 2023 17:26:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [RFC] power: imx8m-power-domain: Add delay to align with kernel driver Content-Language: en-US To: Fabio Estevam , h80.chung@samsung.com Cc: u-boot@lists.denx.de, tharvey@gateworks.com, aford173@gmail.com, ye.li@nxp.com, peng.fan@nxp.com, Fabio Estevam References: <20230428195249.756879-1-festevam@gmail.com> From: Marek Vasut In-Reply-To: <20230428195249.756879-1-festevam@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 4/28/23 21:52, Fabio Estevam wrote: > From: Fabio Estevam > > In the imx8m power domain kernel driver, there is an extra udelay(5) > prior to requesting the domain to power up: > > https://github.com/torvalds/linux/blob/v6.3/drivers/soc/imx/gpcv2.c#L347-L375 > > Haven't observed any issues due to the lack of this delay > in U-Boot, but better to align it with the driver implementation. > > Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut