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 9A5FBEE49AF for ; Wed, 23 Aug 2023 00:11:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbjHWALS (ORCPT ); Tue, 22 Aug 2023 20:11:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231185AbjHWALR (ORCPT ); Tue, 22 Aug 2023 20:11:17 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09E32133; Tue, 22 Aug 2023 17:11:15 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37MMvaaH025417; Wed, 23 Aug 2023 00:11:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Eq/zNbcj/UfKaz39dy+EGrdQEyDV76oW7T7NEazQZkM=; b=YaUEcLkG2Ot9/JsFtYy3hrFr9DVs6VP2+bsneZindKzZj4cSpBYL1r7Co9/B48xp8NTU 3swrVJYEr/S4Jb9+lhlP8AWFqFv1yvzIl9ZN4IkiuYmgB8nEMbxY/sVXbR11/E3XW/I6 9pvP/zHNSq61jXUyIcPa+DdlRPdT25dSmq1fAFXl4qEQok7veWNus1LA9bx8MHl1Xg0w waMn/D2NEsv6X4VKQw3D5vIgMuqF4I/NzLNHe5QnCDLOHRjkjleYEmfNYEat3FxIjAcy +nr6lod2WYOSHXiB1XD6SLX+1wdeYRM0qQ/fC6y6W79aTpi024kplZc3LRjmWUlIYokf LA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sn2exrfks-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Aug 2023 00:11:07 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37N0B6Tw005388 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Aug 2023 00:11:06 GMT Received: from [10.216.6.154] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Tue, 22 Aug 2023 17:11:01 -0700 Message-ID: Date: Wed, 23 Aug 2023 05:40:57 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: crypto: qcom,prng: document SM8550 To: Konrad Dybcio , Neil Armstrong , Andy Gross , Bjorn Andersson , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul CC: , , , References: <20230822-topic-sm8550-rng-v1-0-8e10055165d1@linaro.org> <20230822-topic-sm8550-rng-v1-1-8e10055165d1@linaro.org> <8479869b-9984-41e3-9812-c7f5727cfd2c@linaro.org> <26bae022-c114-4871-8715-73d7e8aeaa52@linaro.org> Content-Language: en-US From: Om Prakash Singh In-Reply-To: <26bae022-c114-4871-8715-73d7e8aeaa52@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: v5lSNNjHgkPt1yww8gYxRLEBdxY58sC7 X-Proofpoint-ORIG-GUID: v5lSNNjHgkPt1yww8gYxRLEBdxY58sC7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-22_21,2023-08-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxlogscore=950 mlxscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 suspectscore=0 adultscore=0 phishscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2308220199 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 8/22/2023 9:34 PM, Konrad Dybcio wrote: > On 22.08.2023 16:54, Om Prakash Singh wrote: >> PRNG Block on most of newer target from Qualcomm have some configuration where clock is configured by security firmware. >> >> Adding separate compatible string for each platform is overhead. >> >> We need to introduce common compatible string that can be used for all platforms with same configuration. >> >> I would suggest to use "qcom,rng-ee" for newer platform, dropping "p" also signifies it is not a Pseudo Random Number Generator. > Please reply inline and don't top-post. > > > Is this what you're trying to say? > > 1. sort out the clock requirements for designs where Linux manages it > vs where the FW does so > > 2. introduce a new compatible for SoCs implementing a TRNG > > 3. for SoCs in 2., register the TRNG as a hwrng device Yes to all > > > ? > > Konrad Thanks, Om