Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1573311rwb; Thu, 8 Dec 2022 12:23:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4r0BNyzRY+ApLGCa3cwBmMCPSlUVpneo/ATvDzaYJkbFVkpceyD3j4LgfrnXeiPr7J/7z/ X-Received: by 2002:a50:aa8f:0:b0:469:c5cc:855e with SMTP id q15-20020a50aa8f000000b00469c5cc855emr72407038edc.307.1670531013975; Thu, 08 Dec 2022 12:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670531013; cv=none; d=google.com; s=arc-20160816; b=fQPETR2G43nqfSMYDZ0Fh3KZNSvhfgtMnxDraswA9WXGIoMzd01xLBzTi4lxnRBp/1 tY/MAltZqZhgUFT71Z6Wl9XpVFXVNrSBpKbck8ssoN4EBxnl/Ln6Z9qOXxQweQ209SLO 3jfynec70WfgO0hwpt6TayRE+wkpGJsjEpT6IpUNkp9+ij5AcWh6ozP+DkftvnbrqjP3 rRCQeKz7ZSdUh1DEnpmSprBc+WqgdPkVNk2vFV8auEUwXYCF6NYFqIJgbRwx6DwdNpav DHy6lK63rdyHe26gY2mQk9OQce5HW7ttoSqGia2fsUeuIw6kkF8Zh6sbFhjqDONDpD3z M5PA== 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 Return-Path: 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.23.16; Thu, 08 Dec 2022 12:23:33 -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 + 73 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 ); 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 ; Thu, 8 Dec 2022 12:14:13 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id bp15so3697644lfb.13 for ; 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 To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Iskren Chernev , 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 = ; 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"; }; -- 2.38.1