From patchwork Mon May 22 15:12:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 97509 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1528559vqo; Mon, 22 May 2023 08:22:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6k446I/9Y+wNbwl5hSw2OZ75XRTaI3zpjqDdMaC44aBYJOXULDESC6XDyVi6ZiJnUwS0n+ X-Received: by 2002:a05:6a20:9147:b0:104:8045:c966 with SMTP id x7-20020a056a20914700b001048045c966mr12025022pzc.36.1684768933365; Mon, 22 May 2023 08:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684768933; cv=none; d=google.com; s=arc-20160816; b=bkYNNN71M4FAXMwQCtBkNVbSExv3JBbG9FqEv/V5G9RYaOZhvlvHFlcUP8tGqnTJRI 7CXK2m8LMVg7uaPC2oMRFjwnDCPcEasp3NghQp44quUuUAbiyq7NqAwwkc0ILl5Dwd4+ 9NmB1RPet+967RKf+jQimTX3nd/IdDuG3SBsi93PrQDZN2rvAxS3nxfDc3hDruQgRhiX Y+REbMzWqACraDdKFczexuxReJAnSQzUAfrJz6zxTO9gYQMCFEciDZlKiuysE4IAvENr LkPzvNxxRn883XBOk7zyFnxwWi+LPhDy4xpk5OtauevAX2hA029SpgjeiM0Kk9E+YvET 84/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=2k2D2etTiuXCEjhlfl6sxmDZbVG6H5FrAtPIIQ3iaUo=; b=vbrwJfymHXaGqV++cRv6qxoSKpd2Lhbifr41JnxmJhdyM/CNSiPQ3LerEG56mw9q4i U8EMOjZ63LZpAZmYefpmJhvCJpms5AFlPFSWPVPHfUUVDArFyfDJ/y+9ucv3m3IBwDJ1 Xx0uxogGJlWjSau7NqbfsVXwMa4uRGN43kcHM6CoyUSI92ectKWVCDWKIUFsRUu9+Nnt I2dkUKr6Fd6EhKYMX0JdS9zSsISNpGkTwGZWptd9NzmLS9nbj4F12iKiQuU0gDsurCGL fV4gqSAQLC2uWf9qCsbEd+995dt3wFf4D1CL0nOknycY/ZZQXxTFmbzArewQXf4ixLVx 4aFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SxNUSIgb; 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 y3-20020aa79ae3000000b00643aa8d2548si668348pfp.120.2023.05.22.08.22.01; Mon, 22 May 2023 08:22: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=SxNUSIgb; 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 S234443AbjEVPM0 (ORCPT + 99 others); Mon, 22 May 2023 11:12:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234467AbjEVPMW (ORCPT ); Mon, 22 May 2023 11:12:22 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE4CFCE; Mon, 22 May 2023 08:12:20 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MDKX7O005896; Mon, 22 May 2023 15:12:15 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; s=qcppdkim1; bh=2k2D2etTiuXCEjhlfl6sxmDZbVG6H5FrAtPIIQ3iaUo=; b=SxNUSIgbpCln7gLwha30Trhcbiz4dE30bND/BKXgJGLCmo+hsqINSJ6xARZLhQcD1ZVf amtSVL5tXji0Ro4j67cXHhtf6IHkknZY8unvudqT83DbQNVlO6rjI3mxSzaylU1/goAw b9XlOgsTCjTtBv44W9fKjtcFD9B5H7QRFopkVZrlLqaMrckOdznkhm04ZTZbfkoO/pAL SyqAN6qrv6pSzmlioraQNBrLUf7V8f9B1zxmlDo74K0NkWOWSYUm0CEM3iDM0MmK+frt wJMfpD+bl/7hlhnyEL+qubM4yN6QOGNTaQCc4q0EQumzgvtNT56WyR1RgqDtrV4+MU7R 8Q== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qppypbxxx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 15:12:14 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 34MFCAcT028928; Mon, 22 May 2023 15:12:10 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3qpq9kppmx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 22 May 2023 15:12:10 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MFCAMA028921; Mon, 22 May 2023 15:12:10 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 34MFCA4s028918; Mon, 22 May 2023 15:12:10 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 669BE5001C2; Mon, 22 May 2023 20:42:09 +0530 (+0530) From: Komal Bajaj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Komal Bajaj , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: sram: qcom,imem: document qdu1000 Date: Mon, 22 May 2023 20:42:05 +0530 Message-Id: <20230522151206.22654-2-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230522151206.22654-1-quic_kbajaj@quicinc.com> References: <20230522151206.22654-1-quic_kbajaj@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: VARpEixFQCYvJ901bwRmSqhsypiQyFIp X-Proofpoint-GUID: VARpEixFQCYvJ901bwRmSqhsypiQyFIp 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-22_10,2023-05-22_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 clxscore=1015 mlxlogscore=845 phishscore=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 malwarescore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220126 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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?1766608269046867741?= X-GMAIL-MSGID: =?utf-8?q?1766608269046867741?= Add compatible for QDU1000 and QRU1000 SoCs IMEM. Signed-off-by: Komal Bajaj Acked-by: Conor Dooley --- Documentation/devicetree/bindings/sram/qcom,imem.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml index 0548e8e0d30b..ecfaae4b132f 100644 --- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml +++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml @@ -20,6 +20,7 @@ properties: - qcom,apq8064-imem - qcom,msm8974-imem - qcom,qcs404-imem + - qcom,qdu1000-imem - qcom,sc7180-imem - qcom,sc7280-imem - qcom,sdm630-imem From patchwork Mon May 22 15:12:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 97510 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1529096vqo; Mon, 22 May 2023 08:23:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7g9TdZGZJTk5L8zKKJfZImfCdZPHzkS2T5WTVXwt/+Hp3D1Z+KVSWZB9y2F9m7n0zdJxXr X-Received: by 2002:a05:6a20:4323:b0:10c:2fce:96cc with SMTP id h35-20020a056a20432300b0010c2fce96ccmr1119003pzk.34.1684768979409; Mon, 22 May 2023 08:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684768979; cv=none; d=google.com; s=arc-20160816; b=mtB3Q2TCSQ9/BZpD7+gAAdxqgCr3Ri0i0yJF/jTbyBzytQJqVPkG3R1TQIASTQ0hlr ZpmL/+qMWMYWnR9sAU0lksgCCTDkPH3amVxC38PgU1mzxRIJKA9wL7dWlYvGinbW56xr 1gP0ntNR07yPubYbJ/iDh22KaJ9IIUGhwkfj0sdQ5dgatXox/Kr5AJXi6+/NPE1XVq8I 1ZmfSi7bZ7iavU1pz47tIYc9QARcA7oi6nZyaJT2+lgpKAq2R0/9urMkjb8V2aesQeqe YQYDkl1Z7o2iUe4RURmIc0igb4SQutwVe0GelaPS74vo+pWK45AMdChE3rp+cCHPN+uX XXJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=AY00RBUIc+/XHuSsDEXgZ3dvZbARzQKH+DxMjrHy9Is=; b=qIjYYsDQ0U32n8wT7Wg78FaXwzSnHjnAPbH+lazgL+MHjyB/OpiCcTA5r9ZBQQsURb UQhXlQ2MPN4EYWjASP7sTkLHucTWUzd921k8aSxHnHTpLSpCyL6EeCwgPUw+67IWzqAY egd6agKKlq1zE2agdrbFQb68ZersoeqlrVxxbPcoc9kJx8vDlTDXisBa4OqejjnhZRc1 /ofrgsXeyCxpCdJM63/dE8r60XBwO02xicu1FWKbfFN9YznmkjyaKakCVC+yllqR3BAr 4KhyYLFGgI4eZn3WdeLRf9oOthspckbeAhOziBIqqiY5zVrE1vNgxcJ51RaI98hLHNaP VQIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="ZlM5J/Zo"; 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 f30-20020a63381e000000b005138de75d17si4911684pga.116.2023.05.22.08.22.46; Mon, 22 May 2023 08:22:59 -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="ZlM5J/Zo"; 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 S234492AbjEVPMY (ORCPT + 99 others); Mon, 22 May 2023 11:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234443AbjEVPMV (ORCPT ); Mon, 22 May 2023 11:12:21 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD6ACD; Mon, 22 May 2023 08:12:20 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MDKZYx024592; Mon, 22 May 2023 15:12:16 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; s=qcppdkim1; bh=AY00RBUIc+/XHuSsDEXgZ3dvZbARzQKH+DxMjrHy9Is=; b=ZlM5J/Zo8kzt3vN9UylltzjMH+pJrjppLZTTULGUeeI2gLybOngbuQNt1MEtIybUlaPR YcMNLJnk2hzq5dqkmCoqw2Fuajdcs+tM6/uogF/5trS8OlyVQKx5kE4xDGK9A8E0Vkay rDeU5kZlh4vjM1W1ppuOmVIF9bC6H9UwGL3wO0U14ZofEP4dpeIzret5b+L1eSKghR2Q rdu9yS+SizyT/h05sQPAu0VjPzlONnJchAtB1vwyOZ/IPJBVcNGLi7+Z/aWFzmNRo7c9 FJD6uiLzWY0iW/fHrmTZ1f4nrLjv2ZxhJT2ZHzFONCVNeYrR32oiN2hHRkVNQpLGN4my Og== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qr6h0rnh0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 15:12:15 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 34MFC9en028911; Mon, 22 May 2023 15:12:12 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3qpq9kppn5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 22 May 2023 15:12:12 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MFCCwI028935; Mon, 22 May 2023 15:12:12 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 34MFCCsK028934; Mon, 22 May 2023 15:12:12 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 7471C5001C2; Mon, 22 May 2023 20:42:11 +0530 (+0530) From: Komal Bajaj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Komal Bajaj , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region Date: Mon, 22 May 2023 20:42:06 +0530 Message-Id: <20230522151206.22654-3-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230522151206.22654-1-quic_kbajaj@quicinc.com> References: <20230522151206.22654-1-quic_kbajaj@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: oqMbcKaVIxyZnQbmwO-XdDzj4Drqhcnt X-Proofpoint-ORIG-GUID: oqMbcKaVIxyZnQbmwO-XdDzj4Drqhcnt 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-22_10,2023-05-22_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 spamscore=0 suspectscore=0 clxscore=1015 adultscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=581 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220126 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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?1766608316939970628?= X-GMAIL-MSGID: =?utf-8?q?1766608316939970628?= Add a simple-mfd representing IMEM on QDU1000 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Signed-off-by: Komal Bajaj Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi index 734438113bba..4b52bebdbeeb 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -1102,6 +1102,19 @@ }; }; + sram@14680000 { + compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd"; + reg = <0 0x14680000 0 0x1000>; + ranges = <0 0 0x14680000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,qdu1000-smmu-500", "arm,mmu-500"; reg = <0x0 0x15000000 0x0 0x100000>;