Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp234872ybx; Wed, 6 Nov 2019 16:13:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwgQKNEcdxu8yCIFzN4fKJbZrTxH/DOeUKxCVJo+i8yC4UHuImeAtQgfBRZoG+lqFR4NiH2 X-Received: by 2002:a17:906:e88:: with SMTP id p8mr353498ejf.15.1573085601855; Wed, 06 Nov 2019 16:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573085601; cv=none; d=google.com; s=arc-20160816; b=XRT3KJBSNiyegIisFUCPw9ZpEsiy5wMlEq1z4auCCEOjJnKPfqYlJbcRxF0wl8oOxB GgoyVyDgOQ3ddtacrjemkMUBY2hAAZQB3EynUkVt8UM1Cw3D9kuqDJIMDpog4z/6Wq6w J9RWnb4M0hjGedWYqKCtwXP80MxRynp1rbzpZqCBqmnCswShPPRUtwmYKXxSSARMPdZF HCmuQwcW3q2KA6CVmJ4ag8XNGfYOReFyQZ/lS/clBKhjCi0mvkgiubZTmlhOoLDT2hGu D/ByEspwYRjgduds7JqMVPSSRdeTjZiZeebMnDH6ZJh6V8hnYtpGZaPrse41tz4vEfV6 DX8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=I4KKU3lnlQMUNYRTg4PG0tZkLk5GCpHdCevi44aaMqI=; b=eRCqvIciQbdY6cMTv31I+3X6wMF6d5c6u7dQf26SHVJwz3QSGiL/sY8nCzQ920GWtp YeamOwYaTafui352EzTKO+Ulz+y/4N5zneyADVjv1ebPkzlQv5KBllTLlSIKGvhsw5Rv HiT4gKOKEmzUYoiBopuIKt1982Khhri0UR7ErfdVebQ/LoMYoE2PRuQPrXfY+44djBZn +8q2nwKn5OG2Bko9fkoiqmjOA/E61TDe2XXezitBkRsqumxEMmVAT1kGjLBcsEMr5lVz VKu/ibeXSyEaPSyMwXsko59MZ2NkXtAm45w+0AO7hNJPamwudYfQrPZPeDcZ9ifsmNg+ /TCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BSmq2BLg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f19si136459eda.435.2019.11.06.16.12.58; Wed, 06 Nov 2019 16:13:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BSmq2BLg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732364AbfKGAJY (ORCPT + 99 others); Wed, 6 Nov 2019 19:09:24 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44145 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728217AbfKGAJX (ORCPT ); Wed, 6 Nov 2019 19:09:23 -0500 Received: by mail-pf1-f193.google.com with SMTP id q26so545119pfn.11 for ; Wed, 06 Nov 2019 16:09:23 -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=I4KKU3lnlQMUNYRTg4PG0tZkLk5GCpHdCevi44aaMqI=; b=BSmq2BLgOR2hAg+twaNBN+Lj06RNuWYteaIO9NyMxnlT2bzZibvLzHW0s8ALhlnOmx +ca0rhqfcYfyqeQ4dJJ8PDsPW2BNwJ4EJECnai5F9h/zDdn0cNA0JzHZxWo9cR00oYUM T68KXHA5q8BGJXdrLyXd990555c3Ysgg48PLrEAEakcMzsK3ru07Vm8GvYGQnEP3edO/ WQ2BiGbhZ+W/IUUH7PwIdxUE4+9CvGy9P8xipawoJRpbr5gTC8Wyo3GUibMG+XFQnSOD xiaPU+tTleHyfOi2hemCu4pLCvo15tM4b08Ld12kmfC/LUUBGVIOGBG9KtLguHNcRWMw 91ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I4KKU3lnlQMUNYRTg4PG0tZkLk5GCpHdCevi44aaMqI=; b=ECJeOpGUVRrrz9pP84aCLfI0JSG7WW1ZyvgGAyKBppGjJstK90loRsbBq0oLsdPRdd lFcy/zKB84IHnRT8POc5Q4H86BgBSpk2uzFs6wmg2mAqI/onL7XScyJt9UYc2cjVGxSs n3Px9LY0Q/gZw+pMVr0L2u7KyEJE6B1W418o94A3zskYIir4qqFbmoWZsuAIsJp8sIDz LVQUAyfgRibVmQOUmN2PbmsJ2XfXydEqhiRpS2vVJLU35JnsznMerjEnyHsyaplVajK/ TmuY89A4zAsxC2hAI5B8FR2ivNp5T/AstVqd1HjHeqwxZ2NsaKzZN7wCTWRuCVPIVKQo qanA== X-Gm-Message-State: APjAAAWdI8jpaYzW0QCMFqtBaWybMftH6h9cj5S+yAao8O/Zhb73JjFR f6kvQuenYgOAFMA7Vjlvt6l5Fg== X-Received: by 2002:a63:a747:: with SMTP id w7mr772076pgo.310.1573085363153; Wed, 06 Nov 2019 16:09:23 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id z23sm216549pgj.43.2019.11.06.16.09.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 16:09:22 -0800 (PST) From: Bjorn Andersson To: Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 2/5] phy: qcom-qmp: Increase PHY ready timeout Date: Wed, 6 Nov 2019 16:09:14 -0800 Message-Id: <20191107000917.1092409-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191107000917.1092409-1-bjorn.andersson@linaro.org> References: <20191107000917.1092409-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's typical for the QHP PHY to take slightly above 1ms to initialize, so increase the timeout of the PHY ready check to 10ms - as already done in the downstream PCIe driver. Signed-off-by: Bjorn Andersson --- Changes since v2: - None drivers/phy/qualcomm/phy-qcom-qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 091e20303a14..66f91726b8b2 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -66,7 +66,7 @@ /* QPHY_V3_PCS_MISC_CLAMP_ENABLE register bits */ #define CLAMP_EN BIT(0) /* enables i/o clamp_n */ -#define PHY_INIT_COMPLETE_TIMEOUT 1000 +#define PHY_INIT_COMPLETE_TIMEOUT 10000 #define POWER_DOWN_DELAY_US_MIN 10 #define POWER_DOWN_DELAY_US_MAX 11 -- 2.23.0