Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1754513pxm; Thu, 24 Feb 2022 08:46:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJysoMSu3/Dd3lxpN+yGTkdVcRDxmuEKv5I1TsSHVVOXs6ntMSUaQFvTc6e52kEy9+3zq+sn X-Received: by 2002:a17:903:120b:b0:14e:dd7f:f3e6 with SMTP id l11-20020a170903120b00b0014edd7ff3e6mr3390915plh.28.1645721160674; Thu, 24 Feb 2022 08:46:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645721160; cv=none; d=google.com; s=arc-20160816; b=MsTTpacDH5+7GeE8NtoFUmivQUznkZ5WIFTz4Ro65Xlpl/5+gJiAsfRSFbnXiAIXtz 12qkmRNTc21JktIiJ9VihycnNLGKmrKs7XunlUUZPaSi/2kz/kAlgO4F1I98eohAx3LE kp33+1rWQ5iubLCGVWsr6Ycw4aSNcQOepi5RLCEolfz6kBfWD3nfyDV6/DBmjB4Y2EkU pSSKwNNKQ6BlSfbSgO3In8xKaOv7Lf2vJmi6VbVl/4fE9Xu6C9YwEL5XNGd49kQ8fX7p WWG+mMtc/f8UilmHZM8wuZSTG0Cib6cyoPa82SmmgO10JFcGSyQ/+s3gSthLqDPtieuO Qpow== 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=W/wmNqvkNRKH1gO1S389jk2HIm35cz9EGXNpcHB0DIw=; b=KUCX6UageUQ+bkBO/N/Lu+cfc3qd03Iq/zNpYIhE5lSDgGj+rwKlbYlTtnY2lZ2Oor 4HeqEBYqfO/CsTQLQ2Jj/4VAG8JC9NWKlA7OlWdbZqURlEPxD1ogYp1Zoku4D/Anz4Sz W8cTztb1i6aG8cBdGyoXejT6amcS/nqVjINA3MpkSCavJ1Qc5BJYkIpWSyX3DIkgKJ/B Zk48BKBe7ESDZOyfWXCfD7iC3UntYISN2cUIKLrYesn7AJGzqerW3IS6wcmJp+fH/s9t DpVU9rp4+Tf2s/knIHphadj6+TqpuPGmtTGAsBdf9NSWn2jQgYTjRWfbfEaAyEyij0cX ZQHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hro208Z3; 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=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k16-20020a17090aaa1000b001bc54a216d3si22551pjq.30.2022.02.24.08.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:46:00 -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=@linaro.org header.s=google header.b=Hro208Z3; 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=linaro.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F24921E1110; Thu, 24 Feb 2022 08:25:29 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229573AbiBXQZ5 (ORCPT + 99 others); Thu, 24 Feb 2022 11:25:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbiBXQZz (ORCPT ); Thu, 24 Feb 2022 11:25:55 -0500 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6424E22B08 for ; Thu, 24 Feb 2022 08:25:10 -0800 (PST) Received: by mail-wm1-f45.google.com with SMTP id c192so166936wma.4 for ; Thu, 24 Feb 2022 08:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=W/wmNqvkNRKH1gO1S389jk2HIm35cz9EGXNpcHB0DIw=; b=Hro208Z3aTFu4uq3IemoXRfv9uG8o6r64rEL3skqs/rcSF7CEzlLjJ73MPe3jm5Z50 WPw3iBw2EDggDxPD1+HcOMFYvXrpTBTOXFh5AshPxXQYW+6qzmn9lshNUaGxbLuT3VYf Z4N+L2buLPNjKsnIig87LGN+SJdmrVkuB1/PcrudJpmemlt4rHgWXTRpKa6bEqLNnvi7 DxuPgAbNT7dUTLmclbXQyjP2tergdmgMTtCauV2Mewm/SsdWCW0ddGKlB93sQUBeiAfb DY3hVaI69u5wRZWAkT0zP78dJ6bCmhyvFU8mdkvXqGs25Umps1y0iIX6Y3jBVYQ+Hkuq gkiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=W/wmNqvkNRKH1gO1S389jk2HIm35cz9EGXNpcHB0DIw=; b=eGgILYzbgj/riW5iN2FAIBbaZxGoc1cSSTw18b/0X/SewRFSP6BUUYeqwLtq8GbhNx J2Xf5/s1TFocYevvVawCgYuIW6MtEnU1aFbkzhK6K0bWCx9uJHtfbPuhJhHZn3cZATm3 NoUpbAAVbehPm0pb6apLpJ0a7vUwLv/jnK/BaJTQur0XJNIxsC1nq6UUoPrxguTqdiPa QGCmR2Z26zRF/Eo6Vd3g8/Syg1RuyjJ/6zG0Sw6Aei453wEIxiMWef7ZCSEPfXUVzrL8 qod1O09kAREhdsehm6QlfoUmBXT+tZ3Cj+F2zOBhbq7Dwne7NVz1d+HtFGuEWVo1FPDw hhIQ== X-Gm-Message-State: AOAM530xnq8TRylbMl9qUVKRThkNCRJrfdKxg3yKj0gA9scmL8K0JEcX d0lIPF7IcaSw5UZMvUtmnTDs6W8X+KcH9A== X-Received: by 2002:a05:600c:35d1:b0:37c:d45c:af57 with SMTP id r17-20020a05600c35d100b0037cd45caf57mr12201121wmq.149.1645719231791; Thu, 24 Feb 2022 08:13:51 -0800 (PST) Received: from [192.168.86.34] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id az21sm3051490wrb.111.2022.02.24.08.13.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Feb 2022 08:13:51 -0800 (PST) Message-ID: <86253ac7-ef06-974e-9b2d-6575ad5b7195@linaro.org> Date: Thu, 24 Feb 2022 16:13:50 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 14/16] ASoC: codecs: wsa881x: add runtime pm support Content-Language: en-US To: Pierre-Louis Bossart , 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> <522ab282-ecc2-4186-2d77-f6241e255109@linux.intel.com> From: Srinivas Kandagatla In-Reply-To: <522ab282-ecc2-4186-2d77-f6241e255109@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 24/02/2022 15:29, Pierre-Louis Bossart wrote: > > > 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. True, This should be removed along with attempting to call clock stop functions from WSA SoundWire controller suspend that does not support clock stop. --srini