Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp929380imm; Wed, 17 Oct 2018 10:25:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV6038o+RMymVkHj1WOWTufhH96ous97j0d2LWvNQsDsTRI1XrpSb1JF/QQf/rTWC6cK8ceWN X-Received: by 2002:a63:5922:: with SMTP id n34-v6mr25460024pgb.134.1539797138227; Wed, 17 Oct 2018 10:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539797138; cv=none; d=google.com; s=arc-20160816; b=k0cSxqgauQq+NqHFj8CORTP9tdyX/VeBABEsCUIDk31eTxOGDFlhum1PXHmfXD8wUE hWD+s0as3uysVp5l6kmIz4isVsaTbuzUg3G/F2IeUP7cD17qeTwe+camk6PLGxIxAQFE zvK4kGT5r7HLI3BPgtvwwHPHUsfGl62TWkrGO/2L1LNmwNvcYiyUiHQ4csUuA2EsIS17 Stzii1u8Smzin4Oh+uOYQP4bqSMPzmiVu2roLzepTnMkPxTqeimk30HpcW8G3rkXsIMS MC4IiTNlirzhsbUJ2dRR2nAGu4QOy0nKFfvdVJkt8onarnhPONz9UO3LsSxo07719D5L cHAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=cCTK2ppRlB6er40eSHAXoUbuoFkweFdZ8znYjF+YJKc=; b=JLwZ0sAI+Z3reoqgnOD1Nc0hcM5ivDUg7Wsutral63fadLCl9pfhNcmsVfGxwqWURz EpETXH3/BvTLjBkdbPex42U63FXCUNU+VZLvBg4eDk7bAtNttu538hNsUs+a8AbNt2vc USOxlqqlNtqXznOLkRAvs2CHF/PCwGPTZj0w7TKOhKJg1TwLr+gGPyhmoM74mFde4RSy bMZ7stq1fi0IZvrMuGBSV+QZwkNzimIFtnf3qgr3+IcrcUjxdD4UGbcXIfkNtJtVO+tb kt0blIbsucfa4ZQE1OTYfxrGunBjRkM9vB7ma52GUaZZJC0vInh1LpYoKk/+F4ZdTgpU uVkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dj6SG4p4; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w19-v6si11489229pgf.197.2018.10.17.10.25.22; Wed, 17 Oct 2018 10:25:38 -0700 (PDT) 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=@chromium.org header.s=google header.b=dj6SG4p4; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbeJRBUo (ORCPT + 99 others); Wed, 17 Oct 2018 21:20:44 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38903 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727713AbeJRBUo (ORCPT ); Wed, 17 Oct 2018 21:20:44 -0400 Received: by mail-pg1-f196.google.com with SMTP id f8-v6so12848798pgq.5 for ; Wed, 17 Oct 2018 10:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cCTK2ppRlB6er40eSHAXoUbuoFkweFdZ8znYjF+YJKc=; b=dj6SG4p4o5OIu36I3PZWIQFuep2QqiXzNbAZZjwUs00/SLrmiWJqaVuO79ep9IEoe1 gq11t1k1iJIAn/KzUWdMPb2EZsBY5Q9/zqoYG8evcKQfav3MKI9zdhjqANamiIEdyneD 4BcmxQreIWJlsWCavwsycXUw9dUeGPjg823lE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cCTK2ppRlB6er40eSHAXoUbuoFkweFdZ8znYjF+YJKc=; b=s8fOoWPYLY2w/Vh7GZJf+v4OMnQ76Z49OXdhIKLWzN2nI/DTXDgzPXOrR50TBBmWr/ huUQcBXnQqtMmAS6cz/a0+X3almsCgGjUxWDoiwwjC973sKTzkrghHbN23etEkE0uAi2 oGr4QBDLzd9ANQx8Q1aB+nXY00orAAY+plnsRouf2ud3opMMOZcb+NnrUVZYnY/dkI99 1mgI+MJx7aT+dvdg8tspHmxh1zkxnZMyimfnYVRaKV2zm7+uXRDGYfKllRoLg2tAzwr4 18r6dnS1MBplaCWC0Jxxf074YoTDd1DjH9i8lxDl9ZUEh5exCk+iRY1u6ae9+gizzkoJ 1soA== X-Gm-Message-State: ABuFfoifLX+SmrNSwMAwHs4n83iyVsP6iGvfbwPwDw3K3zexQFcoaTiM 2iFmNOC4EHmb5cchkdEAo8W84g== X-Received: by 2002:a65:6295:: with SMTP id f21-v6mr25497288pgv.167.1539797043984; Wed, 17 Oct 2018 10:24:03 -0700 (PDT) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:e418:c825:76cf:5f64]) by smtp.gmail.com with ESMTPSA id h75-v6sm19760141pfe.146.2018.10.17.10.24.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Oct 2018 10:24:02 -0700 (PDT) From: Evan Green To: Andy Gross , David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: swboyd@chromium.org, dianders@chromium.org, Can Guo , Evan Green Subject: [PATCH 2/2] arm64: dts: qcom: sdm845: Add UFS nodes for sdm845-mtp Date: Wed, 17 Oct 2018 10:23:12 -0700 Message-Id: <20181017172312.194281-3-evgreen@chromium.org> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20181017172312.194281-1-evgreen@chromium.org> References: <20181017172312.194281-1-evgreen@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Can Guo This change enables the UFS host controller and PHY on sdm845-mtp. Signed-off-by: Can Guo Signed-off-by: Evan Green --- I was unable to test this on an MTP, if somebody could give this a try I would be grateful. This applies atop agross/for-next, since it needs the regulators. arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index eedfaf8922e2..d5fddea71a85 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -356,6 +356,20 @@ status = "okay"; }; +&ufshc1 { + status = "okay"; + + vcc-supply = <&vreg_l20a_2p95>; + vcc-max-microamp = <600000>; +}; + +&ufsphy1 { + status = "okay"; + + vdda-phy-supply = <&vdda_ufs1_core>; + vdda-pll-supply = <&vdda_ufs1_1p2>; +}; + &usb_1 { status = "okay"; }; -- 2.16.4