From patchwork Mon Dec 4 12:53:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10090191 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 0DBC360327 for ; Mon, 4 Dec 2017 12:54:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29D4928EBA for ; Mon, 4 Dec 2017 12:54:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DD4D2916B; Mon, 4 Dec 2017 12:54:22 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D84A28EBA for ; Mon, 4 Dec 2017 12:54:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752584AbdLDMyU (ORCPT ); Mon, 4 Dec 2017 07:54:20 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48183 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751558AbdLDMyS (ORCPT ); Mon, 4 Dec 2017 07:54:18 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171204125415euoutp0225a09a0128c36d6547f87e1186997de3~9GI-IVK310162201622euoutp02J; Mon, 4 Dec 2017 12:54:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20171204125415euoutp0225a09a0128c36d6547f87e1186997de3~9GI-IVK310162201622euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1512392055; bh=PT2Od7/B1tQtDzB4l0py3Qsbb8KOm+5M4OQoO76yVng=; h=From:To:Cc:Subject:Date:In-reply-to:In-reply-to:References:From; b=K7G+pMDAYZXx3CKCPT683v3DXD6r0mB+Shn7gBvS4IM8C/F6pRKLi83s85630qpXV RN7EioVkRpCdXQjQ8elY2tZkcaUh/55x3m0Grlthf8MA0jevbjvS6uVxKaPKjh0XNK dAaDzjpNpXuY5hJxVGprLwVpoFqgYTtZZJVw/mtU= Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171204125415eucas1p187a6067b25db81952fea0b51a5600a01~9GI_vzIyh1140111401eucas1p1o; Mon, 4 Dec 2017 12:54:15 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id BF.5C.12576.675452A5; Mon, 4 Dec 2017 12:54:14 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171204125414eucas1p1233c2c8ef5b637c3a4565af875515524~9GI97evjL1142111421eucas1p1f; Mon, 4 Dec 2017 12:54:14 +0000 (GMT) X-AuditID: cbfec7ef-f79ee6d000003120-91-5a254576bfca Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 27.C2.20118.675452A5; Mon, 4 Dec 2017 12:54:14 +0000 (GMT) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset="UTF-8" Received: from localhost ([106.116.147.110]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P0F007RTT6EH730@eusync4.samsung.com>; Mon, 04 Dec 2017 12:54:14 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: "Andrew F . Davis" , PrasannaKumar Muralidharan , Rob Herring , Matt Mackall , Herbert Xu , Krzysztof Kozlowski , Kukjin Kim , devicetree@vger.kernel.org, linux-crypto@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?=C5=81ukasz=20Stelmach?= , Marek Szyprowski , Bartlomiej Zolnierkiewicz Subject: [PATCH v3 1/3] dt-bindings: hwrng: Add Samsung Exynos 5250+ True RNG bindings Date: Mon, 04 Dec 2017 13:53:49 +0100 Message-id: <20171204125351.26805-2-l.stelmach@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20171204125351.26805-1-l.stelmach@samsung.com> In-reply-to: <20171204120429.22892-1-l.stelmach@samsung.com> Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0iTURjm7Nv2fRNnxyl1MstaibbwFv04oIVCxoLEgn7UwHToh4pu2qZT y0CUVmloXtA1JW/NdCrz1jKvtYZTI69FKmqKWGiigYEaFrl9Wv57zvtcznkfDkUI+jkuVKw8 iVbIpfFCrh3b2Lc15KUKdpf46pYxXhvMJ3GzxsDB5eYhDs5ZdsV5C98JPDzcROJJUy3AX2a3 WHi8o4yLNcM9LNxoniFxhTEXYF2eBeD73WYy0EH8WjtDio1v3MUt+kdccW6bHohzl5qA2DLx iiVebzl2lZTYBUTR8bEqWuFzIcIupib7UuJzXmpRXS83A6yQ2YBHIXgOqRu3CQYfRCOzBm42 sKMEsAag+ZVhNnNYB+hxSTF7zzE2MUf8U418reZaCT50RJuFszsiiiKgGzKPxVnHBDyNXnYa SEb/E6BvXZksK8GFQShP18+xEs6wkEDTXas2FWFNfWscsKU6wRuoUb1gc7ChO1IvjpPMbf6o vaeMwzzJDXWoR22YBwPQ/INW9h4u147bcg5AEWrI/GzbB8EqEo0MzgDGfBH1bXTutuG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siq1KD++qDQntfgQozQHi5I4b++e1ZFCAumJJanZ qakFqUUwWSYOTqkGxlD9cwbTtqn83Mc/QfiW+vVPXwOiGvOkRSdJdW9xn5sf+Xh634HG77aW pmzvQra+l1vB8WqeGkfHAdfVkYwPXdI7AuxE247ccTzlG7M647DUw6tG8yaZbWJRzo/acvB4 +PSc8N174zgWXXQykrnjGC+erffFbEKvu/WlqN1t4Sqik7cvtto2U4mlOCPRUIu5qDgRAFFh Xqq8AgAA X-CMS-MailID: 20171204125414eucas1p1233c2c8ef5b637c3a4565af875515524 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171204125414eucas1p1233c2c8ef5b637c3a4565af875515524 X-RootMTR: 20171204125414eucas1p1233c2c8ef5b637c3a4565af875515524 References: <20171204125351.26805-1-l.stelmach@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add binding documentation for the True Random Number Generator found on Samsung Exynos 5250+ SoCs. Signed-off-by: Ɓukasz Stelmach Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/rng/samsung,exynos5250-trng.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt diff --git a/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt new file mode 100644 index 000000000000..5a613a4ec780 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt @@ -0,0 +1,17 @@ +Exynos True Random Number Generator + +Required properties: + +- compatible : Should be "samsung,exynos5250-trng". +- reg : Specifies base physical address and size of the registers map. +- clocks : Phandle to clock-controller plus clock-specifier pair. +- clock-names : "secss" as a clock name. + +Example: + + rng@10830600 { + compatible = "samsung,exynos5250-trng"; + reg = <0x10830600 0x100>; + clocks = <&clock CLK_SSS>; + clock-names = "secss"; + };