From patchwork Mon Dec 16 18:32:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 181788 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4683769ile; Mon, 16 Dec 2019 10:32:55 -0800 (PST) X-Google-Smtp-Source: APXvYqzBY02mrBfCiCoX394zaY48hTNzREBK+T9aLv7YcBYVlEvGgUTB/gViZ6N9lL7it5lrHNYw X-Received: by 2002:a05:6830:1257:: with SMTP id s23mr33216709otp.241.1576521175540; Mon, 16 Dec 2019 10:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576521175; cv=none; d=google.com; s=arc-20160816; b=FzdXF3W7ZZVQb7TdoTzKNOsMfeg0tMV/kDyfUKJdSJacp/ur87c2CjZwtuMAFANmA7 +MthXoWV9Wnn+ke7ENJxnCGrtYv4Lwq4TJ/6tOFvfI3RQPBOvA5OmNZrZjPp0PT822rY gJS3Kq3u1ubP3slhJ42ETPzF82PR9jTdbcc2knp5A2Pbru0AKxHE5NrXGrfmq5hvnrp2 xyROh78oI1whGrCTlgN3DLBSxLT4ysGKxT/0b1rrkvRKTb2zcIF+u7DhJpab1yFo2say dC38zy9B5yKvdclvnyY9wngpUAnyuIAXqGcboIBDh1UQmAxrh59WETcQUMO9OeEmOgXE I+6Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=UnwdqbeayiRCJE1pPArdWs7+Hiw2uVoKo1P5t1q+evY=; b=yHMyhil1aHOJvTNuGgUTy0zWRjB2Qfa7wwQU+cn1oqanFLXh2CifdKOapRhy/PN4QE WD+dhDfB15pl1vCoFs+VKfhdR/WL4KWnrDwWMw4R73Z5Dq8CeoW8ImrZVZFSdES+zWIn KMr75Jjm/644JsfbrMFPEqugqTYrR9nAi9zIaNo9YxE597wcFxhpJXXPv8oBi67lWEdB CACOVxJaVnumNdAG+sq67g3Nr8OCXFgDW+c5vHvTxGEHvIvBhLdknnjdz0VZWnEmMwIs os1qaCQ+yhIJvum0bPlaLiE3g1FFc/CpAd3JuPZzA5JoUNjybN7mIKb2YlyrMe52fRCy i6CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2Bn0vV2z; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si10592652otp.289.2019.12.16.10.32.55; Mon, 16 Dec 2019 10:32:55 -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=@kernel.org header.s=default header.b=2Bn0vV2z; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730519AbfLPScy (ORCPT + 27 others); Mon, 16 Dec 2019 13:32:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:60232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728309AbfLPScv (ORCPT ); Mon, 16 Dec 2019 13:32:51 -0500 Received: from localhost.localdomain (unknown [122.182.192.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1A44207FF; Mon, 16 Dec 2019 18:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576521171; bh=ymG65eyYvOkGT/a1o3YdUCpKSlzLO0odxHAPgjHBxno=; h=From:To:Cc:Subject:Date:From; b=2Bn0vV2zeXZU42Qw/Iw9TpgoDoWqkVhKIjIuQJH4XiImIpywXcXN9r6B/r9yN8nxN UNdyhISxhr5AgbOi71Oe3VEUwchQi9DKK026Cj5gmyebGmfAnRa5zAvmAmGO7qvzK7 1vy46WuyaWgjjgx2ElTXOTWZXfS5RcmtXxFg0qq4= From: Vinod Koul To: Andy Gross , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: sm8150: Update UFS resets Date: Tue, 17 Dec 2019 00:02:31 +0530 Message-Id: <20191216183232.1570675-1-vkoul@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The reset described is the phy reset so it should be named ufsphy, so update it and add the UFS card reset Earlier reset description was incorrect as phy reset was pointed to 'rst' as well as 'ufsphy' so both phy and core attempted to reset this causing UFS to not come up. This was discovered with 870b1279c7a0 ("scsi: ufs-qcom: Add reset control support for host controller") Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.23.0 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index f36d621a53e2..6a351e0cb3a6 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -517,8 +517,9 @@ phy-names = "ufsphy"; lanes-per-direction = <2>; #reset-cells = <1>; - resets = <&gcc GCC_UFS_PHY_BCR>; - reset-names = "rst"; + resets = <&gcc GCC_UFS_PHY_BCR>, + <&gcc GCC_UFS_CARD_BCR>; + reset-names = "ufsphy", "rst"; clock-names = "core_clk",