Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2261305rdh; Tue, 26 Sep 2023 18:52:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPv0tJbaXMkhiHQRYBQ9JJJcVhWgXsRt6UpM88ESPPhOqftL1GmNPLh0viBSxxMn8I2e8m X-Received: by 2002:a05:6a00:124a:b0:68f:efc2:ba46 with SMTP id u10-20020a056a00124a00b0068fefc2ba46mr621084pfi.25.1695779567190; Tue, 26 Sep 2023 18:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695779567; cv=none; d=google.com; s=arc-20160816; b=QRGP2q8z4L6Fzqvuhv8ruqthRP97W7NtV1j+MDqYDq9o2SFLdFIWxUu3q+sl1InZjk FFcJHIJkhceLq1JvVa8eGR1Eg6ky+O7bpv4dv1i2RC0AMAOWmwDX9iLiZpvhGH2l2sbO pgmFnSU7a3MzGGKmkhZ25/iUxfWw+oPiipDRj8MiLDe8Qu4KNkK1RAvMVdNm8NkCYpnx IYBgoqbxf9OQXViJcVgUrTDZaaSmFwuTpbSNKWw/8tkd/l0mOmjCUoLT6czaE/t5P6PI AfHbiAb4PX2tI+OiC1Fvz6BHDM2vE1nwdaREzxh1M0cK0E03J0udodouO0tb1uRUOR7i Kj4w== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=d/myCHqw7Y6f+5xQcBNEbOGknqH3f0sUeqk2WLdYAig=; fh=C8AGbYD0apAsrEI+huqrhzyym4q/8CCSIL1YYnEnxeg=; b=UWV0TAzdJfaB3VFSKK4bUcv6eFFLOnlotGtoZMGAr+GI16JnC4ZC9uQs0syozSptP+ DoYT+6QLymZnUOVwzOa+YM4g7yL9EctDVWKnsTFM2jaAu04mcWcd58kYOfvkj/EKLFgc AJhbx3Vux9C0BxoynBgzA+lm5ZT5ENOcT7MBpsGBb/s4d1Rc51pEY2wgkJ70aQQJey9O hqDvKocBH4ZJ9YljFCwDaJJg6NTUzOnb4NQ8ogr9Ny45k+aysKqBxiymQ0Jwsy7FmROX QNZJbZqXYtFZorRd2EI3zeDUC7Fc+/WgQOUGuZoI4TPSCYEmykNHW+MyZSKSvnvi3dKJ FhLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="N76C/9Mb"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id dc8-20020a056a0035c800b0068a590d8043si14598687pfb.375.2023.09.26.18.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 18:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="N76C/9Mb"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id A75858043AEE; Tue, 26 Sep 2023 11:31:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235466AbjIZSbS (ORCPT + 99 others); Tue, 26 Sep 2023 14:31:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbjIZSbR (ORCPT ); Tue, 26 Sep 2023 14:31:17 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB35E11F for ; Tue, 26 Sep 2023 11:31:09 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5041d6d8b10so15726092e87.2 for ; Tue, 26 Sep 2023 11:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695753068; x=1696357868; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=d/myCHqw7Y6f+5xQcBNEbOGknqH3f0sUeqk2WLdYAig=; b=N76C/9MbAZe8oDDZdHo1XxEhAkFD5l+Q4cA84twNFU4zbusv7xA9HgifN+R/ZjOx79 aTGBB7/TNe6x8gUD6b6rbIfrtr6PdrRcrLV3Z5mfxz8A66I+J2bWIKCbjaB7HD8ulmR3 1d4f+WkiYCS2oUPbOQsiNVMc1k+cLLdh/faMVqup7iFNrk0nnMX368+Qxp7EnT24oSRG A1QLqX0XGm9jLr5VXCsi4C9cRWkMW2C4OxGrhjzYbbCNjxRkMpFEEVloyoTfsMoW1/Yp quU8zJ4BclyQsPP+mIY7bT6xuzKd09UUyZxj3LVDbCTNowWHK8Joq64QDvRrnCGw9WC1 FPOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695753068; x=1696357868; h=content-transfer-encoding:in-reply-to:autocrypt: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=d/myCHqw7Y6f+5xQcBNEbOGknqH3f0sUeqk2WLdYAig=; b=I1GA/+YwduVk8CylOaUrWlyTWn9Ho3C5UPq9eztnfaqNNKDX/w81PadM11HPc7m9GH FxPAkZqxDJzg4+/iPrThN0Qt06wtjBGRMMAJS3AL/BUbfZWMRwvRR1NqfVg0dI1RpXAS VKTBmNNkhaYNk20ZP/vVviJYW4XGUnDL4yXPtxsgwklBwpCrPzk9BaJxJl3EnGaFJF8H zzmU+YYkaP06QExbozDDGnxDo58zjQZzZNAfiVkjPzw10f/4lQk6s6fRFv+eFwmPNa8U tnd/jEnxzOkQx1CM21LLTjZnC/mx/OF2XTM6Uup8OPv0qHw/ZzxbQf7vTw09znwSRPVB S5IQ== X-Gm-Message-State: AOJu0Ywd0EBW88sx7hVRtROaXMRKpFcOecO1ITSNEXWUIHv1zSpsniBJ H93bUhwE3R5LYcmVXlyDsG/VFQ== X-Received: by 2002:ac2:5b9c:0:b0:503:3587:fd15 with SMTP id o28-20020ac25b9c000000b005033587fd15mr8278374lfn.61.1695753067817; Tue, 26 Sep 2023 11:31:07 -0700 (PDT) Received: from [192.168.33.189] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id b6-20020ac24106000000b004ff9ee35739sm2295053lfi.283.2023.09.26.11.31.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 11:31:07 -0700 (PDT) Message-ID: Date: Tue, 26 Sep 2023 20:31:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc Content-Language: en-US To: Nitin Rawat , agross@kernel.org, andersson@kernel.org, mani@kernel.org, alim.akhtar@samsung.com, bvanassche@acm.org, avri.altman@wdc.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230926162042.14180-1-quic_nitirawa@quicinc.com> <20230926162042.14180-3-quic_nitirawa@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///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DEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20230926162042.14180-3-quic_nitirawa@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Tue, 26 Sep 2023 11:31:33 -0700 (PDT) On 26.09.2023 18:20, Nitin Rawat wrote: > Add UFS host controller and PHY nodes for sc7280 soc. > > Signed-off-by: Nitin Rawat > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 64 ++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 66f1eb83cca7..3be8ea090ade 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -3353,6 +3353,70 @@ > }; > }; > > + ufs_mem_hc: ufs@1d84000 { > + compatible = "qcom,sc7280-ufshc", "qcom,ufshc", > + "jedec,ufs-2.0"; > + reg = <0x0 0x01d84000 0x0 0x3000>; > + interrupts = ; > + phys = <&ufs_mem_phy>; > + phy-names = "ufsphy"; > + lanes-per-direction = <2>; > + #reset-cells = <1>; > + resets = <&gcc GCC_UFS_PHY_BCR>; > + reset-names = "rst"; > + > + power-domains = <&gcc GCC_UFS_PHY_GDSC>; > + required-opps = <&rpmhpd_opp_nom>; > + > + iommus = <&apps_smmu 0x80 0x0>; > + dma-coherent; > + > + clock-names = "core_clk", > + "bus_aggr_clk", > + "iface_clk", > + "core_clk_unipro", > + "ref_clk", > + "tx_lane0_sync_clk", > + "rx_lane0_sync_clk", > + "rx_lane1_sync_clk"; As discussed, property-names is preferred to come after property, just like in the other node you're adding. [...] > + ufs_mem_phy: phy@1d87000 { > + compatible = "qcom,sc7280-qmp-ufs-phy"; > + reg = <0x0 0x01d87000 0x0 0xe00>; > + clocks = <&rpmhcc RPMH_CXO_CLK>, > + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, > + <&gcc GCC_UFS_1_CLKREF_EN>; > + clock-names = "ref", "ref_aux", "qref"; > + > + resets = <&ufs_mem_hc 0>; > + reset-names = "ufsphy"; > + > + #clock-cells = <1>; > + #phy-cells = <0>; > + > + status = "disabled"; > + > + }; Stray newline above. Konrad