From patchwork Thu Aug 24 11:33:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 716954 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 93B0DEE49B8 for ; Thu, 24 Aug 2023 11:34:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241062AbjHXLd7 (ORCPT ); Thu, 24 Aug 2023 07:33:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241042AbjHXLdl (ORCPT ); Thu, 24 Aug 2023 07:33:41 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3C2319AD for ; Thu, 24 Aug 2023 04:33:38 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3197b461bb5so5750629f8f.3 for ; Thu, 24 Aug 2023 04:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692876817; x=1693481617; 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=8WpELkDIoFcOBpglC5P3ZWupm38vhsMwP331NwzHDCg=; b=sY8ALyLRjJDrsOn1XznUGHJfPgIfmyT3Tg0xOOF4HO37o86q3EqwE1RRaAZyepNNII 6AVjt45Xjf2TnmyXWQdGCPVs8dzdJFz/zerBQTxHAEaovgUyeqmeZN/vfUKxxPb4JCNp RhgB8go+MX3G1C1cqAI0hPW3NoyQj/Y+FAVWNOpic6XpZiHkP4qwgil+v5/SoAgrMT/S TRn7F29XL2SahYx6ddzq9G2pHXkH/B8ONHQtZxCvQ8PTjSoey7zo4Qyu1WwujMygbOSk ar3dOvEz0nYYEEjYhgoVm/ZbkEF0ShfHWjemNl0Cj6soF7nRtca3qfwfPBCA2Sfax48P eiSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692876817; x=1693481617; 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=8WpELkDIoFcOBpglC5P3ZWupm38vhsMwP331NwzHDCg=; b=GrNklsHPgQlp8DQxs6/IE4NqE5iwpqpqAzRNEeKLEnkOYzRHTJ2xZCDPQC8u5XbbUY bbNGd6B+8H8jO1SUd8+ZX/6JLUu3OStGH75rMxZQ+sRZ0854oPJkuLvTzHYB9sndn5PX RzMjdl1l43W99p2QDSQaHtapzkzPwGEBcw4Ra41Qe5a9799YiL/xefjDoTHwrhMcZvaw fmPX+bxGA/OGXmG5u4CKYX5Jncc1kuGWA2wKLmCSYOOOy7Pp778QrdjK7h0EWb9oor8B I+HSCKsbV/O9raFHu8GdKVMpB4uXyU373kCC7aDiTM2z0R9g+rKmAoNQZRplm9q9xVii qtog== X-Gm-Message-State: AOJu0Yy5XQwP231619Voxp1DFrQH5V0b+zDoaPu9NwnhePzk2X1MWQmp MF+yCFeur1h/wBPxmqgJnI8WYPMMz7yyJ6NuKVp4bFSb X-Google-Smtp-Source: AGHT+IGjbctPhhJokdl8EmJDPZ3i+yvO6pNALDMAAqAje9IL5RVindngBZP8hJQWzMaLq33xiHrP+g== X-Received: by 2002:adf:f184:0:b0:314:35e2:e28d with SMTP id h4-20020adff184000000b0031435e2e28dmr12110907wro.13.1692876817511; Thu, 24 Aug 2023 04:33:37 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id e11-20020a5d65cb000000b003179d7ed4f3sm22063938wrw.12.2023.08.24.04.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 04:33:37 -0700 (PDT) From: Neil Armstrong Date: Thu, 24 Aug 2023 13:33:25 +0200 Subject: [PATCH v2 6/7] arm64: dts: qcom: sm8550: add TRNG node MIME-Version: 1.0 Message-Id: <20230824-topic-sm8550-rng-v2-6-dfcafbb16a3e@linaro.org> References: <20230824-topic-sm8550-rng-v2-0-dfcafbb16a3e@linaro.org> In-Reply-To: <20230824-topic-sm8550-rng-v2-0-dfcafbb16a3e@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=756; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=LCwZ4KC8gvTuRA6IYwBPb6uZ7MJ47erCdg3FgSczjSk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBk50AI/PPcJ1kGTnjICAPRr2U3fYANpHfpQIvkgI/s F+2GPeaJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZOdACAAKCRB33NvayMhJ0cgUD/ 9O/sp8RbQsdhI90sMdLRCcuPxF0rghLROCL/uMxN5I/TvrJ3axijUfEQjNjnaeOgqahQlNbI9hKXls 57RUBMw+cPaZ7mmJGEjxYNBvmBw92hOTor4Dx+q1+2jWXI7Go0j0U+iziubp3fvc1oHiTHeGpLvejI ZRS1jntKG1fJDSCZzb7WMTRystUhvOXizM+o7UkdvvCtiEXxbBsWzKmMv+YVcKYf+GZbk8MwPmjY7r KUVMezBYzyRDcxs92cNdVB18OUzPyJlt3L7jHADYf5V7qdcUWE6nLZwpCwUpEISuPSWbVrJdV04ytR IEbL0jikGHc15Wz955ySCMN4oQInrxga3CSeYGNa1no2rVkD1ZYR7nWV7SSN23AE/JVxKS8wiq1NIE DlBHIqpwnawBbVDvOAOiAHewPyHF0Sq497lFoFHWFczalJBfkD+L6HIQqb1YnKD18Pdzl0XG/DkexN r92QJK48RsicPiZNt+D6rFQuQv4xEw75ElKbmR//2nj0OveBZDLM3ZobPGuBUu4iu8ocZ+NI57n11A dVfvmZWNEU1cK5ffb7GqGt8hAVHEXSud65tfu6/Tx1C2MC4ybqNu6cKhJ7vUxv9/lMp5cP63yEy+Vi GulunAvRr7ppT5HfloBWBV8MsCrnmPnCKiZ4yj+4Rb1BUj/rNt59ltLNYWKg== 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. 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";