From patchwork Thu Jul 23 06:24:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11680115 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8EFFF138C for ; Thu, 23 Jul 2020 06:25:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80807206C1 for ; Thu, 23 Jul 2020 06:25:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726811AbgGWGZa (ORCPT ); Thu, 23 Jul 2020 02:25:30 -0400 Received: from mail142-22.mail.alibaba.com ([198.11.142.22]:61415 "EHLO mail142-22.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbgGWGZa (ORCPT ); Thu, 23 Jul 2020 02:25:30 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.4074689|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_news_journal|0.00508361-6.35577e-05-0.994853;FP=0|0|0|0|0|-1|-1|-1;HT=e01l07447;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=22;RT=22;SR=0;TI=SMTPD_---.I6H7HEV_1595485508; Received: from localhost.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.I6H7HEV_1595485508) by smtp.aliyun-inc.com(10.147.40.7); Thu, 23 Jul 2020 14:25:15 +0800 From: =?utf-8?b?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= To: arnd@arndb.de, gregkh@linuxfoundation.org, mpm@selenic.com, herbert@gondor.apana.org.au, robh+dt@kernel.org Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, hadar.gat@arm.com, prasannatsmkumar@gmail.com, krzk@kernel.org, masahiroy@kernel.org, rdunlap@infradead.org, xuzaibo@huawei.com, daniel.thompson@linaro.org, tmaimon77@gmail.com, dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com, rick.tyliu@ingenic.com, yanfei.li@ingenic.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com Subject: [PATCH v2 0/2] Add support for the RNG in Ingenic JZ4780 and X1000. Date: Thu, 23 Jul 2020 14:24:44 +0800 Message-Id: <20200723062446.84013-1-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org v1->v2: Use "help" instead "---help---" in Kconfig. 周琰杰 (Zhou Yanjie) (2): dt-bindings: RNG: Add Ingenic RNG bindings. crypto: Ingenic: Add hardware RNG for Ingenic JZ4780 and X1000. .../devicetree/bindings/rng/ingenic,rng.yaml | 36 +++++ drivers/char/hw_random/Kconfig | 15 ++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/ingenic-rng.c | 154 +++++++++++++++++++++ 4 files changed, 206 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/ingenic,rng.yaml create mode 100644 drivers/char/hw_random/ingenic-rng.c