From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752134AbbJSXud (ORCPT ); Mon, 19 Oct 2015 19:50:33 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:20129 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbbJSXua (ORCPT ); Mon, 19 Oct 2015 19:50:30 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-dd-562581c277f5 Subject: Re: [PATCH 0/3] ARM: dts: Enable Exynos RNG module To: Tobias Jakobi , Kukjin Kim , Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Matt Mackall , Herbert Xu , linux-crypto@vger.kernel.org References: <1445230834-32689-1-git-send-email-k.kozlowski@samsung.com> <56251627.4050908@math.uni-bielefeld.de> Cc: Heiner Kallweit From: Krzysztof Kozlowski Message-id: <562581BD.3070609@samsung.com> Date: Tue, 20 Oct 2015 08:50:21 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <56251627.4050908@math.uni-bielefeld.de> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsVy+t/xy7qHGlXDDGacNbaYf+Qcq0X3KxmL Re9nsFq8fmFo0f/4NbPFpsfXWC0+9txjtbh/7yeTxeVdc9gsZpzfx2SxYFsfo8XFU64Wh9+0 s1r8ONPNYtG2+gOrxapdfxgdBDze32hl97jc18vksXPWXXaPbQdUPTat6mTz2Lyk3uPfMXaP vi2rGD36Xm5g9Pi8SS6AK4rLJiU1J7MstUjfLoEr43P7AeaCzbwVO+bWNjCe4Opi5OCQEDCR eHLSvIuRE8gUk7hwbz1bFyMXh5DAUkaJhkfbmSGcL4wSL9c2soNUCQtYS/yY9g8sISLQxSLx f8paFpCEkECRxPO/TcwgNrOAlsSjz1NYQWw2AWOJzcuXsIHYvEDxJZPfgtWwCKhKNE9oZASx RQUiJCZOaGCFqBGU+DH5HthMTgFTidlbz7CDXMosoC4xZUouxHh5ic1r3jJPYBSYhaRjFkLV LCRVCxiZVzGKppYmFxQnpeca6hUn5haX5qXrJefnbmKERNiXHYyLj1kdYhTgYFTi4dWIUQ0T Yk0sK67MPcQowcGsJML7uh4oxJuSWFmVWpQfX1Sak1p8iFGag0VJnHfurvchQgLpiSWp2amp BalFMFkmDk6pBsZwLpcL5WE2caqXn8u/OdS9rMZyUpu9pqNuV8itHacfb8ye+HBVrFyQg7PW BkEd6Vslu+6XsgQ5ztET8nrXMo0raOZFQYt//nrnX8nuuPtCSrZf+OwD1nR2zrs97yJt15Qb 7Fdbxpm1P2Pby+0aM81P5iYGz/dPnPJmStzjS3uUJthMWnvslokSS3FGoqEWc1FxIgA0D0pm rAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.10.2015 01:11, Tobias Jakobi wrote: > Hello Krzysztof, > > I can confirm that this also works on a Odroid-X2, so I guess it's safe > to enable the PRNG for all Exynos4412-based Odroid devices. Sure, I can send a patch for that. I can test it later also on Odroid-U3. > > Any chance that you might also take a look at the other hwcrypto stuff > on the SoC ('samsung,exynos4210-secss' compatible)? What do you mean? The s5p-sss driver already supports Device Tree. Best regards, Krzysztof > > With best wishes, > Tobias > > > Krzysztof Kozlowski wrote: >> Hi, >> >> >> The patchset adds necessary clock from Security SubSystem (SSS) >> and enables the PRNG module of Exynos for Trats2 board. >> >> The first patch (clock) is required for other ones so please >> take everything in one step. >> >> The actual Device Tree support (and compatible) was sent in separate >> patch: >> - https://patchwork.kernel.org/patch/7432891/ >> - http://marc.info/?l=linux-crypto-vger&m=144522952725052&w=2 >> >> The device can be tested (after applying both patchsets) with: >> $ echo exynos > /sys/class/misc/hw_random/rng_current >> $ dd if=/dev/hwrng of=/dev/null bs=1 count=16 >> >> >> Best regards, >> Krzysztof >> >> Krzysztof Kozlowski (3): >> clk: samsung: exynos4: Add SSS gate clock >> ARM: dts: Add PRNG module for exynos4 >> ARM: dts: Enable PRNG module on exynos4412-trats2 >> >> arch/arm/boot/dts/exynos4.dtsi | 8 ++++++++ >> arch/arm/boot/dts/exynos4412-trats2.dts | 4 ++++ >> drivers/clk/samsung/clk-exynos4.c | 1 + >> include/dt-bindings/clock/exynos4.h | 1 + >> 4 files changed, 14 insertions(+) >> > >