From patchwork Thu Jan 12 08:54:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 42314 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3774510wrt; Thu, 12 Jan 2023 01:03:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXuP4c+hRVuL/b72QJYEbNU9BpbhzadKAvviHLeVlXRvurwG/9KeovAS4A+yt1KncCqdEEIa X-Received: by 2002:aa7:9d0b:0:b0:588:a156:6a3d with SMTP id k11-20020aa79d0b000000b00588a1566a3dmr16459323pfp.26.1673514179706; Thu, 12 Jan 2023 01:02:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673514179; cv=none; d=google.com; s=arc-20160816; b=pxHZVGVyWyg6mLdfpl7iEtddn4FeVCGIcr8pHCRnJLQNBBGg/JKgJZkWTc5yFybDDD B36tJlIRFI0FN++O4KAa3zohgAh7Gjcv2b+wU0qkLgt1ZceiYku8GX8wu/NsFxwJa+ru 2JA5cGwtLfEne8i8T+jHZrr8cbYqXQc+rIV1OGzfOveUDTwCrSdb7elduDwc16M+4T5E 0474JIpf+LRNAUBN5aUrHyaRbTGUvNnmbdwTQo8cIjrXVLuBYIEBwy/DSp0dmq+Pz4Ok ZO0mhu4wKtu/eRyORWHseJj+NnMMFnKKkMCFtHmlUd0/YUg1HNVb5Pt+BiAug0A2O+9t O9RQ== 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=WN/qqUI0+9DwslfU41UadwEXzyFxOdq/jB/bW0TxWXw=; b=nwYyQELOPA9EDd7hdBfTSFg28Qozlxz/9cD0tyjH8VPoVM3rqyWNPYDYDFRuZq+3SG efu4vhilW8qFetW2bjo0tFjiS3v5dAZqzsq10RCdgcj2B4XzMlZaoBoLXn570WPUXj+z CHFfw8psxEyb/xSUWMZFBTGfSGn0McxAxbsDIjAA+scLrWsif88VAfCF6/kQ5zEb0+sL kp7v+olhNaI+K296yUPhxJ73kLpnlI+fABEvSR282dUHLDTpZU7KaCz1rTjrxHGbld8K 1WbKzPO8pwHF6B0sjj4Xt3Bv9harsdSAWLM1fcg29dzBoCVMMsxoHs11wrvqo4+E0wAW /jlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nvTKPuIH; 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 b25-20020a056a0002d900b00577d10d6eaesi16240425pft.169.2023.01.12.01.02.47; Thu, 12 Jan 2023 01:02:59 -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=nvTKPuIH; 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 S239753AbjALJAH (ORCPT + 99 others); Thu, 12 Jan 2023 04:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239833AbjALI5s (ORCPT ); Thu, 12 Jan 2023 03:57:48 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B23F4D4B3; Thu, 12 Jan 2023 00:55:22 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30C8dqFB009577; Thu, 12 Jan 2023 08:55:18 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=WN/qqUI0+9DwslfU41UadwEXzyFxOdq/jB/bW0TxWXw=; b=nvTKPuIH3GVnQoaA3his7fGpc62GNipxeklL/dWQ+/wS0VYsCq5H8/p+vxm1FCIPnZ+K dynsXLXFh6jjD8at6R5yNvoduFpGXyAf/8PRcNvBHLSrhfOngf7/cSKGgAMK8nZyvvfl 6fY5I7wZPRxwl65hxazxtBknGXZWEM2+xt9tmTctBqKano8wDuibQOVgvcOZFB6GqoX4 2dC2yPsXTnGMg11wbIvGT8U/Ey7JyHwVr6S4caVF3scDrpR9ERFhcKLerMv7u6m6hmkM EHFxFL4hLqJW99eOSCuYhpYCZZQAAFDseLD8WEC2qaC5h5Rx5IFbziNb2PcQe5YkrD9T fg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n1k7qub92-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:55:18 +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 30C8tHp2012634 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:55:17 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:55:14 -0800 From: Mukesh Ojha To: , , , , CC: , , , Mukesh Ojha Subject: [PATCH v3 1/2] dt-bindings: mfd: qcom,tcsr: Add compatible for sm8450 Date: Thu, 12 Jan 2023 14:24:56 +0530 Message-ID: <1673513697-30173-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-GUID: BZclTnJu_87A71xOvpAhYjk7Pw5N3AxY X-Proofpoint-ORIG-GUID: BZclTnJu_87A71xOvpAhYjk7Pw5N3AxY 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 spamscore=0 phishscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=741 lowpriorityscore=0 adultscore=0 malwarescore=0 clxscore=1015 impostorscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120061 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?1754806804904654147?= X-GMAIL-MSGID: =?utf-8?q?1754806804904654147?= Document the qcom,sm8450-tcsr compatible. Signed-off-by: Mukesh Ojha Acked-by: Krzysztof Kozlowski --- Change in v3: - Align with new format mentioned at Documentation/devicetree/bindings/arm/qcom-soc.yaml 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..4290062 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml @@ -26,6 +26,7 @@ properties: - qcom,sdm630-tcsr - qcom,sdm845-tcsr - qcom,sm8150-tcsr + - qcom,sm8450-tcsr - qcom,tcsr-apq8064 - qcom,tcsr-apq8084 - qcom,tcsr-ipq6018 From patchwork Thu Jan 12 08:54:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 42313 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3774317wrt; Thu, 12 Jan 2023 01:02:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXvCu0slQeqfG26FRuzOHTcRVrIZjY6IqRoEsE4O3WMWdBxZsfI5UV8DmiYXWVEjmGzyyZNz X-Received: by 2002:a05:6a20:6986:b0:b5:cf5b:674e with SMTP id t6-20020a056a20698600b000b5cf5b674emr18665945pzk.14.1673514158871; Thu, 12 Jan 2023 01:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673514158; cv=none; d=google.com; s=arc-20160816; b=kShWFeTEDpMHWQUZKQi/U9roualjWd2qlqvG5n8mK9kD4xgPTX+TOjYNg+HjI5LAb0 q0Etq5MgNB+6hhQy4noSnpFgLITjQTQJHJmtbWcbmSf5t1LKS+ijskqzLU7Ed65rHgmw uIN7NW+QuiDVYnHcLusXZ1YZXWYmr8U+0RHWM8aN1fIo0K/3KPW02J/ZhvtI7/EiEVx8 txa++IsIX1FWbfev2MzKn6Djchiyvy3yp04GkqrHjranyzcsaeMZ1KXDnNSHu0vJ3a2n jeh8MjGzypwO5dplykOdq6OtNCtZfUQcxr/cMSBHIXpyI2+HezWx5HrEsUyUO95yfxzu Y8uA== 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=/v2CdOrf4Z17VR11u6HItm6Vj0VBzlrchZCCWtJrPCI=; b=b/pzXUqwjp5CJErhOx9imZCyEMfJF8faz9NUhzt3z7QZZxIA1CmiZvlwJQcbnXAFLn yP1kvpolwQ5812c2e+2VJmWdMcVU+DdB9WUYDbZYvnYUMPzKWRrUxAa5MuiGAF7X69Tk wOg8XuYAHFL63dhdCaWaps3HjeD7J7GSZMzDMY4BmkYZIY1PJee0HUom3y9kcdvrVGHI Ww6++iOZbpmkfJX8AUAc9UJR9yX9eOwycImID8nbsAjpS3crFohqTNLE1Bf5rQmoJTrZ ot/6ZLY2+vFrjmFIBBHora6xEVjK3jK3cNqHHHP/5DmsmO5LWllWOPcVVC/NsobGG7wD CN3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EmtIVpaW; 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 l18-20020a170903245200b001930d8a8352si18070560pls.282.2023.01.12.01.02.25; Thu, 12 Jan 2023 01:02:38 -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=EmtIVpaW; 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 S239678AbjALI77 (ORCPT + 99 others); Thu, 12 Jan 2023 03:59:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239860AbjALI5s (ORCPT ); Thu, 12 Jan 2023 03:57:48 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D87738AC9; Thu, 12 Jan 2023 00:55:26 -0800 (PST) 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 30C7sRmO004043; Thu, 12 Jan 2023 08:55:23 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=/v2CdOrf4Z17VR11u6HItm6Vj0VBzlrchZCCWtJrPCI=; b=EmtIVpaWPM2eCOUs1AglbUlhmhMbiwXr2ds3AqWYfaXgIgh2qU+9U6IcOjzFZmi3Nzj1 tzNjayk94FmhsuP5R/9Ujax1VjpMM0GcyxxwDXiP6ywlIWEXDGcY7U8HcD017nDqh6QM EczQyE4dCJzTX4J7fLJ4su3b2fPlNsvI46QZh2DnZHOf8US8J0R2VjnK4S3qL0YtYugp SWmcWs/mjdbt6n+KAkhi4Il9FWtwrDb6ray6Gg+9Wo+7XsXfdfoF05RidtQ46Mybr6/J aNcS6vLkr/X460xXSKS+bqNPSP2y4wWlBeF0wgyqczyLJItLGOn6g8O0yGq2xq9myp0f ow== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n1km2ka87-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:55:22 +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 30C8tLYC029701 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:55:21 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:55:18 -0800 From: Mukesh Ojha To: , , , , CC: , , , Mukesh Ojha Subject: [PATCH v3 2/2] arm64: dts: qcom: sm8450: Add TCSR halt register space Date: Thu, 12 Jan 2023 14:24:57 +0530 Message-ID: <1673513697-30173-2-git-send-email-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1673513697-30173-1-git-send-email-quic_mojha@quicinc.com> References: <1673513697-30173-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: 9qUDvZZ-1HEfQace3VvbGZ3zJiHKr1Ku X-Proofpoint-GUID: 9qUDvZZ-1HEfQace3VvbGZ3zJiHKr1Ku 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 impostorscore=0 mlxscore=0 mlxlogscore=846 malwarescore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 adultscore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120062 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?1754806782433106343?= X-GMAIL-MSGID: =?utf-8?q?1754806782433106343?= Add TCSR register space and refer it from scm node, so that it can be used by SCM driver. Signed-off-by: Mukesh Ojha --- Change in v3: - Align with new format of compatible for Qcom SoC. 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..d9f7a9b 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,sm8450-tcsr", "syscon"; + reg = <0x0 0x1fc0000 0x0 0x30000>; + }; + usb_1_hsphy: phy@88e3000 { compatible = "qcom,sm8450-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy";