Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5391435rwj; Wed, 21 Dec 2022 01:53:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXskFg4tPrDAIM3Jv2FzgirsmstXOYFwFyYk6e4I1vHNHbnkkzytFUv5FvGKmE/R+GLkDeow X-Received: by 2002:a05:6402:f8f:b0:477:e889:5533 with SMTP id eh15-20020a0564020f8f00b00477e8895533mr4896065edb.25.1671616387834; Wed, 21 Dec 2022 01:53:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671616387; cv=none; d=google.com; s=arc-20160816; b=0hmsbqkvM9lwtFYR+XL2nfPipEuH1RbVWmTMj/xhKPZ3QiDleAwqedcXmk+09LlWz+ cive0pApZS33Jy2r54fSMzVPtwthxjKEq8lpDD+h28VTutnR9mUkUMahiF7aEZEMJ2oz WHPVczcCwj58PzTd1a2jUt/AP3szekisMZwiWrsxVIMydE7g08wYf4uuI3UhCJJ2+Ygu GCEbn4D6/IKK1g/eoiaRUW5okLp+CUHSz+AlAj/gQq8ZT4EC7awIWOxor56LrHYrGw42 DL8HBIgEQNXL4ebqHxsg917YmQyCNUAmkL/SyrHnt68CFL6d6HJJX1i16fWZKu6YAACi /iDQ== 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=okq6sy0T7fU71tA3WrKAH0MDghE0qvD1udHSmisw4vU=; b=aIdSS6CSxe49KkZ7fSQNPctW2WM3x3QrtXDPOfAeF1fedgPW7NDPpnMkYhdJZTCxOe 4Nf3CZqDvn4zc80avSexFINbsLEFMIE6FjybFlKHTgkZYU38Yp6oRD6/AeqtaF+sVCMO C+lC9corbwht7yyZU4QakcyvCZkoM1ocreQbBAoTEs4rDObtIqQCJjZ8znWxcAEb17Qv LEJklt+ig+a5pPKWPcQVabUi4uFfTDlwNUVmF6YzcEu6EhJRweLSc2enO9e7yCTQIEht +eFrxVtiqNfT5JPepua9+xi2iNye2uw0SGiRaxmEtqTwVAY3BNfIsx1zUqFwn5C+FDvG jXmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rSFedQ6e; 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 e20-20020a056402191400b00461d2ed78afsi14915800edz.563.2022.12.21.01.52.43; Wed, 21 Dec 2022 01:53:07 -0800 (PST) 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=rSFedQ6e; 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 S229491AbiLUJu6 (ORCPT + 99 others); Wed, 21 Dec 2022 04:50:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234634AbiLUJuG (ORCPT ); Wed, 21 Dec 2022 04:50:06 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77C8B22BD3 for ; Wed, 21 Dec 2022 01:48:10 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id bf43so22666470lfb.6 for ; Wed, 21 Dec 2022 01:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=okq6sy0T7fU71tA3WrKAH0MDghE0qvD1udHSmisw4vU=; b=rSFedQ6ephSqoSOM1xNTjzp4TxR/NrCK8xF040bSJAnk8UZxh6y12xYDiKsgIO0d+I 333TAG1ukoMrXJolIfe7YWtp6xonwwsmDdvorEsTUXNX6LBAqwQ2x4r97uTOJEbEEplN p/XOAaeKuItfaHA9VRPsRt0YRx/yUG/m78JcBOgJ9bpYIS2sLE95bh+q+nlRllXjPHTs ym8Hee5bRIISzpSysLbBiYMOMxAMjj1ZG/3YmnJcojHbV8GlY7TNKFqJPx8I0q6y73im ORuDVOVTVAJ4FN/HzIn4LkJkL45qBa0Oghji2Ja73jaUnV1cpEM55gUxn9/L/BjSc5lU oYQA== 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=okq6sy0T7fU71tA3WrKAH0MDghE0qvD1udHSmisw4vU=; b=YQLN06QdTitS7XKMLT96iIGaNlWtZDCeiVwrfQc9EnmNUFW5vpdtgkd3m21r9p8vbe 5xMWdhJW5/a7kHuHKjc2XqmewVIYpmICQrWWop0IvepdqbrhOqyZmP1CAuquxgfAGTCE UIZ0W3nDYkB6p1fzmoNYwVmr/bQnn852VGW0MDRsLEd166BZcBmD4S4+c6CyeyDEAZbM wS4WZjoR9P6fR3b1TK4cDLmwQKVZ7c2pRinQbsz7z/qunFl415WsnDDsL+6d6AL5z6/u 76K3ChY1fKXJmbw8Cj1rJpRcgs8Q/xP3OIu1+7Pw3zAgnYGxUsDXxNgv6J2HHysBqZ1z CRUg== X-Gm-Message-State: AFqh2kpm3vGc7Hk3zkiF+LwCG9St5wT7rCAHjYkmmlUbVa3RYKzt3Ali nSo3rlOC0c01qNHiT4aG5aAWNQ== X-Received: by 2002:a05:6512:4005:b0:4b5:9183:5ad0 with SMTP id br5-20020a056512400500b004b591835ad0mr1845395lfb.63.1671616088853; Wed, 21 Dec 2022 01:48:08 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id 7-20020ac25f07000000b004b49025f96dsm1782191lfq.187.2022.12.21.01.48.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 01:48:08 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2022 10:48:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 3/3] riscv: dts: starfive: Add TRNG node for VisionFive 2 Content-Language: en-US To: Jia Jie Ho , Olivia Mackall , Herbert Xu , Rob Herring , Krzysztof Kozlowski Cc: Emil Renner Berthing , Conor Dooley , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20221221090819.1259443-1-jiajie.ho@starfivetech.com> <20221221090819.1259443-4-jiajie.ho@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20221221090819.1259443-4-jiajie.ho@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 21/12/2022 10:08, Jia Jie Ho wrote: > Adding StarFive TRNG controller node to VisionFive 2 SoC. > > Co-developed-by: Jenny Zhang > Signed-off-by: Jenny Zhang > Signed-off-by: Jia Jie Ho > --- > arch/riscv/boot/dts/starfive/jh7110.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi > index 4ac159d79d66..dd3ad19772a5 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > @@ -455,5 +455,16 @@ uart5: serial@12020000 { > reg-shift = <2>; > status = "disabled"; > }; > + > + rng: rng@1600c000 { > + compatible = "starfive,jh7110-trng"; > + reg = <0x0 0x1600C000 0x0 0x4000>; > + clocks = <&stgcrg JH7110_STGCLK_SEC_HCLK>, > + <&stgcrg JH7110_STGCLK_SEC_MISCAHB>; > + clock-names = "hclk", "ahb"; > + resets = <&stgcrg JH7110_STGRST_SEC_TOP_HRESETN>; > + interrupts = <30>; > + status = "okay"; Drop. It's by default. Best regards, Krzysztof