Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3071006ybl; Fri, 20 Dec 2019 03:28:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxrAvxf8JR6EUkOYLVAagsfLxONCvI+cbllts/zSX6KcsQpIWGUsCtXRQMyJ3McRtLrwkSa X-Received: by 2002:a05:6830:109a:: with SMTP id y26mr13718492oto.227.1576841300113; Fri, 20 Dec 2019 03:28:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576841300; cv=none; d=google.com; s=arc-20160816; b=F7EdZWZHOAQiFOcrlhwqJuuH3KuVF80BW0Uqb6S+4liecEFD7Axml2+DZcUw1TqkcX 1YlSvbK5wB/PhX4WHYZch8B3JdPZ39ZMMRvocYb2O+Q8vJAUSJJtjD3p+WxGpcwLgBLp oiZSRcfKudOb5Kl9Bs0iRCq5qy1ori/K37nA4RiplC5d5j41PxNWfQjcFm4k7llNZbYQ Tcrl9WV+1rXuMKLtSiI6bciTKNHbaZG4aUSQBDsFj4vf3PXwUv1DY0sDsJx6CZBra4Lf iafuO1tpKYmSVQ1WrhopQDY97hOXcKjuwicMMb1q/Ui2zQoC1jqeTzOMsflk6BGX3lO+ 3MVQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=LuXvkGUQhmIvpvVeCzXwOvyR/SnWmXXTguGUpFcnRHM=; b=FYzzdBrnP2RZox9rqLpiI4vGpi3DCxVKW2pLndEnenf0+HBZ9vGiWNwfJRcYUlJsT1 g3eLJkmnwn93HvvZfc8LxZ/2OPdrwjKwmahgkV8ZzIC7HZRARq8xD8M5g7pc08FpDB5s MpOeHr8OicHhpnywR83tleg/R7/RqgaIzRuIS6HBH9VXdeeu+MbTpvs3qy2hpqsvVitK Xv3aFh7VUpvgw33INVl8yJ1Fp2864RSIVghw5x2nXFPeIUqBrw5E1REmpqAJVZS3oexP bK1NsQIdCz2l0ULaH76OFb4GDATV+wXc27ARhVIdymrm2WhvagPEpzJtoxl68+H1Yxqo yXTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a6viUw7V; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f187si4667268oia.218.2019.12.20.03.28.08; Fri, 20 Dec 2019 03:28:20 -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=@ti.com header.s=ti-com-17Q1 header.b=a6viUw7V; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbfLTL13 (ORCPT + 99 others); Fri, 20 Dec 2019 06:27:29 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34796 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbfLTL13 (ORCPT ); Fri, 20 Dec 2019 06:27:29 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBKBRPHM043202; Fri, 20 Dec 2019 05:27:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576841245; bh=LuXvkGUQhmIvpvVeCzXwOvyR/SnWmXXTguGUpFcnRHM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=a6viUw7VhsUyLUqX4TjUO+BVJP7WkfYnPDLMh0NHw5hRdMYYvY5/D/Xjzq8z2dRuF 5j/cfOH/SlTBdvr1fYMsDSVNhZX8IoVVH029Q+hnr6n40P6OwqTxcManLxoiaUfekb 1q/vHE+eC+t1kVyt7B6FYKgb5hlsmOvZsZd1UVss= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBKBRPjB036355 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Dec 2019 05:27:25 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 20 Dec 2019 05:27:23 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 20 Dec 2019 05:27:23 -0600 Received: from [10.24.69.159] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBKBRKHj122944; Fri, 20 Dec 2019 05:27:21 -0600 Subject: Re: [PATCH v2 0/5] phy: qcom-qmp: Fixes and updates for sm8150 To: Vinod Koul CC: , Bjorn Andersson , Andy Gross , Can Guo , Jeffrey Hugo , References: <20191220101719.3024693-1-vkoul@kernel.org> From: Kishon Vijay Abraham I Message-ID: <64b5cb4b-1f41-383b-af99-fb4e21aea5dc@ti.com> Date: Fri, 20 Dec 2019 16:59:04 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191220101719.3024693-1-vkoul@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/12/19 3:47 pm, Vinod Koul wrote: > On 5.5-rc1 we have seen regression on UFS phy on 8998 and SM8150. As > suggested by Can, increasing the timeout helps so we increase the phy init > timeout and that fixes the issue for 8998. The patch 1 should be applied > to fixes for 5.5 patch 1 is applied to fixes, Thanks! -Kishon > > For SM8150 we need additional SW reset so add additional SW reset and > configure if flag is defined, while at it do small updates to Use register > defines and remove duplicate powerdown write. > > Changes in v2: > - Drop patch 1 and pick the one Bjorn had already sent, makes timeout 10ms > - Fix optional reset write as pointed by Can > - Fix register define as pointed by Can > > Bjorn Andersson (1): > > phy: qcom-qmp: Increase PHY ready timeout > > Vinod Koul (4): > phy: qcom-qmp: Use register defines > phy: qcom-qmp: Add optional SW reset > phy: qcom-qmp: remove duplicate powerdown write > phy: qcom-qmp: remove no_pcs_sw_reset for sm8150 > > drivers/phy/qualcomm/phy-qcom-qmp.c | 19 ++++++++++++++----- > 1 file changed, 14 insertions(+), 5 deletions(-) >