From patchwork Fri Jun 23 09:44:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 112011 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5650112vqr; Fri, 23 Jun 2023 02:50:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UhI7ZwZ72ILVdIkNk35vXANqM2PNYlQiD7rjXxTVV8vcKoJWhQlyDo0E72ip8TJtdUhS9 X-Received: by 2002:a17:90a:3886:b0:25e:cdbe:7a74 with SMTP id x6-20020a17090a388600b0025ecdbe7a74mr17048029pjb.18.1687513824447; Fri, 23 Jun 2023 02:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687513824; cv=none; d=google.com; s=arc-20160816; b=NBl4I68QDCNQmbUB4N+DEnXt+bpQip5VOx25qAcT4R4uUBJ8/ZqCuhhoMvl8uBP6ze TcGoXrkARXek7mvMpCsGMMUAz3WY/bhsq1b4v9HstokT6x4xLLwCGFDNhmyRretWSRqs TsD5HKuf91Rv080aNiHuYAJzlQf/ztphxury6ikWuSM+rKqdWOT9ArTWXauQzZ9EXARA soxBWTPWghTaSdCgIKTHkxkIES6m4zfaqa49MzDmlre649DD7nxEour98HA/pIr6I7Xl 0RnRbiZrfVJ3JOeeDXxL8+VYK8/FWzPO4AC4YdBDslg9QR65+obC+CnXCV6l1HqyYpOy 0dHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=CA4fFdNXHG6NGLtqd1yEf3yJfAt7381Of5/B0ZNSUOQ=; b=lRyFfRGlm3+1rg4lsw+xqCbQe6R6P258lWqLaHy9kvBvOgBjKsSTZ5lZYmUea2xpTJ uGtY3SIaTNu59eXxt8aHCwZhAqQbzy8SWmFBDDMv70ewgDXWaU+MJx++oCJYrHO16rMX aNkOgyIRsBJuxGudo4fcljTjegqrHsPAXgpdiCsHPmVk0ZJbNgNZ48Ty2WemxfZqgxYg sBuYwuGLv0BcMK/hGIvp4G8VOEUg9Mwki7IdB5+Rkgp5dmyBOBQd83WgUzsKyk7zK2K5 9ZtCthbDpk5WQ18Vof1DSfSpWLUgqyhI5YdusKwRBlO2qf2nOmLG7qZ1OSpp7GkY8PnV QwGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gvWzMjAH; 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 na9-20020a17090b4c0900b0025c0784b6f4si1734468pjb.144.2023.06.23.02.50.12; Fri, 23 Jun 2023 02:50:24 -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=gvWzMjAH; 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 S231656AbjFWJop (ORCPT + 99 others); Fri, 23 Jun 2023 05:44:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231300AbjFWJoi (ORCPT ); Fri, 23 Jun 2023 05:44:38 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD1EAE5B; Fri, 23 Jun 2023 02:44:36 -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 35N9LsoA032417; Fri, 23 Jun 2023 09:44:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=CA4fFdNXHG6NGLtqd1yEf3yJfAt7381Of5/B0ZNSUOQ=; b=gvWzMjAH7o6pAwh9V8/Ca2tIRWoOSEHaV0cBtd6p2qiTiGb1au8/itvj0Ol5+VqUOBBO sby0EUF63PohUr3+8A/Y56AIHJW/oc6H4uhMU2VXBNPZBpeW+7YzazRNlcPCvpGt3TTj YYlMjjKKZMs5NhBHrWHAkCUDIeX4ZszmSznu2oarlvs3l4q5wW1cd/wq29btvQyOVzv5 trTljBS/Gky4kwNSfKpVHGFrL8TExmYgDNXJNC89GfGwUf5iPFCbufYOfRqTxEPBcs+p xMh5GBbBWztjMGoS/+rqyeZjFukTKsp/DCzMubd4JNUZB5CBU5SSTa8s/WHLIKAuQUPR zQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rc6b2cc00-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:31 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35N9iUoi009484 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:30 GMT Received: from win-platform-upstream01.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 23 Jun 2023 02:44:24 -0700 From: Sricharan Ramabadhran To: , , , , , , , , , , , , , , , , Subject: [PATCH 1/4] pcie: qcom: Fix the macro PARF_SLV_ADDR_SPACE_SIZE_2_3_3 Date: Fri, 23 Jun 2023 15:14:00 +0530 Message-ID: <20230623094403.3978838-2-quic_srichara@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623094403.3978838-1-quic_srichara@quicinc.com> References: <20230623094403.3978838-1-quic_srichara@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: DFdShY8pvvg1hIh5taMkFBXABXnuVhaT X-Proofpoint-GUID: DFdShY8pvvg1hIh5taMkFBXABXnuVhaT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-23_04,2023-06-22_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 malwarescore=0 spamscore=0 phishscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306230087 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?1769486495870525448?= X-GMAIL-MSGID: =?utf-8?q?1769486495870525448?= PARF_SLV_ADDR_SPACE_SIZE_2_3_3 macro used for IPQ8074 pcie slave addr size was initially set to 0x358, but was wrongly changed to 0x168 as a part of 'PCI: qcom: Sort and group registers and bitfield definitions' Fixing it back to right value here. Without this pcie bring up on IPQ8074 is broken now. Fixes: 769e49d87b15 ("PCI: qcom: Sort and group registers and bitfield definitions") Signed-off-by: Sricharan Ramabadhran --- drivers/pci/controller/dwc/pcie-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 4ab30892f6ef..59823beed13f 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -43,7 +43,7 @@ #define PARF_PHY_REFCLK 0x4c #define PARF_CONFIG_BITS 0x50 #define PARF_DBI_BASE_ADDR 0x168 -#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3 0x16c /* Register offset specific to IP ver 2.3.3 */ +#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3 0x358 /* Register offset specific to IP ver 2.3.3 */ #define PARF_MHI_CLOCK_RESET_CTRL 0x174 #define PARF_AXI_MSTR_WR_ADDR_HALT 0x178 #define PARF_AXI_MSTR_WR_ADDR_HALT_V2 0x1a8 From patchwork Fri Jun 23 09:44:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 112010 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5649055vqr; Fri, 23 Jun 2023 02:47:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ELblpbCiuZ1SpdW8l3ScEy1dkFkKZVxvm/RKlm/pGgJomViRebLmG81qNO7HEa1UpJSmy X-Received: by 2002:a05:620a:2283:b0:764:1735:f750 with SMTP id o3-20020a05620a228300b007641735f750mr5588605qkh.8.1687513645835; Fri, 23 Jun 2023 02:47:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687513645; cv=none; d=google.com; s=arc-20160816; b=LCFxCR1bOeGwhnrIexPswc6GgOYLwGZl6ncWnaqhQEg52PgpUc7oXgfWGKghyFDP9A kvtQMwqkaXSW5hJljwT1qfHSD35z66RMyMBa/2aTdGmaetPV2JEvhUzO7W43MIDqY6+e 0ZFzFvistQmAouFfjLTwpTWNF3FoXOwqauhma7bKxRCUFsqVfv1/Mh+0n13EDlb14IkE uf1qDCVR8uCpaEnQFvjqsuanyviUyu1uMSEGwxskOTnT+/LCQ9xc8IueDlvS4Bxawv6N TiU2a49IyPqFI1Xt7u6LRf/Vj08JHZEx82TPAi6QX5bqD7yXz7qIcLUt8MHhmYK/udSn AIVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=RFFW8R5Zw/oqoEdth08RuEqeCok+L97L63dMCmO1dSk=; b=qE1O6i2Slt6ACzjHudNkYcsgwCk+dDaO6pZpWnHklr6L8sI+ukbOPUnCYXfgLbxnGW 6dTslAtJHFBFioWh6llrZB7ElQPBoB4fBb93J7ITNHA1IVV3W5676vuqmsHurMDuzv44 Ca/8yl5WLWiplOZKu9wVTKxR7N6rXpyplBfoHhAfdhxYmbq/hwou5AT+LrxlIEuETqot ulWP7/AGgAxGcl3PD9fr7JAyZOhxOMcnZjGV/4EO/DP3cqsymRER383JrI7Cv7ddd3r0 eWE9d6GDY3RbOck1H0agsOOoz2fUaCOmVog/xFUrRop+GjuHT0Yo7HZNi5scyaXp+Ezm gRLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ogusmiuH; 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 o9-20020a639209000000b00553921edac1si8314994pgd.860.2023.06.23.02.47.13; Fri, 23 Jun 2023 02:47: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=ogusmiuH; 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 S230196AbjFWJpQ (ORCPT + 99 others); Fri, 23 Jun 2023 05:45:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231675AbjFWJow (ORCPT ); Fri, 23 Jun 2023 05:44:52 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8824E211E; Fri, 23 Jun 2023 02:44:42 -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 35N8tKRg025887; Fri, 23 Jun 2023 09:44:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=RFFW8R5Zw/oqoEdth08RuEqeCok+L97L63dMCmO1dSk=; b=ogusmiuHKSCcXslcPIkiyeyuKl3dNlzyXuE2AnOo5+iFAtUurFjyGtjCRINYydblAFMS y7H1k3xo7djr/UfR+Z5Y1fcxRnaz3yuGj/H61nCbr8Ljw0iS/lFvMSGb2XKjtQ2KFfDf 67rLaXec8wlCh4aptSACYrbob/1zif025srLvP2IHc9hR73rS6ZnlutHcH5LgEVKoGyi BGOClM9lXq0ah4oclDY/9xIw6n9rgTSL9Qw9OKhqpG1eDITFJa47fg/KJHoI30wT85CY pWcy1Xa79bTDQLkekCmwD+jLlHsxA17ah8ufZr+kbD4ZNRIrsRP862KCSP/yUgD6km+W aw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rbvr1nxb6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:36 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35N9iYi0009516 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:34 GMT Received: from win-platform-upstream01.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 23 Jun 2023 02:44:29 -0700 From: Sricharan Ramabadhran To: , , , , , , , , , , , , , , , , Subject: [PATCH 2/4] dt-bindings: clock: qcom: Add reset for WCSSAON Date: Fri, 23 Jun 2023 15:14:01 +0530 Message-ID: <20230623094403.3978838-3-quic_srichara@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623094403.3978838-1-quic_srichara@quicinc.com> References: <20230623094403.3978838-1-quic_srichara@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: VoanPMPot-ewCGRC0zOgsMeo_CCyFeuW X-Proofpoint-ORIG-GUID: VoanPMPot-ewCGRC0zOgsMeo_CCyFeuW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-23_04,2023-06-22_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 mlxlogscore=999 lowpriorityscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 phishscore=0 mlxscore=0 bulkscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306230087 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?1769486308888481038?= X-GMAIL-MSGID: =?utf-8?q?1769486308888481038?= Add binding for WCSSAON reset required for Q6v5 reset on IPQ8074 SoC. Acked-by: Rob Herring Acked-by: Stephen Boyd Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan Ramabadhran --- Previous post was here https://lore.kernel.org/linux-arm-msm/20190724203737.GA27783@bogus/ include/dt-bindings/clock/qcom,gcc-ipq8074.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/qcom,gcc-ipq8074.h b/include/dt-bindings/clock/qcom,gcc-ipq8074.h index f9ea55811104..e47cbf7394aa 100644 --- a/include/dt-bindings/clock/qcom,gcc-ipq8074.h +++ b/include/dt-bindings/clock/qcom,gcc-ipq8074.h @@ -381,6 +381,7 @@ #define GCC_NSSPORT4_RESET 143 #define GCC_NSSPORT5_RESET 144 #define GCC_NSSPORT6_RESET 145 +#define GCC_WCSSAON_RESET 146 #define USB0_GDSC 0 #define USB1_GDSC 1 From patchwork Fri Jun 23 09:44:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 112009 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5648951vqr; Fri, 23 Jun 2023 02:47:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5FmPrJNSbK3GsIETdRxoDaRdi/+tm9FHU9WBLVwTZ9+H480I5YpjUmvw8jZjP7JFM3hn0n X-Received: by 2002:a05:6a00:1881:b0:668:6eed:7c1e with SMTP id x1-20020a056a00188100b006686eed7c1emr13987453pfh.10.1687513633820; Fri, 23 Jun 2023 02:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687513633; cv=none; d=google.com; s=arc-20160816; b=nf34Du1GxqVy/uBp3Ji+l79gfTZQhtet6yj2bLuSEd5Rgl+nHB3rZRkWrSu4S7vocf bk896qTSTwK3TBo2d3Q3hmPxAKh4/RTDKlXMG4UBTFvDHo/M88MuGOC2GiG5yqZq78nG xjcDQyWe/+cGpyJS5tSyCTEC67WjWYzg1IHOeclTx0TwsBqA5wY/PbiOyBrt/0lqO4NY L5QxgDPmFulEKzE6kfHIpTKbceLOUXOGJzlhC77Oxj8gBIcgVFmZysPh8wIRiSp3KQo0 93hvZEUDB7+8q0/Lojdo7KRglEQVcJsHPxYXUnS+NrTQNs5y1YMxuofY9aVcoV8y/46I V6vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=ndZJHcdkYueBrPuBEciGvTQbScrUBg2PthGq4lSjgrQ=; b=EAhcSbg3vwbOGNQX8ezUFDC9mwvKNR43T3d6BQHzzVzwSfX32rocn1nblMrCEX/c+D IBjZsn9Mh5gROjWjQOXp149DXn07XI0QXvcOsMlLTjL+6cvedwqjno2GRxMu0VeyYkbi 54Se33v+pO3K9pFDPTvf7WcLv4T9Tn6kmRIPIgsKK5x6ljNphNMWQxoUSS8GZDVaRgt+ 8hYfWp9+0gwr9G9N26CNuroxgE1Q8KCoyteOTfq64zQk8q/EbgbvQFgAEYgk+P3b3Llp 6lHh8q9TNLEYaRJM4dCLTFxlD6Sdn8P83BKKpQTA5nSnqrpCfXajzsEK/GBNevpbMcV0 ZwAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VfsGpTLB; 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 i14-20020a056a00004e00b00665c24182bcsi1671006pfk.219.2023.06.23.02.47.01; Fri, 23 Jun 2023 02:47: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=VfsGpTLB; 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 S231681AbjFWJpU (ORCPT + 99 others); Fri, 23 Jun 2023 05:45:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231820AbjFWJo4 (ORCPT ); Fri, 23 Jun 2023 05:44:56 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0FC22710; Fri, 23 Jun 2023 02:44:48 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35N9RCHd031005; Fri, 23 Jun 2023 09:44:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ndZJHcdkYueBrPuBEciGvTQbScrUBg2PthGq4lSjgrQ=; b=VfsGpTLBZ3NeedmugEzPLWuIQI3g0oMPtX+Pi9slDsju8+RBIsX3dl9if2FB4wyiPLKh 1FlxhPtcxpkK3VthpVkRFetWbVdGP8nG18QAs9iS/YwxfggUWBAhrZZ2aALnc7pzno80 BWJjaj5UR+o8W1FfKVjx2sz8pLGsWP4UrGN2zMmrHZOrqd7P5+bWKICowh1bSJFsH5IA tfexE8K/Go4RoU2zmDHU5fjhTHWfUS5KkxW6q227ruo72cwCb/nO97oA/zPXi36h5wtm 6Rjf+FuHfG2XYQ4iWm3aokshlNN3mK2g+Aq3KLeY4nltfplusJUq78rU04DiQkHrZI36 Tg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rcpjhae80-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:40 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35N9idS1008507 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:39 GMT Received: from win-platform-upstream01.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 23 Jun 2023 02:44:34 -0700 From: Sricharan Ramabadhran To: , , , , , , , , , , , , , , , , Subject: [PATCH 3/4] clk: qcom: Add WCSSAON reset Date: Fri, 23 Jun 2023 15:14:02 +0530 Message-ID: <20230623094403.3978838-4-quic_srichara@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623094403.3978838-1-quic_srichara@quicinc.com> References: <20230623094403.3978838-1-quic_srichara@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: rJw_n_0U9LUnXihzNjjSPtlv5PYYFrfJ X-Proofpoint-GUID: rJw_n_0U9LUnXihzNjjSPtlv5PYYFrfJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-23_04,2023-06-22_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 spamscore=0 mlxscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 clxscore=1015 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306230087 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?1769486296489924315?= X-GMAIL-MSGID: =?utf-8?q?1769486296489924315?= Add WCSSAON reset required for Q6v5 on IPQ8074 SoC. Acked-by: Stephen Boyd Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan Ramabadhran --- Previous post was here https://lore.kernel.org/linux-arm-msm/20190717200910.1E93C20880@mail.kernel.org/ drivers/clk/qcom/gcc-ipq8074.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-ipq8074.c b/drivers/clk/qcom/gcc-ipq8074.c index 6541d98c0348..910aec33a871 100644 --- a/drivers/clk/qcom/gcc-ipq8074.c +++ b/drivers/clk/qcom/gcc-ipq8074.c @@ -4685,6 +4685,7 @@ static const struct qcom_reset_map gcc_ipq8074_resets[] = { [GCC_NSSPORT4_RESET] = { .reg = 0x68014, .bitmask = BIT(27) | GENMASK(9, 8) }, [GCC_NSSPORT5_RESET] = { .reg = 0x68014, .bitmask = BIT(28) | GENMASK(11, 10) }, [GCC_NSSPORT6_RESET] = { .reg = 0x68014, .bitmask = BIT(29) | GENMASK(13, 12) }, + [GCC_WCSSAON_RESET] = { 0x59010, 0 }, }; static struct gdsc *gcc_ipq8074_gdscs[] = { From patchwork Fri Jun 23 09:44:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 112012 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5650623vqr; Fri, 23 Jun 2023 02:51:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57toNjQ/7Ma4Chpeyo4CHZ2i/oDW4TtyuWVW6SL1UhlhG1Ajb5/UMJ64eVPnM88iOBzKY1 X-Received: by 2002:a05:6214:23cc:b0:62f:f241:75af with SMTP id hr12-20020a05621423cc00b0062ff24175afmr27277519qvb.1.1687513911418; Fri, 23 Jun 2023 02:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687513911; cv=none; d=google.com; s=arc-20160816; b=kCq86KHqpi29SuZKFQPyw6HpY4Du0sXIJnhxMrrDspFBPpdcM5UXW7uio/BEYaltzZ QrSlSmVGbMYszzBRzX5w0ONXTXgvo+K+8ON+vAnb7Sd1GrZPceqjfLIsLpClh3idm04L imwu3LairgsZ+1Tx9F+kn1gKjJ/M73xwNHwJMemy3r/bKuKi9SUG2VIz8fpYIIXth7fz a1xI/M2qDuLyaI70/aqr48yo6OYjX87ZHvR05F/REFtO4VUTEgAO8Dw+pYxk/2lQgKRz McA0H8U7jEcIU3Vg7RqJNbW8KqMNJYKOUqsWopzALrHWH0/xpaDvdcXIOhbJfd7muv5d Hm5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Bbl2GUsX/+aU3++gosIdUgd7In2HdktUDbQX2d7ZDtw=; b=ssE5GXRqZPHSxrqi2tR6/srCQUslO8E5UFktfzg9oQplldF9qBhxWWXuxwONqWPsLf 3h7b9hwgjU0GRY4IvpTaodvzlj329KZ6bFlzqDM840AOIeGnGTjdr5WD5iLyrJ/+XfzN Z4QVDzj+2tLximU+0hkf3A1nop2HTCV2Mt6cMVeM6VmS2/Ph3VpNNqR1CyuNUg9KhskK XRUHX/Ya8kLV28jtPhXaRwMupiQA+9zweZQGdgKRSgWWabUsY0Q5Ew4Km2+ZJUkkaTKO JQvMe9rrlbBNJgYLvKWA2xDx3+jzgM1JxZs+v6As21qgZLkv/Hf3S6eKTve5MOm1/7zV ofRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LvzzD6Ni; 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 c191-20020a624ec8000000b0064d545c8466si8204338pfb.287.2023.06.23.02.51.38; Fri, 23 Jun 2023 02:51:51 -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=LvzzD6Ni; 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 S231682AbjFWJpX (ORCPT + 99 others); Fri, 23 Jun 2023 05:45:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231887AbjFWJpC (ORCPT ); Fri, 23 Jun 2023 05:45:02 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB1321FF5; Fri, 23 Jun 2023 02:44:51 -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 35N9W1sF023206; Fri, 23 Jun 2023 09:44:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=Bbl2GUsX/+aU3++gosIdUgd7In2HdktUDbQX2d7ZDtw=; b=LvzzD6Ni0V1t2xso25ZScpvR7Dt9Dt39sLmoQgdQVOvTsEQqXQcNjYV6BmNUR8BZkYMS OXc5JYYJvcwG90IXCG9eEDHAMo7axLUUEoY2ZFFfzJgxRNHwO0320pTLnsOi2BRhXEEK +c5pZtPoHUsZ0zXMsMe1UZd3/WY6j5JJI/EYYtznRlxuwqQrv6yDW4TA9r3bqBOALFTN vu22YiSG5phIEOA/xtbVi+A7lbp7/jjVyQonIICdtsLIB92S+yvVZgJ3ixUKAU9k5kwD 2jIQbwIqrYM0VFhUOnjVxIKQ1hjpcvaK8GkTMqKeURs56caQHUN5ha8/Bq7JBab8851M 6Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rd64a0cw2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:45 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35N9iiKU010101 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 09:44:44 GMT Received: from win-platform-upstream01.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 23 Jun 2023 02:44:39 -0700 From: Sricharan Ramabadhran To: , , , , , , , , , , , , , , , , Subject: [PATCH 4/4] dts: Reserve memory region for NSS and TZ Date: Fri, 23 Jun 2023 15:14:03 +0530 Message-ID: <20230623094403.3978838-5-quic_srichara@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623094403.3978838-1-quic_srichara@quicinc.com> References: <20230623094403.3978838-1-quic_srichara@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: XCI8-8PcmvfJo-CB1Fqor9MKfxqj2TjI X-Proofpoint-ORIG-GUID: XCI8-8PcmvfJo-CB1Fqor9MKfxqj2TjI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-23_04,2023-06-22_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 spamscore=0 phishscore=0 mlxscore=0 adultscore=0 mlxlogscore=624 clxscore=1015 priorityscore=1501 suspectscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306230087 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?1769486587563046660?= X-GMAIL-MSGID: =?utf-8?q?1769486587563046660?= Add reserved memory region for NSS and fix the name for tz region explicitly. Signed-off-by: Sricharan Ramabadhran --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 791af73334cb..d51ff9b4f5c1 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -86,6 +86,11 @@ reserved-memory { #size-cells = <2>; ranges; + nss@40000000 { + reg = <0x0 0x40000000 0x0 0x01000000>; + no-map; + }; + bootloader@4a600000 { reg = <0x0 0x4a600000 0x0 0x400000>; no-map; @@ -104,7 +109,7 @@ smem@4ab00000 { hwlocks = <&tcsr_mutex 0>; }; - memory@4ac00000 { + tz@4ac00000 { reg = <0x0 0x4ac00000 0x0 0x400000>; no-map; };