From patchwork Mon Oct 12 08:21:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 54745 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 3537822DB6 for ; Mon, 12 Oct 2015 08:22:07 +0000 (UTC) Received: by wijq8 with SMTP id q8sf30478998wij.1 for ; Mon, 12 Oct 2015 01:22:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=3r97/LeSKRkZoK44HVUqsl5o3ne4k7rRbO1wF/APEYg=; b=J/cQ57gYELQJYQWyE9UymlSTlZgAWqHfnFBmnvWtP147ZmerATgckKWm3jhfcr3BBP /vGwGGDeMyp4ztaIYPBkZZSHJQqs+Viv10HEUsmul4unDYbFcUrBDIoNc0uX9I+CyGJj qGH0q4rLYHS2mDNopt7/vk8/HqI4x77NSNJAbqiERHm+UcXx439AvKWSdEccnRNpNLA+ Qw8KEAnBssTUwvyxVzUSPBq5HlNS2NNY9nO0pgSiJ5whmCt8meMkgIn0WePP90PEsfKx 74RNKUzxrjdxDP5T6tFjxOB1EBP/92BUGbbRIZqaxQp67UICvw4bn7UTuMzcvgQj8Fke GHUQ== X-Gm-Message-State: ALoCoQkMJcQXhnn3Lc9+8m3XEp3MTGpERQMoiTnWjL/v6HrFC/07Zlh3AXivxIBS6ZHG0jXqELnT X-Received: by 10.194.240.230 with SMTP id wd6mr5343696wjc.0.1444638126070; Mon, 12 Oct 2015 01:22:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.42.209 with SMTP id q200ls537224lfq.72.gmail; Mon, 12 Oct 2015 01:22:05 -0700 (PDT) X-Received: by 10.25.207.82 with SMTP id f79mr7910656lfg.73.1444638125924; Mon, 12 Oct 2015 01:22:05 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id n16si10399092lfe.107.2015.10.12.01.22.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 01:22:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbwr8 with SMTP id r8so133705456lbw.2 for ; Mon, 12 Oct 2015 01:22:05 -0700 (PDT) X-Received: by 10.112.202.35 with SMTP id kf3mr11846648lbc.19.1444638125759; Mon, 12 Oct 2015 01:22:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1414141lbq; Mon, 12 Oct 2015 01:22:05 -0700 (PDT) X-Received: by 10.180.10.101 with SMTP id h5mr12189773wib.22.1444638125079; Mon, 12 Oct 2015 01:22:05 -0700 (PDT) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com. [209.85.212.179]) by mx.google.com with ESMTPS id k10si1545967wib.4.2015.10.12.01.22.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 01:22:05 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.179 as permitted sender) client-ip=209.85.212.179; Received: by wicge5 with SMTP id ge5so140011496wic.0 for ; Mon, 12 Oct 2015 01:22:04 -0700 (PDT) X-Received: by 10.180.96.166 with SMTP id dt6mr13658477wib.38.1444638124884; Mon, 12 Oct 2015 01:22:04 -0700 (PDT) Received: from wychelm.lan (cpc4-aztw19-0-0-cust71.18-1.cable.virginm.net. [82.33.25.72]) by smtp.gmail.com with ESMTPSA id jt3sm18356370wjc.12.2015.10.12.01.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 01:22:03 -0700 (PDT) From: Daniel Thompson To: Matt Mackall , Herbert Xu Cc: Daniel Thompson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Maxime Coquelin , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Date: Mon, 12 Oct 2015 09:21:28 +0100 Message-Id: <1444638090-22886-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1444638090-22886-1-git-send-email-daniel.thompson@linaro.org> References: <1443904519-24012-1-git-send-email-daniel.thompson@linaro.org> <1444638090-22886-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This adds documentation of device tree bindings for the STM32 hardware random number generator. Signed-off-by: Daniel Thompson Acked-by: Maxime Coquelin Acked-by: Rob Herring --- .../devicetree/bindings/rng/st,stm32-rng.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,stm32-rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,stm32-rng.txt b/Documentation/devicetree/bindings/rng/st,stm32-rng.txt new file mode 100644 index 000000000000..47f04176f93b --- /dev/null +++ b/Documentation/devicetree/bindings/rng/st,stm32-rng.txt @@ -0,0 +1,21 @@ +STMicroelectronics STM32 HW RNG +=============================== + +The STM32 hardware random number generator is a simple fixed purpose IP and +is fully separated from other crypto functions. + +Required properties: + +- compatible : Should be "st,stm32-rng" +- reg : Should be register base and length as documented in the datasheet +- interrupts : The designated IRQ line for the RNG +- clocks : The clock needed to enable the RNG + +Example: + + rng: rng@50060800 { + compatible = "st,stm32-rng"; + reg = <0x50060800 0x400>; + interrupts = <80>; + clocks = <&rcc 0 38>; + };