Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp946443pxp; Wed, 16 Mar 2022 22:14:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+winVj7vSl1/2oO/qxmDo5TtxOqBMPGi1mTWqHiE7fV7ZmjnmaGIZewGmkW91qs3NLInh X-Received: by 2002:a17:90b:1648:b0:1bd:28ac:859d with SMTP id il8-20020a17090b164800b001bd28ac859dmr13694690pjb.59.1647494075504; Wed, 16 Mar 2022 22:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647494075; cv=none; d=google.com; s=arc-20160816; b=KvAfQcPYl3Fbw/tvkN1HV5T4bRaieCKCwqgjyWHM8Dy5m1KiflzdjLcHVESVWmm5ms cLDOZemgwav/59u8dUZWKbmYyuOdi3w79xLg0mUYkmVRn4bDQ8Hc033TgNrjdePqDmOB gLRx6vu4WLeePPRJGq0b5Ck8UPiVK5abiiJsM/v+9iKw62GmN3kRTzxx14G7E65A2dhd wjoQM8PlNZqt6jBoMyZKRFQGPxw/VtcG4+jXiWhTq+xKxAhDy5d62yG+Un2QkRg6lyoR X7vjEZ4IolxQHWB6jHXoK4vArSXimfE9wZL6zp+IuSMvwWjmfMHU9K1Uy1xxDcIwfZbw bYyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=e2dBLCmNcOzAT0oxEMa0bJbwa7htg8DvB68cq5hYmS8=; b=EzRWnBLWffdIiul0BF0OpXdr0+ZpQfOJL7E4hbo9J6QufqKXEc9YOjhFeMCRIPVl3P TIqbaRFs24CJZWS4887lWoL2JO3VVhdmASWyRUqWLl/jNlyBXm2SLwzdfSFb7uXgIjL2 KEKu+Nc5VAMR7qzEOS7r3PXEm7Oz15jEISrbNHCDf6rFD4d8cE4obFVgXqdRgiOyva50 oLmOW2LgkNSSsX0BLAfrohTleOxFYR+fU239HN84DJ2RfdAnrHGuxs6SdsPbIC2hbIcZ L21BBudnqVssi1Qov5DL01DaZ0hhUnGBEvk68jxcEfwveKijrJQDH1wUZmwD5RnbKFSN Qa9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uD5H4O6+; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b5-20020a63e705000000b003816043f004si1029242pgi.505.2022.03.16.22.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:14:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uD5H4O6+; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8C248E1B53; Wed, 16 Mar 2022 21:23:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242672AbiCNPlv (ORCPT + 99 others); Mon, 14 Mar 2022 11:41:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242670AbiCNPlt (ORCPT ); Mon, 14 Mar 2022 11:41:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5566443F7; Mon, 14 Mar 2022 08:40:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ABA2E61274; Mon, 14 Mar 2022 15:40:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED6E9C340E9; Mon, 14 Mar 2022 15:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647272437; bh=N1ifLpIgpRyYM2X3kH35gK6SnVXZ+nbBy9A+jPeXgNc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uD5H4O6+coUBFsCf4fK4LZgvjR2Cd3aTCyXWAd6DT5oWoApFckalq34tQJW0fctXG IeCvu+s2eI00ZjmcPTHcNyJh386gwZH72RtkGRCqg/PwQ84CoZF3VGxIG2awuWkl/X snPWL9Erf/iijlopvkbv3ImsSKDpeWGUYHQJOOiBbNMlSJFy+lMTMsT8OjMXHoTHsp 6YPKSfns04BKVKiNaBCx5vHoQ9Imbzjm0WX/5fyq7ORmbXnY7v1cinOnwpjWiKLtxt su8Bcm0BZy9Og2Z3yWu6rumprqgU/wer2q2R7DvAjSRXZ7FnY3K01hj07h2scUdTmS XKZ2PMSDiyWIg== Received: by pali.im (Postfix) id E242E824; Mon, 14 Mar 2022 16:40:33 +0100 (CET) Date: Mon, 14 Mar 2022 16:40:33 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Ulf Hansson Cc: Marcin Wojtas , Linux Kernel Mailing List , "linux-mmc@vger.kernel.org" , Ziji Hu , Adrian Hunter , jaz@semihalf.com, tn@semihalf.com, Kostya Porotchkin , Alex Leibovich , "# 4.0+" Subject: Re: [PATCH] mmc: sdhci-xenon: fix 1.8v regulator stabilization Message-ID: <20220314154033.4x74zscayee32rrj@pali> References: <20201211141656.24915-1-mw@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 11 January 2021 19:06:24 Ulf Hansson wrote: > On Fri, 11 Dec 2020 at 15:17, Marcin Wojtas wrote: > > > > From: Alex Leibovich > > > > Automatic Clock Gating is a feature used for the power > > consumption optimisation. It turned out that > > during early init phase it may prevent the stable voltage > > switch to 1.8V - due to that on some platfroms an endless > > printout in dmesg can be observed: > > "mmc1: 1.8V regulator output did not became stable" > > Fix the problem by disabling the ACG at very beginning > > of the sdhci_init and let that be enabled later. > > > > Fixes: 3a3748dba881 ("mmc: sdhci-xenon: Add Marvell Xenon SDHC core functionality") > > Signed-off-by: Alex Leibovich > > Signed-off-by: Marcin Wojtas > > Cc: stable@vger.kernel.org > > Applied for fixes (by fixing the typos), thanks! Hello! Is not this patch address same issue which was fixed by patch which was merged earlier? bb32e1987bc5 ("mmc: sdhci-xenon: fix annoying 1.8V regulator warning") https://lore.kernel.org/linux-mmc/CAPDyKFqAsvgAjfL-c9ukFNWeGJmufQosR2Eg9SKjXMVpNitdkA@mail.gmail.com/ > Kind regards > Uffe > > > > --- > > drivers/mmc/host/sdhci-xenon.c | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/mmc/host/sdhci-xenon.c b/drivers/mmc/host/sdhci-xenon.c > > index c67611fdaa8a..4b05f6fdefb4 100644 > > --- a/drivers/mmc/host/sdhci-xenon.c > > +++ b/drivers/mmc/host/sdhci-xenon.c > > @@ -168,7 +168,12 @@ static void xenon_reset_exit(struct sdhci_host *host, > > /* Disable tuning request and auto-retuning again */ > > xenon_retune_setup(host); > > > > - xenon_set_acg(host, true); > > + /* > > + * The ACG should be turned off at the early init time, in order > > + * to solve a possile issues with the 1.8V regulator stabilization. > > + * The feature is enabled in later stage. > > + */ > > + xenon_set_acg(host, false); > > > > xenon_set_sdclk_off_idle(host, sdhc_id, false); > > > > -- > > 2.29.0 > >