Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2065243rdf; Mon, 6 Nov 2023 03:58:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbuPiRBt7FmA7mVMEhgoSrZ8M223rFIQ/ZTOZpMaoVQRkNC3uLuvn+NWhP0xFnafOuvucj X-Received: by 2002:a05:6870:b614:b0:1ea:2162:a898 with SMTP id cm20-20020a056870b61400b001ea2162a898mr33711783oab.16.1699271902173; Mon, 06 Nov 2023 03:58:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699271902; cv=none; d=google.com; s=arc-20160816; b=pc3/2ltVElS0lMArORBONkX+3xKkIIlLAwy1dku2t/dnEzi7viAFXYRbONX6zmk3lW +yvtD/pWx6LVks0/kk1tJxBf6zlLxEaQwXSpt4WZ9pXsgAFyQPSWn7wvLbiCuk1JZ7pA 0CPTLf1LF9yANmrZaNHWPDaH2mCPUNoVH7JtLEGvEYzBunFwYolu9IIlEvWgh5QB/cVp vhcCHWqZ5tgQoXJ+S7pUWgsgR4aXx6QaTw6a3zORv74nYVR8fDecXdX7j4nI895lLH2F +/qbMHvDfysY3KSUVdF++AiJtMi9wmvjrdI90N7j0yhlDvCJrX1juOb5NSVxb9pSCeWX jJBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+DHrhiLn9HOdOplRClwUGQLEk9jhkaaAAmdhl2iHxq8=; fh=wegDJNLuni9v+SEPB1CXmyiiSgdZ4KZ5bG2jgs+A4MU=; b=lx2DZ2wfgh+YUikaS9nc8QIfnk/g48WMgQWbE7WSpNiz/mAhyjK8EFeENMFttr0+Ho nWAA+uzd/Y7hkMH+jIdTrKebbzplesUUl+Q8cMqTfyacuyqLHK1BAMU8KytfQo5w6RyC K+pRQsE37LKH6Siy/dRPcjuegUNRkioirIlttOACDcMyxeCPR/cT93xdLZ5BuXKpb+Js mYxaOcOD6GTWdxb7PmaTLMkoll1EspESlfMNs8r9oPiVCqPlJhD7DM41IKs/F8MIafet BkK/JctRyowhhdRuEbrr3KouzJPeHu+jrQRkRxVukqBTiaZ0Qp2voz1ectSvWQzdxKWh VNWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VsALbmb6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h126-20020a636c84000000b0055793097dbesi7442696pgc.469.2023.11.06.03.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 03:58:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VsALbmb6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 52FED809789D; Mon, 6 Nov 2023 03:58:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231421AbjKFL6V (ORCPT + 99 others); Mon, 6 Nov 2023 06:58:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjKFL6U (ORCPT ); Mon, 6 Nov 2023 06:58:20 -0500 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 176C594 for ; Mon, 6 Nov 2023 03:58:17 -0800 (PST) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-5a81ab75f21so52231567b3.2 for ; Mon, 06 Nov 2023 03:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699271896; x=1699876696; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+DHrhiLn9HOdOplRClwUGQLEk9jhkaaAAmdhl2iHxq8=; b=VsALbmb6xJ+cloiQA4d1FbFsD3y5ZfF0AuLDHpNBYZvvJqwIOPMNhX9/5vGHuXQDvD 7I0ZYokF1mNZj5PRBsjeE4CN2zZpwJqpgNu0xEnvrzJjQbzhQ1eAOxGrtKtqDJKG2A+l sf1+r2yJwncKzkXz6+NQVKdV/Nc5dgb8UtmWLVoHThp+OXM5yeC6O9tlpA0hdRgbKX4b 2EmjpqnJlodrzHO/ylaeAeXdzZW6CpoqNgLeafWPCcFsGMc4q3EbxH9V53HBC9PgdiJ6 m47yvqXSG4UH/PYWPSh9/SaUEPy2wHPZMcO7At38RKYwrWquxlhfuclzhigQKYkrAQNh RKVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699271896; x=1699876696; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+DHrhiLn9HOdOplRClwUGQLEk9jhkaaAAmdhl2iHxq8=; b=kqba4ip9AEZAEcalmN/D0f/FSWATM+y//2tPKHi/Of9VXv9Zf4Hhj0HVjrTjJiSc8r LmDhjYDpvZ2rjx4JrRvwALww/xQaMWNzQToBqXvG5AZYov6ENflNrEX7RHPpnYdUhLJY 6/+DANLl6o/eN/1UOzlMApGsJ7f3b2gStAOHA0Tf51T5MiRApm9wXyepVFlQgNanRHIv uKPi9FfU27n5VQSMi2Lkiml6hZDaSa8hsMZVUCrEMJmZkSpJo54lmr0WR+mpsKgZTImm ONM27kr7t36DsQ06SijcajXq5A5YsEWApBKKvNRvEGx8LUHjwNZd9UcJo4/TgdnZ/JqD cMeg== X-Gm-Message-State: AOJu0YyDe0uTCevsTSW4ipb16oYpl5sJiSyikahuxSpWwH6Hx+pKiY61 PT9Fep+IvMLRJtgzzNPgE+xVlP3QHhNQw3wc5r8ScA== X-Received: by 2002:a0d:ca50:0:b0:5a8:e303:1db2 with SMTP id m77-20020a0dca50000000b005a8e3031db2mr11350804ywd.23.1699271896321; Mon, 06 Nov 2023 03:58:16 -0800 (PST) MIME-Version: 1.0 References: <20231106-refclk_always_on-v1-0-17a7fd8b532b@quicinc.com> In-Reply-To: <20231106-refclk_always_on-v1-0-17a7fd8b532b@quicinc.com> From: Dmitry Baryshkov Date: Mon, 6 Nov 2023 13:58:04 +0200 Message-ID: Subject: Re: [PATCH 0/2] phy: qcom-qmp-pcie: Add support to keep refclk always on To: Krishna chaitanya chundru Cc: 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 Content-Type: text/plain; charset="UTF-8" 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_BLOCKED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 03:58:21 -0800 (PST) On Mon, 6 Nov 2023 at 13:53, Krishna chaitanya chundru wrote: > > This series adds support to provide refclk to endpoint even in low > power states. > > Due to some platform specific issues with CLKREQ signal, it is not being > propagated to the host and as host doesn't know the clkreq signal host is > not sending refclk. Due to this endpoint is seeing linkdown and going > to bad state. Is this a board issue or an SoC issue? In the latter case this should go to the PHY configuration structure instead of being specified in the DT. > To avoid those ref clk should be provided always to the endpoint. The > issue is coming only when ep intiates the L1.1 or L1.2 exit and clkreq > is not being propagated properly to the host. > > Signed-off-by: Krishna chaitanya chundru > --- > Krishna chaitanya chundru (2): > dt-bindings: phy: qcom,qmp: Add PCIe qcom,refclk-always-on property > phy: qcom-qmp-pcie: Add support for keeping refclk always on > > .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 5 +++++ > drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 21 +++++++++++++++++---- > 2 files changed, 22 insertions(+), 4 deletions(-) > --- > base-commit: 71e68e182e382e951d6248bccc3c960dcec5a718 > change-id: 20231106-refclk_always_on-9beae8297cb8 > > Best regards, > -- > Krishna chaitanya chundru > -- With best wishes Dmitry