From patchwork Thu Nov 23 15:09:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10072977 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 ABCFB60353 for ; Thu, 23 Nov 2017 15:11:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A17D2A111 for ; Thu, 23 Nov 2017 15:11:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ED722A124; Thu, 23 Nov 2017 15:11:20 +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 110A22A121 for ; Thu, 23 Nov 2017 15:11:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbdKWPKL (ORCPT ); Thu, 23 Nov 2017 10:10:11 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:33640 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753051AbdKWPKH (ORCPT ); Thu, 23 Nov 2017 10:10:07 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171123151004euoutp01397602ae3861880683bd837a1be04f08~5v5beHpxE1796517965euoutp01T; Thu, 23 Nov 2017 15:10:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171123151004euoutp01397602ae3861880683bd837a1be04f08~5v5beHpxE1796517965euoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1511449804; bh=cLcUmomLl3eXCtn+xWRmDSYwjn2p3WDVYYJNs3/q+b8=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=fgGt52maYVbPTcu0WeV1jIxbl8FxZzdSG5WmXVOE5rPCpBvppPVkT68QekmoxdLw1 y7B8NnlzOqVOLuEj64ven5m/oDIIYt8SUowvq3plpAeyMjIi9W+RHgEMRzPz+rnGQ4 +jLCQSYTWUxoh1Wt9qoSQHqbcIyw8jiArGjS2BdM= Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171123151003eucas1p23a636d92e644dbc751a092617410d69f~5v5anzxed3079830798eucas1p2N; Thu, 23 Nov 2017 15:10:03 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1.samsung.com (EUCPMTA) with SMTP id C5.71.12576.BC4E61A5; Thu, 23 Nov 2017 15:10:03 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171123151002eucas1p207b8eb77fce5a2977a9f520e05dfe9f5~5v5Z7RSR22493124931eucas1p2p; Thu, 23 Nov 2017 15:10:02 +0000 (GMT) X-AuditID: cbfec7ef-f79ee6d000003120-0b-5a16e4cb6986 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 3E.C4.18832.AC4E61A5; Thu, 23 Nov 2017 15:10:02 +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 eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OZV00MTDM4QWH80@eusync1.samsung.com>; Thu, 23 Nov 2017 15:10:02 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: Rob Herring , Matt Mackall , Herbert Xu , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-crypto@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , =?UTF-8?q?=C5=81ukasz=20Stelmach?= Subject: [PATCH 1/3] dt-bindings: hwrng: Add Samsung Exynos 5250+ True RNG bindings Date: Thu, 23 Nov 2017 16:09:12 +0100 Message-id: <20171123150914.31462-2-l.stelmach@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20171123150914.31462-1-l.stelmach@samsung.com> Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMKsWRmVeSWpSXmKPExsWy7djP87qnn4hFGbyZJmuxccZ6Vov5R86x WnS/krE4f34Du8XNQysYLe7f+8lkcXnXHDaLGef3MVmsPXKX3WLBtj5Gi9a9R9gduD22HVD1 2LSqk82jb8sqRo++lxsYPT5vkgtgjeKySUnNySxLLdK3S+DK+LSjm61gKWfFm86djA2Mb9m7 GDk5JARMJP59mcYKYYtJXLi3nq2LkYtDSGAZo8Seh6eZIJzPjBK9uw4zwnQsff6PEa6qYctc ZpAEr4CgxI/J91i6GDk4mAXkJY5cygYJMwtoSmzdvZ4dov4Lo8TzG7vA1rEJOEr0Lz3BCpIQ EZjGJPFi+Sqw3cwgU5cd3gY2VVggVOLJuyaw1SwCqhLLb99ghNhmLbHu5QSok+QldrVdBJvK KWAj8bG/F8zmF9CSWNN0nQWi5jWbxI9fxhC2i8SDjeeYIWxhiVfHt0ADQ0ais+Mg2M8SAv2M Eofnf4dKTGGUWLzQAcK2lvizaiIbxG98EpO2TWcGeVlCgFeio00IwvSQmN5uAlHtKHF60XJo mAKNvL2+m30Co/wspACbhQiwWUgBtoCReRWjSGppcW56arGhXnFibnFpX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nx3Wxj1ZGde O/r6J5vTRN+a483npyveZ8m5dXHdvB8z7CTW2XyRDnwUyMGVLeVa+Djv8P39DHq2N7Z8faHE UpyRaKjFXFScCABI0xCDiwIAAA== X-CMS-MailID: 20171123151002eucas1p207b8eb77fce5a2977a9f520e05dfe9f5 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171123151002eucas1p207b8eb77fce5a2977a9f520e05dfe9f5 X-RootMTR: 20171123151002eucas1p207b8eb77fce5a2977a9f520e05dfe9f5 References: <20171123150914.31462-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 Acked-by: Rob Herring --- .../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..22dfe8cb21c0 --- /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: + + trng@10830600 { + compatible = "samsung,exynos5250-trng"; + reg = <0x10830600 0x100>; + clocks = <&clock CLK_SSS>; + clock-names = "secss"; + };