Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp62283iol; Wed, 8 Jun 2022 21:56:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzegyMhJMBL0z7Y0BSF0uYVTPq3B0lotqdxGFFYovVNyuhArJB5u4PVJw+rbiv7aA9T0V9U X-Received: by 2002:a17:906:5187:b0:712:477:df9b with SMTP id y7-20020a170906518700b007120477df9bmr1535211ejk.424.1654750590491; Wed, 08 Jun 2022 21:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654750590; cv=none; d=google.com; s=arc-20160816; b=UhkvR7iJZkCzxWDO2XlVH4q6zy4JVo1PEkatPlsMz8zDBtppup0N0Cgj1MtPJnyqtC Cg9yBgrEfucWZv1jmQ40YEvAf6c3Xnq5k2eMlxsNZvGR8K8TVLGh0Bb6NciMX1CjdOrl h4db3TcgHGkBOb73ADhPc6ifs9tMrcJc3Zf8Nblir6elpiKcOrBug/2q0wiI8/72sa8y xmoBYcGHszhAWX7mjsEiwFViECKaQI43MJoNsWmgTYeOSzThlC7TvunPFhVzgxtNL7iN XxMBEwPYU9bx5RsDeN96rjObTjDdHu0jHvpn2MGFkdK21mhUhmg8KKxGiCo2Eqha2WKD IaKQ== 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 :organization:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=VwSCxtfjoGb5UeI2RV1IBmJ9l3km93Sfi1WxCqZI0Tw=; b=TUUOFyvCl1CI40ttsAAWDXiy+nC4khsQPNGI6dv1BYAW0q+6GQ1Q4Q8no81pDv3amf Jcmq9LSzjGKTo0Qo6JlA3DD4ga8AvZHcIIpjwYrHkpR7JUDJFXfdTd49sKNaclxIXp/M AbxeomDpyM+d1t08up5lSOiFDgl7y5wPMUanzs2limc8eNrRqYsUBQP/3P1bqXqjP21O hahdNrTPkA8kZ2brZ5vVjNKsnpC4/OjxXnLZZGnhCQ11451tsQEIdG9DNdlEMmYMKzJl ywfxAt8WEqihcZT2rEMONrAbe1u6wEUkRdmi0WS7c6tEVgL3rsfhgilbv+ninjfLxUt9 aDFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=mi42UTkA; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh9-20020a1709076e8900b006ff232a244esi4687217ejc.731.2022.06.08.21.56.03; Wed, 08 Jun 2022 21:56:30 -0700 (PDT) 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=@quicinc.com header.s=qcdkim header.b=mi42UTkA; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236691AbiFIEfI (ORCPT + 99 others); Thu, 9 Jun 2022 00:35:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232169AbiFIEfH (ORCPT ); Thu, 9 Jun 2022 00:35:07 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FD4FE443C; Wed, 8 Jun 2022 21:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654749305; x=1686285305; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=VwSCxtfjoGb5UeI2RV1IBmJ9l3km93Sfi1WxCqZI0Tw=; b=mi42UTkAxylsMT7chku7Tl3u83laI0BYLThRRZDWoVnVPnZqpvvEi4eg xcu5uRy/eBivxjJO2H3DLcZ5dMp8uTzjHVPAP3ng80PhPM28s66FoNnlu 1d8hvZYfJvPnY9M65wI62rADeHqes2sOeZlF5M2aYdma1zuUJYdYbGxwM s=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 08 Jun 2022 21:35:04 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2022 21:35:04 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 8 Jun 2022 21:35:04 -0700 Received: from [10.216.22.79] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 8 Jun 2022 21:34:57 -0700 Message-ID: <20472a54-6ba1-5952-1344-a3864c2fa9f3@quicinc.com> Date: Thu, 9 Jun 2022 10:04:54 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v3 1/2] soundwire: qcom: Add flag for software clock gating check Content-Language: en-US To: Pierre-Louis Bossart , , , , , , , , , , , , , , , , , , References: <1654696929-20205-1-git-send-email-quic_srivasam@quicinc.com> <1654696929-20205-2-git-send-email-quic_srivasam@quicinc.com> <90a49c5c-7433-cec4-cb86-1424209a54e4@linux.intel.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: <90a49c5c-7433-cec4-cb86-1424209a54e4@linux.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 6/8/2022 9:09 PM, Pierre-Louis Bossart wrote: Thanks for Your timeĀ  Pierre-Louis!!! > > On 6/8/22 09:02, Srinivasa Rao Mandadapu wrote: >> Add flag in qcom_swrm_data private data structure for validating >> software colck gating control requirement. > typo: clock Okay. Will fix. > >> Signed-off-by: Srinivasa Rao Mandadapu >> Reviewed-by: Srinivas Kandagatla >> --- >> drivers/soundwire/qcom.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c >> index a3fccf0..38c3bf5 100644 >> --- a/drivers/soundwire/qcom.c >> +++ b/drivers/soundwire/qcom.c >> @@ -181,6 +181,7 @@ struct qcom_swrm_ctrl { >> struct qcom_swrm_data { >> u32 default_cols; >> u32 default_rows; >> + bool sw_clk_gate_required; > I would have used a different split between patches, where the flag and > functionality is introduced, and a second patch where this flag would be > set for a specific platform. Okay. Will split accordingly! > >> }; >> >> static const struct qcom_swrm_data swrm_v1_3_data = {