Message ID | 20221208201401.530555-1-konrad.dybcio@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp405246wrr; Thu, 8 Dec 2022 12:22:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7GGmfpZRXhlOoHRC10+X57J29eWR1WFvC65aeXQ2J1D42kLWFveRyAGm9miRnp0jPpqD7j X-Received: by 2002:a17:906:660d:b0:7ba:5085:864 with SMTP id b13-20020a170906660d00b007ba50850864mr55921607ejp.357.1670530947547; Thu, 08 Dec 2022 12:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670530947; cv=none; d=google.com; s=arc-20160816; b=ETfi13Y8pAJE2E6yFQYURYjAXNOile2DeO+CqpQufowLGu9jpMCHPfKHQwU6tH+1EB MK9/TcJ1ffSTqnjbmxjUb7GWt3nDC6JXEFg4PxO2YFBuLwtcaW62vTneBBLosbVJbcij pvFxs3t/kvpm2JGMeZ+3ciYzBa4sIY3bVt3USaYy20OE6Gq8nUAN0iuaB49mhzaLO1h4 dXxbKSqBD4WoOAPghKnqnrXs7eaBg6k+KPvPBkIGGGHNPDGPXlCUxV9+evejvw6SBfRv H1sen24ipZ+dhV5uywkwEQeg9Fr+WiqoQRk7A+T09wO+oPV9rPn0owkf0IlBGhu8iaIe hx5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aozzPFqxRd+oMbTAlLocE9rL6FXuVwfCXNIHq2pDgcY=; b=EhSALsxfHFu237JGgNTraW65u3MrSh7SXStADT2g3SNSc74uueMTGPsb/BQMtCQLlX /yhAvlH0wYAJ7JwC39gxJxsQ+mp+GytiBMzgkonPcpyKt8FLSwLZOqE2SLunIQh1TxU7 edK6k2krL0QoRJrRs7FKbYwf16VY5Zge+ygnHP7thzYO3AZBsLsCorXMmM2JcZDXS0AH ra6bexxjvdAH8FLBxGFAU/Z7Tc7dgIbZPUw5PPxhtLRBhsJYxOgBSVAkdBVVeNYwzccT LxHNcKPSW0zkcenXFj1d0Motz2MS+xi21KDiveWb+I3kpGHP2xDyJ+9OoC+0exNzlQ5A i+9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jDmlVTdD; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb28-20020a1709077e9c00b007c0f114b370si121632ejc.955.2022.12.08.12.22.04; Thu, 08 Dec 2022 12:22:27 -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=@linaro.org header.s=google header.b=jDmlVTdD; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbiLHUOR (ORCPT <rfc822;foxyelen666@gmail.com> + 99 others); Thu, 8 Dec 2022 15:14:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbiLHUOP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 8 Dec 2022 15:14:15 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4861078B9A for <linux-kernel@vger.kernel.org>; Thu, 8 Dec 2022 12:14:13 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id bp15so3697644lfb.13 for <linux-kernel@vger.kernel.org>; Thu, 08 Dec 2022 12:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aozzPFqxRd+oMbTAlLocE9rL6FXuVwfCXNIHq2pDgcY=; b=jDmlVTdDgbZ5hnOclf4N+kR/pg1eGlq3IMik8b8pugkFIeufZ8/JQJMjgZAPVyiXuh AoJI4ceKDkKTlOAQJyrvPvq1oTcB9ajO95h+5JDeLBqEtdcuyjXJAv7SDcL7OBxJYNRE 6A7jc07rcPW4l3Ho0An+uJwlNKj1polmGQbHXZ6Tmwx3egfP0CVtan7eeNwTEfkO9ZTa mrEqA+/HOWK69YyWS1yRyOU+YLaNkaJtDA9dJsBxQL3wDC7SoLBFJOLiLdCJyj5vPaKx de/QA4CnK7taNVzfFkugS4s0EqymnxdhaBwFdgH2SEFUnZim0957z0+vZMCDarO5mswn 367A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aozzPFqxRd+oMbTAlLocE9rL6FXuVwfCXNIHq2pDgcY=; b=VzC7jV37RarmhIGVZhtttdT/cQIShmxOxLN5UcdCJpcm8svt3ArGHpbLlXWKap2cSK Q5PZ7iaZe7eyYvSdi9YrPtAxxsfCyDO2m/41jk9gFAEJRn6K7Fb5WRioP3NybI5ltGwF 6FsSc1syCQ3BdJT+pjowmbx3Z+YML7emUGt1G+6NLXOTSec1y9DNsxN9YmMLBhSaGyPo wlRZihRnY+2B9WnGy+VGaI5+Zuhx9+ab86rYm9TD4ua0S3JX+8PzE4Y4VLaPKW1vK4vj bIt1dyrAnWi1Uc1HOMX0Tklh9CRmiTAJLomckWrbc+/v02o0YeQoqFVpKMjlGhzNlQAd DyLA== X-Gm-Message-State: ANoB5pk8rfi14LTYLia9ti+0EdeOwy1wKlgplLB7/EEeJhZk/q8CAFMW hu/ghvIkpqkv2pCaL36E0akA1w== X-Received: by 2002:a05:6512:2015:b0:4b5:9dc4:e783 with SMTP id a21-20020a056512201500b004b59dc4e783mr960470lfb.568.1670530451603; Thu, 08 Dec 2022 12:14:11 -0800 (PST) Received: from localhost.localdomain (95.49.125.53.neoplus.adsl.tpnet.pl. [95.49.125.53]) by smtp.gmail.com with ESMTPSA id bi35-20020a0565120ea300b004ac6a444b26sm3466428lfb.141.2022.12.08.12.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 12:14:11 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Iskren Chernev <me@iskren.info>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] arm64: dts: qcom: sm6115: Fix UFS node Date: Thu, 8 Dec 2022 21:13:57 +0100 Message-Id: <20221208201401.530555-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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?1751678658760538672?= X-GMAIL-MSGID: =?utf-8?q?1751678658760538672?= |
Series | [1/5] arm64: dts: qcom: sm6115: Fix UFS node | |
Commit Message
Konrad Dybcio
Dec. 8, 2022, 8:13 p.m. UTC
In its current form, UFS did not even probe successfully - it failed
when trying to set XO (ref_clk) to 300 MHz instead of doing so to
the ICE clk. Moreover, the missing reg-names prevented ICE from
working or being discovered at all. Fix both of these issues.
As a sidenote, the log reveals that this SoC uses UFS ICE v3.1.0.
Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/sm6115.dtsi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Comments
On Thu, 8 Dec 2022 21:13:57 +0100, Konrad Dybcio wrote: > In its current form, UFS did not even probe successfully - it failed > when trying to set XO (ref_clk) to 300 MHz instead of doing so to > the ICE clk. Moreover, the missing reg-names prevented ICE from > working or being discovered at all. Fix both of these issues. > > As a sidenote, the log reveals that this SoC uses UFS ICE v3.1.0. > > [...] Applied, thanks! [1/5] arm64: dts: qcom: sm6115: Fix UFS node commit: 01b6041454e8bc4f5feb76e6bcdc83a48cea21f2 [2/5] arm64: dts: qcom: sm6115: Provide xo clk to rpmcc commit: ad9514be8ddb9d3a8c262aa415c2f1c1f4cc97f9 [3/5] arm64: dts: qcom: sm6115: Provide real SMD RPM XO to SDC1/2 commit: 0f1619aa22cd78a47522008e9b83524eae6bb922 [4/5] dt-bindings: arm: qcom: Add SM6115(P) and Lenovo Tab P11 commit: 92ad27fb925943d62deaaa659931ce85ddec99c8 [5/5] arm64: dts: qcom: Add Lenovo Tab P11 (J606F/XiaoXin Pad) dts commit: 67e75cfea375b5eca42a8d41b927fa195e723fe6 Best regards,
diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 572bf04adf90..3f4017bc667d 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"; @@ -736,10 +737,10 @@ ufs_mem_hc: ufs@4804000 { <0 0>, <0 0>, <37500000 150000000>, - <75000000 300000000>, <0 0>, <0 0>, - <0 0>; + <0 0>, + <75000000 300000000>; status = "disabled"; };