From patchwork Mon Aug 28 08:04:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 717934 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B68BC83F13 for ; Mon, 28 Aug 2023 08:06:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbjH1IGA (ORCPT ); Mon, 28 Aug 2023 04:06:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjH1IF2 (ORCPT ); Mon, 28 Aug 2023 04:05:28 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 237D1129 for ; Mon, 28 Aug 2023 01:05:21 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fe32016bc8so24981725e9.1 for ; Mon, 28 Aug 2023 01:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693209919; x=1693814719; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8H6vpb7vz8I4elOBNs6E9tcR89qbBd43TTRc4haGCdE=; b=eXAQx5mIYJLteB1/kjkx1jM0vJP9s55L21WgpWJLcFABdk28qow057Qi5hIZMF8GsJ 3O/zxYyuz4IYKBeepD227Cdqw8DA+bQSD2KAygDBG9wqn5nWjNgRHIFErNVKq1c5iwKJ IyEuMyUZKJisgblRVifxkla42J921suJf7gNf9FbhLUnSAEa2rIB0nhVZ3hM9RF1EZkv IXlFzUcfU28pvL7ZMwWKWVEdf2dwmcnlyTLcgMcn4TTKMB3qZrX6UJP++Z7QgQ5cUEgc 0N1kOZ7j/6jEklmujR4gpoE+8xpRONWJYEXYbR9o0uJdVxe6M33ZV94cOrJPAR/d8eAX +n/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693209919; x=1693814719; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8H6vpb7vz8I4elOBNs6E9tcR89qbBd43TTRc4haGCdE=; b=I2FNdUUu9fWi8Szait3CHLqOUB18owOi/gQiJ4eMsyaXVcSu16TQxIdEE/6frfoxJZ kDuXSnYiPFbhQyGZSFQ2ZnBUR/HMG7NgL5Cx7Sns3QgzsicZjEEnfZagx6c23NPQSHTN Sx+hgra8jAK99BjsQ28Z6VI8qV5e05TqJgRxybGUta9wsuQk5ARaabDyrG+WN0v9Km6k P3K5uCba5mqV0NbKrfr76LZ36fztxrDLJoA1F5178bJKaJ6yQHerXxX+SIrTQoTj2lLL 9amrTo1rAprygoufegwzgBgwD0UUf8d2M87SYaTYOBs8mEv/RXKz4feXvClAlE8Zo+XN MUeg== X-Gm-Message-State: AOJu0YwL5F80ywORyDdzgUm5zl1DO0qDytAoKSfgor6Mo8RxglfolDRC 0Dq54MomcwPk3sqQb0XnFtf0NA== X-Google-Smtp-Source: AGHT+IHdO24JFhU9CHCfYSOpLnq0vwHNEayFbkbQPzMH31amPzA7JkJI1G0Q1gsAG67S47gsU2PT9g== X-Received: by 2002:a05:600c:446:b0:401:519:bd with SMTP id s6-20020a05600c044600b00401051900bdmr9007695wmb.37.1693209919695; Mon, 28 Aug 2023 01:05:19 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id z16-20020a1c4c10000000b003fa96fe2bd9sm13067035wmf.22.2023.08.28.01.05.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 01:05:19 -0700 (PDT) From: Neil Armstrong Date: Mon, 28 Aug 2023 10:04:40 +0200 Subject: [PATCH v3 5/6] arm64: dts: qcom: sm8550: add TRNG node MIME-Version: 1.0 Message-Id: <20230828-topic-sm8550-rng-v3-5-7a0678ca7988@linaro.org> References: <20230828-topic-sm8550-rng-v3-0-7a0678ca7988@linaro.org> In-Reply-To: <20230828-topic-sm8550-rng-v3-0-7a0678ca7988@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=811; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=pEfVqD3bo2rwpc4UXYzUwHbnl5WWQlZjBsz2SVzEcNk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBk7FU42CR3DBT8IftFWJDKHNPN2HqvE3iv6iB1jeTs 8RiwfaKJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZOxVOAAKCRB33NvayMhJ0dr3D/ wMd9jubMSwmfygqPzjlzwcke1LHpDbsjLes9oCKTRnDnAHzYgOauRpYaS21c87JUmF7E3WmWrhyEhr 2jXEsoVjae2VbbP5+SQ3mWZHI60uzIC3Hl2dnd2365wGJ6ZYzMfI+c/y+bziZMPRPzw6mEJ9gbiteb /2lwKKw2aeERcOOFXweKibcCJRyqKCt6xy2+HxKen3HQM7iZwIrouRM2l2sguYZLHHteJ7WPfbjAce I8gdhEhbrP58J9HVBuz5lb4yQGo9dhsmdNAGJ5VM1vUBzw6MLZJnzxCEaE7r8IyROILloATW9tJcDo ZqdJT+ZK2CJJgts+X5OLHt//kYENqAYcJHw0CtLw8FAlXPwSpfQDicxnoXc8xb3kevEE2UGEAs29TK qk/goMw9FtR8l3s+kbbyWb0mtQNzmwwANd0dBhSRJT08OklKQURerv1zGL2A9GqT2qaAqexts/7I2z rntGPPq3IkjXnIZSZSGuFM5Uxrh3iyGDDyqdNumlPhaHHTt42oImKyTl+WJpx8Nd4H6xWJsQpX/el1 0SFf3SwZ9XPfpPBeeJHA5Y/xIoiWds/bKDWJzjDiUVRyGWzpIhlW7EK0p2GtGGu7bYqvF/2oH7T7gD ynGjpfQDBGn81KziJsSpSc1+vYQJ8H5uUX6nFLq3TB6Se+rs9MyqRtBKSk5Q== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add the Qualcomm True Random Number Generator node. Reviewed-by: Konrad Dybcio Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index d115960bdeec..c42c5bd03a37 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1661,6 +1661,11 @@ mmss_noc: interconnect@1780000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + rng: rng@10c3000 { + compatible = "qcom,sm8550-trng", "qcom,trng"; + reg = <0 0x010c3000 0 0x1000>; + }; + pcie0: pci@1c00000 { device_type = "pci"; compatible = "qcom,pcie-sm8550";