Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15815250rwd; Mon, 26 Jun 2023 01:30:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6c3kE/RkSO34j9m1xX/k0B1Bib0vPNgCqwFPbKwHH8CjVRBRtzJZqoNrh/Ick2q4qFFfMw X-Received: by 2002:a17:907:75d9:b0:991:d2a8:6588 with SMTP id jl25-20020a17090775d900b00991d2a86588mr917477ejc.51.1687768251356; Mon, 26 Jun 2023 01:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687768251; cv=none; d=google.com; s=arc-20160816; b=qaNvEcTI3WTY5g7hec6wFA/Z2oLgWvywj4Yr7ThqfLBNkbg7y3TvaqZJb+V6aHAhCE iQQ9h/nkNYwO9f/wdbQbpqzN/nTTySH1aPQ0nn50gasG+Nyky6jQATYZ+Awm7qvNHKhn XwIO3Ph7/U79CFR67eMreIpsAQ5QmYri6gg/ftQhLUIQ1V7R/eFhn32VrvxQ1JN1MKLP FRyhizSBiy31OE1MCuLziX+2ATWs6p1Q2F3xNPh66x4KvfdV7tcxA9ClsDlkAtPFluFE AxLxlK8FkQY5DcqmhCAsk7GKb916znnuPniXhQbLH8Yu3dgLREsJQeZvFc11jqxYs8vw ziig== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bl22-20020a170906c25600b0097375b44ceasi2608217ejb.230.2023.06.26.01.30.25; Mon, 26 Jun 2023 01:30:51 -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 S230223AbjFZIQY (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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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>; }; }; -- 2.41.0