Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1388728pxb; Wed, 4 Nov 2020 07:42:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKV91akVCdOcmQZ/4MAUcl87SCBpyuyMtN3br5uZNzBgwR6W0rhwp9lbjF8qwQK5MxIgu+ X-Received: by 2002:a17:906:4d93:: with SMTP id s19mr21622039eju.271.1604504520578; Wed, 04 Nov 2020 07:42:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604504520; cv=none; d=google.com; s=arc-20160816; b=oWCscREX3wZ6nWRmczykvcebt+8rdnsOv6/d22uZ9bzFcE+c2BSKkTJWGzI4EgE20l lc+rExWVlGk2dAvV3D88jipx9w5uv+h8dhWah6WOaVS2vHbaff6qtxJNXPjNjXzHPkVt 5BdDgQQK26/0NZQ4Mx95x4vQYtlsxdDnX3zV4q3vsY4qiCupR55AQUtNcX1pQxN6oFaT 6GTve41I+R5kpMb22sAqlXFDEc50FkLk8KqBzPAJ3eQ7t7qx2gCUbPO6Ml/YMdMoxWSk /Sb8ZUqaYc38l4vZZ4d1KbXvMm4LlpA46pqqvZ0FIVr8hrFwnJ/plBTJEkoFpJbh8KYY P4dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wep9eHIlHmt9345GeonA3mlm93DwH2S4gpNglLx7w/I=; b=vjusjMRto56Pay0+JVgjrVZOT6dF8rtoMV3pSy70C5Mikx7QkIkFFfp8jagVqNrM8M B9WJ5a00vcC5liAUtCEjLUGFHanbULBUiuW9Vyt6oc63V6noYt9ma+XqNc7uZ/a1ZHZg oHz4RnkdBg9+hnDr4qZa3sMsPue4M2mjapMVfjXBRTJAIIQHQ9E9Cf8OHNvnJnn4h4oM M5xalD2InsRVsHDy12gTPD8Q+tYaSQ78OQAs1ixq/uwln6YU8KLaGNdLfcH9AY7DyaIz 7IQrg+sr9/hEL31XUpxuAUjPn226C1IzJ4D5lvPg3NnDtdGOIYzHsPLt3E+k2JsT8kIb 1X6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MxLEJVVq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si1521697edk.374.2020.11.04.07.41.37; Wed, 04 Nov 2020 07:42:00 -0800 (PST) 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=@linaro.org header.s=google header.b=MxLEJVVq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730517AbgKDPkJ (ORCPT + 99 others); Wed, 4 Nov 2020 10:40:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729992AbgKDPkJ (ORCPT ); Wed, 4 Nov 2020 10:40:09 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E208CC0613D3 for ; Wed, 4 Nov 2020 07:40:08 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id h22so2762553wmb.0 for ; Wed, 04 Nov 2020 07:40:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=wep9eHIlHmt9345GeonA3mlm93DwH2S4gpNglLx7w/I=; b=MxLEJVVqf/UWjuxQqDE7m/MC1xrKr/vmmDW7S2f4+oE4dqHNfSTeiVwhu2LvHCyqSg cIQovCeOxuYkjFDnU38UiZbpq9mLg1FaMCyClaL8xAbQLIldhy/TdU5/AMdcSuTreYht zWvrGGotrXjF5i3vNEFNYHemFmLncCiBAn37cqTRUXfShys9k2NWUcBEIFAVSVQcq3nd 0CPfUxC1O5Osk+06teqg8aE6/Os33n+3XG6+IbCDL67+vXLfZ+pNWI2RofrTWLTUr5Sa 9G5CIdHdPHyaLCIBBhJdehSN5PZFyBxiBsYjCc2eWaQUYxm+s1/wyXa398lONNNz7dYt QtwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=wep9eHIlHmt9345GeonA3mlm93DwH2S4gpNglLx7w/I=; b=uCxCqWXi3qMHl17SiUlJFipvODBsk29ZZ9i6UuvbMzYjfcXyTP2cdRvLhK69CKFepW r2Wl9yBOjiboACqvgRFmHNFrlz72xv4JYoX2pk7pwHAzc+DIHeLg6CEXJMqjd2KDAhTO Q+ihnOKe7bleUq21kUM6+LLcoI9gm0oTk+xhIv8opUSZCrP4XcLEiuQ0+FU24jO6UsPZ 1kH1cNmPv00evOw9lylWghyo+0c7wqqOZVG9F0Az5J2Xoj5BPCTKG9j0da8c3IuhyqYv 3IdoxcrT00jVdIzzOcgdbPCFYPt3Ix2d89I6BopzrLYdPyIjvenfT4vBWRoRp2HzSRRR Za2g== X-Gm-Message-State: AOAM531auOYtZx6cJ+6s/ZvUdjw//E5qTkNKNDbhCncReIN9bK6NLWEs DECDuKAKU8Wb7M7G8l8u1XN/6EF82TbY4iyR X-Received: by 2002:a7b:c157:: with SMTP id z23mr5214407wmi.70.1604504407665; Wed, 04 Nov 2020 07:40:07 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j71sm2807895wmj.10.2020.11.04.07.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 07:40:06 -0800 (PST) Date: Wed, 4 Nov 2020 15:40:05 +0000 From: Lee Jones To: Charles Keepax Cc: linux-kernel@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH RESEND 1/2] mfd: madera: Add reset as part of resume Message-ID: <20201104154005.GO4488@dell> References: <20201027094132.16472-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201027094132.16472-1-ckeepax@opensource.cirrus.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 27 Oct 2020, Charles Keepax wrote: > The DCVDD supply does not always power down when the CODEC enters > suspend, for example shared regulators or always-on regulators. In > these cases if a register is written back to the default value whilst > the CODEC is in suspend that register will retain the previous value. > As DCVDD never powered down, the register retains its old value and > as the cache sync only synchronises registers that differ from the > default the new value is never written out. > > Ensure the registers are in the expected state after suspend by always > resetting the CODEC on resume. This also has the benefit of being > recommended by the datasheet for DCVDD supplies that take longer than > 2mS to rise. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/madera-core.c | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog