From patchwork Fri Dec 20 07:00:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 13916301 X-Patchwork-Delegate: herbert@gondor.apana.org.au Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4567133086; Fri, 20 Dec 2024 07:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678096; cv=none; b=qhRZMZ13/m1qByFSF1tGtpB1vJ0GGrXBtbHJBu8XORjVC68lFiAgu2UMM9Hlgz1f3IUddyMxZONiYq6gejD9c87KVS+1tPoleYFX/eHMLFtXqQ8xxN62Uu7WAekBxVN1yCVdzurzit2iuuUACBOsUobIUmyqEKXfMqPdJaUU+z4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678096; c=relaxed/simple; bh=jMBu9uzOfw8/9QHTkOAtPF99n+ZRkpqIwdx8UPPSHDc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DZklZoBQAOo4O0Vbz/Fm2LPoX65aA9Shr4N4e+pSCcZ2pgy44uxP9PVBsmAnpzMBy/XUQplBvB8dFUfQZPYKl+Jpi2E+peGHwJi6DB9UxdxRCiprFQ+brX8H95VaJaAcTzSvHZoDMTuA6ah/3fM2qmPOxvlAmctBLafH84xAa6Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fKWkaPkU; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fKWkaPkU" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BK5eltf005101; Fri, 20 Dec 2024 07:01:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= SFsnKjfsyLrxU6X2X8vV9PknPd80fqHcwW7PddMf35c=; b=fKWkaPkUEkfavy2k JkIonNyVJqP3VKu0eDhWgS5/9BuUpbcYx5GR8vuzL1wufYcKvi98QmDFa4YPW1PC C4+AYTxXkCAp3cbq01IUFli0xRc6asPZwOf/6C70EHiSWhFJv5Xbak6K17AdhxHl +6Iks8kgzfF1FoTSmy2cBGgQ9hIo4u/lLxHdSLqmYN5uIbVQfAk2sog1XVXOg2XE 08GxNEz6FfbiSOO3TVNUtvEygDo/KzF0zUbRuXwm0sgSH/arkonU604ZDWbsB/IW RdIOZ/8/He4OTP98PQG2MReSDJQdJMH69jq2L1rg99sa6Q34niaUHx1C/iHUEaSh uPrn/g== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43n2n5r68b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:31 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BK718at010760 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:09 GMT Received: from hu-mdalam-blr.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 19 Dec 2024 23:01:04 -0800 From: Md Sadre Alam To: , , , , , , , , , , CC: , , , Subject: [PATCH v2 1/4] dt-bindings: crypto: qcom,prng: document ipq9574, ipq5424 and ipq5322 Date: Fri, 20 Dec 2024 12:30:33 +0530 Message-ID: <20241220070036.3434658-2-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241220070036.3434658-1-quic_mdalam@quicinc.com> References: <20241220070036.3434658-1-quic_mdalam@quicinc.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 0jh4ejkhuI4W8u8mvtrnIKtedgTxvLAe X-Proofpoint-GUID: 0jh4ejkhuI4W8u8mvtrnIKtedgTxvLAe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 bulkscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412200058 Document ipq9574, ipq5424 and ipq5322 compatible for the True Random Number Generator. Signed-off-by: Md Sadre Alam --- Change in [v2] * Added device tree binding change Change in [v1] * This patch was not included in [v1] Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml index 2c959162e428..7ca1db52bbc5 100644 --- a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml @@ -24,6 +24,9 @@ properties: - qcom,sm8450-trng - qcom,sm8550-trng - qcom,sm8650-trng + - qcom,ipq5332-trng + - qcom,ipq5424-trng + - qcom,ipq9574-trng - const: qcom,trng reg: From patchwork Fri Dec 20 07:00:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 13916300 X-Patchwork-Delegate: herbert@gondor.apana.org.au Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F2ED2594B4; Fri, 20 Dec 2024 07:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678096; cv=none; b=Bkg6qd1+LMJeqS848vsCKVFhS0RpJF53WpvaC2S7692jMgh+OoDVm2ZvPylnY2rV2ROQL+snimVytpeYx+/TEC9uhGH0eYgwlBsRly+Sh57FXFrZAz/a9+4S9xcxdTApEfE56F/rjXKt5LhgQem2vdvFSjHk4KDttuS07R9j8Ns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678096; c=relaxed/simple; bh=G/+AYnRocne9i034wkNXIYB0js0KhauS0RMx/UjaQ80=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KMfLzha9EqEG7xsamPv833wMxMBO0DrEaYO0LRGMa5jUseJ3jXinoCTBs7DcuMfwy7JwKlUk0Fl8r9s13ln4sUGcN1VOZT7sxvVNqQC7bRnnzXjAZOfk4HS0oaKN+WR8+xun7xicfhECsLcOQ/GVk5PVGYDxArTSaSfbPiDF/10= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=i9+rknv1; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="i9+rknv1" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BK5fgAX006609; Fri, 20 Dec 2024 07:01:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= yqpjR+gZtOeEjgxuQ6ZdcVaOVDHpZ7Z9yGTdpNoS0Mo=; b=i9+rknv1mPCmawXe EdWok//k+pnEZp95Vz3IHm/M1443wz4jSNQrlEaqbmAoxIw0wU4mVZqp2kKbJND3 BmYyWwQcmjH39wHnQug7QKU2yFlpJZTu4KTi9dNiOhmyTUsnMh+L0QPiCr5MEIBa /Fs+tGKBOVXsfm/p8G0tMiqt0vM3dng8cAufPvgbQyltgHXkjg9CkOop6MG1veH2 cdar+P6oGVDMDS1Ot4XYejwKKgiKQPo10MJYUFE+pznTX8UVkTot4zXXZIId/dDM Cy8Rkzmev6MiiI46qc03pDOXARIX5t3Cd+i+VbYFd48jgOe4LAjjLSV2MvtdvbIe oaOyfA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43n2n5r68f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:30 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BK71DWO017131 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:13 GMT Received: from hu-mdalam-blr.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 19 Dec 2024 23:01:09 -0800 From: Md Sadre Alam To: , , , , , , , , , , CC: , , , Subject: [PATCH v2 2/4] arm64: dts: qcom: ipq5424: add TRNG node Date: Fri, 20 Dec 2024 12:30:34 +0530 Message-ID: <20241220070036.3434658-3-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241220070036.3434658-1-quic_mdalam@quicinc.com> References: <20241220070036.3434658-1-quic_mdalam@quicinc.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: YN80oVXg3GrIdf_BlHcXwl9Otq6nbGsG X-Proofpoint-GUID: YN80oVXg3GrIdf_BlHcXwl9Otq6nbGsG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 bulkscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412200058 Add TRNG (Truly Random Number Generator) node for ipq5424 Reviewed-by: Konrad Dybcio Signed-off-by: Md Sadre Alam --- Change in [v2] * Included Reviewed-by tag * Updated commit heading from "Add TRNG node" to "add TRNG node". * Changed "add TRNG" to "Add TRNG" in the commit message * updated compatible string Change in [v1] * Submitted initial patche to activate TRNG for IPQ5424 arch/arm64/boot/dts/qcom/ipq5424.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi index 5e219f900412..aab1cf787863 100644 --- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi @@ -145,6 +145,13 @@ soc@0 { #size-cells = <2>; ranges = <0 0 0 0 0x10 0>; + rng: rng@4c3000 { + compatible = "qcom,ipq5424-trng", "qcom,trng"; + reg = <0 0x004c3000 0 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,ipq5424-tlmm"; reg = <0 0x01000000 0 0x300000>; From patchwork Fri Dec 20 07:00:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 13916303 X-Patchwork-Delegate: herbert@gondor.apana.org.au Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6B77156C40; Fri, 20 Dec 2024 07:02:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678150; cv=none; b=LEKlWXeyKDi8luE5Iv3AaqA5aPnWjyjkbzY6YWJW5Mnx3k1PrFq/X9Y/pRzkcild7No06zTY+d1sRI5dH475KH9b6uKXsbEDC5X+MXtPLOIeFDEYS5jMGlZcpQiTjDGGvzwCo+bv5y0pich+8FTh5MT3i1xzI5SZOd3xU7PgOG8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678150; c=relaxed/simple; bh=AQWwlRXGtax7dfVtc9xiNjsEzN71TLwmq44fMWbaGB8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XoUT0PAEcstNah0gXMhPnI/dLO7fJThLsUDFgZ1NCEf93yIHInFnuffU5b6LD/6rOoa7c9sOLMQtN4mpDHL/JwffYW+3iyS7NSILKN5Ot5g3ZKBA5NS1beKAe8NVNbEns6ONM6gjz2LvjxvPAVC6l4Z1K4XQ942F/RQwlao3D94= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=oJAjN/bT; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="oJAjN/bT" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BK6lba6001414; Fri, 20 Dec 2024 07:01:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= zRWJPL7L3pPqSCyTvvuhdv0KwAqKL/47DsiqT/HFT9I=; b=oJAjN/bTc28NoaGV O3xMdxlRsCg96906aCC83HGw36AUV1qgb/qGZWNiLM3aTJ7rsv66ZDdaIfVRTN9V XCwBlslIv1x02iU1lVIlvqThIfjT0twDuFipUC7bzUeVghbEBoDeoa7ThfXws149 BiTxBGUs20OSFTt0D/lJgv+xLXGhHt1hpKmGLIB2AYVPHHnrJBXGqh+CW6joBeAD QqGtVvq0aQA+Azs3um88peL3FjABgpLzJfGoeClXdf1bqvTnmUM4HFFc4eyPZo0P kATCku6rhp2Vu83mVQ9+EVeg8+JNxQ3xYY4ohkAzXaU/n0r54SraQdcAtv+xtxs4 ANzPvg== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43n3mfr12g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:24 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BK71IXu010934 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:18 GMT Received: from hu-mdalam-blr.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 19 Dec 2024 23:01:13 -0800 From: Md Sadre Alam To: , , , , , , , , , , CC: , , , Subject: [PATCH v2 3/4] arm64: dts: qcom: ipq9574: update TRNG compatible Date: Fri, 20 Dec 2024 12:30:35 +0530 Message-ID: <20241220070036.3434658-4-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241220070036.3434658-1-quic_mdalam@quicinc.com> References: <20241220070036.3434658-1-quic_mdalam@quicinc.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: hM-G_0V5knLhuHifPVISGxB8UQdSdrSq X-Proofpoint-ORIG-GUID: hM-G_0V5knLhuHifPVISGxB8UQdSdrSq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 adultscore=0 mlxlogscore=999 impostorscore=0 clxscore=1015 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412200058 RNG hardware versions greater than 3.0 are Truly Random Number Generators (TRNG). In IPQ9574, the RNGblock is a TRNG. This patch corrects the compatible property which correctly describes the hardware without making any functional changes Signed-off-by: Md Sadre Alam Reviewed-by: Konrad Dybcio --- Change in [v2] * Revised the commit message * Changed IPQ95xx to IPQ9574 in the commit message * updated compatible string Change in [v1] * Submitted initial patche to activate TRNG arch/arm64/boot/dts/qcom/ipq9574.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index d1fd35ebc4a2..453574c370f1 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -227,7 +227,7 @@ rpm_msg_ram: sram@60000 { }; rng: rng@e3000 { - compatible = "qcom,prng-ee"; + compatible = "qcom,ipq9574-trng", "qcom,trng"; reg = <0x000e3000 0x1000>; clocks = <&gcc GCC_PRNG_AHB_CLK>; clock-names = "core"; From patchwork Fri Dec 20 07:00:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 13916302 X-Patchwork-Delegate: herbert@gondor.apana.org.au Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB23918B464; Fri, 20 Dec 2024 07:01:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678102; cv=none; b=Y9SuY1Xk6JgOVS8JvKiLTfraNyxHMHjRsJI09RY55sVg96ems9uKnbwCb4pSYcKnESL+cdTsReuIivnJ3xVGPqMHZ+KiKjtIJP5uXrIVy3/aDCW9Uq78vybkGHHlb3UAQCurfsBa71WxrffXxwwrfiOZqmWFNWOOeXXdzh52E+w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734678102; c=relaxed/simple; bh=Zyk025q1osxf6eadSR4YxVCk37K612GGtF3dUJx8UIw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NBOsRV6ByCnmAzUEmiw8fq/MY+Q+JSbaVX7jcXoYo0Uq363uhnEg81gCe+CIWT735BHQ5KdnAY5lEEoFzenf9LGDSxhxHvKNSgsDKBNUIdlDzEJ/LeZ5pX12R+Q0+uT8+wHeVcCtA8XakAbqjml5SAT6UEUTZSySH3leEOoQc2U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=bFb/sVXQ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="bFb/sVXQ" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BK6nJMO004127; Fri, 20 Dec 2024 07:01:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= sEkwrbgTyC0pD7FMFU1ma/BfXWRgZgXGEoYnKDNyJFA=; b=bFb/sVXQN+VfHF2g kZgbwHA6fetQ1HZldYSXzllMydKYmAHau52Ra1NjwdpGlIw4IMp6/3F9gG4BUNvr gP/jb98CcRbaedKeQntUcJzyvgdJjPsjhYIe4qt0pIDxO/bkuWl78rpM3Cr9GL9S +SR/0vZN4fV8I+vNydHHpxJh1QnQmklmbgx/Ecygu7ay5obkBGiUX2szE97TWPUg mR0uGX8evNSow+G0jHSmvASM7Se0JLX3sMErIthgkalMqmgjDHcQG9Tx3AgSMp66 ji8vT0G5tsOQVJk4dvVIm3Tf3b0Q92PssLblBrBjC6wceCI18A84fjkI/EWaRxo1 +nAYXw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43n3my0101-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:34 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BK71Mu6021779 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 07:01:22 GMT Received: from hu-mdalam-blr.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 19 Dec 2024 23:01:18 -0800 From: Md Sadre Alam To: , , , , , , , , , , CC: , , , Subject: [PATCH v2 4/4] arm64: dts: qcom: ipq5332: update TRNG compatible Date: Fri, 20 Dec 2024 12:30:36 +0530 Message-ID: <20241220070036.3434658-5-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241220070036.3434658-1-quic_mdalam@quicinc.com> References: <20241220070036.3434658-1-quic_mdalam@quicinc.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: lUDrey1Cu21PbgmcogZzm6ikujsSbF_o X-Proofpoint-ORIG-GUID: lUDrey1Cu21PbgmcogZzm6ikujsSbF_o X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 bulkscore=0 mlxlogscore=949 spamscore=0 clxscore=1015 mlxscore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412200058 RNG hardware versions greater than 3.0 are Truly Random Number Generators (TRNG). In IPQ5332, the RNGblock is a TRNG. This patch corrects the compatible property which correctly describes the hardware without making any functional changes Signed-off-by: Md Sadre Alam Reviewed-by: Konrad Dybcio --- Change in [v2] * Revised the commit message * updated compatible string Change in [v1] * Submitted initial patche to activate TRNG arch/arm64/boot/dts/qcom/ipq5332.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi index d3c3e215a15c..ca3da95730bd 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -180,7 +180,7 @@ cpu_speed_bin: cpu-speed-bin@1d { }; rng: rng@e3000 { - compatible = "qcom,prng-ee"; + compatible = "qcom,ipq5332-trng", "qcom,trng"; reg = <0x000e3000 0x1000>; clocks = <&gcc GCC_PRNG_AHB_CLK>; clock-names = "core";