Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1727170pxm; Thu, 24 Feb 2022 08:17:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7kA5Xp2aMOxsHAv8DLz/Pv6WKrjuSaOPILFOljGu8lQV8CWWnLP8H56Io7NJAwg8PlGnd X-Received: by 2002:a17:902:e54d:b0:14f:fb50:8ad5 with SMTP id n13-20020a170902e54d00b0014ffb508ad5mr3339396plf.160.1645719438105; Thu, 24 Feb 2022 08:17:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645719438; cv=none; d=google.com; s=arc-20160816; b=LY6ZyFPBLI09hwwTTnw7BTn3tsu+03Q1VBhfoI2g7L2JGjP3De9ESUVeVP6c+h6kEZ XqYDK7/1SGdbk/Vu0AmLZdfucuGTuYvLPhNAoSx1r/tYcC/lcod+VW8I5WlLGo0CF2aA CXBhymDvHfFBPrXhF5Sa52LureSFG5K29g9rTJNqvjqn0+w5c8Ayg4pknr++E4cJMlMF KS6tPfzmCu2JyrhsYHP7SffQsa5yi+vHfaxoOAg4fbt/Y0Y8yNs2ByhC8kNDyZ8R7UcD BZt0pLdOayvlmsyDeW+FxbnrRFsTRblXINQQB957PWJmtK5XDAzjT5KMGzgmeMzOoFCV eAXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZZiX/HbfUf7CvS2QcCxqTedY9NPpwHD3nZTW881yDQM=; b=emrqOnRP8Ay6fIaFX9k11ILtxCu4Qpvx35LxZzFn9NYsdXSo+G9C2B0twT0/zx6B74 Aq2NfTf5O+wVOelH8/dxR+QuDp4eunZZciqk4pjiTFPlGGvQKYSM3DeyOqWRa9wZ8HVe zdN7MrJQAbXMLZkARQTGFKAHD0HgiqW6PAPMiq+umkLjKYvUTzIwSOfCZCjHtGYx2C+j iSvc25ckWWCASIQ3KWLUOtI3/MhK6EdjKoL03w4WECCm6+Xx8hauFAOapMJxslO8rNLL wPekUfawh2NqxqE+ixf113vKql7YHWABgeA2OyvHPki3ppcu6S207PV8qWNNEETCugF9 Y0QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WBsP2n9b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w1si106032pjv.49.2022.02.24.08.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:17:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WBsP2n9b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 08F1020A97C; Thu, 24 Feb 2022 08:10:45 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234741AbiBXPpz (ORCPT + 99 others); Thu, 24 Feb 2022 10:45:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbiBXPpw (ORCPT ); Thu, 24 Feb 2022 10:45:52 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 723237EA02 for ; Thu, 24 Feb 2022 07:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645717522; x=1677253522; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=9+DVXx/isU6uWI6/XyBC0Lnisob2NuO5FXAXMzKIKQQ=; b=WBsP2n9bNrkP9pFry6jEh1+v2K8hyyU9aGn2TAtmb5dYtcSu9RI2g0z6 G09Yak9efLf04yCdoy3hZPJUyWxUwnZcsvREkFQt5/R03tB0kbFosqSwN bcK9CiFovVzEdV0DDqC1zCkz1u2UmnW4hoyjp2IWwQ5nMe7yC2BkMcdUc VRzoxEJgwhk5nXvlku6U8LypIq5UUC3JRrhjESiuQywkeMlCIDm1wt7A3 yB3+MRPkDXjallKxxjCTNGuso/118aSgGES2/AK3+c9ov9J35XWe62cqV MhNgCz7WfsC0tbpfL94rkaQzu2xHRmi4Q1Kl7wKo9926BdTdAG7UiHpk9 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="239663581" X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="239663581" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 07:45:04 -0800 X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="533178468" Received: from ronakmeh-mobl1.amr.corp.intel.com (HELO [10.212.97.131]) ([10.212.97.131]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 07:45:04 -0800 Message-ID: <522ab282-ecc2-4186-2d77-f6241e255109@linux.intel.com> Date: Thu, 24 Feb 2022 09:29:25 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: [PATCH v2 14/16] ASoC: codecs: wsa881x: add runtime pm support Content-Language: en-US To: Srinivas Kandagatla , broonie@kernel.org Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, quic_srivasam@quicinc.com References: <20220224111718.6264-1-srinivas.kandagatla@linaro.org> <20220224111718.6264-15-srinivas.kandagatla@linaro.org> From: Pierre-Louis Bossart In-Reply-To: <20220224111718.6264-15-srinivas.kandagatla@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 2/24/22 05:17, Srinivas Kandagatla wrote: > WSA881x codecs can not cope up with clk stop and requires a full reset after suspend. > WSA SoundWire Controller connected to this instances do a full soft reset on suspend. is it the manager or peripheral that cannot cope with clock stop? > @@ -1124,6 +1136,7 @@ static int wsa881x_probe(struct sdw_slave *pdev, > pdev->prop.sink_ports = GENMASK(WSA881X_MAX_SWR_PORTS, 0); > pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop; > pdev->prop.scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY; > + pdev->prop.simple_clk_stop_capable = true; here it's pretty clear the peripheral is capable of supporting clock stop, no? Something's not clear between the commit message and the code.