From patchwork Fri May 26 12:53:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp449366vqr; Fri, 26 May 2023 05:58:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7eUrnN53dGUYOUYq7W+CFJI0ylxgSuSepFM05zsxYjEcrNEPOvXTg90H7257ekD7pzTkmt X-Received: by 2002:a05:6a21:998f:b0:105:66d3:8572 with SMTP id ve15-20020a056a21998f00b0010566d38572mr2194014pzb.24.1685105911714; Fri, 26 May 2023 05:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685105911; cv=none; d=google.com; s=arc-20160816; b=zIBH0RqlesmCXzzkzLTWRVAu5cwijx1YL+iXMk+FDz074QdrvXMJhmEYszDS20EK+c /YNZxaNtehA0zGjdPa4ooq1DpQfVzAfGr2D6mA/MO3vQJ8oABZqgcQet9d5/taCUwOiG Eaeox67cDpZHLEZCmjwqfVwVpqqiWAMC8WsZZFqA6WTmlXshthiZXq+IyffSzqc5xWrn +76huqc5puApTgSPYOMx0jwvpbgB61mS0g1eveWBsdNVUSeeCMy+NiYM05RRmez/ePjy rRGxOjRuBUIjcR5GsXdQtEVWksOemwy1cQD4pFquXmiQE1WewjzQLLSS6T59jFov7p10 uujw== 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=L8GKsZj/gjQFtKXUfOWGgaHMT2r6YRkkEaKT8vfTvIc=; b=OyJVRDE3+L0mlB9OiO9ToMOuTLVhT5GlrHmOb4Kj4PhH2Hmn2likQfVWJNmkz9F7tj k3O0qKcIaSGOUy34qMTEaSksDXJwlOgUffvaS136v9/LA7aZfnV4AIklrHVPfik+w2L5 iZRueSLXf4DsB673oNN0gfEuY4DIYdPWwDzGivRk5bc7oO5SjnJjpxJl/XFJpLLfIJ9D YhHowoCpmBsUxQSiTqh/xe65qcF1R3JqcVGEAUtlj+wGr9QkIf/o4jtOdtK8cmoDGFLX 56dNudn6MEBL7DhbeZQq0XeFibfNPqTEmhEdp9tg7g1f9j3mdH+R42aNabe2OJBjgUdp giHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=F8CVGlLd; 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 o11-20020a637e4b000000b0053051c56825si3437363pgn.777.2023.05.26.05.58.18; Fri, 26 May 2023 05:58:31 -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=F8CVGlLd; 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 S243436AbjEZMxu (ORCPT + 99 others); Fri, 26 May 2023 08:53:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243272AbjEZMxi (ORCPT ); Fri, 26 May 2023 08:53:38 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38EBB114; Fri, 26 May 2023 05:53:37 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34Q8wLSv025896; Fri, 26 May 2023 12:53:34 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=L8GKsZj/gjQFtKXUfOWGgaHMT2r6YRkkEaKT8vfTvIc=; b=F8CVGlLdQdxzar1RtzjSTTROzuIs2+IcUUIahNbtvGskB6KrhEGLDgnxR0XquvnCQnWN +OFKY1cvJAfZBUECMlVtEp3t+W3ll0CKbx++u3YH5nCmbNoVXYvJ+PitVbNkUy1KWo1x nPh1iOtmSIr63kBO9nayT8/gWD+o2FCKuySZnITxh2UK03I/xkefdnzgM383R8weSAR/ 9GCM/hvbNC+ncZpTvEVWgiI9EiFKzRoa9uRlr8r+tdXH00ek0TetZiilhL0jUKdjwgsT rklON3EQCm3B5H32v37O8q8J6n4vVtHv8OHH9oawGGVobHpdLqdx6KZW/GhldYvLWNIi rg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtp4wgwnx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:33 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34QCrRsi005306 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:27 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:23 -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 1/4] dt-bindings: nvmem: qfprom: add compatible for few IPQ SoCs Date: Fri, 26 May 2023 18:23:02 +0530 Message-ID: <20230526125305.19626-2-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: 9ULqYu6jBjhMiPOKjY45DIRh7rhRe6lV X-Proofpoint-ORIG-GUID: 9ULqYu6jBjhMiPOKjY45DIRh7rhRe6lV 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 priorityscore=1501 spamscore=0 phishscore=0 adultscore=0 clxscore=1015 suspectscore=0 malwarescore=0 bulkscore=0 impostorscore=0 mlxlogscore=775 lowpriorityscore=0 mlxscore=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?1766961616074510202?= X-GMAIL-MSGID: =?utf-8?q?1766961616074510202?= Add the QFPROM compatible for IPQ5332, IPQ6018 and IPQ9574 Signed-off-by: Kathiravan T --- Changes in V2: - No changes Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml index 8d8503dd934b..076566ef9cc8 100644 --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml @@ -18,8 +18,11 @@ properties: - enum: - qcom,apq8064-qfprom - qcom,apq8084-qfprom + - qcom,ipq5332-qfprom + - qcom,ipq6018-qfprom - qcom,ipq8064-qfprom - qcom,ipq8074-qfprom + - qcom,ipq9574-qfprom - qcom,msm8916-qfprom - qcom,msm8974-qfprom - qcom,msm8976-qfprom From patchwork Fri May 26 12:53:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp458023vqr; Fri, 26 May 2023 06:08:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6z3Fumozbl6BuZUPOVNRcd+G2U2OobNNPPC6Ek+HhNUX5RcsthcREdOIrqFVa3r1foc40l X-Received: by 2002:a05:6a20:42a7:b0:101:2ad0:1347 with SMTP id o39-20020a056a2042a700b001012ad01347mr2531963pzj.23.1685106482411; Fri, 26 May 2023 06:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685106482; cv=none; d=google.com; s=arc-20160816; b=AOZItSap/AaTRIOzr3b8vZygvIA8lXxKuA96Nta3xf5JP/x/QEi/ASCHKEhmVO3QmL 0Kk5cF72DYvU+WuA9aDuCn4ayxHxPESVCJ15KMLRAAQO+M3+xHRfQIr59D4Xj+icW1QW F7XPXFdHkvZiXUk7PCm/91fEFSwZRkdT+7sB6c4El1rw8lZ0g+AGDZChWNorgrN60G28 ozfk9VdPJXqtBDopvzfRhYLMcLByOXEVoTVuSVGZZcxK2UI+e6RLiKAHyMzREyZ/YXzk weA8XvZuDE7pnrK76bXudmoNoFey3x/nfXkGUHv0up/0PMsJRSO1Frl0jbYYOeYgohDL xMXA== 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=d/joYPfK5JnVTSOitpduD1Sc8npAgyNLSbDE4gPv+jg=; b=LLJ/Z/oOpz1d4reFmp7B2jK78bw/i1VcuUkZmoy40/bQKP5tq0TKJhZeNOIh9Fhy4L uMjeCYoH4FMfRQGx8favjKOjPVK0Aw8AiHftTUaGgumUYf3al6+u7QAAl6/NwwfzQFIW 4bn/9i4If3/wle+SHMGkLl8BJ6iIYXtSOBIogy+4aTF7Nn8BAhMMszPS+LcC0AitVsIr KYK3oBoM4X6p/OgQjIou/5QgOGjKKBZ9uRbddp+2M5mk3JG0yaSeiRAlxXrGqeVSCNjI kmEVqxwTQEavCi5owHpQ0WJh/lSoNTbOKcS7oj40iNUVpQTBgrhDB+IOew5eJ4h+NX0u TUVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BKFMKnrD; 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 nm8-20020a17090b19c800b002504799a157si1949824pjb.134.2023.05.26.06.07.38; Fri, 26 May 2023 06:08:02 -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=BKFMKnrD; 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 S243382AbjEZMxl (ORCPT + 99 others); Fri, 26 May 2023 08:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243357AbjEZMxg (ORCPT ); Fri, 26 May 2023 08:53:36 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B2D6195; Fri, 26 May 2023 05:53:35 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34QBi1ga027483; Fri, 26 May 2023 12:53:32 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=d/joYPfK5JnVTSOitpduD1Sc8npAgyNLSbDE4gPv+jg=; b=BKFMKnrDKjFOc1dKObe8ZbL73LCqV5qLRX1ATsYw24uTomhPJCri278SA4Xa/foT5cWc fdn5xJFe7kdBsL7GyAtPaIIC+Y/ghE+8JbliYgI6eA3t8hMgQfxcuGDGcJ+xBw3yJKAe cV189Dy36ku777+KZEgOn+zutpVNLuFYqrXpKQUHloPm2nanIazjQT3VSdenX8TzXOwg 98FyRHWEFNn8laWpMVDJr2icGP6/X6AgPRGt0BexUDRKwmzc1YobzKNua7CtT/G95eXP qGQOQ8gLKjYAL4NjqMqXKS+iQ+Day861f/bpT5gKJauThQZR/dAZQH/ysrHLlHqqHMdi cA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtu0u08wc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:32 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34QCrUaE010757 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:30 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:27 -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 2/4] arm64: dts: qcom: ipq5332: add QFPROM node Date: Fri, 26 May 2023 18:23:03 +0530 Message-ID: <20230526125305.19626-3-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-ORIG-GUID: j8Fa-a1pn3ILxnRpJiWrpfOFHr22zfc4 X-Proofpoint-GUID: j8Fa-a1pn3ILxnRpJiWrpfOFHr22zfc4 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 clxscore=1015 lowpriorityscore=0 malwarescore=0 suspectscore=0 mlxlogscore=942 impostorscore=0 phishscore=0 mlxscore=0 spamscore=0 bulkscore=0 priorityscore=1501 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?1766962214720277800?= X-GMAIL-MSGID: =?utf-8?q?1766962214720277800?= IPQ5332 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. Reviewed-by: Konrad Dybcio Signed-off-by: Kathiravan T --- Changes in V2: - Pick up R-b tag arch/arm64/boot/dts/qcom/ipq5332.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi index af4d97143bcf..c2d6cc65a323 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -135,6 +135,13 @@ #size-cells = <1>; ranges = <0 0 0 0xffffffff>; + qfprom: efuse@a4000 { + compatible = "qcom,ipq5332-qfprom", "qcom,qfprom"; + reg = <0x000a4000 0x721>; + #address-cells = <1>; + #size-cells = <1>; + }; + rng: rng@e3000 { compatible = "qcom,prng-ee"; reg = <0x000e3000 0x1000>; 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>; From patchwork Fri May 26 12:53:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99486 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp461117vqr; Fri, 26 May 2023 06:11:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5frIXhaOIuM35yaLP0egISv+7uQbgwCHFuMPuDbJuE6Dic4yOQqODpu4exsGxPIx6hwFt5 X-Received: by 2002:a17:902:e54f:b0:1a6:bd5c:649d with SMTP id n15-20020a170902e54f00b001a6bd5c649dmr3701456plf.56.1685106697636; Fri, 26 May 2023 06:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685106697; cv=none; d=google.com; s=arc-20160816; b=XWt07dkuJetexdD6fOdsXP6GCes1Ly0qa1eoU2bfb/58Go82INyVW8mD2UZiRdBs9s FeUqCypZ4jDobenuNiogNLjwLb8+FTKrcYTwceXol5uRzQfcfjVIOBhuSFyfYP3ReCpR 02faDv6ioKOxhwum0xYeH3gE6EV/hPMDl5zgE4jALCSNGlQcCSHHd6ddMLqYwen9FfXr 8USAoforPOXUrQby0VIVYSGJ6V549gLjD8s0kkqyoOKRmqeYNiVts6WEwP5MD1VMLuWE Wq+0NINofwYN8gWctGU+QYoCs0PZihdT08za6WovXjvh9XRcBi2IT/V4uAF2HqUwcta1 pTIg== 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=2d8sKNaWeqCHj5Fe3MOMCFYS24LiTddX6lx4BELGZMo=; b=C4FM5JAgZ5BBd+e9yP2XDVtWz50Gc6HAzxAcuIWoBgOLcL5O5WqK7E912vO/lMnrVO S578saISJC3xj7vQqwrByr+napeG3b1PrSkMVHjgwxZh2EGnfAeyizx5kAlc525gFH1w AT3mkq6oXKzTQhHaKH597XCBSUb6+5D5i+jzckwkCu9z7UBIPL4zXifihcxjpEcn2zSN w7tiXyquoAEriP43Y1OkgjuYSyO7zi/r7/C1F27d/s2fDVbRP6HIWehz1dCLdUkRBKI+ DkS30KZUDvXKqFW2E25231UdtggckVv6lZ3342KzeqO1j+6OnGkaQNDV8oqO5/XOLXmH LFpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=g+gqJZ0x; 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 z4-20020a170902834400b001ac9ab8539csi1728406pln.77.2023.05.26.06.10.55; Fri, 26 May 2023 06:11:37 -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=g+gqJZ0x; 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 S230305AbjEZMyC (ORCPT + 99 others); Fri, 26 May 2023 08:54:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243486AbjEZMxv (ORCPT ); Fri, 26 May 2023 08:53:51 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3226D1BC; Fri, 26 May 2023 05:53:43 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34QCOWYX024951; Fri, 26 May 2023 12:53:39 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=2d8sKNaWeqCHj5Fe3MOMCFYS24LiTddX6lx4BELGZMo=; b=g+gqJZ0xy+/45OeUqgdf3i/+z/36dfH8TxdEB/ViDM/LMHiIRgbD+z/FJmb1GDaEspYm VrWr9jS5nBS0dXzWbI0Cq89NrwFu8rIdeTGUJZYvWQmllPmfq4YWZ66f9zctT/yNn+0e rius/6EZfI125DdT9KUC+Q/qhq71zcoRfzSYgfyjOPRzje43iU7jek5iNkWjuhZZJ7Ax ayDf2dwQz000uKmwF8155yIYSOFijKBKh9fDNQ6NbFuTHUap8Ukw1nx3LflDP8v7ZgoZ vFkCCNGnOZ4snzGDJWgfUBcbQ5FHJDpD25+NLpZP4Mhzm4a5KenoBYbSb9HQFnfsopO3 Zg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtp4wgwp6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:39 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34QCrcqx005328 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 12:53:38 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:35 -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 4/4] arm64: dts: qcom: ipq9574: add QFPROM node Date: Fri, 26 May 2023 18:23:05 +0530 Message-ID: <20230526125305.19626-5-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: 3UqMAE2LzLRMoyh-dLgubaAENFXduH6_ X-Proofpoint-ORIG-GUID: 3UqMAE2LzLRMoyh-dLgubaAENFXduH6_ 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 priorityscore=1501 spamscore=0 phishscore=0 adultscore=0 clxscore=1015 suspectscore=0 malwarescore=0 bulkscore=0 impostorscore=0 mlxlogscore=942 lowpriorityscore=0 mlxscore=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?1766962440322300240?= X-GMAIL-MSGID: =?utf-8?q?1766962440322300240?= IPQ9574 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. Reviewed-by: Konrad Dybcio Signed-off-by: Kathiravan T --- Changes in V2: - Pick up R-b tag arch/arm64/boot/dts/qcom/ipq9574.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 1a2c813ffd43..715fe51ff567 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -117,6 +117,13 @@ #size-cells = <1>; ranges = <0 0 0 0xffffffff>; + qfprom: efuse@a4000 { + compatible = "qcom,ipq9574-qfprom", "qcom,qfprom"; + reg = <0x000a4000 0x5a1>; + #address-cells = <1>; + #size-cells = <1>; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,ipq9574-tlmm"; reg = <0x01000000 0x300000>;