From patchwork Mon Dec 11 08:54:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10104445 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 31367602A7 for ; Mon, 11 Dec 2017 08:54:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44C28294D2 for ; Mon, 11 Dec 2017 08:54:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3993A294D4; Mon, 11 Dec 2017 08:54:29 +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 113A3294D3 for ; Mon, 11 Dec 2017 08:54:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752340AbdLKIy1 (ORCPT ); Mon, 11 Dec 2017 03:54:27 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:41011 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752336AbdLKIy0 (ORCPT ); Mon, 11 Dec 2017 03:54:26 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171211085423euoutp01ff89057b1bea91ecd7ac56bda0c26f02~-MYjo-H-P0669006690euoutp01K; Mon, 11 Dec 2017 08:54:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171211085423euoutp01ff89057b1bea91ecd7ac56bda0c26f02~-MYjo-H-P0669006690euoutp01K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1512982463; bh=d1GNUYTG1E986m8kLMzRc2TRxYTRofSioYYQssIn0k8=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=iNTgTdUJvngqhU+kO0/eo7zqigwqpLJqfcFxnIPEJP5flcYtTdNNfIJ1WDUfeyb0g SB5DUNoZLfaBLyHJjB8UgFrhpIHVC9yO5sARRVlpTsPvvAfomyuYr1SYsxpCt48PLu n1UWinAoKn75bNGvUsg5Kf7jwv5FBfwyrjN8BzbA= Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171211085423eucas1p2a6209bdc52d6e455b830e218724dce17~-MYjLTypm3037030370eucas1p2w; Mon, 11 Dec 2017 08:54:23 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2.samsung.com (EUCPMTA) with SMTP id D8.40.12907.FB74E2A5; Mon, 11 Dec 2017 08:54:23 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171211085422eucas1p19a7e20669d9d3d4d41cf1b96c7039a33~-MYibt3GU2668226682eucas1p1U; Mon, 11 Dec 2017 08:54:22 +0000 (GMT) X-AuditID: cbfec7f1-f793a6d00000326b-75-5a2e47bf47ad Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 6D.D1.20118.EB74E2A5; Mon, 11 Dec 2017 08:54:22 +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 eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P0S00G5LGQMCO70@eusync3.samsung.com>; Mon, 11 Dec 2017 08:54:22 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: kgene@kernel.org, krzk@kernel.org, linux-samsung-soc@vger.kernel.org Cc: =?UTF-8?q?=C5=81ukasz=20Stelmach?= , m.szyprowski@samsung.com, b.zolnierkie@samsung.com Subject: [PATCH v3] ARM: dts: exynos: add DT nodes for PRNG in Exynos5 SoCs Date: Mon, 11 Dec 2017 09:54:15 +0100 Message-id: <20171211085415.27947-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20171204120429.22892-1-l.stelmach@samsung.com> Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkleLIzCtJLcpLzFFi42LZduznOd397npRBk8nc1psnLGe1aL/8Wtm i/PnN7Bb3Dy0gtFixvl9TBZrj9xld2Dz2LSqk82jb8sqRo/Pm+QCmKO4bFJSczLLUov07RK4 Mo5OaWYvmCZcceDfN8YGxuv8XYycHBICJhJfn75ghrDFJC7cW8/WxcjFISSwlFFixcHvzBDO Z0aJy01rWWA6tr58wA6RWMYosfbYFTaQBK+AoMSPyfeAijg4mAXkJY5cygYJMwtoSmzdvR6q /gvQ1CUTGEESbAKOEv1LT7CC2CICHhLfmlexQzSUSpyddxvsJGEBb4kHs9eDLWYRUJVY/eAN M8h8XgFriY8NZRD3yEvsarsINoZTwEZi/qzLYOfwC2hJrGm6zgKyV0JgD5vE4oe/mCAaXCRu Nh9nh7CFJV4d3wJly0hcntwN1dDPKHF4/neoxBRGicULHSBsa4k/qyayQRzKJzFp23SwgyQE eCU62oQgSoB++bCIFcJ2lOhq2wUNRaCZz1b9ZpzAKD8LKbxmIcJrFlJ4LWBkXsUoklpanJue WmykV5yYW1yal66XnJ+7iRGYME7/O/5xB+P7E1aHGAU4GJV4eBfM1o0SYk0sK67MPcQowcGs JMJr6gcU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzmsb1RY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039a33 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171211085422eucas1p19a7e20669d9d3d4d41cf1b96c7039a33 X-RootMTR: 20171211085422eucas1p19a7e20669d9d3d4d41cf1b96c7039a33 References: <20171204120429.22892-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 nodes for PRNG in dts files decribing Exynos5 chips. Signed-off-by: Łukasz Stelmach --- Changes since v2: - Rebased according to Krzysztof Kozłowski's request. Changes since v1: - Use "rng" as the node-name for all RNG regardles of their type. - Introduce "samsung,exynos5250-prng" compatible (binding documentation will follow). arch/arm/boot/dts/exynos5.dtsi | 6 ++++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5410.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 4 files changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 347224589451..a7eb74617be4 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -211,11 +211,17 @@ interrupts = ; }; + prng: rng@10830400 { + compatible = "samsung,exynos5250-prng"; + reg = <0x10830400 0x200>; + }; + g2d: g2d@10850000 { compatible = "samsung,exynos5250-g2d"; reg = <0x10850000 0x1000>; interrupts = ; status = "disabled"; }; + }; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 232d8801d9e0..e55748798845 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -1061,6 +1061,11 @@ pinctrl-0 = <&i2c3_bus>; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers"; diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index 7b34970e6ac7..f5541000606b 100644 --- a/arch/arm/boot/dts/exynos5410.dtsi +++ b/arch/arm/boot/dts/exynos5410.dtsi @@ -333,6 +333,11 @@ clock-names = "fin_pll", "mct"; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers"; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index a44aec348502..3611f5c05235 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1429,6 +1429,11 @@ clock-names = "fin_pll", "mct"; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers";