From patchwork Thu Jan 12 08:10:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 42295 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3759522wrt; Thu, 12 Jan 2023 00:18:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3ijB2hQFf4n/Sgxq9S4LFrwHpvml9EuIIzHwaax/y24ybiloJfscmVmOv/PdhVgi78m17 X-Received: by 2002:a17:907:6d13:b0:7c0:db53:c599 with SMTP id sa19-20020a1709076d1300b007c0db53c599mr75553664ejc.22.1673511510494; Thu, 12 Jan 2023 00:18:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673511510; cv=none; d=google.com; s=arc-20160816; b=Mf0qiLLj803RPk0kSxBHiY49xal7Evx0widf5jOZtyODuK/WjsZ38XdDbRbBwgZ6s3 n0HTxrnysVAvulqS2r6iDJf9VKZcjn/ZtjCa399ZGLk2C8/w5v8+Qt9XD+MSZRWRh90H xBU2Z7KkezkFLq7h/MYp9vcahKd5bNAHuE+kFG1Y6muvOpwFCzKISbqPrubStrRHO5XP 0OzUIe5VXSRngfO4ISC84i9QXYh39rI7f1YnX0ycrce+aRZ1lr8agQEeJunJAGK175Zw lplwbhwwxOH2lou486QHManG+EgeiCGA2F6xVZCb9CLrNwaicjo0MUg1C8/FngbO69En ixsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=SIYJpAAG6As/Bgis/MRqHbo9HU5RVgHPKvoCYrjcUPc=; b=FD5tekauVjBFOOzCs6UspNPdMhCeE2YYgIYWy6oP/yqZ3V0HdukX9igvSNbexEHPG3 cD/8cJglPiXgu5FX7fmC8iFqG2wrGp8C7zR5CgOriOlg7ToezFI4eosNmY1OhMJzAwsC ae/QhpaemFkytTGKf6Y7HnryKzIY0QEAGJ6DSRy3WMZjGq/Oo1fQQsrhmXvghpAV62yA adlufgBytfrRIWdb9um09c7Lcp4H+49wV0lk7KuxnF/PL6efn3fVpPhYxrt3yb6ay3ld Q5K+sgJqNZWkuEWJKonOgUZKjEn1WQWnu8pfHvBUIWMbyydF/Bg6ap4ttH6Gn+OfxFa7 g5dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ixw23CdF; 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 gs18-20020a170906f19200b007c4f6870a9fsi13754150ejb.554.2023.01.12.00.18.05; Thu, 12 Jan 2023 00:18:30 -0800 (PST) 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=ixw23CdF; 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 S236436AbjALIKr (ORCPT + 99 others); Thu, 12 Jan 2023 03:10:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236554AbjALIKo (ORCPT ); Thu, 12 Jan 2023 03:10:44 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1163D6395; Thu, 12 Jan 2023 00:10:42 -0800 (PST) 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 30C82O0p013512; Thu, 12 Jan 2023 08:10:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=SIYJpAAG6As/Bgis/MRqHbo9HU5RVgHPKvoCYrjcUPc=; b=ixw23CdFnje/F0ycCnMVDyaLgkRaBbl5+Y8i4GdwYNBPilndDJyK9HK3T0+o4LxW3GJ+ PWEtcHsYOke/fjWK89kp9wa8WFznZbr2wyiTwQWoLydFhFTBO8umJ0QUBSoIxZNB//yU wgX5U5OeMlNFaQSqywCz1Ow5AhQ+hZTtEK8erzHoMlGySO6Zt9PX+MEWzml3qtI1KBYB Ui4vhmmV8YZt4wcm30Ky6mUxnN23vWUo7npLz1gMhVXjhXZQinQgulQiufFNU3jZZbib yCLXBoywsJCwP8uLqHoXLXWoVi7KliXktCUwjYx8QT7Wsc5E+xf2sOJTqow+XeBwyEEd Cw== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n1kaxbc9p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:10:39 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30C8AcRR029089 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:10:38 GMT Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 12 Jan 2023 00:10:35 -0800 From: Mukesh Ojha To: , , , , CC: , , , Mukesh Ojha Subject: [PATCH v2 1/2] dt-bindings: mfd: qcom,tcsr: Add compatible for sm8450 Date: Thu, 12 Jan 2023 13:40:13 +0530 Message-ID: <1673511014-4721-1-git-send-email-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: jG2cqLHONoZfYw7H-SZZlZS6S-NvUzh4 X-Proofpoint-GUID: jG2cqLHONoZfYw7H-SZZlZS6S-NvUzh4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_04,2023-01-11_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 impostorscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 spamscore=0 malwarescore=0 suspectscore=0 mlxlogscore=825 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120057 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 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?1754804005242251116?= X-GMAIL-MSGID: =?utf-8?q?1754804005242251116?= Document the qcom,tcsr-sm8450 compatible. Signed-off-by: Mukesh Ojha --- Change in v2: - Considering here it as v2 as this patch came out from comment made on its v1 https://lore.kernel.org/lkml/c5dc8042-717b-22eb-79f6-d18ab10d6685@linaro.org/ Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml index adcae6c..bdf7ab4 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml @@ -37,6 +37,7 @@ properties: - qcom,tcsr-msm8960 - qcom,tcsr-msm8974 - qcom,tcsr-msm8996 + - qcom,tcsr-sm8450 - const: syscon reg: From patchwork Thu Jan 12 08:10:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 42296 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3760776wrt; Thu, 12 Jan 2023 00:22:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvgWHh0oVREdWGPNHl2TmeFuYP9RK49uUBEk6fODagJHPYLIlLMcavTDDHGdO/YZRxjWCuD X-Received: by 2002:a17:906:1519:b0:803:4426:d31d with SMTP id b25-20020a170906151900b008034426d31dmr59920564ejd.11.1673511738687; Thu, 12 Jan 2023 00:22:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673511738; cv=none; d=google.com; s=arc-20160816; b=0NSZB93JG/jw/7jt3VvRW+T3S/23k2wf5OvyK0G0OIkbd9US9tjnqK4mT8MYcisZRC P1BBIiktCo5N+cp4ONahIKVkO2WZikr6RuSH8Iy0lAM0vgg2OqZEgae11xulHtfszz3g ch9zLrkMZrZiGGW6XQjRBBMJbrCClT7KgKQo07x/2JKTa3JjVX/zE9wSdgTUUnolhNqT WNP2EB+QGzMOueySi6F3KdnDYHlGVuc+QLUnvzsD8AhzXgBW0i9xo46TWq9gewxtdS2l bhf6YOMQ7K9T2sYTp0NbhLkDo+s6Db+F0DD4Rte6nZPSUaynQNbWtIZtS1nyDBC7Xj08 kY0g== 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=iPvVXtsjDRp1y8Gz4uV+/0Q7gdrwyKAqYIPr/df9K6w=; b=tiAEYYGL6xAXWZ6zOcRdHqNHhp+dcPhk+V2pkEw2RlC3HLls/Ejxzg9TNd7sA3BAiH G0J1DFTvRCK03+voEo3C/Bo2TaAMK4c0vCurGSPt2SQ+STZy294Zxp7mfkJ3B8B9N6tS P2sk5a+8efRcrJxS8chlwdJFtJ3QGsliDUxehIK8mWYnG7MUVUyJhgYhWvpC51ULg6AB cumBKR4lYfjEp7yhZE8yhOAWhPgeoIuJpO8MVds6HZ00g6cHFq8SK9aAMqLtD+jcfJCw DYHdUQ4a/KhC7ezzKD0rh5xRwxlLdOcV6B9ff1FBSnvyn1r/s83akpHjKA3pp0zzO9iG FIWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=M3NO3RY9; 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 xf7-20020a17090731c700b007825337afeesi17753073ejb.273.2023.01.12.00.21.54; Thu, 12 Jan 2023 00:22:18 -0800 (PST) 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=M3NO3RY9; 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 S236414AbjALILD (ORCPT + 99 others); Thu, 12 Jan 2023 03:11:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239591AbjALIKy (ORCPT ); Thu, 12 Jan 2023 03:10:54 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C88FC1B9F4; Thu, 12 Jan 2023 00:10:50 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30C86sMg009829; Thu, 12 Jan 2023 08:10:47 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=iPvVXtsjDRp1y8Gz4uV+/0Q7gdrwyKAqYIPr/df9K6w=; b=M3NO3RY93psH1i+T6GSmeWnCUuQN3T+YcJDRJvlf23Aji7/yr+Uc0RL+gPa108I5+d1c ZFRrw7oJnbPz8oxmkxL6/kgi0rlsnkLAJpzeXcEraMX+S/j06CHATLaQUVyiiHz6XJ88 mX4KqkzTe7fZsuuqOsIET6syC+tg16k26qKOJFievFG0Zc5uYNyv7o8iBPnwZUENKj1e 8a5dIX7nnCATRg4TNyuKxVY+LLbo0YeVtE3+i9aGZdXrfM+1wk/xjFBfAlUWXM2sticO ekmxhtwURKXOv0Ff6LzRw0qzRA4c55SM2oTJeNoUWYOA+b5HMkmU1MFCEOHXq56idzTw cA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n1m6p36na-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:10:47 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30C8AkLZ010327 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:10:46 GMT Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 12 Jan 2023 00:10:43 -0800 From: Mukesh Ojha To: , , , , CC: , , , Mukesh Ojha Subject: [PATCH v2 2/2] arm64: dts: qcom: sm8450: Add TCSR halt register space Date: Thu, 12 Jan 2023 13:40:14 +0530 Message-ID: <1673511014-4721-2-git-send-email-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1673511014-4721-1-git-send-email-quic_mojha@quicinc.com> References: <1673511014-4721-1-git-send-email-quic_mojha@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 3oqPqJZwawS9tNx7M2XAZmP0MMQjGNGz X-Proofpoint-GUID: 3oqPqJZwawS9tNx7M2XAZmP0MMQjGNGz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_04,2023-01-11_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=850 clxscore=1015 spamscore=0 phishscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120057 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 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?1754804245015899131?= X-GMAIL-MSGID: =?utf-8?q?1754804245015899131?= Add TCSR register space and refer it from scm node, so that it can be used by SCM driver. Signed-off-by: Mukesh Ojha --- Changes in v2: - Added SoC compatible based on comment made by krzysztof in v1. arch/arm64/boot/dts/qcom/sm8450.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 5704750..8c866e4 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -270,6 +270,7 @@ firmware { scm: scm { compatible = "qcom,scm-sm8450", "qcom,scm"; + qcom,dload-mode = <&tcsr 0x13000>; interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; #reset-cells = <1>; }; @@ -1986,6 +1987,11 @@ #hwlock-cells = <1>; }; + tcsr: syscon@1fc0000 { + compatible = "qcom,tcsr-sm8450", "syscon"; + reg = <0x0 0x1fc0000 0x0 0x30000>; + }; + usb_1_hsphy: phy@88e3000 { compatible = "qcom,sm8450-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy";