Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2142016rdb; Mon, 9 Oct 2023 14:12:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJd7+VjPBF52zMM+xdK7C0Q359XUQQsiTPzuOevhTvV8B9ySnyu7hbvkdBTK46QNVhY0O8 X-Received: by 2002:a05:6358:9485:b0:135:46d9:12f7 with SMTP id i5-20020a056358948500b0013546d912f7mr14770804rwb.26.1696885972818; Mon, 09 Oct 2023 14:12:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696885972; cv=none; d=google.com; s=arc-20160816; b=vYscSBhymGANRlJh2smSh8liyP6cHOJh2+HYriIpTdPgoU8So5zwsmB0SvcnCo4QlM RIYH7PMHnxIKY1sGg8yL3EyNooQ5goWXjFVBu90BS6yIRpKjGAaNAAX63IZac5khdW0I CTTB6nkkRAJJZ5PY02qbAAFVWrRww17GDT2zmucMJOp2bopic4dHeQa695YpB/L47snJ wjkAUBPNpCl29SEqDmBHE5a7WGgjNkEcEvabAithInT2V/qgVPm3erD7ssqczWC66qVi fMl5UCF+/G/mXS/puRCgk2ZEwg1Hj8Cmtj0StjOa6vfDgOo7HP3IfP0lLLJ1Ux+g24Dv 8HSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jGoGhItmjXMm5592hTQT86oDx5AEAugpeAAG92Ldv9c=; fh=LY1NjxfPuqjoS+lBsegxEvdn3NEW49j85Po7wX4Nzz4=; b=nwuL/ly14RsWfdZEwYNam8uWNkGiiEmLpRzaGx1MmN6P1NwN6FcgYtAfhTBIzdNYJd Sh5f2GYBFyY6q29EsXBFzxJeFmm7ZduWAiFY1IGcEwLhg5OGDDggLxUyNNNtFPwtVV4T RQgLs8UdPYJA/8FUs55spsyhCWjATPJbGEU6vIvMQ6yETaww9HFk2W4RScEt6c4Shw9Y 4ImrDmHajN/ksWskE+tYp4wbJsw7ezstvXNuAGB7+9SQ4U6jf83chwn/OXVoH4eVYmyA UK6XGUX8R8h2dQKhNb0iSvfa4Aci2N2TP1XPxWAU2/xFx4Yhakx3Qg/BQmY/aTOCSz1y Em1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XVQJc+0r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bs188-20020a6328c5000000b0056952b496efsi1605783pgb.366.2023.10.09.14.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 14:12:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XVQJc+0r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9141A8055747; Mon, 9 Oct 2023 14:12:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378589AbjJIVMn (ORCPT + 99 others); Mon, 9 Oct 2023 17:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378151AbjJIVMm (ORCPT ); Mon, 9 Oct 2023 17:12:42 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 076449E for ; Mon, 9 Oct 2023 14:12:39 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5044dd5b561so5958575e87.1 for ; Mon, 09 Oct 2023 14:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696885957; x=1697490757; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jGoGhItmjXMm5592hTQT86oDx5AEAugpeAAG92Ldv9c=; b=XVQJc+0rZA8e6WctYFLbKYDlqtPNU0ZOYg/EpwZlsFUo4wMxi/Kwi+8ys0qxhealS8 JVvJKdvbUZs9jSIwbRiT5f6faiSGpnnpbzof2hFjrHZBOozuBpMTlWoicCDA49T44VZj rBuRFOtEw7uN+kDke20ZmGLdqDk7hggxhnFqD+IoFyJfBCp4Ve9sRZaSHszSWM91jhIJ 8v0PVpGGQbI/J0z5BRwruraF3K1wAiPFoRtloMxCKnIldNmVpQmJT+D+exEO4fNWc4SB tycTDPKn/zpB+dVuXUqA/itEo477KlsAekt6b4BVAm/o2NNxZw5LV9e+ikfOZTJfuLMq 4KnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696885957; x=1697490757; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jGoGhItmjXMm5592hTQT86oDx5AEAugpeAAG92Ldv9c=; b=VSqwkyuwrR+ceO1EQp8SOll3ZXK4kjVkYurZzc5HKpqQQQE/RK+SpE4iWpAynhQiRl 8GsYC8GWUm5O4I7v2W6l7H7HqwveN6TeP4hGQrYicNbkMjuPGZb8nQZh89RuZdIuCxwU KaxhPPteX4dIYXtDF9jtA/2ebfDq+28SRFIjndBxMdG54p5F20WHSCdpiVYeslzzfPie ZcUZhsz284USLXxxEhuhw4Qdk7rut/o0Eir1iuFJ6/4v46+o9j5Euh5PJLWyq/gSSOE1 JhVu8ZlPPBGTMD+Oops+B1wwRCHr2RSmCpLFsM4dLYAqE9Rl3D+nTcLuufPJgz33DMhb E/Gw== X-Gm-Message-State: AOJu0Yy4F4RwEOrtsjF2wZXdL/H5AYg/Ui6Ws6TyftMcechIV1AJSPrz RhX++4Gt39QeU0t/sMx+Sq9+0A== X-Received: by 2002:a05:6512:138e:b0:503:7dd:7ebc with SMTP id fc14-20020a056512138e00b0050307dd7ebcmr18050066lfb.18.1696885957242; Mon, 09 Oct 2023 14:12:37 -0700 (PDT) Received: from [172.30.204.90] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id w10-20020a19c50a000000b005056efabed0sm1563171lfe.29.2023.10.09.14.12.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 14:12:36 -0700 (PDT) Message-ID: Date: Mon, 9 Oct 2023 23:12:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5/7] arm64: dts: qcom: sc7180: Add UFS nodes Content-Language: en-US To: David Wronek , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20231007140053.1731245-1-davidwronek@gmail.com> <20231007140053.1731245-6-davidwronek@gmail.com> From: Konrad Dybcio In-Reply-To: <20231007140053.1731245-6-davidwronek@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 14:12:50 -0700 (PDT) On 10/7/23 15:58, David Wronek wrote: > Add the UFS and QMP PHY nodes for the Qualcomm SC7180 SoC. > > Signed-off-by: David Wronek > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 70 ++++++++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 11f353d416b4..9f18be4fd61a 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -1532,6 +1532,76 @@ mmss_noc: interconnect@1740000 { > qcom,bcm-voters = <&apps_bcm_voter>; > }; > > + ufs_mem_hc: ufshc@1d84000 { > + compatible = "qcom,sc7180-ufshc", "qcom,ufshc", > + "jedec,ufs-2.0"; > + reg = <0 0x01d84000 0 0x3000>, > + <0 0x01d90000 0 0x8000>; > + reg-names = "std", "ice"; Recently the ICE was separated into its own node > + interrupts = ; > + phys = <&ufs_mem_phy>; > + phy-names = "ufsphy"; > + lanes-per-direction = <1>; > + power-domains = <&gcc UFS_PHY_GDSC>; > + #reset-cells = <1>; > + resets = <&gcc GCC_UFS_PHY_BCR>; > + reset-names = "rst"; > + > + iommus = <&apps_smmu 0xa0 0x0>; > + > + clock-names = > + "core_clk", Remove the newline after the =, here and below > + "bus_aggr_clk", > + "iface_clk", > + "core_clk_unipro", > + "ref_clk", > + "tx_lane0_sync_clk", > + "rx_lane0_sync_clk", > + "ice_core_clk"; > + clocks = > + <&gcc GCC_UFS_PHY_AXI_CLK>, > + <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, > + <&gcc GCC_UFS_PHY_AHB_CLK>, > + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, > + <&rpmhcc RPMH_CXO_CLK>, > + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, > + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, > + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; > + freq-table-hz = > + <50000000 200000000>, > + <0 0>, > + <0 0>, > + <37500000 150000000>, > + <0 0>, > + <0 0>, > + <0 0>, > + <0 300000000>; > + > + interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, > + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; Please make the + interconnect-names = "ufs-ddr", "cpu-ufs"; > + > + status = "disabled"; > + }; > + > + ufs_mem_phy: phy@1d87000 { > + compatible = "qcom,sc7180-qmp-ufs-phy"; > + reg = <0 0x01d87000 0 0x1000>; > + > + clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, > + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; Please align the