From patchwork Tue Oct 2 07:56:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10623153 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A18E6175A for ; Tue, 2 Oct 2018 07:57:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 991F0286EE for ; Tue, 2 Oct 2018 07:57:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BE8F2871A; Tue, 2 Oct 2018 07:57:05 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 56E1C286EE for ; Tue, 2 Oct 2018 07:57:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727231AbeJBOjA (ORCPT ); Tue, 2 Oct 2018 10:39:00 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:19732 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbeJBOjA (ORCPT ); Tue, 2 Oct 2018 10:39:00 -0400 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20181002075700epoutp01c23a1032d1c77bd53be7c59eaf760c2d~Zu5qtdM4-1175311753epoutp01k; Tue, 2 Oct 2018 07:57:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20181002075700epoutp01c23a1032d1c77bd53be7c59eaf760c2d~Zu5qtdM4-1175311753epoutp01k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1538467020; bh=91plPAmqQwxbjQj7FX9mW7RKtFQSoqO31xP7UoooijQ=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=A//5Obzlp4UT1ch+GedsEW6a37EgvDtfZP2vIgW+9Xi1NL4xC25JCCXyij0slpGw+ qyifuAgIDilIRUm9z1X8aDI3or/eumaRSrPUJM6e2WGMVbJJMnhSpLYHKmIXTXOhJg cZhx5IHPuQ7ltmP2ltdG3WRvI3nghb4Y+mvsOago= Received: from epsmges2p3.samsung.com (unknown [182.195.42.71]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20181002075700epcas2p4bc8c4eed3e5f2c6fab544e5406c1d1b5~Zu5qc2r-q1453414534epcas2p40; Tue, 2 Oct 2018 07:57:00 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 2D.96.04072.CC423BB5; Tue, 2 Oct 2018 16:57:00 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20181002075700epcas2p1e1650ae02c1d6b1bfb946b146d4ce223~Zu5qRZBGQ1000510005epcas2p1b; Tue, 2 Oct 2018 07:57:00 +0000 (GMT) X-AuditID: b6c32a47-5cfff70000000fe8-b1-5bb324cc8818 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id D8.74.03633.CC423BB5; Tue, 2 Oct 2018 16:57:00 +0900 (KST) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset="UTF-8" Received: from localhost ([106.116.147.110]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PFY000PLOQYIR70@mmp1.samsung.com>; Tue, 02 Oct 2018 16:57:00 +0900 (KST) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Rob Herring Cc: Joe Perches , "linux-kernel@vger.kernel.org" , linux-samsung-soc@vger.kernel.org, =?utf-8?q?=C5=81ukasz_Stelmach?= Subject: [PATCH] dt-bindings: hwrng: Add Samsung Exynos 5250+ True RNG bindings Date: Tue, 02 Oct 2018 09:56:33 +0200 Message-id: <20181002075633.25658-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.19.0 In-reply-to: Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDIsWRmVeSWpSXmKPExsWy7bCmue4Zlc3RBhcvSlnMvv+YxeLmoRWM Fpd3zWGzmHF+H5NF694j7A6sHptWdbJ5fFl1jdmjb8sqRo/Pm+QCWKK4bFJSczLLUov07RK4 Mj5vvsZUMIez4sLeFtYGxofsXYwcHBICJhLvzuR1MXJxCAnsYJS4tHQZC4TznVFi6dtm1i5G TrCiKzc/sEIkdjNK/Ft0jh0kwSsgKPFj8j0WkEnMAvISRy5lg4SZBTQltu5ezw5R/45R4nXn A7BBbAKOEv1LT4DZIgIqEhue32IGKWIWOMIo8WfJTrCEsECgxMqPd8AWsAioSrw4foENYpm1 xIuDFxghLpKXmHV6GhOIzSkQLLHwD8QCfgEtiTVN18FekBDYwyZxc/tldogGF4nPPcugbGGJ V8e3QNnSEs9WbYQaWi7x40YfK0RzC6PE4gmdUEXWEn9WTWSD+I1PouPwX2jg8Up0tAlBlHhI nDp0GOrlJYwSN07sYpnAKDsLKZRmIUJpFlIoLWBkXsUollpQnJueWmxUYKxXnJhbXJqXrpec n7uJEZwGtNx3MG4753OIUYCDUYmHl0F+U7QQa2JZcWXuIUYJDmYlEd7/oUAh3pTEyqrUovz4 otKc1OJDjNIcLErivA+l50YLCaQnlqRmp6YWpBbBZJk4OKUaGNc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S-RootMailID: 20181002075700epcas2p1e1650ae02c1d6b1bfb946b146d4ce223 References: 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 --- .../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"; + };