Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp277010rdb; Mon, 29 Jan 2024 01:44:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEj7SGkEacslHBqE9BOn9DdKUqIjmyHXbKrL2Xj1ZG12r8gsgudo+mEuMWJjGjjwydFdFhM X-Received: by 2002:a05:6a21:920c:b0:19c:ac7f:c3e4 with SMTP id tl12-20020a056a21920c00b0019cac7fc3e4mr859220pzb.42.1706521485382; Mon, 29 Jan 2024 01:44:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706521485; cv=pass; d=google.com; s=arc-20160816; b=De2oiNW2tsUusemAVkUi7xN39WJ0kl6QaBMI91xqxo2Myw293srbdYZy9RHDfnh1IS p04WHJjfaExT2dDmLKe6uK3kKF1ww3yzpQe7CKtBRuN9DkjavR3J8lqhfss14pQgUVom IavbOH8U9l/gtBJuIhw+uCbqHPps2MZnbki2fpW1nrj42ljcpP59jewaBxG8af3qPGhu TfmUtc/r3zvHw6n+Se7n8kdsGq0i3bWAjBWsZja7Ru1GK4WtBVK4D+XywMZYzbRNi8FC cLG5/V0IIzkCGNgzvxmXEYVvrRPrhJNvxyHyyMO2G1mdUZNGID8bjwPhz4SsHviSJYil HQpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=TnHoKf6bhzEn5TkOJv2QvMyWuMlpzWb0+DE5YgR4bxA=; fh=RZIfPhHl/m0hP3L+nm0EElb80tgT/3+YkfNmV2cKmUU=; b=qMA62HZLpfXMaHy5hfpj0cZKnKtarr2x5XoNWaGtrxo27TfEjr//X5lDI2BLGktsB2 zkeCzYi6egQVps4WBO7jgdSeW/pySH7M5BHwHrnbw0rEJVxLIcxGog2tmwRz2agqqqcv cKLWsnd2bnGMa8Cy/QQ/iPiqmVadKj1u0B4kbGcn4Klt88tpX97qiE8vmE5OLjCVRcdt Bl6/eq0p6gsFKqm8LUvu/uGRVGybJbTEGrggQy1xXUiCiz0JZ+t/y4i3LB6DyYNV5zrC L91XxjjDvlSXHsnDb7LYo2CSq4Z+vTmhsOi012vJEUSEm25gVpd1uwPo/pJ4epNOxL7U 7bZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F6g+we+e; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-42484-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w6-20020a170902d3c600b001d8e25f756esi1362098plb.403.2024.01.29.01.44.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 01:44:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42484-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F6g+we+e; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-42484-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0863F284E79 for ; Mon, 29 Jan 2024 09:44:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64BD355E68; Mon, 29 Jan 2024 09:44:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="F6g+we+e" Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 080594D112 for ; Mon, 29 Jan 2024 09:44:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706521468; cv=none; b=Po1Lr1FGce+h9/koDPlg50Az4nbNJz9bww++yB79eGnDN+YbwWDkIok0YigNTjK5riLImsAKoEzPhNIVFFvy+w0BROu5zyHMouYyH8Vn3ryBhewUvMLJCzNtX2gQuF0uvHD2w7PfU+b/EjcWLEbJhEWS/YuHTjCwbuPRn2dF148= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706521468; c=relaxed/simple; bh=xGW8WGo7wIurlupbyhMGpqaVATp3TBA2uGD+Op0kJcU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=rHcOM107AUb9iTSmA+r6BX5yFbFNPFP7iOqJgzNb2vx/WBEagKG1FmoUB5Kq56dXo6ZSi4sq3BumZ2ygTYqkouQ3SGCqZJ1yqbV+2935zKOmrMGJTFrBOaUiOip1/YPTxhu1u7XKjxSNzsLeEY4OzggQgPb9gI0ZzMm6sQBOQYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=F6g+we+e; arc=none smtp.client-ip=209.85.128.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-602d2e67217so23838297b3.2 for ; Mon, 29 Jan 2024 01:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706521466; x=1707126266; 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=TnHoKf6bhzEn5TkOJv2QvMyWuMlpzWb0+DE5YgR4bxA=; b=F6g+we+enEFQlr1m6fOm4GVof/8s5Ocf6ZaAlnvbUrXvhul9JPd3/jIUsG/FiwbwZY Pd3DQej9NPGkklaTbj4/EZCmEHT2JHMR8ZXBbDGySrRoByOz5DSweYq6NGl4EfxOD9i7 XXGv4kgnGk5d4ANt+vBEobnSy1bNe1BLYdxO59XRAgfeQVdbGW4UXstIA17n7roUWPNE Q6RVjVM9ktmOyyzYhD4hniHP+bshccImRYJGMq1ibGdWN71KHRWAIfakAgLfyOFjU4nO H6HnKvVNfXS+5MFpwleshr3jPP70O/4XWE4toes3oKmU1P6xMiWN8vsXxLzV2sS1HYEm THTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706521466; x=1707126266; 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=TnHoKf6bhzEn5TkOJv2QvMyWuMlpzWb0+DE5YgR4bxA=; b=HSoaz7vBpCFVItuWvS6Auj55WqJAmf1Kwc4RaKkVYleftFN6aG+ohqDahaf6IDd1Qm otdsCcZwopr2U4ZConOhi1KXCffqpWe/GOPQc/eCLnDypTG2sGWleuLZOd8PlvogQtYr PJyM2HavnW6rpJKCyOEOy0QBtqKoIrR0Cgu+rELBi6/f1wXAgB0dU7pbckSeH6AsksWM u9YXTyzh3fV+ULtHuKtvD+IB7mo0UfNmMtNldleNygIfEsVo3+4ACtpsgcwHGsjcR/zD dvy98yOSWhKuBmvjvejNlHIy5KIw+xJmyQaga3AEOj/Vmh5L32sya/JnLyNCgHGrstJk fpYw== X-Gm-Message-State: AOJu0Yz3u2kabg/vTjvHJ8vZJE0oZ8JpIcQ4nn81ojDXfxlPkjKp5rdX v+p8c2HxinluiN0jI7DmOEVTkKglCXgbZnbXnjMOme1iHt874fZJWybDSV1oULShFIGWNRPGORF bpx+vAEt228JaE8ZYFbqgXVL01DmSnf0JGwU8Ag== X-Received: by 2002:a81:e201:0:b0:5ec:c970:19b6 with SMTP id p1-20020a81e201000000b005ecc97019b6mr3603630ywl.17.1706521466011; Mon, 29 Jan 2024 01:44:26 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240129-ufs-core-reset-fix-v1-0-7ac628aa735f@linaro.org> <20240129-ufs-core-reset-fix-v1-3-7ac628aa735f@linaro.org> In-Reply-To: <20240129-ufs-core-reset-fix-v1-3-7ac628aa735f@linaro.org> From: Dmitry Baryshkov Date: Mon, 29 Jan 2024 11:44:15 +0200 Message-ID: Subject: Re: [PATCH 3/3] arm64: dts: qcom: msm8996: Add missing UFS host controller reset To: Manivannan Sadhasivam Cc: Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Andy Gross , "James E.J. Bottomley" , "Martin K. Petersen" , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Mon, 29 Jan 2024 at 09:55, Manivannan Sadhasivam wrote: > > UFS host controller reset is required for the drivers to properly reset the > controller. Hence, add it. > > Fixes: 57fc67ef0d35 ("arm64: dts: qcom: msm8996: Add ufs related nodes") > Signed-off-by: Manivannan Sadhasivam I think I had issues previously when I attempted to reset the controller, but it might be because of the incomplete clocks programming. Let met check whether it works first. > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi > index 8d41ed261adf..a6592b3e2db7 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi > @@ -2114,6 +2114,8 @@ ufshc: ufshc@624000 { > <&bimc MASTER_AMPSS_M0 &cnoc SLAVE_UFS_CFG>; > interconnect-names = "ufs-ddr", "cpu-ufs"; > > + resets = <&gcc GCC_UFS_BCR>; > + reset-names = "rst"; > lanes-per-direction = <1>; > #reset-cells = <1>; > status = "disabled"; > > -- > 2.25.1 > > -- With best wishes Dmitry