Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12206402rwl; Tue, 3 Jan 2023 10:33:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXvp8yABrU40348kiiVDyUq/xHl+4AQFxW0LMOU8+RUwCfNjs2t+UpkGbrQLVzq0cudk27J5 X-Received: by 2002:a05:6402:528e:b0:481:420e:206d with SMTP id en14-20020a056402528e00b00481420e206dmr34015871edb.42.1672770782263; Tue, 03 Jan 2023 10:33:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672770782; cv=none; d=google.com; s=arc-20160816; b=MiIudp0WrVy8tZYIBloVfYBfctyTIRvrnxNReV4AjQQkwCmhVRJJpyC5mIKjhuD0q4 I7HV0WpfSE9LeL9UiOOxpOTSsvAboI2bqL2jWbvOqr2bOLpiGGyctpEtGGkHD/GSOUEd 5telBy5rm5gxFdiI+j6drET8z9A4qyAVYTzYC6Ho2XJ30HjNCRhyuTxMMEJjJyYA7U5k oQlzlqPb1KL0RpBEtNt7thOXfAz15mExA9m8yYr3cM461rFcEsSnBvN0QF7CHGqCEzQq RCOIBVO81XnHNdIXJVgBcvZVSlMxkE1k/v22vIQpNa0/AZzZEy8Q2UXyZItqo12olRlA KSsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Tt+pdRFwqN8VH88+PGfu+O8CtSAML4FLnYQjY76G08c=; b=j7x0PYM/wr+UUqW8FYt0ik3o1MiB8BwNKNbZmVxhq/yNt6y/8bqbXIXCDSGBkE+RFs k+oIkyf0lAoJXxDBmd9VV5ChzfIrGzO89rsIvpCJvand9Z6lXkosfNC51XbxJZmaVjYH YSn5NjNOctFgIEuorHrM8dfc0FTIaVQEx/7RkoDZNMljt5Gr+TSBx+MrZlqHFSPHqGog AT3juAcF60mTdepsDNveWxoiCkW2SAvt6hlO3H1Hn4tOeELBER6YgOWIrwMgCB3Pez7U FHBmTMZg9Zh0rDKPlB1MH3HGUWDszk9u38VWz9myGxvcZVeTmd52sIFkGdSy94DD3B4y 55IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b3Y6f9iA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a05640250ca00b0046289aad428si31671686edb.496.2023.01.03.10.32.46; Tue, 03 Jan 2023 10:33:02 -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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b3Y6f9iA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238858AbjACSZl (ORCPT + 60 others); Tue, 3 Jan 2023 13:25:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238892AbjACSZC (ORCPT ); Tue, 3 Jan 2023 13:25:02 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D63B613EBF for ; Tue, 3 Jan 2023 10:23:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672770183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Tt+pdRFwqN8VH88+PGfu+O8CtSAML4FLnYQjY76G08c=; b=b3Y6f9iAYvpSxvDVxjtsWJs2A99IqNS13jY0X6vTOe8qnHCTyc5DmpFgRvt0wiELJhnSBI PIFqYZbbLZZlLKn5BYWwuiQaR9UR18dBhsQmHI5JHVpa1oHURqoTaJcSJacycoPwwGfx4B Vksoj+LHAAaI0EDPdxWKWSqeIXS/Mlo= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-606-gDRIZObwMmuM-9zAGfcK_A-1; Tue, 03 Jan 2023 13:23:02 -0500 X-MC-Unique: gDRIZObwMmuM-9zAGfcK_A-1 Received: by mail-qt1-f199.google.com with SMTP id fp22-20020a05622a509600b003ab920c4c89so6547161qtb.1 for ; Tue, 03 Jan 2023 10:23:02 -0800 (PST) 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=Tt+pdRFwqN8VH88+PGfu+O8CtSAML4FLnYQjY76G08c=; b=zT6UJ8dfDSXNA5zzefWosH8zJOljWvKDvfgG1yqGLBU3toWZw0ktuOp+V3gcSd8a6F ZVo+vzQ+24Gip7vQdTcwKjohaZxkIRtTVoEkxlmd4n+WSVUP9bTBunoXgVrbWch1PDki aEZ4RDX1vSeDF9ijUGIb1B4dd4YZktPb75k5nUJKvDUS0DkZCUMQdYcr4dy1dLL7Eqtp O+hBMBnFzJReOTHR0FEBoakwxaRQjSDgA41snYFSSK6vUBZYhd8dYOPw2o6yZ4xyyvzf 7EqAjjUNwKkmrARi3XWJ6k5BN5wP0vIKMzi318Ol6a/Nfh4AJIQaCRC208RIQIfra5bD uoWg== X-Gm-Message-State: AFqh2krOig/Tsdd9GzrSfnpyjEk8J/8FMS5P+ikvBXYNJo8BvwJbx1pA 4+1Vglozk0x1iy3jEH9vg19XNsj/rzenfFVBUfBkUkOSChccPb/6HFBMzS6QVv8rVRfiGByLe8Q gD/Yz4bLAfeOQONgeAh3NcxAN X-Received: by 2002:ac8:7598:0:b0:3a5:63ef:cf4e with SMTP id s24-20020ac87598000000b003a563efcf4emr68534226qtq.16.1672770182230; Tue, 03 Jan 2023 10:23:02 -0800 (PST) X-Received: by 2002:ac8:7598:0:b0:3a5:63ef:cf4e with SMTP id s24-20020ac87598000000b003a563efcf4emr68534207qtq.16.1672770182018; Tue, 03 Jan 2023 10:23:02 -0800 (PST) Received: from x1.. (c-73-214-169-22.hsd1.pa.comcast.net. [73.214.169.22]) by smtp.gmail.com with ESMTPSA id t13-20020a05620a450d00b006fba0a389a4sm22819675qkp.88.2023.01.03.10.22.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 10:23:01 -0800 (PST) From: Brian Masney To: andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: quic_shazhuss@quicinc.com, robh+dt@kernel.org, konrad.dybcio@linaro.org, johan+linaro@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ahalaney@redhat.com, echanude@redhat.co Subject: [PATCH v4 10/10] arm64: dts: qcom: sc8280xp: add rng device tree node Date: Tue, 3 Jan 2023 13:22:29 -0500 Message-Id: <20230103182229.37169-11-bmasney@redhat.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230103182229.37169-1-bmasney@redhat.com> References: <20230103182229.37169-1-bmasney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the necessary device tree node for qcom,prng-ee so we can use the hardware random number generator. This functionality was tested on a SA8540p automotive development board using kcapi-rng from libkcapi. Signed-off-by: Brian Masney Reviewed-by: Konrad Dybcio --- No changes in v4 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 7f316c3918bd..b713c0126164 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1626,6 +1626,13 @@ spi15: spi@a9c000 { }; }; + rng: rng@10d3000 { + compatible = "qcom,prng-ee"; + reg = <0 0x010d3000 0 0x1000>; + clocks = <&rpmhcc RPMH_HWKM_CLK>; + clock-names = "core"; + }; + pcie4: pcie@1c00000 { device_type = "pci"; compatible = "qcom,pcie-sc8280xp"; -- 2.39.0