From patchwork Thu Dec 26 11:44:58 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: 13921274 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 16B971D5CE3; Thu, 26 Dec 2024 11:45: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=1735213536; cv=none; b=GChpYxtxUY/vgY/EOe0TLTdvX6c5noWPXU/mPIdKQ3dVyairxFOWK9PKnhM1oS3H6KCsA2BwIXvZvp6GcDhC9uFQ8upD4KkrM2FtmGTPLb+nDfWYazZcqHFlP9tFdPKPNdouAH4hQdl+mwO1kvCCrD9LreM6gflEeHVOt0bzQ6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735213536; c=relaxed/simple; bh=b+JvjQMKDxOQwUVq7UPLNmCVusb1BFDCK9m0z7YvFX0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=soMM0X9iHYMeiNPzcQM1bloH6S7lLRSLnOUfXMFQps2KIhkpNPmFxgqjn3TKokw/gPTj6j7wrxT4YNUGmWeV5Pc45N/tVxAPv7lEgmusIF7mRg+TUUJY84JE+pWQD/Bv2z31dON46vWx+3PhNrCxPkqO5z9FN9lXdi+v/fCq3MM= 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=USZjFb2y; 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="USZjFb2y" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BQ1w1CL002774; Thu, 26 Dec 2024 11:45: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= dxXXnkadswWuiTihvB0/VTA6a990U2t4i93tPiWwOJ4=; b=USZjFb2yf+pDVp2Y zy07OVUASwa8HvaF/55jkEgsvZ1v9+bLgOuS3AREC1hkLIquEA5Pzgk38DEcgZ9+ tzBEo1BdhmH0dCh49v5AC98AJFhNBNvXBMDNYsFXIxVZ2k2ovgCwaI9IwGpLx4Uq tuDjn8xoPNISU9IkXo/LmuUsM/J5N6to18/kLV9lPsVIO098pvSzltApmpefWMyR JU0eX6vr7bhiYthjsruoxPkQt11mDKgzjlxhQrWvelSUhyanoR+FifgAITYECsYj scDQ+q09i18wKsEjLY5dzl6ynKu2MMiTMOnGu7ncBiww4PyXawfIPDJQP5tm2Mp0 8PdOYQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43rwxjb0kx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Dec 2024 11:45:30 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BQBjUBY028649 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Dec 2024 11:45:30 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, 26 Dec 2024 03:45:25 -0800 From: Md Sadre Alam To: , , , , , , , , , , , CC: , , , Subject: [PATCH v3 2/4] arm64: dts: qcom: ipq5424: add TRNG node Date: Thu, 26 Dec 2024 17:14:58 +0530 Message-ID: <20241226114500.2623804-3-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241226114500.2623804-1-quic_mdalam@quicinc.com> References: <20241226114500.2623804-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: 7WNT54j7nGDBqH0Z2Yc0THH50-MprnPS X-Proofpoint-GUID: 7WNT54j7nGDBqH0Z2Yc0THH50-MprnPS 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 clxscore=1015 malwarescore=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412260104 Add TRNG (Truly Random Number Generator) node for ipq5424 Reviewed-by: Konrad Dybcio Signed-off-by: Md Sadre Alam --- Change in [v3] * No change 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>;