From mboxrd@z Thu Jan 1 00:00:00 1970 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 CA4CCC10F1B for ; Wed, 21 Dec 2022 20:44:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229601AbiLUUoL (ORCPT ); Wed, 21 Dec 2022 15:44:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233757AbiLUUoK (ORCPT ); Wed, 21 Dec 2022 15:44:10 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A84B380 for ; Wed, 21 Dec 2022 12:44:09 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id x11so1435227lfn.0 for ; Wed, 21 Dec 2022 12:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7yLX8oZ5v9e3fdvXtrp7X+EzXpLY8er8QpFf1kEgzpc=; b=BqGLUDayO13yDqIEzYpBIr57NeK6RZ33pNBNujzjDiFHb8f4Umc4iMYqPuI3VWV5/F Yy+V1JUsXssqj8YQcYeaxLGSjH/mEnZwJHZGQ+cRo4ca+mp8qijUg/Lt+pAnjiGn6At1 qHltNmPCQXxzAgFL2e9ic5Y52tNe6aO1WpyTFwZZ0zpu5qOnB+P5qGanDX3cb6U7IIhX mVHtphs0umQkgLAFktgJpSO5D6wIqhzYehClv3rewXe2CMv2UkDf8bsV+GKfCtP5Th06 T1PKkUpRDfP+IcNec1UQyFK013ertchqkFbK5jVmcM+UsEd/t958KUvZH1Jdd7AaH3hm MFUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7yLX8oZ5v9e3fdvXtrp7X+EzXpLY8er8QpFf1kEgzpc=; b=OmbUHesrPl1sEV0p9YSLjaPVUdqQpkqQ+GPEO+o8ynWfSKUkzbalWsXUCNOA0j4kkQ qeEuuqJ5u85BZS15r5cw8s5LuJZQ2GLG6/iQd6tOLHKLbbqLvFpckqY5/ir48s66uBF8 8OIJIYPWlVff3sb4kSPNjSdPKbuVhfqu/rd7EJ0Mh/GQhhhTiKnnJQ+0yCMgSDnHAVQf WWlGG1RVz385KYxAeTqTOOP1l0WlnPEeja8CdXwOoHfIxujb3VaT5XjjjTKuoz/jshj/ seNJko1ub8K7JZxtXclfZ/96lxZhaQT5ic7yKElgyqbU9HWJh8jd0cHtVC/T9boFDMzH QSqA== X-Gm-Message-State: AFqh2krOYv8VlTc2bsZFWumiHfz762x8q4r2pcpSZ2EC8IEuUUIMYzFL qisNiGMG+k7uwa0PAjppoJSDow== X-Google-Smtp-Source: AMrXdXu+8hyQRCnnntWOqqsS5p3qnKyy+begbAFYjuPYuS4VdwRfeRyE9mSsfVWotWQj1/l82YIAow== X-Received: by 2002:ac2:59c4:0:b0:4b6:fae9:c9bc with SMTP id x4-20020ac259c4000000b004b6fae9c9bcmr932187lfn.4.1671655447821; Wed, 21 Dec 2022 12:44:07 -0800 (PST) Received: from [192.168.1.101] (abyl184.neoplus.adsl.tpnet.pl. [83.9.31.184]) by smtp.gmail.com with ESMTPSA id a8-20020a056512200800b004a2c447598fsm1951904lfb.159.2022.12.21.12.44.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 12:44:07 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2022 21:44:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v3 7/7] arm64: dts: qcom: sc8280xp: add rng device tree node Content-Language: en-US To: Brian Masney , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: quic_shazhuss@quicinc.com, robh+dt@kernel.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.com References: <20221220192854.521647-1-bmasney@redhat.com> <20221220192854.521647-8-bmasney@redhat.com> From: Konrad Dybcio In-Reply-To: <20221220192854.521647-8-bmasney@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 20.12.2022 20:28, Brian Masney wrote: > 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 Konrad > Changes from v2 to v3: > - Correctly sort node by MMIO address > > Patch introduced in v2 > > 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 4591d411f5fb..6c2cae83dac6 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > @@ -1602,6 +1602,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";