From patchwork Fri May 26 07:04:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99325 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp282097vqr; Fri, 26 May 2023 00:17:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6T33pk+HKXxMK07wEPZNfqrYnMwHolHfhWAbNYGnxbiC7gsyRbtA44E+VESnBqJ9bqgPJE X-Received: by 2002:a05:6a20:c184:b0:105:66d3:8538 with SMTP id bg4-20020a056a20c18400b0010566d38538mr1147773pzb.8.1685085468814; Fri, 26 May 2023 00:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685085468; cv=none; d=google.com; s=arc-20160816; b=XGAiTa26OyMlZIVmV79sEEY0fccScvezcfqjUxK8yjx9NFSHX+o5FfOnW0IjC7dbAu IxqMTSkJ1ouym560JwnIcV3sLMdhdAROufKKEvcFR1Jh3k4ca1rVvOJnj1FR7QYReovp JujtOcjhLZ1vSYyEpJQU6bnZuI8DB0t+0GUT992j46SVRl7T2ybhh9t1g94tNo01EgpU k8ZkeS169LQqEVHdqeJI6pzEtSgn6SvRRuhzp+UGED0qtA4vFbAORT8aOQAW8S1hhX2e G9XpNkrue5uUFx5KA9w+G7lIz+YblZ6/x9ad6nZL5SWfL7GXUfiOzPwb+p08DCUcdUYb jRew== 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=PZy+VSC7Y1PsqaoDcji8HApwHxkL0FfkyZhhH9m4v0Q=; b=QPb5euzvL+udMj7aOzloAiONqWwSpuYwMngNi4qDqmku3nl9Mc9Zk8OHLpHqqOim48 uy62phSqI+dX0zCXHJX2+3DFo1mg+UIP2oZRqaAaRe4vOFpYAfmwHARzETTooKsFsYQc w+Raz5p3iU+5uWxlh0wLZDOq/JhoEiiKJmlo1G/XD6vwFxHdTo4EeCzz5NjMrtJzLva9 xgJcEkkHdu8IF5rSpifMvSXaIc83FzkXKbSEoQd06NuYHZ8tANRE78+5ohlpqEigmN05 ru5vbFOGMe6k/B8ChTE0SiTPS3odY0AFv/J0lSj+YtBgeC9oMsxu4Aj2DjThs7VP+5RR 4bfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ozWx+lJa; 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 z135-20020a63338d000000b0052866b25be5si2895293pgz.746.2023.05.26.00.17.34; Fri, 26 May 2023 00:17:48 -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=ozWx+lJa; 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 S242361AbjEZHFL (ORCPT + 99 others); Fri, 26 May 2023 03:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233339AbjEZHFK (ORCPT ); Fri, 26 May 2023 03:05:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 732FEF7; Fri, 26 May 2023 00:05:09 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34Q6sNE0020394; Fri, 26 May 2023 07:05:06 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=PZy+VSC7Y1PsqaoDcji8HApwHxkL0FfkyZhhH9m4v0Q=; b=ozWx+lJa+/K08fguZSxPhCF6ucagFPcDe5+Dq5q7ZhhTCwBLvN/vMIV5hpgohMbNDdh8 nFnbH0/T0EmVxFE9mBTGVNJ6FDIjZOHBsPSDsZfccEt3NrdT/ujWBGWKjRL+eO4+PTfX hO+YfMgUTrscFtdk7h1Qy8+BrOhlzO1KYhliIkRDwi+g/3YCpPBByIxAr9lv2uqAHHS3 WhwPoqODteyNfBkocGcp/zSzyEVVkOE0oc0+nTXyi0ZonCRBkNePXIMte2VCTPiwSMgC PZXdRdImvw77cPIHyugy5ebMgbAGaLB96ZPd2/M7GYY9RF2TAq36DxLOW26AEoBMiL8w 8A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qsuc23kjv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:06 +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 34Q755OD019925 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:05 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 00:05:01 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH 1/4] dt-bindings: nvmem: qfprom: add compatible for few IPQ SoCs Date: Fri, 26 May 2023 12:34:18 +0530 Message-ID: <20230526070421.25406-2-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230526070421.25406-1-quic_kathirav@quicinc.com> References: <20230526070421.25406-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: ju--KDhXFVes2JZO5jYipkSIX8UFOHdI X-Proofpoint-GUID: ju--KDhXFVes2JZO5jYipkSIX8UFOHdI 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 clxscore=1015 mlxscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 mlxlogscore=762 spamscore=0 phishscore=0 adultscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305260059 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1766940180550758740?= X-GMAIL-MSGID: =?utf-8?q?1766940180550758740?= Add the QFPROM compatible for IPQ5332, IPQ6018 and IPQ9574 Signed-off-by: Kathiravan T Acked-by: Conor Dooley --- 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 07:04:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99323 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp279584vqr; Fri, 26 May 2023 00:11:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4J59YKOd4ecT5tLndkk7GrkbDORcY1Es7IWT7iY0FJeZfitSuPqmfePs0zxgXhQzPB2/wB X-Received: by 2002:a05:6a20:3d83:b0:10e:a8e6:35c5 with SMTP id s3-20020a056a203d8300b0010ea8e635c5mr1158011pzi.59.1685085073514; Fri, 26 May 2023 00:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685085073; cv=none; d=google.com; s=arc-20160816; b=kwjC8ub5ddN4uc2REiNblBmQQlkBkg+glVFJmm5ao3uSpDOfG2c44ihIYnDQQDyQB4 WNGzXnRZTHZxw7nZSJZpWmXgGQbGXmKX4lEAi+ruO7pFgvjZftxRQ5bJK3IGIiIq+VeT foBJtorSMiIT+Q6tWlG/Ys38n/dCHWW30reGducaQPaMHvwn4fwUVQb+wJi3l7ZXrDc3 yCD8GhjfHLpkKdB6WxNLmORZZBpLanW+a0eEHEA02FZpfWHrAhxpvcRCXStUcjaatEEQ wZSKJkRHKp88tapcbstGEsJ/n4rHGH4Ad8TBBU7hEyQ/8vRSe1DobwQNMHU/NTclx2Lr CX5g== 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=spM8v//k36AK24poUChlK89D4VX3lCDPkbfcyP+7TaA=; b=JqULPH1ohy6MGvwQlng46zvJbvM5hEHeTO+g6MLAkpwFGnDpSMx7EJHfQ1sPZj9XE5 XkBs7BQwqTz1B8forSbAEWRLL1pDoxS2mEYfuSCl+g0y72IJOB30V6mvCLW8XdtfShEg aRSPKMvwJnc0DCrGgJ4TxDPT/MYIt0fM0wTpMM1pJvqAEopM8hR1lGwXdjUlqIJFsSds OmQl1AAbji7J5UFmYg4p7RVrc22+w9z2/bDXRjEGk/xvCViPBzNOxGVRLAthmdL/XE4B S5nnfhfzuLMK07Z8lxGZyvfkE1Qsq8BQNaoE+uMld98+rfcJ+4qrchqrQqtXUn4zyA9U iQjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lsgHHcDG; 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 e21-20020aa79815000000b0064d71cbb1ccsi2809091pfl.87.2023.05.26.00.11.01; Fri, 26 May 2023 00:11:13 -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=lsgHHcDG; 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 S242377AbjEZHFU (ORCPT + 99 others); Fri, 26 May 2023 03:05:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242243AbjEZHFO (ORCPT ); Fri, 26 May 2023 03:05:14 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8B5BFB; Fri, 26 May 2023 00:05:13 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34Q6spGP013493; Fri, 26 May 2023 07:05:10 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=spM8v//k36AK24poUChlK89D4VX3lCDPkbfcyP+7TaA=; b=lsgHHcDGJ/LScB5ynjlxisBjTyjI7G0wvjTvEsl85urM9FmZFOG+ImK33aab1lLtE6VQ y3Y6jeC9qKnTasTXX8vVhksU3cBCbtl23gRvEKtubtOh9fcIXR+2PQRB/ybooW0mtulJ WavjP8rv1eqdrDT5F+kZFZNRNNimBf0J4k7EANu/OFwORO53Xa8CNZBHbO9tWWm0l4yr lCiLdIDuOp8mBiyarCcTYDtb6uUSfUPV9pCBi2ZTSsv0Nuop7hPJ9sa6JnVBel8uOMn6 +6tfKjqKQVZgQk8XwDEqgIG0QjCxKWS+TKjL8PwZveefh5EDccqFssW6oxZZP4/HDHNb Eg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtpsp8639-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:10 +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 34Q759wY032664 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:09 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 00:05:05 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH 2/4] arm64: dts: qcom: ipq5332: add QFPROM node Date: Fri, 26 May 2023 12:34:19 +0530 Message-ID: <20230526070421.25406-3-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230526070421.25406-1-quic_kathirav@quicinc.com> References: <20230526070421.25406-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: tZVWavWWISlLv3uwnt3DUHt8WiY6jmB3 X-Proofpoint-GUID: tZVWavWWISlLv3uwnt3DUHt8WiY6jmB3 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 suspectscore=0 spamscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 mlxlogscore=823 lowpriorityscore=0 clxscore=1015 phishscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305260059 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1766939766336201681?= X-GMAIL-MSGID: =?utf-8?q?1766939766336201681?= 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. Signed-off-by: Kathiravan T Reviewed-by: Konrad Dybcio --- 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 07:04:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99326 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp283794vqr; Fri, 26 May 2023 00:22:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5f69z+AAGdf7uEZwzbQutYNfvcAqeWGEYN6PVanaM6e7MsJA/T6b6ETCpTINi3JoVj43Y5 X-Received: by 2002:a17:90a:7102:b0:255:3f6f:2c6 with SMTP id h2-20020a17090a710200b002553f6f02c6mr1369239pjk.22.1685085755535; Fri, 26 May 2023 00:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685085755; cv=none; d=google.com; s=arc-20160816; b=lN+fBmtyPqe4xLh1h2/Rz9zrVz21M6p5rt3CN+h2M7Lb1tErBzuH8pPNDyZmkpyDy+ vJbUBCXHfgUf6vdmnMF+v6aYx7OHonXAmC0uG5KKHo/dqgFlQOm/wgwAB/otQrTsO/dO SZPi7qGIEGqtWFf5LTrbbJBwV1slvBj6/KIOxiLpOouuSuidpXbEDasSAfP71/A5vNF/ K6UEd9ITInSpWRNbuasJUbgUsO6zj/MoNOiQqq+Fw8ErZAh4445U+qGnPHOExRrOJkBY 93O4dNt1k9KXrMgGqzWZsO8/nawc5W8mjpTUzR5ind6z3lbChm798nU5k5mX7ho9mC1h 6HgA== 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=fufgxZ3wx9ih5K1/So1cj+eGt/4kBL+C18XbvxMrunk=; b=Adv38LjhDm/+c1cG0l1GONDYq3KtNESxvKf1fO05yYBEsMlF1iPq2QPuExgyX+fCci 6kEyocJoqAL0nVorRJoqgf6y8d4AU9muWRdJ4stJNwF6PRo00qLM4cuj3sVznarbCo27 GAM+UGsDhng6eaFKMCAlMJK8kyLvtmY6V8ubmUQav24Inf0aaTt/bSIQIr0DEBCZn5x2 guQiZRlgvQbprrxxwgmEKsiJ1mO2ZcLQP40wBGsl/7evNXCkFj5sLZGYIgcEQUyufayo caWiFHkM9rbA5Oel5PrByZ8+h8aix0lGGfSU3C9JUEP5+X2ruoPT5LzpN3Nj8YWcYWqT 8PyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jltoZxt+; 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 h7-20020a17090a470700b0024df68db37bsi687613pjg.158.2023.05.26.00.22.21; Fri, 26 May 2023 00:22:35 -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=jltoZxt+; 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 S242393AbjEZHFW (ORCPT + 99 others); Fri, 26 May 2023 03:05:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242392AbjEZHFT (ORCPT ); Fri, 26 May 2023 03:05:19 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 946921B1; Fri, 26 May 2023 00:05:17 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34Q6KQ4d030902; Fri, 26 May 2023 07:05:14 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=fufgxZ3wx9ih5K1/So1cj+eGt/4kBL+C18XbvxMrunk=; b=jltoZxt+qfh1AKvJnfWRAzQ3wRXP0lEFFsAEpfx7WH9b6GLSn5rjPawoAMjP9vTPptHa JqHceaPqSoroU4WCN7Jcpf0j7s2lZMhepTuWLR3Jz9hd14leWu3cygw8mP0PPcOAH423 uuadFi3yDPhAKzdSp+XbSCm6MPmtYfcHM+t/tsR43ktL9cHLwjIkhgf8trOSSpscwnUJ feOfURPxPaAZvPaWS3+0tds8kD4lSWtPcV7ifLcFQbXvqYnzEPdqtuDj4mYgkXlgvNt8 5yYzdnrwh+5vobLRru8I96PJCsSXhIQe17NwMbOEupSpn8nADgv5oLRh0gY5DxHVsUIa ag== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtpsp863d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34Q75DgQ013255 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:13 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 00:05:09 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH 3/4] arm64: dts: qcom: ipq6018: add QFPROM node Date: Fri, 26 May 2023 12:34:20 +0530 Message-ID: <20230526070421.25406-4-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230526070421.25406-1-quic_kathirav@quicinc.com> References: <20230526070421.25406-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: 7KPzAjhbl-8E4-AL_Zj0uYeWWN0jKkVT X-Proofpoint-GUID: 7KPzAjhbl-8E4-AL_Zj0uYeWWN0jKkVT 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 suspectscore=0 spamscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 mlxlogscore=790 lowpriorityscore=0 clxscore=1015 phishscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305260059 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1766940481432502083?= X-GMAIL-MSGID: =?utf-8?q?1766940481432502083?= 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 --- 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..856879fd0207 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -206,6 +206,13 @@ dma-ranges; compatible = "simple-bus"; + qfprom: efuse@a4000 { + compatible = "qcom,ipq6018-qfprom", "qcom,qfprom"; + reg = <0x0 0x000a4000 0x0 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + }; + qusb_phy_1: qusb@59000 { compatible = "qcom,ipq6018-qusb2-phy"; reg = <0x0 0x00059000 0x0 0x180>; From patchwork Fri May 26 07:04:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 99344 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp291514vqr; Fri, 26 May 2023 00:43:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6spBbNy1yFQl+a3WZWqp5IbVtKTW18D82xqmF7QurG++uXse7uASqNg4Z5JvF3u3ADezYA X-Received: by 2002:a17:903:48a:b0:1a1:c7b2:e7c7 with SMTP id jj10-20020a170903048a00b001a1c7b2e7c7mr1385661plb.49.1685087005898; Fri, 26 May 2023 00:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685087005; cv=none; d=google.com; s=arc-20160816; b=MHXFSWZINBTLTAbjVLTv0CKNNKvxpxREZlDbpmxh1dgbFQkKSrq686BjPsqE3GBX2L J6XBYc8LH4lgmO+P2WBU2G3yBu0BAmhGE/v6aOs/p1tOgHzf5B3PnTQRhm4nfhZwRj6m Tc7xONAU3I0KbO1oXjOeK6Wo1TBgbGgHF+ljlhPlK4GYhSRYb4Ak5//x8O537LkllrkM TabJSNTtVPKhpFoYLQlbARbN8JBooNsmtAvGBwtZaUWpdfsDuI7+eihyl7unJlvKWdts PGMaibLlULr441iMzmMof317kfgByTf9HhG+Yf/RvAad/nJGZn94foDbFfGFlq9tkkJd FXdQ== 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=RfgaJc53Gw9EffbmJccc4ii13aB4E4UfSgZJgAkH2iE=; b=t7TNuDkgCP4bgf59PEPho6cCkV9NBafG5VCJzMxgHYQxUfmbFu4j5aAV/7W7QCWTBc AbiIkYSFb5FoqOd9kML1o5egc0Pu9k5BbJTNwuTjHdAUCTByBekWF/LqaO9VRAp1giDG CXsPv6spyO7DArAhwYaSRetbXarxmPyEjLr+RyY7rgXPDaOrw6SwH+IYNm137IjRtvm8 aEQta2phKCyb6q3nsakyg6LJ1ok1pAqB4xaOQzOXEc8x+zLPwhonadlVH9SeydlWJy9X +qlCl1yg0ZZ2hckE2Tq6bXNW9YhjbITs7PsVNMk50PiW9THHO5+I/YggiiGKlRTh9lgm Xhdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CD332KT6; 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 u7-20020a170902e80700b001adf26a9390si3818041plg.191.2023.05.26.00.43.11; Fri, 26 May 2023 00:43:25 -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=CD332KT6; 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 S229981AbjEZHFk (ORCPT + 99 others); Fri, 26 May 2023 03:05:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242408AbjEZHFc (ORCPT ); Fri, 26 May 2023 03:05:32 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 819CE125; Fri, 26 May 2023 00:05:22 -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 34Q4n43T020009; Fri, 26 May 2023 07:05:19 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=RfgaJc53Gw9EffbmJccc4ii13aB4E4UfSgZJgAkH2iE=; b=CD332KT6uqfpCdqn/A/sLjzzI0nbOCzJNzppPbYWrOnCpelyT7hJ4CCXd0c4VW7mLMHJ 5pC1B+yDFezk8EhBDZURWar+kKP7TLfaF/4wFzAjaoo1z6wDyaYfbegXJyBIEKpSp1Yx YQOI1rZmbWYEawgh2jHvC/B2nCzLM5bmA508HwH/fBT9F07H+vMmwGpzQ3XrKRlcYFVS o0szK1+k+pId9GiTe+50o3oSpaxMYYhAW4mXsVUFGPuTcUKyyDELPdivFtP6jLoxdJJr 0CpjSPa3BGuc2XkaJ4PPLb3L0nTclagY/08gFdgj+MsteTjrWQChB+47Kl5xkk+B6d13 Yw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qtncsrbct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:18 +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 34Q75H8T004160 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 07:05:17 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 00:05:13 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH 4/4] arm64: dts: qcom: ipq9574: add QFPROM node Date: Fri, 26 May 2023 12:34:21 +0530 Message-ID: <20230526070421.25406-5-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230526070421.25406-1-quic_kathirav@quicinc.com> References: <20230526070421.25406-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: OcP6KquCzCqYvbJ9vLsvuLbXwN8Xwq0M X-Proofpoint-ORIG-GUID: OcP6KquCzCqYvbJ9vLsvuLbXwN8Xwq0M 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 malwarescore=0 priorityscore=1501 suspectscore=0 impostorscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 bulkscore=0 adultscore=0 mlxlogscore=823 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305260059 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?1766941792284479834?= X-GMAIL-MSGID: =?utf-8?q?1766941792284479834?= 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. Signed-off-by: Kathiravan T Reviewed-by: Konrad Dybcio --- 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>;