Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp822950rdb; Thu, 30 Nov 2023 22:07:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvDAS/IjqmzHpQojBBpA1r1JK+7q807dPTQ9oVa1XoIoN5IpzFOLt/0nbSASRPJ5STec1J X-Received: by 2002:a17:903:25c7:b0:1d0:58d8:bb3f with SMTP id jc7-20020a17090325c700b001d058d8bb3fmr287617plb.49.1701410863217; Thu, 30 Nov 2023 22:07:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701410863; cv=none; d=google.com; s=arc-20160816; b=wOEzFJsUPrLWb6U/lqsxS2AUijKd8a1JbygWzCToiCAQeALv5oFYgV9GCP0XAvYW5s 3cJKCoQbdCsZwPvlfrews2opaEKUpL35cjsuoTi95a4tu7Uc4z7aHQkFznoVT8U971tg dkiS4VurSLLzljV+AnG7wGl+YbpOut5L19dZbC7HFt+bB87nOc6NJDHjQZSZNqqaFaaf 0Ye+09fXWB1lFUUg1saSGqxcVj4w2x+MDmw/zVrMJ/vbRvONXu6USZqATDHM7o2dMDmt bNmPRyQf4iFtb6IPPHyi2mR08A3MFI8YG99zm4vB9Dg/Th282qTj4/40rbsjtJSaWzgK SF5Q== 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=Kgy5hlcvWH3mv4+OMDEYg4gGuadNVhIN6Sw8oNb6ClE=; fh=NqkzdDzSdjkJJY3h1GXX0RgfAPdcsN1aqeytLsZuZbM=; b=lmnGk1+CNnzWNZjIxWrn2H5HokUf4LIVCzPvAunmYpZCjdYWIqM7779yglVBuBFw2v xk0A8GNo53+/7+6TQJFX1gi1GS0fUaxEPFSB2Gajd1TQx/gsghk5oc/gCBjggjcidgbN OvxAxL3x4cXIZmehzrQHmKpzIoP8XqN6CQ7Tz2anuR5mISqmLTwfIVzyHYV+e869nJml qBgdM9a7Yt6WavosJ888O6bDlzN2M1Z+5UO1NaOroLhn00HbYV34fgRPc5DfXFCdwJmR 01pZNRWX3qD6ar+52y0I7hoWwHxuw64rTJbRKrkJ+hqi8t+qERiVV863GfuMaWVElM5V BfxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MprJc8WC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id bc3-20020a170902930300b001cfb6a814a0si2605237plb.288.2023.11.30.22.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 22:07:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MprJc8WC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B5A2F80FCBC1; Thu, 30 Nov 2023 22:07:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377402AbjLAGH0 (ORCPT + 99 others); Fri, 1 Dec 2023 01:07:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbjLAGHZ (ORCPT ); Fri, 1 Dec 2023 01:07:25 -0500 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2320193 for ; Thu, 30 Nov 2023 22:07:31 -0800 (PST) Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-77d8c38ea78so89914485a.0 for ; Thu, 30 Nov 2023 22:07:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701410851; x=1702015651; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Kgy5hlcvWH3mv4+OMDEYg4gGuadNVhIN6Sw8oNb6ClE=; b=MprJc8WCS3au6vGnDxfd3X5nt9Lzyovn8sGqZPtTb3RH5vp5Jaa9UiRmNZd/QRwKFs xzT5G+6+UDFF1NRNx1iWfDDrMSpMPtTrTEGIfqkTzdQrGVQZbu41QHLM9AMRxliDmhX1 mpR2ODU+RbBUE3rUIS0v88FZbPLneqp9DiK6udeZE9QuGGx5YcHRYW6b66aLq3z8sV1Z hxfaf13MtVd7+cvPI4QI1+646esMflrm3oVnvOoPE1pVrpUftnVCeGRVj7XeJiN5C8Vr N2OKBcG6vgY9gh53uco53JQ29aQ40k8ue+GEWPMMj9PWha4DpRXQgYDydPkzOgRCjuCW KeqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701410851; x=1702015651; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Kgy5hlcvWH3mv4+OMDEYg4gGuadNVhIN6Sw8oNb6ClE=; b=KqDlxu8i+Tn1PklStuwijHGr1ehu395MIFDIi7R11M3cUERiqQcMTRUHfSGeGir25q XjGk7HmMFEoLl5dSCr6HcyypxBU9Hq9JsJPdv0FcHAdc1cnzl9KyTM7H9JZAWI9Nspyz 5xM41fOweZ9z5iPiXf1xMF1GZt3rtI8OWGKrpPBKgL44Vo1ZlZfHoaXVb17rt/W1BGKN ngiba1hqC9NV1fljGFXracpSJ/XeCQ5dOPq/0bcsGxpG/dZffPQFuumjcxL2tl1BlD7Q iFMQHQPAq/8lPbeJ7IchweABcsBO+wB5w4J2W1El6j9CgnoW+1tYOUeXJKQi0WOG9GPv cOxg== X-Gm-Message-State: AOJu0YxZGVkkMnK6gWNMCu5r7MOXP1OYL8CLGz8m1cGNMAtkU4xIeEuW 9bgLv7bL+EJFTNKRnEYqmIiR X-Received: by 2002:a05:620a:34d:b0:77d:cd41:1254 with SMTP id t13-20020a05620a034d00b0077dcd411254mr7559516qkm.12.1701410850808; Thu, 30 Nov 2023 22:07:30 -0800 (PST) Received: from thinkpad ([117.213.102.92]) by smtp.gmail.com with ESMTPSA id d23-20020a05620a159700b0077d749de2a3sm1199149qkk.67.2023.11.30.22.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 22:07:30 -0800 (PST) Date: Fri, 1 Dec 2023 11:37:16 +0530 From: Manivannan Sadhasivam To: Krishna Chaitanya Chundru Cc: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_vbadigan@quicinc.com, quic_ramkri@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_vpernami@quicinc.com, quic_parass@quicinc.com Subject: Re: [PATCH v3 1/3] dt-bindings: phy: qcom,qmp: Add PCIe qcom,refclk-always-on property Message-ID: <20231201060716.GJ4009@thinkpad> References: <20231127-refclk_always_on-v3-0-26d969fa8f1d@quicinc.com> <20231127-refclk_always_on-v3-1-26d969fa8f1d@quicinc.com> <78815f1b-7390-40de-8afd-ac71806f4051@linaro.org> <24fae40a-453b-b14c-923f-88758a246aa7@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <24fae40a-453b-b14c-923f-88758a246aa7@quicinc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 30 Nov 2023 22:07:40 -0800 (PST) On Tue, Nov 28, 2023 at 02:49:18PM +0530, Krishna Chaitanya Chundru wrote: > > On 11/28/2023 2:26 PM, Krzysztof Kozlowski wrote: > > On 27/11/2023 13:13, Krishna chaitanya chundru wrote: > > > Document qcom,refclk-always-on property which is needed in some platforms > > > to supply refclk even in PCIe low power states. > > > > > > Signed-off-by: Krishna chaitanya chundru > > > --- > > > .../devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 7 +++++++ > > > 1 file changed, 7 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml > > > index 2c3d6553a7ba..c747c9f35795 100644 > > > --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml > > > +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml > > > @@ -93,6 +93,13 @@ properties: > > > "#phy-cells": > > > const: 0 > > > + qcom,refclk-always-on: > > > + type: boolean > > > + description: In some platform where PCIe switch is connected, pcie switch due to some design > > You received a comment to use proper wrapping: 80. Please implement it. > I will update this. > > > + limitation fails to propage clkreq signal to the host and due to that host will not send > > > + refclk, which results in linkdown in L1.2 or L1.1 exit initiated by EP. > > > + This property if set keeps refclk always on even in Low power states. > > The property name suggests that's the state of hardware - refclk is > > always on. Description suggests you want to instruct OS to do something. > > > > Again, third time (once from Bjorn, once from Dmitry), rephrase property > > name and description to describe the hardware issue. I see description > > improved, but not the property name. Again in the end of description you > > Both bjorn and Dmitry gave comments to change the description only, and not > the property name, > > correct if I am wrong. > > > say what Linux should do. Bindings do not describe Linux OS. > > I will remove the last line in the next patch. > You should name the property as, "qcom,keep-refclk-always-on" Also, no need to stuff the binding with "why this property is required", that info should be part of the patch description. Just describe what this property means in binding. - Mani > - Krishna Chaitanya. > > > > > Best regards, > > Krzysztof > -- மணிவண்ணன் சதாசிவம்