Message ID | 20221209-dt-binding-ufs-v2-1-dc7a04699579@fairphone.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2775106wrt; Thu, 29 Dec 2022 23:45:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+Sb30v3AKDURWc4++97LgQjdFh5z4PM8rFT86S+0U/Es+IKp/VgKPU+S1FWgthO4I7jBX X-Received: by 2002:a17:907:d50d:b0:801:d6f2:754 with SMTP id wb13-20020a170907d50d00b00801d6f20754mr26502453ejc.52.1672386309779; Thu, 29 Dec 2022 23:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672386309; cv=none; d=google.com; s=arc-20160816; b=pSNYJh+lZ5MVwghG64J6dUfgNT1dKyVlsJpJwzXhBenkJDKZEEvucoDXGUn8D26kY8 PvoaeQLiuYz+4zasJeQsI7Dh46T8YrsfABabqs6sGV5TN4ZZl33BvwKgKeZdsqOmG+Ix XcPQ4THKqrM6O4SiQLmn481SH1TZ6Okg5NbKr/eBSgN9LXnfvi/OZOGr05zh0HeIzxGG eiWZ4k3WcVarH45KWgEDBFwWsbjj6pqc5zrMHhwbbdvlZk5FDxcYHTU1b3xG64H259Ye IPKKp8vDWJEO8gpxtXESYKzoZQzlSCjK3lotSIMnY5L5hJw5nTxlJtPn6uL2vYi4Ps3f jL4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=2AFK51349QJ0+Ar/9LyUa3RFs2+XbTP6GGanaFPZqqk=; b=N71KBWcAfxRh/svk1rk/TbBZGde9ZELEH7HQ8hG6CTLxfe93lCU1vgbGKKrggaza7m v5cYp2eWxmygqQowgEQ3WTphD7K2REUJCHEOMEitPhQIhFLZdLW9N19N2bKk0I5j/s6e RAVHN68CmXCEb2wff04Cbn2MzNM0lSr4V9IqG7DlHUMKJQAVCQCa3DhoeTglhLP+Aho7 baFTPDTQesKfEZ8QTugZOP44Ryz7qss9A8TWKIOCsPyoncBCnpUH0IGEGdHoYzJBmBDX WBC0MW9IzqTD0QLX1mym+mj2trtph1zXwk0JV7iPemDB85+6oABWbOibrIH6m4oA2qvG VdfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=4tlJg+Ky; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o19-20020a170906975300b007c18334dfc6si17243805ejy.292.2022.12.29.23.44.45; Thu, 29 Dec 2022 23:45:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=4tlJg+Ky; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234735AbiL3Hnl (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Fri, 30 Dec 2022 02:43:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234674AbiL3Hmp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Dec 2022 02:42:45 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B6C91A239 for <linux-kernel@vger.kernel.org>; Thu, 29 Dec 2022 23:42:29 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id w1so7118742wrt.8 for <linux-kernel@vger.kernel.org>; Thu, 29 Dec 2022 23:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2AFK51349QJ0+Ar/9LyUa3RFs2+XbTP6GGanaFPZqqk=; b=4tlJg+Kyqh+spAFYZ6rsYwogBP/vXCAFmaT1XKGDZZDMMUB++fkGLqwyuJbEIJQ7kC ooM9OmaNK6b2hAgY/KK7qEKv3KN8nFmeU+93vJ2LVa6oi0VHaw1R57RcGNWHt5jotVl2 uH0zJPNZBuDIbAZgSC+ZTybWeLsn8RfQGcmmGZc7Ky1ghjsNDfF3X5kv1x4KHheduHL4 M5FC96CCgsKI3SMPsORry/ecoNGVjM3TBpmb0/4IJrvCh6dEU9aR8ZfWnoWEgl2m7lMX EeAMBk+CIYZVUu8Rorz7Mxa7PMpHN9BlBygFbgLDzvpvTORkFcPs2hRcDZASqoSfpO+/ bBDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2AFK51349QJ0+Ar/9LyUa3RFs2+XbTP6GGanaFPZqqk=; b=YtAX1mO5v0laRh7p6WoKECy8B/a9tVpXi83Lt0r6InVwTqNSqC8s3kZead1wBoDZMU IuIvXGjw9mQ11JIio0x+dbHumlw+l6SUscRS1UPHYrCXoPBpoSwHhF4r/lAPwoASHE6m Kn5RKwiF/mrJ9bljOKWmUkSd7E7wz0kRuJs1h4ti0+NSMJn6wOuo4gAYbBBfnrJ2eqrj BncNyXHXWPsr1NAHcncy9gIh3dB1qC67STKMs9R7wBgBWSTxHdTdRRsKY/27Nmeu2K0f fumE3eFYLFArMNPyiHAhqv4QyeMnSXUqwsKsWgoohkYpHaux+UDGyb5Fcyugen01aVpR 8wKA== X-Gm-Message-State: AFqh2kpkrpffQrrMPEKyEsxYsbPisq3QT8LSf1FWnS7Cu+jSgi4cHHu5 yGblX1NITLWMjNNO6q3C4y8KeA== X-Received: by 2002:a5d:66c6:0:b0:277:ae6c:a94d with SMTP id k6-20020a5d66c6000000b00277ae6ca94dmr13187947wrw.68.1672386147843; Thu, 29 Dec 2022 23:42:27 -0800 (PST) Received: from [192.168.0.28] (2a02-8388-6582-fe80-0000-0000-0000-0007.cable.dynamic.v6.surfer.at. [2a02:8388:6582:fe80::7]) by smtp.gmail.com with ESMTPSA id a6-20020adfed06000000b0028e8693bb75sm1887655wro.63.2022.12.29.23.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 23:42:27 -0800 (PST) From: Luca Weiss <luca.weiss@fairphone.com> Date: Fri, 30 Dec 2022 08:42:05 +0100 Subject: [PATCH v2 1/3] arm64: dts: qcom: sm6115: Add missing reg-names property for UFS MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20221209-dt-binding-ufs-v2-1-dc7a04699579@fairphone.com> References: <20221209-dt-binding-ufs-v2-0-dc7a04699579@fairphone.com> In-Reply-To: <20221209-dt-binding-ufs-v2-0-dc7a04699579@fairphone.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, Avri Altman <avri.altman@wdc.com>, Bart Van Assche <bvanassche@acm.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Iskren Chernev <me@iskren.info> Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.11.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753624147049505740?= X-GMAIL-MSGID: =?utf-8?q?1753624147049505740?= |
Series |
Fix some issues in QCOM UFS bindings
|
|
Commit Message
Luca Weiss
Dec. 30, 2022, 7:42 a.m. UTC
The UFS driver expects the second reg to be named "ice" otherwise the
Inline Crypto Engine won't get enabled.
Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/sm6115.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On 30.12.2022 08:42, Luca Weiss wrote: > The UFS driver expects the second reg to be named "ice" otherwise the > Inline Crypto Engine won't get enabled. > > Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/commit/?h=for-next&id=01b6041454e8bc4f5feb76e6bcdc83a48cea21f2 Konrad > arch/arm64/boot/dts/qcom/sm6115.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi > index 572bf04adf90..85673d562723 100644 > --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi > @@ -704,6 +704,7 @@ opp-202000000 { > ufs_mem_hc: ufs@4804000 { > compatible = "qcom,sm6115-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; > reg = <0x04804000 0x3000>, <0x04810000 0x8000>; > + reg-names = "std", "ice"; > interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; > phys = <&ufs_mem_phy_lanes>; > phy-names = "ufsphy"; >
On Fri Dec 30, 2022 at 10:12 AM CET, Konrad Dybcio wrote: > > > On 30.12.2022 08:42, Luca Weiss wrote: > > The UFS driver expects the second reg to be named "ice" otherwise the > > Inline Crypto Engine won't get enabled. > > > > Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > --- > > https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/commit/?h=for-next&id=01b6041454e8bc4f5feb76e6bcdc83a48cea21f2 Oh, thanks! Disregard this patch then please. > > Konrad > > arch/arm64/boot/dts/qcom/sm6115.dtsi | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi > > index 572bf04adf90..85673d562723 100644 > > --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi > > @@ -704,6 +704,7 @@ opp-202000000 { > > ufs_mem_hc: ufs@4804000 { > > compatible = "qcom,sm6115-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; > > reg = <0x04804000 0x3000>, <0x04810000 0x8000>; > > + reg-names = "std", "ice"; > > interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; > > phys = <&ufs_mem_phy_lanes>; > > phy-names = "ufsphy"; > >
diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 572bf04adf90..85673d562723 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -704,6 +704,7 @@ opp-202000000 { ufs_mem_hc: ufs@4804000 { compatible = "qcom,sm6115-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; reg = <0x04804000 0x3000>, <0x04810000 0x8000>; + reg-names = "std", "ice"; interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; phys = <&ufs_mem_phy_lanes>; phy-names = "ufsphy";