Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7049748rwl; Mon, 9 Jan 2023 17:14:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXvaraCaT1Z2ZCfPF4TtAydturaNWY9JxgZe597i+W0hQqD0G/2t0iWZWPNH7TLZcxD0qgIA X-Received: by 2002:a05:6a21:3990:b0:a7:787:80ed with SMTP id ad16-20020a056a21399000b000a7078780edmr74689098pzc.17.1673313261227; Mon, 09 Jan 2023 17:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673313261; cv=none; d=google.com; s=arc-20160816; b=Aigtz5wqyEHVV8n7r1Gf1LEPlOjx5Af2WAFmBp6iz4ye6vFrId4WWtjPXlZDEQ1WAB JkPKotj3crNlUvRvBfg66ovgrMsQ8oXx+JCSc3rriRPhcNGqur7MkbpXOAnRFSoIUGC2 Qn5SELwgf3pwv6SFIgNLSjHSehl7ZIz32u4V1yFXu0/j9ZtQWNGippiugcInZU8asg34 5aE8IuuZwJH69IX2Rmjzeoh6014herzCQTzRVxnOx9Fu6NlWnc5pIHfA4K3l+rVbaHqE 4oh9dfsQHq4ZWQROw/E0vQ/KEQh8ffTiFW1rFSBIE2KQqhfCcx3KrgJnNWWQ/jKKAuY+ uufQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=6gMfLsEqwoD7uLgc9OESTNt39n2KEtz371gSwXb4ZJc=; b=r9qP/E49trpV7RvRdel6bcwMcRjZvWHA+FLJOgfURPHDtuxz9qeWurG15uI75ywRrh mAsuTXCG4qRtt6MT6rI6D01z0c2MQ4UdSt0A3NoS3M1wd0wCOhKhgMGnRfsqeTHNCXfQ sq39SZaYEw0jIUaclTS8+QwSWfKyPR2L2kUUkrC9snz++QoXRqo+imYvbB9wlhIMbQuf 0kCVM8uih101orHclsWWq5yRFb38Z/T+/91ePTvcJV5ji4ydJv5xQuQAaqFwQJX9FYyn ZJQxLRJ7hSQJUV8WwiZ7cK5blIHU32zfb5WeIrCiQcN7QdqTvGsiG2Go3kdTh539ETn2 H1kw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y12-20020a056a00190c00b00587cafeea1bsi5790595pfi.379.2023.01.09.17.14.01; Mon, 09 Jan 2023 17:14:21 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbjAJBAG convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Jan 2023 20:00:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbjAJBAF (ORCPT ); Mon, 9 Jan 2023 20:00:05 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7102B3D1D1; Mon, 9 Jan 2023 17:00:01 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 98EBA24E10F; Tue, 10 Jan 2023 08:59:58 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 10 Jan 2023 08:59:58 +0800 Received: from EXMBX168.cuchost.com ([fe80::3c2d:dee5:4938:3fc4]) by EXMBX168.cuchost.com ([fe80::3c2d:dee5:4938:3fc4%16]) with mapi id 15.00.1497.044; Tue, 10 Jan 2023 08:59:58 +0800 From: JiaJie Ho To: Conor Dooley CC: Olivia Mackall , Herbert Xu , Rob Herring , "Krzysztof Kozlowski" , Emil Renner Berthing , Conor Dooley , "linux-crypto@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-riscv@lists.infradead.org" Subject: RE: [PATCH v3 3/3] riscv: dts: starfive: Add TRNG node for VisionFive 2 Thread-Topic: [PATCH v3 3/3] riscv: dts: starfive: Add TRNG node for VisionFive 2 Thread-Index: AQHZJEs2/69byV6q60qz9odnDfnRWq6V2l8AgAD5KdA= Date: Tue, 10 Jan 2023 00:59:58 +0000 Message-ID: <31f6c05b2836450d86560c3efda4abf2@EXMBX168.cuchost.com> References: <20230109165249.110279-1-jiajie.ho@starfivetech.com> <20230109165249.110279-4-jiajie.ho@starfivetech.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [202.190.108.220] x-yovoleruleagent: yovoleflag Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,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-crypto@vger.kernel.org > -----Original Message----- > From: Conor Dooley > Sent: 10 January, 2023 2:02 AM > To: JiaJie Ho > Cc: Olivia Mackall ; Herbert Xu > ; Rob Herring ; > Krzysztof Kozlowski ; Emil Renner > Berthing ; Conor Dooley ; > linux-crypto@vger.kernel.org; devicetree@vger.kernel.org; linux- > kernel@vger.kernel.org; linux-riscv@lists.infradead.org > Subject: Re: [PATCH v3 3/3] riscv: dts: starfive: Add TRNG node for VisionFive > 2 > > Hey folks, > > On Tue, Jan 10, 2023 at 12:52:49AM +0800, 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 | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi > > b/arch/riscv/boot/dts/starfive/jh7110.dtsi > > index 4ac159d79d66..3c29e0bc6246 100644 > > --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi > > +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > > @@ -455,5 +455,15 @@ 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>; > > Which clock source is this? I see syscrg and aoncrg in the v3 > devicetree: > https://lore.kernel.org/linux-riscv/20221220011247.35560-7- > hal.feng@starfivetech.com/ > > Have a missed a patchset which adds support for this particular clock > controller? At the very least, I don't think one has reached the linux-riscv > mailing list. > The clock driver patchset only has aoncrg & syscrg: > https://lore.kernel.org/linux-riscv/20221220005054.34518-1- > hal.feng@starfivetech.com/ > Hi Conor, Thanks for reviewing the patches. Yes, the patch for stg domain hasn't been submitted yet. In this case should I drop this patch from the series until the related patches reach the mailing list? Thanks ,Jia Jie