From patchwork Fri May 26 12:53:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99485 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp458764vqr; Fri, 26 May 2023 06:08:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5j6UwhmFS+1q17Hijlhh7T9LhVPRF8JKSpTCy1vRfqQtZovh+R9TDVIlrN5PIFUOxuRTjg X-Received: by 2002:a25:ac23:0:b0:ba8:6c1f:f5ad with SMTP id w35-20020a25ac23000000b00ba86c1ff5admr1501052ybi.29.1685106530077; Fri, 26 May 2023 06:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685106530; cv=none; d=google.com; s=arc-20160816; b=fVTocFEzc7+JaCJMARDAVBjdqvw6xb+CfWXnj7/zzb26ynSAmsDKnBorrRXeN+Wdyw iiaB9qnN6XVnYLHEBoD/ZgCNstAcePu5CGdMHp5FsLrddaH0PJMHF/qAr8ovljpCCfYb JDGNa4LFgzRF4bFZlg2AtdpRk1FyX6ANbs/HG3AvsT01OP90UtgK+l5RTpoB8L5nrMkk xQS+7a6CiF789gcJMfQ/hbR3G0Acl5kzYJi9uaSkAykLr+GKxh5HTy/qNKrTLZyg9Rs1 gmYXhnAN/LLIlGsgIR3AKmbvhynU11dMex/fTWRwhqrxIT9Zekr5RpuUtvLyXX7Zu8RX b0SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ngVt83NRTCtOQBFwZ1nD/VwB3oNS/JDXPCgeUNYD2Kg=; b=Ioo8lAoI+0i5XJNPkd2McVF2/nzfWXtAuesgmNfJASXBYpJ4wxHd7Xcv0Tar84nTAg IcuGM+2aN5tt5v3+9sLNVPfuKEd6vRhp6wBoP58QJftMTxQ9f2aHd7PfBqvPDXuYQWxf QlxS4Pc5k/59mhsAGqNk6RP/iJF46etvUrayEv5ykSqCi0GPmdOKa1TIhHTUgiB0d/XT 5va1WEjfBOlGd/MpxEK5neuAyevzy4OtV6thQF1NxPB9n9phhgudGfLemE+VrsdTWBhJ uL9bcfUID9VWGy4kprSzkHQrBei+LpR+OlmgP0fU/NJzg/qEbc9y7n/zuBWvgSHj9hDO oH2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="G7L/Zqvn"; 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=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 192-20020a250cc9000000b00babb2827b84si3303757ybm.407.2023.05.26.06.08.25; Fri, 26 May 2023 06:08:50 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b="G7L/Zqvn"; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243228AbjEZMyR (ORCPT + 99 others); Fri, 26 May 2023 08:54:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231447AbjEZMyM (ORCPT ); Fri, 26 May 2023 08:54:12 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA641E7F; Fri, 26 May 2023 05:53:57 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34QAweMP030003; Fri, 26 May 2023 12:53:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=ngVt83NRTCtOQBFwZ1nD/VwB3oNS/JDXPCgeUNYD2Kg=; b=G7L/Zqvn80Lnde03w4Y5N1dWJxdWZdMVqOOChOlz7krjcTQnKNxEaNn6xys2mlvj4lyM c5+lvXkvl9RQgDqBhVoplq0mFrwyQvhuXuBibwa/esUxbDZBF4guV61qunc/9wmo7jl1 aPoUvkkHcyUnzaRfHLdTT6gyhjXL6quQ6wzOQt1Q8buEHnn8mh+hzKDOj0vCobwAez63 pKYYwC1VAPlOOVESF8077Zut21ajzbkdGkxo95TYi1mstyM86hcaDueAMyh+TbDPxWtU Jzvk7dNIdeJczYdPovQP468kCJZuYP5S957zk+Pc3AAUn6lnreqU2R/ZApX+BSJt15ZJ gA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtkxwh616-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:54 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34QCrY7h027761 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:34 GMT Received: from kathirav-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 26 May 2023 05:53:31 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH V2 3/4] arm64: dts: qcom: ipq6018: add QFPROM node Date: Fri, 26 May 2023 18:23:04 +0530 Message-ID: <20230526125305.19626-4-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230526125305.19626-1-quic_kathirav@quicinc.com> References: <20230526125305.19626-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Q0m0t3Q4ot9A4y81BTOl7Iy9Pm_tRtK9 X-Proofpoint-ORIG-GUID: Q0m0t3Q4ot9A4y81BTOl7Iy9Pm_tRtK9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-26_01,2023-05-25_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=812 suspectscore=0 phishscore=0 mlxscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305260110 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766962265044162244?= X-GMAIL-MSGID: =?utf-8?q?1766962265044162244?= IPQ6018 has efuse region to determine the various HW quirks. Lets add the initial support and the individual fuses will be added as they are required. Signed-off-by: Kathiravan T Reviewed-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- Changes in V2: - Reorder the node based on node address arch/arm64/boot/dts/qcom/ipq6018.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index f531797f2619..0f6d6c6daed2 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -302,6 +302,13 @@ status = "disabled"; }; + qfprom: efuse@a4000 { + compatible = "qcom,ipq6018-qfprom", "qcom,qfprom"; + reg = <0x0 0x000a4000 0x0 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + }; + prng: qrng@e1000 { compatible = "qcom,prng-ee"; reg = <0x0 0x000e3000 0x0 0x1000>;