Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1692528lql; Wed, 13 Mar 2024 05:54:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8bpff9Gdcf+Lk+8gxwUbZxEfc7SaFLRaMHh+WqJZeM8CzP08ePgaevEhi1Z5xWjqia67YSLZGFSf1OK2FO1veZ4Op3RoqhftJ4MUBKw== X-Google-Smtp-Source: AGHT+IGBwZmk1d52TF5vvxXlTuGanY3m9JMhCN/+zPri/QRYtoqPs8B6uz0WKfTlnEg7rwEjsHPf X-Received: by 2002:a05:6358:b3c6:b0:17c:1b9b:bf46 with SMTP id pb6-20020a056358b3c600b0017c1b9bbf46mr12938622rwc.13.1710334461539; Wed, 13 Mar 2024 05:54:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710334461; cv=pass; d=google.com; s=arc-20160816; b=d4boSBn7UGX24Y51Fy7+waflX5HIIUQv9VdBXmmNdvVnOvJD9Sq477e1QvTrjnvcv4 DLBhZI8DHwb4mMu1porPPg2pzk+w8cRXfXU4oHFBYB17tmHc3oAmduT6n+cA0iPqU44u vPUeMsSD+Tv4XgLI5H4653Tx+Ui8KOHHVeUTMkNvWqUCV2HkpNWvOn7cbiIfEwm59N9S 5RmNU8xl5t4TqN8lJQmfg4dshHgb8riA2pFbRvinlzUH3OiK65hIeNZZlcsiAOD2hGDf 6E4L2p/FzAYpYXBQnS7jcbuQTZuiYd/CMKen5Hr6IYmv0rdXpnd53j3hgoayNtIp/jh2 CoAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=bxb/4unMwiiw34slo/Lxt3H8AqpbzUye2nUxDtdgTWI=; fh=A22LCjmjTcce5aCfUNH4VKk5Pw5Q1u0VKyrXF2XoWso=; b=qvMYAxbTHiQiubN98OvPU9q2QhfyCfVMovm8CZ1yvTpM6N8ng61LN4IKnz5WXi4Teh 4VvlGKRgu/kiIZOmLoZ35RO52bG5kVKdePRZcBFiahaQlc15t0tru5fpVjJ2KNXqhO3A AWrziN0aF8DUUAkJaLCnRf80sj36RkFlAVdCNkh3KmhvPCLZxtqKt5ja7Z+B5JvEwjyV wXOseJgm1D90P1KDzD32clkN4fnZrUUTZPctYFR6gN4aVAy5i6vUhA3w7x49cLP7vU+t 618VFarX4ceIglQ8ATe/CYUJhs3iGqZsm+BtM2x7ooDxciSNN9e8GJfzcLZAmnpWbV7h iB+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=YoTCUFbT; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-crypto+bounces-2663-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2663-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y20-20020a63de54000000b005ce025116bbsi8794506pgi.858.2024.03.13.05.54.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 05:54:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2663-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=YoTCUFbT; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-crypto+bounces-2663-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2663-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B2DB6B232AB for ; Wed, 13 Mar 2024 12:54:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26788433B3; Wed, 13 Mar 2024 12:53:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="YoTCUFbT" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 355783E487 for ; Wed, 13 Mar 2024 12:53:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710334416; cv=none; b=D9DPsdln/EP6gwa/KDm7FM+moeG89fhXCWsHb0mMiNZBU+3fizzs7TKimp3ZpDYuuQZbWx9uEC0mZJ2qi7Xda12MyM88BszYL3Qh/kw3u+obR+EYOyU+cvk43A5veFort0xvT98fw6Hlfk71cft6HWHZSp1oVUVOaYgNywCX0QM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710334416; c=relaxed/simple; bh=t9ETQhsMi3JCo6L9lAIlwLKX3YACOoMJvy5t+4f3Db8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bYiLvkZqsFYwnSht6ehGT61yXCQhbsEZGCQ3ZiqGgLToxVFvjDjzHEq28Guiy9a+PCBcW4/8C5+fbe8BITcaQMZnsFa7RYJha5xy++NDPGR5atvNLsH7a0xIRXTGLTDK7HJc4buY6485JHpfKRjTN658BJj/bJ66l5+j2g1B38M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=YoTCUFbT; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a3122b70439so844602066b.3 for ; Wed, 13 Mar 2024 05:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1710334413; x=1710939213; darn=vger.kernel.org; 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=bxb/4unMwiiw34slo/Lxt3H8AqpbzUye2nUxDtdgTWI=; b=YoTCUFbTX79y4w2cya5MbDUdpBP5YG6Ec9fKbJK24RprL5dC/dG67c9GrNNw0/VhKA 2Lg4GwvGSFt1ORNwHCGkO6M1Pm/Jc1L0kVUe49xlIazzitv1p+Sm2sJsYC4Rf+nS9Wvi MxB7mwGZXsLQPjwH3RJ4+loKY1hlUsXwoskwBhZ6KpGEtPdWb+NMtKBwC61RFZdLOuoD uqwn5ffC9C+1nY8Ns06j/vPkLL5d5LNLIzOHV3ksrIRMXTf7EaL3x+xOkHmJTt5LqyRe IxwZF6sB3ci+NbCwM9jYYofP46fO/tga0AKcMrvu/fns0cAuKrXPIHYOzex9WX59+8Qt i+eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710334413; x=1710939213; 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=bxb/4unMwiiw34slo/Lxt3H8AqpbzUye2nUxDtdgTWI=; b=d90slVm1heYJ9JdCgUKrUkhdk0lqCtKnWVEacTjABe3esNRZtg1w8d/erMNhpKe9mi tKSSTG68UAyp63e91vj6vVQ3cB/CR4LR2QxTx0wBIIEelY3CEH467NCTCH7LeHdP8zAC SGyc0a0XdRi7r6+R0CXUOSwXqZroCeR0qmaphh3JojFh6H0YqYao4QUQutHdPHTfn13e kA0Q0rSBYdvQLGR5VYU60J4wIRcZe4rpZ5eb1KOMAWozmNGvJFjQYqPkTWFQjy3NRHr0 XKHkjvE2rqzA5pvdh1inWr0IPAVDFZUy/Y0/LYAbJiehFbL5y/UzIx1u5v1PmcDJqMje mTQg== X-Forwarded-Encrypted: i=1; AJvYcCVnl5s9Jriw95IaubMsnoGc9YtXRvpscoGTrJNRg6WC9o4llxl9Man9U3zkgKfF/W2wDSlOz95vEMoNJaUIJ11N7B91NTprbhYs1Jtr X-Gm-Message-State: AOJu0YwNT4BSADCTAcsKxc+2cycM9ro/juAnjQwyiqP2FYykmBWMvXlF rqTcYgYGHlDdi9ctA80nhkFqJMp0dpTFtnLFpWaXHp+a+7EMpBA4Kk6Cx0Wm2G8= X-Received: by 2002:a17:907:cbc4:b0:a46:4e73:9c67 with SMTP id vk4-20020a170907cbc400b00a464e739c67mr2151230ejc.68.1710334413569; Wed, 13 Mar 2024 05:53:33 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id jw22-20020a170906e95600b00a4623030893sm3249098ejb.126.2024.03.13.05.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 05:53:32 -0700 (PDT) From: Luca Weiss Date: Wed, 13 Mar 2024 13:53:15 +0100 Subject: [PATCH 2/2] arm64: dts: qcom: sc7280: Add inline crypto engine Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240313-sc7280-ice-v1-2-3fa089fb7a27@fairphone.com> References: <20240313-sc7280-ice-v1-0-3fa089fb7a27@fairphone.com> In-Reply-To: <20240313-sc7280-ice-v1-0-3fa089fb7a27@fairphone.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Add the ICE found on sc7280 and link it to the UFS node. For reference: [ 0.261424] qcom-ice 1d88000.crypto: Found QC Inline Crypto Engine (ICE) v3.2.0 Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 83b5b76ba179..3ea5f9cf040e 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2314,6 +2314,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, <0 0>, <0 0>, <0 0>; + qcom,ice = <&ice>; + status = "disabled"; }; @@ -2336,6 +2338,13 @@ ufs_mem_phy: phy@1d87000 { status = "disabled"; }; + ice: crypto@1d88000 { + compatible = "qcom,sc7280-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0 0x01d88000 0 0x8000>; + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + }; + cryptobam: dma-controller@1dc4000 { compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; reg = <0x0 0x01dc4000 0x0 0x28000>; -- 2.44.0