Received: by 10.223.176.5 with SMTP id f5csp3125524wra; Mon, 29 Jan 2018 09:08:56 -0800 (PST) X-Google-Smtp-Source: AH8x227jSao2aDd4HMLkTlL+dl3QDTsnra3Hc8kt/+WLU2qQwb2Pbre/YfTYpyt5A7PHketzJUT2 X-Received: by 2002:a17:902:9a04:: with SMTP id v4-v6mr22000962plp.252.1517245736550; Mon, 29 Jan 2018 09:08:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517245736; cv=none; d=google.com; s=arc-20160816; b=Orzb8hc2XOuEFQhL496OO1/GCDihsVXm7l+aC8PMbZJ3vONDzus4+yx54kUND6AYFY C4uzTTi98hdYemIsjno1JJE6Ipa9hJFuYr2OVU7q4m1Papyw2xaL03dnGc+6KX12QxvV 9LuR1a//fgktpHizvsWp973uOmv7Uoqp8olVQqz1nWpIcXctOV4CoShO10uaYj6LNHOv 2zmCxpv3umj+l/9B0GKRl/IbbOJWpRwbkyNkmdDsU3zT72kF9Q6yFwTGIuTnXr/oNt5U HRc775PiBbmDF8Guj+nnKwMT/R/mh0MI0leCPQCBON50wsQRToqWeNw8P8bVHAFyLzyB 8jYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=j/XMjcIORc8yAi41cBwmi8vzYSfj9SsqNFF8IC++17w=; b=K2/KthpruO/XR71pPfox/sFiHu/BPy0bcg8lZ0KiF0lOHOBcrpR7R0w6MKpP/fXfzJ GUil0L+e+MWvngv3Rhx6TIUfXgdfpDUu7yD2au8vyrv2wd0uYmLWZJMkbHCJWwQGc7z6 gK6XP8BomOkD6D8Bf8ElXoBPtOyd3OTFQAu/U7kazmYXv+pCO3IBpZtlMnbXaOESUDTj fWCYDCJcarixwWbUuMwLGqVQCqXPU1honWh3GMfI1aHIj2O0zxuqiXlApROZcTs0w4+b juAco41c5HIkYaEs0nnyfKu+G3DAAiIGyljdrTFqJi2f5EvmCU3EQ5B/RUrc51TfKNa2 W/qw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 87si155333pfh.330.2018.01.29.09.08.41; Mon, 29 Jan 2018 09:08:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751626AbeA2RGu (ORCPT + 99 others); Mon, 29 Jan 2018 12:06:50 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:52661 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751510AbeA2RGo (ORCPT ); Mon, 29 Jan 2018 12:06:44 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0TH3nwG015527; Mon, 29 Jan 2018 18:06:19 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ft0t72nv9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 29 Jan 2018 18:06:19 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A558338; Mon, 29 Jan 2018 17:06:18 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node2.st.com [10.75.127.20]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 65F572D4D; Mon, 29 Jan 2018 17:06:18 +0000 (GMT) Received: from lmecxl0602.lme.st.com (10.75.127.48) by SFHDAG7NODE2.st.com (10.75.127.20) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 29 Jan 2018 18:06:17 +0100 From: Lionel Debieve To: Matt Mackall , Herbert Xu , Arnd Bergmann , Greg Kroah-Hartman , Maxime Coquelin , Alexandre Torgue , , , CC: Benjamin Gaignard , Ludovic Barre Subject: [PATCH 0/5] hwrng: stm32 - Improvement for stm32-rng Date: Mon, 29 Jan 2018 18:05:16 +0100 Message-ID: <20180129170521.1862-1-lionel.debieve@st.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG8NODE3.st.com (10.75.127.24) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-29_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This set of patches add extended functionalities for stm32 rng driver. Patch #1 includes a reset during probe to avoid any error status which can occur during bootup process and keep safe rng integrity. Patch #3 adds a new property to manage the clock error detection feature which can be disabled on specific target. Patch #5 rework the timeout calculation for read value that was previously defined based on loop operation and is now based on timer. Lionel Debieve (5): hwrng: stm32 - add reset during probe dt-bindings: rng: add reset node for stm32 hwrng: stm32 - allow disable clock error detection dt-bindings: rng: add clock detection error for stm32 hwrng: stm32 - rework read timeout calculation .../devicetree/bindings/rng/st,stm32-rng.txt | 4 ++ drivers/char/hw_random/stm32-rng.c | 44 ++++++++++++++-------- 2 files changed, 32 insertions(+), 16 deletions(-) -- 2.15.1