Message ID | 20230313115202.3960700-8-abel.vesa@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1138480wrd; Mon, 13 Mar 2023 05:00:15 -0700 (PDT) X-Google-Smtp-Source: AK7set8Aoi9XNYMv9WWmIqyq+s8cC57nJwNq8eA9ajrpyMuY/3IJu7Df2y4HXFk5sWeYYXosDuPb X-Received: by 2002:a17:902:c40d:b0:1a0:5349:6606 with SMTP id k13-20020a170902c40d00b001a053496606mr2013495plk.56.1678708815415; Mon, 13 Mar 2023 05:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678708815; cv=none; d=google.com; s=arc-20160816; b=ftuN8v2xxu9dCv1EpeF+G+uktIVVcaQpGLLjDAQuzd2smwXVlAWvCkv2+IIwFV1Fbp vYwmBAP+j3cRc6zZNzdUZqznUPrS9CMPfFZmTBJ+snI9KYqcpibQJCc4nTZhWStWOqY/ Cl+aeF4efluzk/cZ9tD59XCdNCeGKczzppiA3gFGzHZ0k4K40y8jDudkQ0iGMGsaHHPi 6my9jvlKDk2mV9ovlglxJOUni+Gw+UvArNscteyLSvOdxVjLNFHYyNFcHU18R//tK1w3 Oot0SxKeR3sO1OLfzm56X6Qoe+Q3MAZZG0b1EuuGJ6bug/q0sNcyYvZvDbLcqeIAdN5c LKAA== 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=GOM0wU6k8YL6zyefl9B75iw3o3Fd7bxtMEc8BcltPP0=; b=nMYVRpXGXOh2Ua0ZNHnoXaVcScAGEvlk97KbxbXIZCW/tAYrIO063ip2S1KjHldyQR ZaUDfh2l8rtvqVMrh/DbnNEzgUdOSfpHRlX+a+FBzhZWvtFdqVu1JcjvtSl4CJxvMHHV mQUzMTqoISrf/4eezgRfj3j+OrmrHr/F1Jbkv86Coh+rPlt5I8qqQH1CrI53rhdnxJNW 0faWv3L57C825ssBQXM90awW4vNcZ5SUzoneSrQo/i3qsys0bPYGFK08aEH+4/wEaxXy 1EW9UQXLdx29daAZbAiP4gErEQqKs7AdCm/7SpyPADbljKzbhz9S/1RklOUweiIg153J kHjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yo1hi2na; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a635c49000000b004fb9c2c58cfsi6561074pgm.418.2023.03.13.04.59.53; Mon, 13 Mar 2023 05:00:15 -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=@linaro.org header.s=google header.b=Yo1hi2na; 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 S230515AbjCMLxx (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Mon, 13 Mar 2023 07:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231297AbjCMLwy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Mar 2023 07:52:54 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ECE75DCB0 for <linux-kernel@vger.kernel.org>; Mon, 13 Mar 2023 04:52:25 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso10764579wmb.0 for <linux-kernel@vger.kernel.org>; Mon, 13 Mar 2023 04:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678708340; 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=GOM0wU6k8YL6zyefl9B75iw3o3Fd7bxtMEc8BcltPP0=; b=Yo1hi2naG0TMf+Cn9+92jHE5y5ZQeGL2G+B5oUkfpmybCcARGI/7I1AXzrsFQjcWiV 8AVEXZfwN4N2infnF2YabGPFC6jZgqHR6KaSHDTnN2J9G7qlq1z4GJUGWILm4ND9cEmS i5GOo7xxBxsRM5Vxd6FIrU3YSoFTjHRGDlE27R5p5iRPAoB8HYfjvIPE+Aeolt+QTUgm kULNFWKJPUWPph19SJfjPntRxFYdOUuopzvkEVaH93E2WcphTJGOWDCX8Is5Cx558V/a haVkS8SWk6LJSshrTPtyaLryB3HegkrM/YwRTJtl3cwOAIyQWLT8oNOVg+HE2gR+Cafc tn+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678708340; 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=GOM0wU6k8YL6zyefl9B75iw3o3Fd7bxtMEc8BcltPP0=; b=pholrgcdeVXWqcryUFI0Ygso3SDdZGNac4eZ4iv0LdqB9xaF6fBMUjVmZHaHrCs6xN ZWwlOPYJXzMMnfDyTwBccuelSVsoqX3vynpospAd8476xr3gZauLJXKSj97Y2z5AjzjY /g4gRyGaZfd9u8NkuX/315BqobALzhf/sIQ5eoe4/subYUYXLQdIYmwUujXRg+kO8hx2 hSxNZS0tGhLyyjFpeKtzNr8rTr8z5U4Gy6fGsBjDucsl6brax8cyD9keYhzmr5RptBtn oXkbehuwTRZmOfiaIDo3aosu1eTJcD4gYlqlVgIw+xTkntgFDN1lXNXaTA7xanHOpT5y +sgA== X-Gm-Message-State: AO0yUKW2gx/n1k/7VCRVn6JZTFjESs/61OZeKH6KjoTTLpeEcIUz+Dmx UZw5DOYIncPAwkj+NwdIGosUQA== X-Received: by 2002:a05:600c:3b04:b0:3df:d431:cf64 with SMTP id m4-20020a05600c3b0400b003dfd431cf64mr10835575wms.39.1678708340264; Mon, 13 Mar 2023 04:52:20 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id u15-20020a05600c440f00b003e21dcccf9fsm8801090wmn.16.2023.03.13.04.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 04:52:19 -0700 (PDT) From: Abel Vesa <abel.vesa@linaro.org> To: Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Manivannan Sadhasivam <mani@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>, Avri Altman <avri.altman@wdc.com>, Bart Van Assche <bvanassche@acm.org>, Adrian Hunter <adrian.hunter@intel.com>, "James E . J . Bottomley" <jejb@linux.ibm.com>, "Martin K . Petersen" <martin.petersen@oracle.com>, Herbert Xu <herbert@gondor.apana.org.au>, "David S . Miller" <davem@davemloft.net>, Eric Biggers <ebiggers@kernel.org> Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [RFC PATCH v3 7/7] arm64: dts: qcom: sm8550: Add the Inline Crypto Engine node Date: Mon, 13 Mar 2023 13:52:02 +0200 Message-Id: <20230313115202.3960700-8-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230313115202.3960700-1-abel.vesa@linaro.org> References: <20230313115202.3960700-1-abel.vesa@linaro.org> 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=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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760253774897993449?= X-GMAIL-MSGID: =?utf-8?q?1760253774897993449?= |
Series |
Add dedicated Qcom ICE driver
|
|
Commit Message
Abel Vesa
March 13, 2023, 11:52 a.m. UTC
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 <abel.vesa@linaro.org>
---
Changes since v2:
* dropped all changes for the older platforms
* added the suppor for ICE with the new approach to the SM8550
arch/arm64/boot/dts/qcom/sm8550.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index ec45f13e55c9..ac7bf1e1a2ab 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1882,6 +1882,7 @@ ufs_mem_hc: ufs@1d84000 { compatible = "qcom,sm8550-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; reg = <0x0 0x01d84000 0x0 0x3000>; + reg-names = "std"; interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; phys = <&ufs_mem_phy>; phy-names = "ufsphy"; @@ -1924,9 +1925,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>;