From patchwork Thu Oct 4 07:45:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10625679 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 B49DA1515 for ; Thu, 4 Oct 2018 07:46:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A65EF28C9B for ; Thu, 4 Oct 2018 07:46:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9804628D08; Thu, 4 Oct 2018 07:46:49 +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 7F3E828C9B for ; Thu, 4 Oct 2018 07:46:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727797AbeJDOim (ORCPT ); Thu, 4 Oct 2018 10:38:42 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:47508 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727429AbeJDOil (ORCPT ); Thu, 4 Oct 2018 10:38:41 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20181004074641epoutp025fdf3ad3dc5a83434faf2e9b6fcb8a96~aWDPAB5l71101511015epoutp02r; Thu, 4 Oct 2018 07:46:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20181004074641epoutp025fdf3ad3dc5a83434faf2e9b6fcb8a96~aWDPAB5l71101511015epoutp02r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1538639202; bh=NjhQdx0aoidxJjW1SUy4wzpJrZ3jgeMoOpJYL/KdG4U=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=nJJA1+9iHprSjK3lKnnJ02Ez5hPsP+yXsTjbvrhApbTAN9bGUT4hFtJmUvKSsNoHs SmZRFYBO1nyjGUWh2JaQpLv3vBfIXVdHYWX/Jz0cHBnAHRMm6blMs6mjK5nvjdGEmf gdXqnmUH6Z6asUlW6w3IO83fMRTUFUMfKBhBjAtk= Received: from epsmges1p2.samsung.com (unknown [182.195.42.54]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20181004074641epcas1p25903a7c1b6629210c4673fc73c6e6e23~aWDOx4KNK1895018950epcas1p2v; Thu, 4 Oct 2018 07:46:41 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 16.25.04078.165C5BB5; Thu, 4 Oct 2018 16:46:41 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20181004074641epcas1p287225c19a28c713327725d089068f960~aWDOm4pHm0909909099epcas1p2D; Thu, 4 Oct 2018 07:46:41 +0000 (GMT) X-AuditID: b6c32a36-b25ff70000000fee-21-5bb5c5619282 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id FC.2D.03743.165C5BB5; Thu, 4 Oct 2018 16:46:41 +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 <0PG200HMWDLRQV00@mmp1.samsung.com>; Thu, 04 Oct 2018 16:46:41 +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 v5.1] dt-bindings: hwrng: Add Samsung Exynos 5250+ True RNG bindings Date: Thu, 04 Oct 2018 09:45:57 +0200 Message-id: <20181004074557.10472-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.19.0 In-reply-to: <20181002075633.25658-1-l.stelmach@samsung.com> Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFIsWRmVeSWpSXmKPExsWy7bCmnm7i0a3RBqumaVvMvv+YxeLmoRWM Fpd3zWGzmHF+H5NF694j7A6sHptWdbJ5fFl1jdmjb8sqRo/Pm+QCWKK4bFJSczLLUov07RK4 MvYf4C7Yx1XRcecVUwPjM44uRk4OCQETiecLf7B1MXJxCAnsYJS4/+EzM4TznVFiffthdpiq n//vs0IkdjNKXJ6+mgUkwSsgKPFj8j0gm4ODWUBe4silbJAws4CmxNbd69kh6t8xSvxftRms nk3AUaJ/6QlWEFtEQEViw/NbYNuYBY4wSvxZshMsISwQJnH25iEwm0VAVWLn8Q2MEMusJZpm bmODuEheYtbpaUwgNqeAjcSJZbPB4vwCWhJrmq6zgAyVENjBJjHjYBcjRIOLxNeGGSwQtrDE q+Nb2EGulhCQlrh01BYiXC7x40YfK0RvC6PE4gmdUO9bS/xZNZEN4jU+iXdfe1ghenklOtqE IEwPiS9r4yEe7meUWPPmOdsERtlZSGE0CxFGs5DCaAEj8ypGsdSC4tz01GLDAiO94sTc4tK8 dL3k/NxNjOAUoGW2g3HROZ9DjAIcjEo8vB3vtkQLsSaWFVfmHmKU4GBWEuE1XLA1Wog3JbGy KrUoP76oNCe1+BCjNAeLkjjvE6m50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generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20181004074641epcas1p287225c19a28c713327725d089068f960 References: <20181002075633.25658-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. Acked-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Signed-off-by: Łukasz Stelmach --- This time with proper tags, as requested. Kind regards, ŁS .../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"; + };