From patchwork Sat Nov 18 13:04:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10064809 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B24CF60352 for ; Sat, 18 Nov 2017 13:06:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A07A02A258 for ; Sat, 18 Nov 2017 13:06:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94D402A2F0; Sat, 18 Nov 2017 13:06:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 310982A258 for ; Sat, 18 Nov 2017 13:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=bJhOlmzc390bauIQfsFB3WqIf4hqVy6H7/9g9vW2Y7o=; b=okgfNTamnsqXe7oqe6aB4uO1TV aiFaNjsjBmpjCFRr23SnFSlU0abgEukGTq5iXSO/kgPK2NUSyOvw22Nc+FPpuSYbYuKTmaTxViWzd Njfp80yHNU1MMU57jw21WTDJRRJBBWnl3dUmUcno1+A8MaPzpUasNz5LvgvtLwhS16ej8LNjHLcIn MdEN9+RGaAbMVBKEz0MjxMszN3cY+jspU4Abnj9JPeV8oHz7ACA5LQEt7YnbwS0mxUtFK6AcYbGcY qcXTQYCzzycG/OLYLOX0EDzVPKEg1mriyq2MDKB1NmVFCmqXFHt+E6kjLbLesrfgBShNmufmRiX80 QQZPr7Bw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eG2ob-00073p-2j; Sat, 18 Nov 2017 13:05:45 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eG2oF-0005aQ-54; Sat, 18 Nov 2017 13:05:25 +0000 Received: from localhost.localdomain ([95.90.209.122]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LbvF2-1ezEu90qea-00jMvg; Sat, 18 Nov 2017 14:04:45 +0100 From: Stefan Wahren To: Matt Mackall , Herbert Xu , Eric Anholt , Florian Fainelli , Rob Herring , Mark Rutland Subject: [PATCH 1/2] dt-binding: rng: Add interrupt property for BCM2835 Date: Sat, 18 Nov 2017 14:04:12 +0100 Message-Id: <1511010253-5006-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511010253-5006-1-git-send-email-stefan.wahren@i2se.com> References: <1511010253-5006-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:obzr61lId6LVOtVRh/mNPtExUPzkumvbPK/ywdiL4CfMyoebyFK 1w1PH0p52axos5ORGUAG8bnBlYQf8WhpWjOX4CIqMsru9sm0701JPKWbe9fqikltQnQ6EVk R1NqATpPEDvpgfrDrpi2VVCAts5E1UR9RLKkQZWe/aZuUyLHSgoyvCneu9tg4zvS3jaEJcK oa03ZwmqTdp0COen/yhdA== X-UI-Out-Filterresults: notjunk:1; V01:K0:AIXriYjNVS0=:jVs93N7Fim4HMLTscCtuLY io8VN8b0KE+V6Jc3Owc4+Oov27I/0AkGHWGY1M1t0aVnXmEXhh2olD9elY3khJRHOYLsquAQB JzrRkXJSnuGj71ShKZCQxqR0tpNT5KgcOuw4LlyNEHiOzjGXCfk9OJ1jLBr7SKZmITNwko8M/ /72QAzH/9bhaDQQxFFw4nzdOc08AtYhUt/36g62efyP97ntt+cTuXVBMnmA0c0ftrNclFe+GH I6SstJd2mMt82tlw3A/IS2D8vbOnOwG+/H0Uz43GQY8pHHtbCHrRor1krnhy5a3J8fAlPl85S VKk/sHaF3w8JKkAoYLUYEl9dfpn0ibZt7Mwo3stQkPAX5naKblhILGJsYPi/d9NcaehfB+mYx xBgjbgLSsRJJbEuqEG3J6aGymCmYNlvpE+UhbIyqmSBannaTEkiAqXw3jmyJicd/twPrWMGSG vQFiII/BwHns5JqgYiH8kg8TK6ZVzB0hGwqDu0dMwW/DgJQROji8VrQ2SahZlfHrzx3efDE5E YxdWQWWKYo0ggtP2oazMZJGwX9Nf+MVqOQdo++8sF7+gFOVDp4Nro3qu6TFkt4sZuGzOmDxif tjqdMfmra1KW2O0Nt87Q5GMreca61B1yHTnsOvt6gMcXeWJYQll+i823IIugdW4/ehSjMqo0f 3YXeLyjXrouii/EbBNDMG9PUlMLZRflEtvEsL5MVMoy+jsk3ez8mmXZrq+dmQwE3+uFT1heYX aCK3DK823hehWXCBd0q5IKEogDNr1dES524ToQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171118_050523_529906_1E278BB4 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Scott Branden , Ray Jui , bcm-kernel-feedback-list@broadcom.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP As Sylvain Garrigues pointed out the BCM2835 RNG block has an interrupt. Also in preparation for Florian's upcoming patch series add this property to the binding. While we are at it fix the indenting of the example. Link: https://github.com/raspberrypi/linux/issues/2195 CC: Florian Fainelli Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/rng/brcm,bcm2835.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt b/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt index 2654269..82ef4dd 100644 --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt @@ -6,11 +6,16 @@ Required properties: "brcm,bcm5301x-rng" - reg : Specifies base physical address and size of the registers. +Optional properties: + +- interrupts: specify the interrupt for the RNG block + Example: rng { - compatible = "brcm,bcm2835-rng"; - reg = <0x7e104000 0x10>; + compatible = "brcm,bcm2835-rng"; + reg = <0x7e104000 0x10>; + interrupts = <2 29>; }; rng@18033000 {