Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp680602rwl; Fri, 7 Apr 2023 03:54:05 -0700 (PDT) X-Google-Smtp-Source: AKy350Yl4aGU9rWN2zlhOqPylA+JSbfn+2c6+lZp25xQAVh8kveJsEJuUOkCwUzSEIRMVryqsNNt X-Received: by 2002:a05:6402:4413:b0:502:465:28d4 with SMTP id y19-20020a056402441300b00502046528d4mr1623950eda.1.1680864845005; Fri, 07 Apr 2023 03:54:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680864844; cv=none; d=google.com; s=arc-20160816; b=yxPSvjnq0G+wgjMr3Inn7mns3Mtvo3m4rl870mettzssvZWyC5pVnlM4oMsGMLxoKD lYAZvq17+oBgzFdTSpTRuowH3oJ2tKw0FT8HIu1Tzy5p6zKuVNOn8l1cH4kQ7h3WLJrW Ewt5u4qiUjOB/TXVl3BHsb508LYB43DapFCTxa6Cqw7bjelRKr2AgAWXDRNV6oYtTENY BSxxpwyP6gOFvhimpixAjKxrbvAhXE336MyXbM4FfnmU2Oc1t4tPSJN4Y35rKroDi74O NhYJr0hkOooThqfux/m0moKZ41oRQkxpn2sNfuTWqe1to8QQBtzBgqi0n6zEY9if86U6 To/w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FrRjNsG8dDfUlp/X2GO5GwvyXP0i6VtlSWcC/Gq+Hfw=; b=IVGQ7hn/5GpqUGYgrKQtFUd6IBVNVHupsmuUlgRTmGAVD2pEuzbtSWqiW0jUdsAU+/ fdxu1WaGYSlS/Q+UPWq4UPlavkEutAIv2AE/X3OD5rj40A+kcSdRdr8WDsGVWQRmu/S9 VmfB9GsQSCduYIk9ZclkckYhyMGAIFaan+S7urQ/Kxy+mmkn4wVwyAp50e1b+yRt9Uyx hKHedViM19OzCOu0Ik37bkTGTiOTuWJ0jPepiQdqj99muU/ra3d6RmsgBnhXV47uv3lU XxMrnbFxzn/v//2rV9GWwMB6kS/xX2cv5sgpZeMuAUO5wWrQZHNxVFX0ax6b3OUG34sF EDDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ACLLbGt1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 y7-20020aa7ccc7000000b004fb5244aa5fsi2659463edt.123.2023.04.07.03.53.40; Fri, 07 Apr 2023 03:54:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=ACLLbGt1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S240322AbjDGKwE (ORCPT + 99 others); Fri, 7 Apr 2023 06:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240507AbjDGKvC (ORCPT ); Fri, 7 Apr 2023 06:51:02 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10C97B44D for ; Fri, 7 Apr 2023 03:50:50 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id p34so23845999wms.3 for ; Fri, 07 Apr 2023 03:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680864649; x=1683456649; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FrRjNsG8dDfUlp/X2GO5GwvyXP0i6VtlSWcC/Gq+Hfw=; b=ACLLbGt1OwOJODwmJx3o9oqj4zdQCSTqLWYpDlrLRPGcUtSuQ2BIq77jDcko9hab2y K9tRxzUIOUPeh7QIE3eh/i4YpA1xMj7MthRtDnfbfgcTINE/LjPYIlL7jWNmGWtUP4Bg hIY3gVYC/jqzqi+OW8ndbQP34DMJ+st1RV72Kn/+oIuf7wzzIuIBeW0SVpn+CA4fAMjc nghoLDnfWj5p1FNVzXMhhZAPOe4B4h3ROK6slK1a/ofnandvCN4c6Hh7IdGpj4/GqIXP uH65XyzgTZwBBOucxUUsxi8OJIgS2VscOWoSud2xrWPpsY7OMDf3tVWxMh+0Ta7mT9oR 51mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680864649; x=1683456649; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FrRjNsG8dDfUlp/X2GO5GwvyXP0i6VtlSWcC/Gq+Hfw=; b=waBWIBY1pgjFkQYwTOUmFPTo5wA6z47AoumxAGbzWA4dluLcmMCor3XAXo5M3zpPLV CM+7wHBPkfQq8KHih1ixOcNazlDoW/6kLN7EinwAjf4+Eho8Z+CstrfEx4lVFJ6VdBZt RQ7wzV5BsKAPvxttLtJH1e2w9dlejNZu/dnncDFCWGP917YflXYMS/79FB0EYNHmmcxx 6saAvnTJe9djt8ftGKgvHmp92K9PYN9nheNE8atNL7pd86ZZw3exvXNQIzL9kUxYA2Ai ixATP96FCJzNfrpk06IQRUG6due2McGR1eMuVuK2B5UL9rpzGZdXkedRKLXz/3bPPPVM Gfbg== X-Gm-Message-State: AAQBX9dUHiLiqpnz3bf+/r4IABqbiW+MxEmDynhzcIr6sekjHpquR9s8 ijNwD5tlW6tt2lhRt2nomNSMyw== X-Received: by 2002:a7b:c7d9:0:b0:3ee:d7f:6676 with SMTP id z25-20020a7bc7d9000000b003ee0d7f6676mr1081052wmk.11.1680864649116; Fri, 07 Apr 2023 03:50:49 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id i16-20020a05600c355000b003ede6540190sm8131909wmq.0.2023.04.07.03.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 03:50:48 -0700 (PDT) From: Abel Vesa To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Adrian Hunter , "James E . J . Bottomley" , "Martin K . Petersen" , Herbert Xu , "David S . Miller" , Eric Biggers Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCH v6 6/6] arm64: dts: qcom: sm8550: Add the Inline Crypto Engine node Date: Fri, 7 Apr 2023 13:50:29 +0300 Message-Id: <20230407105029.2274111-7-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407105029.2274111-1-abel.vesa@linaro.org> References: <20230407105029.2274111-1-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=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-crypto@vger.kernel.org Add support for UFS ICE by adding the qcom,ice property and the ICE dedicated devicetree node. While at it, add the reg-name property to the UFS HC node to be in line with older platforms. Signed-off-by: Abel Vesa --- The v5 is here: https://lore.kernel.org/all/20230403200530.2103099-7-abel.vesa@linaro.org/ Changes since v5: * Dropped the reg-names property from UFS node as it was not needed and makes the bindings check fail Changes since v4: * none Changes since v3: * none arch/arm64/boot/dts/qcom/sm8550.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index d252658c73dd..2b3a721292b6 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1932,9 +1932,18 @@ ufs_mem_hc: ufs@1d84000 { <0 0>, <0 0>, <0 0>; + qcom,ice = <&ice>; + status = "disabled"; }; + ice: crypto@1d88000 { + compatible = "qcom,sm8550-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0 0x01d88000 0 0x8000>; + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0 0x01f40000 0 0x20000>; -- 2.34.1