From patchwork Tue Oct 11 13:14:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13003978 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8603BC4167B for ; Tue, 11 Oct 2022 13:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k7CA9Lymn8OatSBKv5pkeIRcWSq4+FhbUysWK1k0XRk=; b=htj+KKuFxIS3wn Ntn5c4cgiz1UjQ8aK/VhMmPjMeqEmRfXKzqJiIiOCdfi6nO8ty5BLW+rlnRKTHFaMzqV+hLbJmTVp 5H0BttEWYmlwqtB+j+Kk3Lb3xDuHBHPdi8eg/R3hp5bO+Xi+LncCrFkrwAteHrQXoWg4m+bGGSmVP CMDkRK4XB/YGwdXHaQ4eQuPBR/iz7jgt1c4WZo512+CLMBIZx8OVaZCSWS7Ma+kpuicVSzBsiVIi3 I3Q2pU9MN4IR4j7xIsvnnQWUbRfcPow4JyuE7yQq2f7haBSxvNgUGhIvsQsUxVyE7M5EEnJlHHCkQ biZOba+ApiTs7f9FIlCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiF5z-004JDW-T7; Tue, 11 Oct 2022 13:14:55 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiF5v-004J9M-AR for linux-phy@lists.infradead.org; Tue, 11 Oct 2022 13:14:52 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C56C8611C0; Tue, 11 Oct 2022 13:14:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 969A0C4315B; Tue, 11 Oct 2022 13:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665494087; bh=erC65IQqHAKXzl/EEYi72T7IH4BMuinND2MOz4IUJvo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jdL8iWkBVHt6GTKMqZWOfRsxi08rmQavrpHjN1wmxmFaaphQF9RBSRSJh6Bfp2Kci WOwNAmsLlPr2jn1iyGOwRiN3NKzICCwm+m2o/CGQ38xPv6eX8mtySx38ZK8JDIOlDE C/cxh7ghSmBGZ7HoB+/QtM/1i1fl60iRlRtNdLBScv1c3ka6MZgzKrR0uvLdIL+Hn7 B+ImizFdd4q//AdejNAyxpUyayJS20X2kw5MhOMWUeDu11PvpPUZk4wphXYJxVmyfj wsflbMsvMTq7nH1FyWW7fGqmfeQB7RpvIlhaJrePvUztaOEHwptoxY652Pyggctd+4 QYyW2qR1oF2PA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oiF5j-0000f3-1A; Tue, 11 Oct 2022 15:14:39 +0200 From: Johan Hovold To: Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Kishon Vijay Abraham I , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 10/13] phy: qcom-qmp-combo: drop sc8280xp power-down delay Date: Tue, 11 Oct 2022 15:14:13 +0200 Message-Id: <20221011131416.2478-11-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221011131416.2478-1-johan+linaro@kernel.org> References: <20221011131416.2478-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_061451_421340_390864DA X-CRM114-Status: GOOD ( 10.15 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The SC8280XP combo PHY does not need a delay before starting the USB PHY (which is what the has_pwrdn_delay config option really controls) so drop the unnecessary delay. Signed-off-by: Johan Hovold --- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c index 84380852ba5b..a8e09333072e 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c @@ -1210,10 +1210,6 @@ static const struct qmp_phy_cfg sc8280xp_usb43dp_usb_cfg = { .start_ctrl = SERDES_START | PCS_START, .pwrdn_ctrl = SW_PWRDN, .phy_status = PHYSTATUS, - - .has_pwrdn_delay = true, - .pwrdn_delay_min = POWER_DOWN_DELAY_US_MIN, - .pwrdn_delay_max = POWER_DOWN_DELAY_US_MAX, }; static const struct qmp_phy_cfg sc8280xp_usb43dp_dp_cfg = {