From patchwork Mon Jun 26 08:15:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 112764 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7334368vqr; Mon, 26 Jun 2023 01:49:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ARSYYKSLFjX/WJYBktY8aKZUPL9FqzQgQjIVc8BoM9AsBQsySBf5StJQN96Rse8vUMYD+ X-Received: by 2002:a05:6a00:b8c:b0:673:aca1:a0b0 with SMTP id g12-20020a056a000b8c00b00673aca1a0b0mr5579388pfj.3.1687769365296; Mon, 26 Jun 2023 01:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687769365; cv=none; d=google.com; s=arc-20160816; b=ZCUpJWodBRR8S5r+x4Rok0ni2vPzzQ5FkkssymUtzM5oO+PsprVXnpbYhEm34VPNs+ wLby43ynTKzt/CkWGaDlS/kFb243Q29cjaxg1LKvGDB223QTtzChZUcVki2mf2C/pD5A Tn4yXdhvMI/qlsv7PmPiKtgKRn2KVyQr8ML3VMYgCN0VcW4WQAnSxnmptqsVIfxEGAlo hz/R+NUSV9aIdIFRCH1NWO2oBCP/J0PXFlM1W7D4YfNWJTTy7njP/bL2YIcgcsizCn6W Dr1CcEFVv9BSrk1ACcDTwOZ0BVkNPycWfFb+k//Kdn8IrVK4YL2BeSrGnsgp7mDzNNlv hC0g== 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=PzrG3UTQMv24aqqyJ4HuHcMxqLMgWVT3rshhNA4f4yA=; fh=nrgsiwVwYxducxgPRrDaOWb2JjVxdBWISWY1C39fghc=; b=Ep1JYcc9qZDSoOen/9+aM29XFWIXdjX3yae0U2vGrSOTlAOkNGZEqJv5l87VQ+tQEl YdcoGFgxg8fwBUAeWCYMNIWD+75Z7nQUvUa5msnoUl4zoIaEQ7ke72Skw4EuTSHMo+M0 JQkLQ/asFnEz1gS7T3jXUmSBjy9cTe9Dbhjvh2mVp39jpVjro4wCMPvOA8rB+xtgt/tC iDJ50+fqU6AesVZYG+xuKferH8QxjZ4SxxiYH6zLnCj2It1s2A9U5+baeyfLHj7uOIf3 gIBiBzC8qsOwua8LP0X+oe8QsVWQBUrmAXzhWQ8rMuJq8T3QN8FQV7du1NNO/kzj3Ng7 eDWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=AujfvBqU; 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 w67-20020a636246000000b00542924cbf75si4602095pgb.235.2023.06.26.01.49.13; Mon, 26 Jun 2023 01:49:25 -0700 (PDT) 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=AujfvBqU; 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 S229866AbjFZIQY (ORCPT + 99 others); Mon, 26 Jun 2023 04:16:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230176AbjFZIQS (ORCPT ); Mon, 26 Jun 2023 04:16:18 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74A8D83 for ; Mon, 26 Jun 2023 01:16:16 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9741caaf9d4so230902966b.0 for ; Mon, 26 Jun 2023 01:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1687767375; x=1690359375; 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=PzrG3UTQMv24aqqyJ4HuHcMxqLMgWVT3rshhNA4f4yA=; b=AujfvBqUOERGZYcrtu35naU40C2xZtvAxwYUyprrz9GGpKUikKYkuO/cT+ENo6uAS0 ++9QHTIrY0XlgtSVlKcmj812+aYHQIZtsCCXpNnkX4VPqKVgsD/+2N0a/AN1eHEyZmvw uGuenuFXo7ZUrN078schSxTrY+8ry/BzduSXodfy2XZ/vvGB4D0MVlxytUYEhcPWj/qg T/348a9anyrLsF/sz5vmkLVRC0/TyrxkQlv3xYJXek9UhSzqeulTCNJ62+2XTCEfxycR o7M0xL4phPnRucrcGSr4Hkk9A2mcSQ3hvpPSE689sweXkBb1CbCskBWfZa60v1oRLUvU Rvvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687767375; x=1690359375; 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=PzrG3UTQMv24aqqyJ4HuHcMxqLMgWVT3rshhNA4f4yA=; b=NuOOvSk2a7xlJha4NZx8jYK4TdsehXaq37q7Z1A+Q8lGmWxu6ez0ASNcu8Uitu7xHS U22T+dxWCJb1RUBr4YigkD04wDENyZRwWEUHKA03SNhVpQRVGlTFTnuPaRB9Xq08kxh7 SsTkdwHb8Z9lCbOZLgZtO4F7Kw6MuBIGoUndZIfgP1sQzIRALEA8QYvhOYxO8hulEhEu aAIYXsXuvA4iq0uVFbH/U80wFfGRyMxyq0cbRG85acSPD8Mh+oPlf+iIWwO7CKrm98Hb gU+bAwUIvTWUbE0B4WIDVG4z55IPYCkH4WL4BmIcOQYVyy/jWNAZ3uU5EHMZs0jloqsT E7iA== X-Gm-Message-State: AC+VfDxVuQTfFEcsKOv+/VjbggIRqzXGYiheLNoBSRwkaTx4jtvssHgV aGfUVjy3K5jQ+RDcCkDB7nI5cA== X-Received: by 2002:a17:907:6d20:b0:991:edf7:4115 with SMTP id sa32-20020a1709076d2000b00991edf74115mr247285ejc.2.1687767375026; Mon, 26 Jun 2023 01:16:15 -0700 (PDT) Received: from [172.16.240.113] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id bm4-20020a170906c04400b0094f07545d40sm2935617ejb.220.2023.06.26.01.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 01:16:14 -0700 (PDT) From: Luca Weiss Date: Mon, 26 Jun 2023 10:15:59 +0200 Subject: [PATCH v4 3/3] dt-bindings: ufs: qcom: Fix sm8450 bindings MIME-Version: 1.0 Message-Id: <20221209-dt-binding-ufs-v4-3-14ced60f3d1b@fairphone.com> References: <20221209-dt-binding-ufs-v4-0-14ced60f3d1b@fairphone.com> In-Reply-To: <20221209-dt-binding-ufs-v4-0-14ced60f3d1b@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Iskren Chernev , Manivannan Sadhasivam , Conor Dooley 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 , Krzysztof Kozlowski , Eric Biggers X-Mailer: b4 0.12.2 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,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769754450142919334?= X-GMAIL-MSGID: =?utf-8?q?1769754450142919334?= SM8450 actually supports ICE (Inline Crypto Engine) so adjust the bindings and the example to match. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Eric Biggers Reviewed-by: Iskren Chernev Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index b5fc686cb3a1..04baa98bf7e4 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -119,7 +119,6 @@ allOf: - qcom,sc8280xp-ufshc - qcom,sm8250-ufshc - qcom,sm8350-ufshc - - qcom,sm8450-ufshc - qcom,sm8550-ufshc then: properties: @@ -150,6 +149,7 @@ allOf: - qcom,sdm845-ufshc - qcom,sm6350-ufshc - qcom,sm8150-ufshc + - qcom,sm8450-ufshc then: properties: clocks: @@ -275,7 +275,9 @@ examples: ufs@1d84000 { compatible = "qcom,sm8450-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; - reg = <0 0x01d84000 0 0x3000>; + reg = <0 0x01d84000 0 0x3000>, + <0 0x01d88000 0 0x8000>; + reg-names = "std", "ice"; interrupts = ; phys = <&ufs_mem_phy_lanes>; phy-names = "ufsphy"; @@ -303,7 +305,8 @@ examples: "ref_clk", "tx_lane0_sync_clk", "rx_lane0_sync_clk", - "rx_lane1_sync_clk"; + "rx_lane1_sync_clk", + "ice_core_clk"; clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_UFS_PHY_AHB_CLK>, @@ -311,7 +314,8 @@ examples: <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, - <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; + <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>, + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; freq-table-hz = <75000000 300000000>, <0 0>, <0 0>, @@ -319,6 +323,7 @@ examples: <75000000 300000000>, <0 0>, <0 0>, - <0 0>; + <0 0>, + <75000000 300000000>; }; };