Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1026372pxb; Thu, 4 Mar 2021 01:00:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDAHcpb+VW7mQp/yv8ez4QkLCL2atfBhq4y0uhBrucgZunU7O62IaAmQ53gW3n6v+yicEd X-Received: by 2002:a17:906:6a94:: with SMTP id p20mr3207705ejr.68.1614848418736; Thu, 04 Mar 2021 01:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614848418; cv=none; d=google.com; s=arc-20160816; b=QCysxYE9UqYmYccaDBaq9jEGwulwr6oWCBSB9oSbEiysTGHYIdZk0qBEDTATIYv8e5 WIRAwiJA48G+zlRhIs5qdRX5kwBFyum3dPpZ6rMqt59uu+JIs0SQSCUP/rVsn/nlpEor ybFllcn1X3XyUWY2J56X1smQwH+Ayo/iVgdd/P3N83iA/h/R6Krr5+FCL3lYtTG+PuW8 /M56852uXuwudDHApkPOPHAtp+Ko6c1sYgEb9TZxLLtTJb7SLElYkEWqcnHcKV6GQGxW Gp+VVI3u6CeaIMzctqKCj489qXoi9CfauV6ZXR1rYgUrWtSgpfD3KyGEvWP/vqRJquad aqqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Y34dj79PiaD5zgZqPahTx2kh9GmEN4wFHYnVe3x6ikw=; b=qtyO/IS7OGCJG132ag0wyt7ctT96L2K/gyH/YA104f5+svMx8riB7SDaGTGk+jE1TP b39yGdwpDLsQZWyWN1e39CyhfARX5pKnrupawO8mTiZUGf1XNtD2SRwRBYP8nME1aHcy jB5tt8sHZbAE8JOdsFx9fjENKekOcmazcT9yz2mpJDGFgWzCRSmxFcQChjqHcl96s5Tp arJwoxUSsM/ZGg3m5wZRmXbVZc8Va953rZBABVLRBU0m0fFpgaa+eH8uWo3vescs/ImD Iwr+STfdQY4011coNkdTb/Bz2P62pHxXWVX5Bc4wn7Q72qUByj0tdWwqX2SuL+4DdpWL EZ5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h26si5267186edq.453.2021.03.04.00.59.56; Thu, 04 Mar 2021 01:00:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239851AbhCCMxP (ORCPT + 99 others); Wed, 3 Mar 2021 07:53:15 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:60740 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1842732AbhCCILK (ORCPT ); Wed, 3 Mar 2021 03:11:10 -0500 X-UUID: 068f4a0470aa42498db92df92c488324-20210303 X-UUID: 068f4a0470aa42498db92df92c488324-20210303 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1551120669; Wed, 03 Mar 2021 16:10:19 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Mar 2021 16:10:12 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 3 Mar 2021 16:10:12 +0800 From: Vic Wu To: Herbert Xu CC: "David S . Miller" , Ryder Lee , , , , , Vic Wu Subject: [PATCH] crypto: mediatek - remove obsolete documentation Date: Wed, 3 Mar 2021 16:09:23 +0800 Message-ID: <20210303080923.16761-1-vic.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The crypto mediatek driver has been replaced by the inside-secure driver now. Remove DT bindings documentation and update crypto engine nodes to the mt7623.dtsi files. Signed-off-by: Vic Wu Acked-by: Ryder Lee --- Documentation/devicetree/bindings/crypto/mediatek-crypto.txt | 25 ------------------- arch/arm/boot/dts/mt7623.dtsi | 8 +++--- 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/crypto/mediatek-crypto.txt diff --git a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt b/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt deleted file mode 100644 index 450da3661cad..000000000000 --- a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt +++ /dev/null @@ -1,25 +0,0 @@ -MediaTek cryptographic accelerators - -Required properties: -- compatible: Should be "mediatek,eip97-crypto" -- reg: Address and length of the register set for the device -- interrupts: Should contain the five crypto engines interrupts in numeric - order. These are global system and four descriptor rings. -- clocks: the clock used by the core -- clock-names: Must contain "cryp". -- power-domains: Must contain a reference to the PM domain. - - -Example: - crypto: crypto@1b240000 { - compatible = "mediatek,eip97-crypto"; - reg = <0 0x1b240000 0 0x20000>; - interrupts = , - , - , - , - ; - clocks = <ðsys CLK_ETHSYS_CRYPTO>; - clock-names = "cryp"; - power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; - }; diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index aea6809500d7..25e3f3b04123 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -949,16 +949,14 @@ }; crypto: crypto@1b240000 { - compatible = "mediatek,eip97-crypto"; + compatible = "inside-secure,safexcel-eip97"; reg = <0 0x1b240000 0 0x20000>; interrupts = , , , - , - ; + ; + interrupt-names = "ring0", "ring1", "ring2", "ring3"; clocks = <ðsys CLK_ETHSYS_CRYPTO>; - clock-names = "cryp"; - power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; status = "disabled"; }; -- 2.18.0