From patchwork Thu Apr 1 10:15:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 413844 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45217C43461 for ; Thu, 1 Apr 2021 10:17:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 07FF861056 for ; Thu, 1 Apr 2021 10:17:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233702AbhDAKQr (ORCPT ); Thu, 1 Apr 2021 06:16:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233965AbhDAKQZ (ORCPT ); Thu, 1 Apr 2021 06:16:25 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EDCFC061788 for ; Thu, 1 Apr 2021 03:16:25 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id j9so1234821wrx.12 for ; Thu, 01 Apr 2021 03:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tWZ1dm6MzrhWKHD7bNxGPdRhKvoNcVvYyX/JddpXpKk=; b=IaEpg+qc5+I1Ploag/Tnb44OVlvHE2DjFc0u5MphHsIeVkx8oBXH1R5OJwNZ2Lea6z iNbIObJI8NfhxSKoU/oYyWq7awb7X3QK/qfGSYcohewAT3nec8RVr35EqA63HxsKlvdL ZShPaOm9ZEQddQsl1o8UavAYg2P4C9TbcbzohWKIESpHLlzSONV+HIb8YZBlCzsosK3w pYEeZPKE4DK3KKjZBGvJ33JcmbXg/ypJhqMkHrawkqkd+4GbDCfBCC0Dpoz+E1++ODWB Jki4D08WCOdWhglmi7QS4AYjb2PmJbRlHNbXAPIKQ7gVK8lvvQyQY/opPnmd05TEgnCX uqGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tWZ1dm6MzrhWKHD7bNxGPdRhKvoNcVvYyX/JddpXpKk=; b=AlEDZsQ7+B3BH5m1ECQ77obOeCIDTnXKOQFOUmRdextXgO/4wBi3dJvJxRQn8X6yf7 WJrXsouc/NyQz5GdnqzQBLPOqClqA6aCOhNmLRtxzGZd1RVUyfzq9OkJ0W7sbb4H4KQ3 03h6PbZNiWbaE5EWpzuN4QxNsxYdkcFCt464UsaEdfmfsPXaDS7LXDB2XCgsNSesKrKL qkjtUuQkOwhhXegOGqMaGghX9vRHEigVD8VuNojhZJlV5ASpe/a7PM0UwssDElmMdbUP JmyUrLeXBqYhdiPushcVY8tPBndQbTL/O+yILDg8blPOvJalRCK9eNHAidsmI2vMouBV 9b+g== X-Gm-Message-State: AOAM532AQnDnDsKNitYrG0RPwk2bm3XvoTJskLzLkc5qE68WvfuYDnrX 1vzaYM4BQOsMxTw30BZfASiXUw== X-Google-Smtp-Source: ABdhPJzgbae8sgkPuQaRC8n/HXPy7x6jNs1SbaYdFOeKUM2mYf8arZ2j8/nDxxLlyDlp66+tln2zFA== X-Received: by 2002:adf:d1e1:: with SMTP id g1mr8284771wrd.287.1617272184056; Thu, 01 Apr 2021 03:16:24 -0700 (PDT) Received: from localhost.localdomain ([2a02:2454:3e3:5f00:6b57:bfc9:d5e7:1a80]) by smtp.gmail.com with ESMTPSA id p10sm9586534wrw.33.2021.04.01.03.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 03:16:23 -0700 (PDT) From: Robert Foss To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Cc: Robert Foss Subject: [PATCH v1] arm64: dts: qcom: sm8350: Add support for PRNG EE Date: Thu, 1 Apr 2021 12:15:36 +0200 Message-Id: <20210401101536.1014560-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.31.0.30.g398dba342d.dirty MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org RNG (Random Number Generator) in SM8350 features PRNG EE (Execution Environment), hence add devicetree support for it. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index ea285147e43f..2a3ebf6964f4 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -673,6 +673,13 @@ tx { }; }; + rng: rng@10d3000 { + compatible = "qcom,prng-ee"; + reg = <0 0x010d3000 0 0x1000>; + clocks = <&rpmhcc RPMH_HWKM_CLK>; + clock-names = "core"; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>;