Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1403776rwb; Tue, 29 Nov 2022 13:07:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4VPvUGdABVHf1aEmvaDxeUqKVNvFapKGBNlnwCaveyG0++kFcQcgpjOQDhz8eUoNSBlLfm X-Received: by 2002:a63:4449:0:b0:477:a5e2:7b78 with SMTP id t9-20020a634449000000b00477a5e27b78mr31786632pgk.322.1669756067709; Tue, 29 Nov 2022 13:07:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669756067; cv=none; d=google.com; s=arc-20160816; b=d6qBO6yZ/IrbQe2su2T5UxOES3VRtVWuPg8oqiuRKMDq92uC9UHBy2VolwM4a+USDC QjEktWsV0QLnX3f7MEIm4caIpeE7hMhs/YUVcqHScQNdTRch+jggczeE+kLnfutj4Ati UZuKhnRigrLFTIxuVeQBeq7zGgD2UhtubjA6k21aGr5HdKNz1DsZNfxh33BBDB2mNIVq aqnbrEEwtAtV4WoGRCmY+cLYwu9iGwc/NdvVY6bHs+ObB6O8EReOLq08/7mky0rVZUcL GgYE8UtocAvGNT/9MHVWvNfjlDKvhESTtvJLdgkvZgYLvps/qO319UvXp3BNi7iH7Ibk P8kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=4V4btdZ021QBWvTUZ+qLEZ0zz7lZW+zNWyf+w01hNLo=; b=uMj8FtWhFKGuM2wcX2NO3UaNcksk0ekOTKG150pPQk0knUQM00h/pvZP4QqgPX4/8M H73jqvPAWGruEtsaU2ML70RHF4OF7vvAgXzV4AWel34YDSUWpPeKqXOpaI8PNKmvAAE8 H4yOjGs5orPyRrC+ogNYk9DougmTW0c28ZwEXcikhVm8KxRU/RFVmY76Dv9TttiahaPz 7jK1OD3SxGuSyBjxwlpNYxI9HrL6vwwxGPD5FxDpAtSJ8GMsE1D/YvlQ80T/FgMhNdIX bBoK5TWj0YCKt+JFygM4A04sGvEDdZN26eTYIs1EQQPzd1+QJjRu958vtm4ydCbINo4g 1JLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=EgnIx1O2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oc10-20020a17090b1c0a00b00212def0cbedsi2845621pjb.8.2022.11.29.13.07.36; Tue, 29 Nov 2022 13:07:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=EgnIx1O2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235871AbiK2UrU (ORCPT + 84 others); Tue, 29 Nov 2022 15:47:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236365AbiK2UrH (ORCPT ); Tue, 29 Nov 2022 15:47:07 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4D9F27B3C; Tue, 29 Nov 2022 12:47:04 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id z4so18663279ljq.6; Tue, 29 Nov 2022 12:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4V4btdZ021QBWvTUZ+qLEZ0zz7lZW+zNWyf+w01hNLo=; b=EgnIx1O2QIPIuC0LwlxMAf68zqiD0+BC32rDwGwQc7QHDUyP5aiXahCnfEN5jMqlDF VIvG7rLtwo0+oXpoz2eIGYdAMQT6dAeGzyYfYTUqiIulQttebwhBtMWug/a20Mlja7Kk yzFzN8TnqOvkBRMnUnn1sYDbYNCip53wPfQvGyG5aAGAzeawp439DxlYeEbSevLDBXF+ uOxvxshIeN/0bMv5hhLXyV3xP9iDE+TWm7hEh5eji1F9gGpitRGjdPNjbvle2bZFziGR elMaY0PyZWbVc+q/wxOIRWIbZDGjh0ZfDCRdGbZ9lv3y8V7MC5PeNBRP739eiUEy6IbW jHLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4V4btdZ021QBWvTUZ+qLEZ0zz7lZW+zNWyf+w01hNLo=; b=GPFVkD5m3tFs9247mLtdTdoxrGkBRJQg68iJV/W9ZKWHglSiP0rdbJ3iyqQfG7CYP3 ohv9F0bjkSYox716/hbZzBMBKYnEGlJ6C08SOkI4RVg9PPT1czHWraT2wsHibGbYk7ed qygEuZ97guH+nb0nn2sKvRSkPKFls8yQcilKWgdbLzHYAnvlgUAvYC6A/ZrHbxva2F8E s43bjIh+ToLYyGmuef37ONUa4Bkq7X48RvOUo8ftjssWkOUNyztkkXbY5z13xiHxG2yU 1GddBnJlChoiY2VCuH1bfvQ6+fpfbkUzlDzVFdtwcch5jKK9Tep2O8C/Y/YTxBSB5Kpw Jdng== X-Gm-Message-State: ANoB5pkFrr2MJUm1UVchVLd1EsVY2HeDyi/PZdLNtG1ExYX4Mo2BImNV 4u5aUA8Sx0IdHyEO3OFrT13dyGuQEvw= X-Received: by 2002:a05:651c:b99:b0:277:c41:d44b with SMTP id bg25-20020a05651c0b9900b002770c41d44bmr13480690ljb.326.1669754823149; Tue, 29 Nov 2022 12:47:03 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:02 -0800 (PST) From: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Loic Poulain , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 05/12] arm64: dts: qcom: sm6115: Add PRNG node Date: Tue, 29 Nov 2022 21:46:09 +0100 Message-Id: <20221129204616.47006-6-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a node for the PRNG to enable hw-accelerated pseudo-random number generation. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index decbf7ca8a03..04620c272227 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -497,6 +497,13 @@ qusb2_hstx_trim: hstx-trim@25b { }; }; + rng: rng@1b53000 { + compatible = "qcom,prng-ee"; + reg = <0x01b53000 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + spmi_bus: spmi@1c40000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x01c40000 0x1100>, -- 2.25.1