Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1865862rwb; Fri, 11 Nov 2022 01:17:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SvtA6NtOkyMLJ5hoODObqIZElGxcdZCgwCHwEVZAYfLg6uvwImJmtjnxcvr2xOPgUgnxn X-Received: by 2002:a17:90a:7341:b0:20b:25f6:3e30 with SMTP id j1-20020a17090a734100b0020b25f63e30mr921352pjs.227.1668158277967; Fri, 11 Nov 2022 01:17:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668158277; cv=none; d=google.com; s=arc-20160816; b=bfJguvcSeJCn4ox+T3J6PsaTyvPzNhaBkSk7XyGVPKshnHoRe/Yr2z4HpNUg95eKRf scYVmdZUKnCVmUzO6EKK5BMpJ2nJ2O9cPou2DDKPzotE1Gvcy/I3Hws+t6TI/XBV/rtO gtMbH2qcurmZM1LYxmXYQiiTdVg5GDXS+bevxSGYQTR8GdgBRfiLV6ONezYVdxjYYJf6 qwTum2ia4NypIJmLHv/JXXhYV+rOBjbt8PyovtiAOWQajOSaTcXnOBrzUUT0sWUeX23c 4QbXK5vm4IBFoGSawatBN015aVmyffjN8x7OrQnKcEmQWDX3qOxhRV57taQwUeXtBnxy RsAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KaMcBLsoVyqtu03uWUf8qFf/NtXFui3YcFfaHhghhcg=; b=kINR93n/EHbos5jz3fnrMB0g5K/pJaJEC5H4BVCcFXA2qf6T83oNjXwmb8jIoFiAb5 NrMcglcZ5Ysscx199NOWe/jXL6OMlX5rxqvz8e8OujIIZdczANrugDZhT7wNmaCpni4i iXy5gOZAToD2RsbRQS/t3zKTNyTgIcZDz1KdNpWpAVqtq25JvCdDVnQrYcpoBtM+qY3y Uqgo0GCGTjrpSQt8dIjRPtuAl2YcAyZSbePCp08Su0rFsSzY/U1Q09ek0GKgDwvT8UCA WEIiL0IAiiA1wRbR0Wv7NzG+nX3qgHf2JFTvMfSvY6GxB9l7FcpRqf1nM2tODF7vW4BJ 3tYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dcUIec17; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pl9-20020a17090b268900b00212ce534ef7si2076414pjb.22.2022.11.11.01.17.46; Fri, 11 Nov 2022 01:17:57 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=dcUIec17; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232778AbiKKI5H (ORCPT + 93 others); Fri, 11 Nov 2022 03:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231167AbiKKI5F (ORCPT ); Fri, 11 Nov 2022 03:57:05 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE929F5AA; Fri, 11 Nov 2022 00:57:01 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id h9so5646951wrt.0; Fri, 11 Nov 2022 00:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KaMcBLsoVyqtu03uWUf8qFf/NtXFui3YcFfaHhghhcg=; b=dcUIec17fXShU0D22Ke0SSuSdFN+k+3iWRH8dz53i8WclFqju4JkG3PwJpCH+pnNrb IEvbY0q8xwL2Vys7UlnRa+zXwyy+63UIkmfmd26FAdfebzmAmc5bRO+6FKjwvBJaH/0u Xr3R2QNGt+JAQnqQajFyZU6jJOdDYf1Q+dty4/dlksaSHmm18+5Tks5yGne3Gc0z3KYY N+1V4sZsWV+V3TJ4M8LMG8UTDcr5JLk2gHdCmREptMv28bLEkustBhNA4qofg5wUwaKz VW+sgXmPESSIR9EwbeEpAC6aNinw8pcBx3j7Y88H+3DuZaoMXx0fKzJrMSiB+fg1S/ja zp/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KaMcBLsoVyqtu03uWUf8qFf/NtXFui3YcFfaHhghhcg=; b=A6kABpa4DOusCqULcTf0b2VdPsv5kZmvSZHs1aNprhjGsHkGFlhtTgmUKpvJnj6yhe McI797r/JS9dmlSsgSHFRW+7bVth7+/r5bPNXS5+I1zSsWhFvpxtYJXfSWQswSkiZ1VM VGJOSi0m+2c96tWdI2JQTyy3bEhvBL+wLxaLMlu5Rq++PLVbQaRL3QyCMBHztITcQm74 ikrY4o8NlsgflfK0b/tyYUAGqCJ9XYPeNZ4rM3lOtWoUDLteJdDWiYErk1r0+OexlVdE Uvn5tuGDo1h8IDot2YCFE4yKoUhC/FeOU3jB0wugxxytuWEHw8q4Ps9JEL4M7HFWAw0i Hy6A== X-Gm-Message-State: ANoB5pnkbdTJhzBOGdHwPFx+5srXIq1qeb4wA/guZEejDoUhWanHk7gi Q4z2TgWacRMYfYDIxFh43dA= X-Received: by 2002:a5d:558b:0:b0:236:7670:68b5 with SMTP id i11-20020a5d558b000000b00236767068b5mr605179wrv.149.1668157020392; Fri, 11 Nov 2022 00:57:00 -0800 (PST) Received: from [192.168.1.131] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id d8-20020a1c7308000000b003cf7928e731sm2223476wmb.9.2022.11.11.00.56.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Nov 2022 00:56:58 -0800 (PST) Message-ID: <1925e515-1a0b-f1bf-0f99-47a45de10d06@gmail.com> Date: Fri, 11 Nov 2022 09:56:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [RFC v3 04/11] arm64: dts: mt7986: add crypto related device nodes Content-Language: en-US To: Frank Wunderlich , linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Shih , Vic Wu References: <20221106085034.12582-1-linux@fw-web.de> <20221106085034.12582-5-linux@fw-web.de> From: Matthias Brugger In-Reply-To: <20221106085034.12582-5-linux@fw-web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, 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: X-Mailing-List: linux-kernel@vger.kernel.org On 06/11/2022 09:50, Frank Wunderlich wrote: > From: Sam Shih > > This patch adds crypto engine support for MT7986. > > Signed-off-by: Vic Wu > Signed-off-by: Sam Shih > Signed-off-by: Frank Wunderlich Applied, thanks! > --- > arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 4 ++++ > arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 15 +++++++++++++++ > arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 4 ++++ > 3 files changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts > index de5d771e5251..2b5d7ea31b4d 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts > @@ -43,6 +43,10 @@ reg_5v: regulator-5v { > }; > }; > > +&crypto { > + status = "okay"; > +}; > + > ð { > status = "okay"; > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > index 58bbecfbab98..1c7a973c28ca 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > @@ -205,6 +205,21 @@ trng: rng@1020f000 { > status = "disabled"; > }; > > + crypto: crypto@10320000 { > + compatible = "inside-secure,safexcel-eip97"; > + reg = <0 0x10320000 0 0x40000>; > + interrupts = , > + , > + , > + ; > + interrupt-names = "ring0", "ring1", "ring2", "ring3"; > + clocks = <&infracfg CLK_INFRA_EIP97_CK>; > + clock-names = "infra_eip97_ck"; > + assigned-clocks = <&topckgen CLK_TOP_EIP_B_SEL>; > + assigned-clock-parents = <&apmixedsys CLK_APMIXED_NET2PLL>; > + status = "disabled"; > + }; > + > uart0: serial@11002000 { > compatible = "mediatek,mt7986-uart", > "mediatek,mt6577-uart"; > diff --git a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts > index cd1763fa7f19..a98025112b5a 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts > @@ -43,6 +43,10 @@ reg_5v: regulator-5v { > }; > }; > > +&crypto { > + status = "okay"; > +}; > + > ð { > status = "okay"; >