From patchwork Thu Aug 20 10:51:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atte Tommiska X-Patchwork-Id: 253158 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D45FCC433E8 for ; Thu, 20 Aug 2020 10:59:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B21D720724 for ; Thu, 20 Aug 2020 10:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731125AbgHTK7X (ORCPT ); Thu, 20 Aug 2020 06:59:23 -0400 Received: from auth-smtp.nebula.fi ([217.149.52.145]:57641 "EHLO auth-smtp.nebula.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731568AbgHTK60 (ORCPT ); Thu, 20 Aug 2020 06:58:26 -0400 Received: from developer-Precision-3630-Tower (82-203-173-204.bb.dnainternet.fi [82.203.173.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: xipheracom) by auth-smtp.nebula.fi (Postfix) with ESMTPSA id 610584468; Thu, 20 Aug 2020 13:58:02 +0300 (EEST) From: Atte Tommiska To: Matt Mackall , Herbert Xu , Rob Herring , Arnd Bergmann , Greg Kroah-Hartman , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Atte Tommiska Subject: [PATCH v2 0/3] hwrng: add support for Xiphera XIP8001B Date: Thu, 20 Aug 2020 13:51:19 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patchset introduces a linux driver for Xiphera's XIP8001B IP. The IP is an FPGA-based TRNG which can be used in various FPGA families. The IP is in use in multiple customer projects and in Xiphera's own products. v2: fixed the 'make dt_binding_check' errors in the devicetree schema. Atte Tommiska (3): dt-bindings: vendor-prefixes: Add Xiphera vendor prefix dt-bindings: rng: add bindings for Xiphera XIP8001B hwnrg hwrng: xiphera-trng: add support for XIP8001B hwrng .../bindings/rng/xiphera,xip8001b-trng.yaml | 33 ++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/char/hw_random/Kconfig | 10 ++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/xiphera-trng.c | 151 ++++++++++++++++++ 5 files changed, 197 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/xiphera,xip8001b-trng.yaml create mode 100644 drivers/char/hw_random/xiphera-trng.c base-commit: bc752d2f345bf55d71b3422a6a24890ea03168dc