Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1507009pxm; Thu, 24 Feb 2022 04:40:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbHvgnD/RfS9BX7Ko3p4TIjwq1J6U3s3vgUVPn7zVrG+FI51GnynHZJ1FpZ46yNOfK69bU X-Received: by 2002:a17:906:e288:b0:6cf:bb19:bc23 with SMTP id gg8-20020a170906e28800b006cfbb19bc23mr2070909ejb.73.1645706437330; Thu, 24 Feb 2022 04:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645706437; cv=none; d=google.com; s=arc-20160816; b=FhBjvdPqTh6tpv7vbD9rh92KgVKSKMqBQACnv5HREIsDpYg9aGf0kB2Heqz30CUJTN QNryv3aDMUX2iB1EO0LPiIZ440LeJu99R8Tat/IJE+eu2+DtZUJ2kdv4LL0RQ3Bi2zzg 4HdeHy1fvb7o4TGKBozgqUkXXrITDtQl4MmaZcxCHOzR3cE3wI4xFAn5vV6hhdn8uc4n NWIsSYeOrlMoK2c2mm2wXytPveDOEYovY6m3eO7nFtj27kMuid4EM/FvzSbkl1Pz/bcn PqumVdSHN4yLXWZpK76WSsK4Hhi03DwnsgwiycmFyZJFL0Fsr8SZdhshzK5cG4dG4wOi L8MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LfKStxRvgTEmdqhNQGyq07ydIW9Hyz4sxw/jfz5hVYw=; b=abNz81UwFwa86/yx2BeFQN1PCpMhOxlf64ZP84MrD9HZxNDOM8kplqzW1O89Dx8/eY N7WPKGguyVjONNum4Gm4rXsqnPaFvaNdOMcVvkFSD5k0ZAL3kWu5kAX6RvvRcJRYy2yi sA+5j7qLLrV6aqPqFKFztF7PbH7KN9ckwyF8/eJdzLedFoShIVEWaUEUSr+Nju2OVOyZ CNLgPUI5CbpVS7E7RIy2Fpq2LEDSJef9WTBT4vuLqekYqMHHqGjRf648eKI1IkgLAaRk B0nuthHjOrcCcGjAL+lhbK+y2SoDwec+8Z8mCkjEaNv6Q7RHs1UK8TetyYzIKze6cNGr LC6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="r7/l65/1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg35si1555744ejc.898.2022.02.24.04.40.13; Thu, 24 Feb 2022 04:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="r7/l65/1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231792AbiBXLTH (ORCPT + 99 others); Thu, 24 Feb 2022 06:19:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233955AbiBXLSK (ORCPT ); Thu, 24 Feb 2022 06:18:10 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D61D16E7D2 for ; Thu, 24 Feb 2022 03:17:40 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id r10so746515wma.2 for ; Thu, 24 Feb 2022 03:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LfKStxRvgTEmdqhNQGyq07ydIW9Hyz4sxw/jfz5hVYw=; b=r7/l65/1oIcrXfeQMVC71/5ogGArMOi/oLoSasc+FcBBcXlOrqSYFlPWedgjDjMnhb gJmBZPCFhf71QLIyP9+ilt7CBR2VUVRTLRCr26CThISQ0VBSERN11vsNDHWjlHRgxrkD iInDeLhpIy1O4W/EuP2sxdzBVIyuOM5FQ0JgZakch9wTfzx7N88xoJcfl3B1iPtNRmW0 3wuTRxjxYWr7DjdNt6Bde8ukt47mSQWK8R2m+BwzXpzoyejcUo2XAo02FPoOyMU9kpTM yaNA4iW3xIKaNLZ7S2vvWNQh9PLo7AFZ8cFCp2eZVC6mgT8D0uej0iayS4bTrbmCiIqA uclQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LfKStxRvgTEmdqhNQGyq07ydIW9Hyz4sxw/jfz5hVYw=; b=vpqqez3A9aTDtIhUjkPI8vfFXXKaH2qMpTENmMpZUcWa40J++4sohyjI3c4mUFZY4o Y+jMzQ52j/MZZJENwQfr1KbdZJs3SV0K8vr+aKAlf1xlqMsnZ1bOWCZqtIOz25qkuFli eT6H368/xRCfdsGcdhOdk+15vG7qZRUgQRDjQFl+MIUlOXTD8eB3M/6phMFAGeIVzzru mj+PB0EOvHIn1SPb8NfPnKxdFj/KK9k3ZGOELsSn9M57lb2rM/VjdvYCiKQyUWZIgg2O Iu7lgxV+X+dZEqhFNi58ZpPxS0vjdd9uCxnZJLn+QIbuDpamv5v7h0IBjLqoafxgoa6x F+0w== X-Gm-Message-State: AOAM533MO6cPuif+MoRbQuIdHhUOGKy8WmiA/u5cWJ+cy7LBR7oomG2e hsH579H+1r/SNZvNvnH9IgBj1w== X-Received: by 2002:a1c:a7ca:0:b0:380:e40f:c31a with SMTP id q193-20020a1ca7ca000000b00380e40fc31amr1874845wme.85.1645701459163; Thu, 24 Feb 2022 03:17:39 -0800 (PST) Received: from srini-hackbox.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id t4sm2245737wmj.10.2022.02.24.03.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 03:17:38 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, quic_srivasam@quicinc.com, Srinivas Kandagatla Subject: [PATCH v2 15/16] ASoC: codecs: wcd938x: add simple clk stop support Date: Thu, 24 Feb 2022 11:17:17 +0000 Message-Id: <20220224111718.6264-16-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20220224111718.6264-1-srinivas.kandagatla@linaro.org> References: <20220224111718.6264-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 mark WCD938x as clock stop capable. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd938x-sdw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wcd938x-sdw.c b/sound/soc/codecs/wcd938x-sdw.c index 1fa05ec7459a..1bf3c06a2b62 100644 --- a/sound/soc/codecs/wcd938x-sdw.c +++ b/sound/soc/codecs/wcd938x-sdw.c @@ -249,6 +249,7 @@ static int wcd9380_probe(struct sdw_slave *pdev, SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY; pdev->prop.lane_control_support = true; + pdev->prop.simple_clk_stop_capable = true; if (wcd->is_tx) { pdev->prop.source_ports = GENMASK(WCD938X_MAX_SWR_PORTS, 0); pdev->prop.src_dpn_prop = wcd938x_dpn_prop; -- 2.21.0