From patchwork Thu Apr 7 09:27:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 558585 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A25DC433FE for ; Thu, 7 Apr 2022 09:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243771AbiDGJ3c (ORCPT ); Thu, 7 Apr 2022 05:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235762AbiDGJ3b (ORCPT ); Thu, 7 Apr 2022 05:29:31 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4201A61A11 for ; Thu, 7 Apr 2022 02:27:31 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id bg10so9593768ejb.4 for ; Thu, 07 Apr 2022 02:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HDWRHtMWWsVQlbRd/eGjYgilSV8n+KJqiJ5agkgjVIY=; b=OQ9uTyKQ+3jWh1HTuZTaWHNRc5S1NM8PQ83nAPpN3LgC9aiR0Tu0t+n2dnp4iZa6O+ eES7ckdXskCA0uoO+XkmaIm+E9fCs6mqrii2OmomGeRlY2xh3UN0chWPGdr/VKnOsPmp 873sGTJGRIwlKIyW97HQpgoBOy5NSfjMj1YTk9qXVZHxpzGyGNs1iOQTVUWrjIqCpKyF jVEBwUUhLpSSjR4p9UieW0nRDjUN93u7Rb3fFvOg0lsBismLsnROQfTGBAsa4JqQBqNE DPDMizM8wexHfBJDFEcRF9HMftLH+agVdD9FGm9EPyvlmW+n43/wDj4lmg+P1YhLOFtX TuQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HDWRHtMWWsVQlbRd/eGjYgilSV8n+KJqiJ5agkgjVIY=; b=qgAbct//NEjcyiTUtIwuNimifPGDPBEId37fJYeBeJPhIa+d/X7TSkDh0NTQ0dPntB NG7nm2/BW6y3y9rTW6N8fbNGo0RDTdUVffv3rMDjgA3Bw+ATVvZGVvDaybE2sxr4kql4 TgfuqwsJKuKbtPgky7k6CQopwrXasvbS+1/zJKjNxKN3IoUcU/oIxwPu80tRw/5x//zB F3k5uVuDwhE79IUZK9m16OlJjF/OgzAWPCDdUbdGfbKnU8CorM2LwCq0/m0gg02Ra3i2 1pdCIfn8DpfL+ZMNYUdxJ2YGkjsKOpgFJ8+sIAn1TAHA0fEolfsIII/KxeUf9aUw4InE FJ7A== X-Gm-Message-State: AOAM531wuYmoQecya2djkigozgqxYo+JeRTFmyVxpKSGD8T4yEQAklsS OHoBUH+tq8T2dHW9uD7ogddDFw== X-Google-Smtp-Source: ABdhPJyKU78KN+4mS3JRor1G8970H/IVU03Ue24ubBszYKjp73+4ayQnbKBogJiekx3wpGolipP3qA== X-Received: by 2002:a17:907:2cc3:b0:6da:e6cb:2efa with SMTP id hg3-20020a1709072cc300b006dae6cb2efamr12364953ejc.169.1649323649858; Thu, 07 Apr 2022 02:27:29 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id s14-20020aa7cb0e000000b00410bf015567sm8649435edt.92.2022.04.07.02.27.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 02:27:29 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH v3 1/3] arm64: dts: qcom: msm8996: drop unsupported UFS vddp-ref-clk-max-microamp Date: Thu, 7 Apr 2022 11:27:23 +0200 Message-Id: <20220407092725.232463-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The property vddp-ref-clk-max-microamp (for VDDP ref clk supply which is l25 regulator) is not documented in MSM8996 UFS PHY bindings (qcom,msm8996-qmp-ufs-phy). It is mentioned in the other UFS PHY bindings for qcom,msm8996-ufs-phy-qmp-14nm. The MSM8996-based Xiaomi devices configure l25 regulator in a conflicting way: 1. with maximum 100 uAmp for VDDP ref clk supply of UFS PHY, 2. with maximum 450 mAmp for VCCQ supply of UFS. Since the vddp-ref-clk-max-microamp property is basically not documented for that UFS PHY and has a conflicting values, drop it entirely as it looks like not tested and not used ever. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi index 7a9fcbe9bb31..3ade756e1cd9 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi @@ -341,7 +341,6 @@ &ufsphy { vdda-pll-max-microamp = <9440>; vddp-ref-clk-supply = <&vreg_l25a_1p2>; - vddp-ref-clk-max-microamp = <100>; vddp-ref-clk-always-on; }; From patchwork Thu Apr 7 09:27:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 558584 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C53C8C43217 for ; Thu, 7 Apr 2022 09:27:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243777AbiDGJ3d (ORCPT ); Thu, 7 Apr 2022 05:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243775AbiDGJ3d (ORCPT ); Thu, 7 Apr 2022 05:29:33 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4CF461A11 for ; Thu, 7 Apr 2022 02:27:33 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id i27so9542671ejd.9 for ; Thu, 07 Apr 2022 02:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tvjrnyli3QMelnewMZziigqajOZNR5QEHUsi4Mp0djY=; b=p3ULPi0cyERr1Dv8VmKELpnBQL2ebtWgryo2YH3BSV+Mrugzv3ntjAoxGg6bqVEL2b PTmJlzRGvWf1xHDsRyBrzptISXqbsn24BccoQEbLClGI21RqMmVJjTl1DydbyyCmp6ew s1GnXEOrLJ1iKPQyS/VfhzAZl4KHVR+3za3q09u4/f1TNntxdZfWr8lm+E330dGlCfha DFTCSHqkvCAYWKzh8U61GldznUdgmnhV6NupS5CJzxidX5o0J18askUIOG06ByIBxwph w34f9K3DzbpWdnmTOPv0G8RM0gKwTJ+6jXV63zPPjFOBl7mSo6S5YP5rry3jiulJW8zO AxMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tvjrnyli3QMelnewMZziigqajOZNR5QEHUsi4Mp0djY=; b=t95BgiiNfb0mkdhBIkZFLJeOc4fR4nTq72pfkJvImqw/nnfTawJKNQG7t04vCpVrPW 3WChaf8Eeb4+m/WDc9bZI5WEUlX19nda/Q5TsTBVtqhLoCH7/7xjFF5YUQVKLlnctFVs kxzLBZInWL3H8dCKw6rSOH/CcPBY2xXJquCvqftxvvoFfSFNHB09h/Du7jPTfySoJM6z gFld8PCGQHscOcVZOEP58Jiy2AgL91Uri682eWo+uCAuOQL0hjJPEHP8gOyHOFjBkJqX NxZTWHgETkBaDn4Bvt82amZ+BjBu9WoRvxOf+Z+/PCXUynoQy4JXd1rwv1rDWsQ5yAsI pRdw== X-Gm-Message-State: AOAM531MjW09CCnnUYElbN62wY9TuxNGrgR7Q3IYBEJTFluDR8xZIVZv 4PAMJ0DrHHjk2NBn6VToe9jKnw== X-Google-Smtp-Source: ABdhPJy/4Gx1gqe8CTqLfxNWBysJvQLIBo0Zs3aHFrJ4Lak2QmDQE4w3xnChxDtygXQx3u0BuTmdbA== X-Received: by 2002:a17:907:3c81:b0:6e6:9387:3d74 with SMTP id gl1-20020a1709073c8100b006e693873d74mr12489705ejc.589.1649323652182; Thu, 07 Apr 2022 02:27:32 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id s14-20020aa7cb0e000000b00410bf015567sm8649435edt.92.2022.04.07.02.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 02:27:31 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH v3 3/3] arm64: dts: qcom: sm8350: drop duplicated ref_clk in UFS Date: Thu, 7 Apr 2022 11:27:25 +0200 Message-Id: <20220407092725.232463-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220407092725.232463-1-krzysztof.kozlowski@linaro.org> References: <20220407092725.232463-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org ref_clk clock in UFS node is already there with a <0 0> frequency, which matches other DTSI files. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 20f850b94158..e70687d6c2da 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1916,7 +1916,6 @@ ufs_mem_hc: ufshc@1d84000 { iommus = <&apps_smmu 0xe0 0x0>; clock-names = - "ref_clk", "core_clk", "bus_aggr_clk", "iface_clk", @@ -1926,7 +1925,6 @@ ufs_mem_hc: ufshc@1d84000 { "rx_lane0_sync_clk", "rx_lane1_sync_clk"; clocks = - <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_AXI_CLK>, <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_UFS_PHY_AHB_CLK>, @@ -1936,7 +1934,6 @@ ufs_mem_hc: ufshc@1d84000 { <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; freq-table-hz = - <75000000 300000000>, <75000000 300000000>, <0 0>, <0 0>,