From patchwork Thu Sep 17 13:45:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 518845 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id DEFBE140B0D for ; Thu, 17 Sep 2015 23:46:40 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbbIQNqU (ORCPT ); Thu, 17 Sep 2015 09:46:20 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:36758 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbbIQNqL (ORCPT ); Thu, 17 Sep 2015 09:46:11 -0400 Received: by wicgb1 with SMTP id gb1so118744216wic.1 for ; Thu, 17 Sep 2015 06:46:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8qQgRCJZIMas/FiEDYBrbGLI9Vb9C5XjSVwcDdezzQc=; b=fkn0xw9+zXYBI7a3tStCxjF77tiAi8ZnMhHtvN1X72MmH7wXZUVjZyv0kQPBnDByGE 2zznzdCUqTj1J/45h5UqMZRrCcuiWbnRaFHM/7XL/6LWqwOQ47nNRBBy3pPN1XNfBce4 GjcS+6Qw/ONE8hyKX25ikP4hRtFI8Kad4+U4hEx01tTUjx6aUeAAKeZIB1fYXMfAOktg 6y89MxQ6XLxx6Ooy+J+//XGWsYynn6vq0HvGYAG4CPm3w/ZGsUIG1eyIWqc34SVpQBCu 4jvbzRLZBJiFt7zeArfhpBlP6AU/pB176izT2xSgujVe2DxG6XaYJEr01T48DfBzB2V8 9d6w== X-Gm-Message-State: ALoCoQk/BfEohWpITbRUo7VNee3QdwHIxraCNq/dLxH+5TcvSFLWyY1P/1T50iSS0zSSygOB2CuT X-Received: by 10.180.85.164 with SMTP id i4mr8305701wiz.54.1442497570581; Thu, 17 Sep 2015 06:46:10 -0700 (PDT) Received: from x1.o2wifi.co.uk ([46.233.116.143]) by smtp.gmail.com with ESMTPSA id hk5sm3547895wjb.6.2015.09.17.06.46.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Sep 2015 06:46:09 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, peter@korsgaard.com, festevam@gmail.com, kieranbingham@gmail.com Cc: kernel@stlinux.com, Lee Jones Subject: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator Date: Thu, 17 Sep 2015 14:45:54 +0100 Message-Id: <1442497557-9271-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442497557-9271-1-git-send-email-lee.jones@linaro.org> References: <1442497557-9271-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt new file mode 100644 index 0000000..dbc64e6 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/st,rng.txt @@ -0,0 +1,15 @@ +STMicroelectronics HW Random Number Generator +---------------------------------------------- + +Required parameters: +compatible : Should be "st,rng" +reg : Base address and size of IP's register map. +clocks : Phandle to device's clock (See: ../clocks/clock-bindings.txt) + +Example: + +rng@0xfee80000 { + compatible = "st,rng"; + reg = <0xfee80000 0x1000>; + clocks = <&clk_sysin>; +}