Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6462738imu; Mon, 21 Jan 2019 09:17:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ZFMej5bJftSuPAQAxM/U60lM9R1Efg3O90J7q3a+4kf821fEZHOYpPibn9szbaLHeRI21 X-Received: by 2002:a17:902:7848:: with SMTP id e8mr31570662pln.100.1548091049048; Mon, 21 Jan 2019 09:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548091049; cv=none; d=google.com; s=arc-20160816; b=a3A8OSukY6jiJ/E1lyUPu9UQUXzSC4H8CFuk+EF7P6SMaTa+qKBR5Gov2PbVgiwYBI BYt+i7c8weNOks1ow1nv/ZIBT16EMd/QhrtqKcXOi3q0sTtEmE0+ZJGqzBnDIHJpj26J 9YwKZ0GquER3FCFtDSNvx8NYZI9U12GHROJlD43kdz6ORqWpocUCLTNP49SI11vPgmaZ v70h4uhRJNPgDLuN1VKrd1pibNqdx+dUfQix7jC8cBdXWyvnJp4kouiwtxfVNxm+l7bW 0IbrnoUUz6sxB8YK+V8v5EwaiXDBJ3YetaHWvibDloosgjqO63LqcsLQysW3g2plYFs3 okIw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=kpR8Df/sPHC1P3YsjqIrxOzbphhiHY2HqLxsm/biLFk=; b=Ik3K4p9xoWzSSLp6vvbzdpRMb+C0S+3KGdTNloz4EjdQRPiynZuMVkH2JnCvkW8sxo ZxpVanW3YrkI/XCuubE5za26R33Bs4Vc2qjNm4vmVOV76QawzPYyHW6Yyrq7D9p9l03r odAvm5etSTvLwbl3l+gFXTnkNz2o1gxSDBAQO3L0JvUcWBrSugJBG+lE0nlnMduzqzWT VX32ZKYsAgOBFteouD5njPWUkE9/3tQPmW2En/2q2YQfq6BRZWZ4IBm9vOFWswjiqDwL QyINzST5Yw/I/tL5Y5vhKSiaZuvoUYI3/DC2LlpCszZ++cGOJMIHSpJKJbWw78B8AKic aWrw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si13670244pgi.324.2019.01.21.09.17.13; Mon, 21 Jan 2019 09:17:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbfAURPW (ORCPT + 99 others); Mon, 21 Jan 2019 12:15:22 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:59810 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725879AbfAURPV (ORCPT ); Mon, 21 Jan 2019 12:15:21 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 6E6A213F85F; Mon, 21 Jan 2019 18:15:06 +0100 (CET) Subject: Re: [RFC PATCH v2 2/4] arm64: dts: qcom: msm8998: Add UFS nodes To: Jeffrey Hugo , MSM Cc: LKML , Bjorn Andersson , Andy Gross , Rob Herring References: <88e04336-723f-c157-0384-c5054a73e0a4@free.fr> <8dd04fdc-a5ad-420f-5224-641a71b3176c@codeaurora.org> From: Marc Gonzalez Message-ID: <9aba81b6-e202-019c-f0f3-60c07935fa43@free.fr> Date: Mon, 21 Jan 2019 18:15:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <8dd04fdc-a5ad-420f-5224-641a71b3176c@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/01/2019 16:36, Jeffrey Hugo wrote: > On 1/16/2019 3:56 AM, Marc Gonzalez wrote: > >> Add host controller and PHY DT nodes. >> >> Signed-off-by: Marc Gonzalez >> --- >> TODO: check whether the driver uses the 'resets' prop >> --- >> arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 20 +++++++ >> arch/arm64/boot/dts/qcom/msm8998.dtsi | 63 +++++++++++++++++++++++ >> 2 files changed, 83 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi >> index 50e9033aa7f6..cd1c9e84eab7 100644 >> --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi >> +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi >> @@ -257,3 +257,23 @@ >> pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; >> pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; >> }; >> + >> +&ufshc { >> + vdd-hba-fixed-regulator; > > Since we are not specifying the vdd anymore, I suspect this should be > dropped. Do you know of any reason why we'd still need it? Will drop in v3. >> diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi >> index 6f4f4b79853b..36fd2e614464 100644 >> --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi >> +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi >> @@ -711,6 +711,69 @@ >> redistributor-stride = <0x0 0x20000>; >> interrupts = ; >> }; >> + >> + ufshc: ufshc@1da4000 { >> + compatible = "qcom,msm8998-ufshc", "qcom,ufshc", >> + "jedec,ufs-2.0"; >> + reg = <0x1da4000 0x2500>; > > Bjorn would like it if reg addresses are full width, ie 0x01da4000 Will tweak in v3. >> + ufsphy: phy@1da7000 { >> + compatible = "qcom,sdm845-qmp-ufs-phy"; > > We should make an 8998 compatible. Also, don't you have phy changes > since the init sequence differs between 845 and 8998? Will create a specific binding. I don't have any PHY changes, I just used the 845 init sequence. I tested this by using the 845 init sequence downstream. However, no point in sending v3 until someone comments on patches 3 and 4 :-) Patch 4 needs to become a real patch. Regards.