From patchwork Thu Dec 6 23:32:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10717245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8DE3109C for ; Thu, 6 Dec 2018 23:32:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8FCE2EF3E for ; Thu, 6 Dec 2018 23:32:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CA5A2EF53; Thu, 6 Dec 2018 23:32:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6A5E2EF3E for ; Thu, 6 Dec 2018 23:32:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726392AbeLFXc2 (ORCPT ); Thu, 6 Dec 2018 18:32:28 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:37925 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbeLFXc1 (ORCPT ); Thu, 6 Dec 2018 18:32:27 -0500 Received: by mail-pl1-f196.google.com with SMTP id e5so897338plb.5 for ; Thu, 06 Dec 2018 15:32:27 -0800 (PST) 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=79Mc2sTRXTy/reDsA09tWOgsmHMjQBqHWoIDf/G9rW8=; b=ZEiovGZ/Uo/x32fPA/RbAIqdh277Us+woHgTrU874fb6A35sau793e9pX36nbXjjVJ 7qcQcnRUXi7QqfEHhCuQaJ6yeWy8C4OI+n7HF9FrPCGCZuXz/HRVx2Cq0VJbjCK0fQyR S7+6JxZK7aIYFeoDWCo8DL3gND3N79E5gKctw= 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=79Mc2sTRXTy/reDsA09tWOgsmHMjQBqHWoIDf/G9rW8=; b=KNm34M6f3KXq2VmcenJk1yKcnXs05tKpe8DhORixvdvZGD4DkH3N3Vc7ShLHk7N05X neZC8S9PhJILulUCkGu5+Zsd/mB1PPCutftWAuI8sCG31v+KXXV7Pso13JdQ4rz3tafn xtLSRl2d12gv9JJBKE/lt8+s2AkunmxOOW++6DHrURyoGm2AgrpMz5AwN6ZEpZnQvyVo ZkvFFcFld7icQOZqcVyOjr56C8KMmFIfE8tiRd/GsvpSceVLZ+22VlLowDfMSJxzMP/j 5NCAbI0uvj1VtewKI0tgcywrqzRea/jzB/dVc+imW4Bd4xHN6DKa5Suwm2l63tbMhcOO udqA== X-Gm-Message-State: AA+aEWb88+7FHmtuXj43wF8Q0Qup3KIqBxZnYy+3w1AfBpY7nIs+aAdE PvlebI4TofgRNwOj8f6Od+sPJA== X-Google-Smtp-Source: AFSGD/Vz8vYTJyortHTXMiUteIy+cEq7BycTXYO3vf28RieQGOdpMb4nlJGoC1HcKFSQLGcZVjq/lQ== X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr30856864plp.180.1544139146964; Thu, 06 Dec 2018 15:32:26 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id s190sm2100875pfb.103.2018.12.06.15.32.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Dec 2018 15:32:26 -0800 (PST) From: Evan Green To: Rob Herring , Andy Gross , Kishon Vijay Abraham I Cc: Douglas Anderson , Stephen Boyd , Can Guo , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , David Brown , Mark Rutland Subject: [PATCH v6 4/5] arm64: dts: qcom: sdm845: Add UFS nodes for sdm845-mtp Date: Thu, 6 Dec 2018 15:32:03 -0800 Message-Id: <20181206233205.193244-5-evgreen@chromium.org> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181206233205.193244-1-evgreen@chromium.org> References: <20181206233205.193244-1-evgreen@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Can Guo Enable the UFS host controller and PHY on sdm845-mtp. Signed-off-by: Can Guo Signed-off-by: Evan Green Reviewed-by: Vivek Gautam Reviewed-by: Douglas Anderson --- Changes in v6: - Fix renamed nodes in MTP (Bjorn) Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None 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 b3def03581775..99b1eefef0ff2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -366,6 +366,20 @@ status = "okay"; }; +&ufs_mem_hc { + status = "okay"; + + vcc-supply = <&vreg_l20a_2p95>; + vcc-max-microamp = <600000>; +}; + +&ufs_mem_phy { + status = "okay"; + + vdda-phy-supply = <&vdda_ufs1_core>; + vdda-pll-supply = <&vdda_ufs1_1p2>; +}; + &usb_1 { status = "okay"; };