From patchwork Thu Feb 4 17:09:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 376304 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1467904jah; Thu, 4 Feb 2021 09:13:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTdjrxYU1oWafsBiA1kBtfK4RyiWNHb40zN4rNzF9RmgJnfqjPRWjuR2zrSYetEYDrYvDb X-Received: by 2002:aa7:ce96:: with SMTP id y22mr5985162edv.369.1612458837014; Thu, 04 Feb 2021 09:13:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612458837; cv=none; d=google.com; s=arc-20160816; b=fRuyRih1gERJ+rLRpre1nFHRXPreSJBfn/wZiRFu7p6NQE6SuVBUSQqLfiyTM/ZMq1 wWEHjSGpgKBnxDl0Yfs2+IRX7ELfaaIc/L/aHSR8anv09Q/5Sng2eYsOVY/r2e+hGJUd WFJlmbHSUEqevOke/8MHSrmQO1Rz/9IUTV7rlclPmrnXfms+rji4WN0XDsvLQ2wLTThW p2G0kftMs2Aa/FYT8ql0pslkjhPMT1+q25WhEf1xwwdi/Uqp3CVrELDSlst9qOsoL4vN iIq4qrF4+lkgdLFEzur2OLWxAQ+Paw74eqwZMKvaDWeR46raLpaRB4gvPsuR/x2fKTcY 001g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uUNBJSSlXuAMNdkv/FI6YL9qcWo7T63rAbrMC9YCO50=; b=yssnOwB7794mUcTJ9D9SkBl84BKQPOIURMgCgUUeQ1Pdn5XE5a/Y9+HnHMubFYPkDu gcW0o55pzY2vfkpu9w+tiFzxJP95OlaKU1Fih8sadTfg9xk+EhGpoWPLWxJU/tjAjs/T Jj+H29CX507tB6kQfUlvVS93DYVlQUiysCjTsTo0kBx30+O+lZKZdz+Ant/q5w9jcrn3 LcZXyweVz/yxZmXt3wremL8f6QsETz0dZBpc/T9cFuuWpBk+AfEWi2hSnz1OTK+pcuyr U5mC5/F1RoAN7WlK/5aPnGGDH6sSHDzlw6TIWT/aCDT5SLhDkdlOKnDUr7BJCJLmhlYH ptTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=omlHFt+6; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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. [23.128.96.18]) by mx.google.com with ESMTP id z17si3536231ejc.207.2021.02.04.09.13.56; Thu, 04 Feb 2021 09:13:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=omlHFt+6; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S238286AbhBDRMr (ORCPT + 16 others); Thu, 4 Feb 2021 12:12:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:57126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238342AbhBDRMG (ORCPT ); Thu, 4 Feb 2021 12:12:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0F37764F70; Thu, 4 Feb 2021 17:09:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612458571; bh=rVkFqKiMv651OhiZuuMPdxsM2ChvMEUmeWBZTKPpj9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=omlHFt+6EED+KLr0pZ0VvVb5LnhbPQzSvA9aSqO+hDrhnA2KCIVQ1XCCdXAbwJVij SZjD16oHgyMDaoq8LR33y6UAo4kiijU3pQhoYInwBw6z7SZWkVDsa20PRFU1Y7jxun uIg01cRVxLv71J47FM0EGVuXV6EGCK+kUo5Z+XaXIj0G8TKhFsGbtwXn2TIDavltBa 3QQ3nbkSIQ8jr340wQTJiO8bN0QMBXUnNAHSUPnOSm+xiIcDf6sNgXl3elinaxI9zR Mm04FOSoxThSIA1BKdUgCYnVag0nBokIYS80rdVZSirrZoU+Z/nOTfX0BtkW/U6iWH VGbcIezau8RKw== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , linux-kernel@vger.kernel.org Subject: [PATCH 5/6] arm64: dts: qcom: sm8350-mtp: enable UFS nodes Date: Thu, 4 Feb 2021 22:39:06 +0530 Message-Id: <20210204170907.63545-6-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210204170907.63545-1-vkoul@kernel.org> References: <20210204170907.63545-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enabled the UFS node found in SM8350-MTP platform, also add the regulators associated with UFS HC and UFS phy to these nodes. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8350-mtp.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts index a2baa1ad3752..2675afbbd75e 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include #include "sm8350.dtsi" @@ -249,6 +250,26 @@ &uart2 { status = "okay"; }; +&ufs_mem_hc { + status = "okay"; + + reset-gpios = <&tlmm 203 GPIO_ACTIVE_LOW>; + + vcc-supply = <&vreg_l7b_2p96>; + vcc-max-microamp = <800000>; + vccq-supply = <&vreg_l9b_1p2>; + vccq-max-microamp = <900000>; +}; + +&ufs_mem_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l5b_0p88>; + vdda-max-microamp = <91600>; + vdda-pll-supply = <&vreg_l6b_1p2>; + vdda-pll-max-microamp = <19000>; +}; + &usb_1 { status = "okay"; };