From patchwork Mon Aug 7 12:18:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 131948 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1436393vqr; Mon, 7 Aug 2023 06:10:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGo0pH9A7fAkSjmLcw8qQ1Tbao3kZTja9V/ID72MxI3ypqncPYdKmpVfPxUwN4QdZtiCeMD X-Received: by 2002:a17:902:e88a:b0:1bc:128:ba16 with SMTP id w10-20020a170902e88a00b001bc0128ba16mr8293151plg.9.1691413826327; Mon, 07 Aug 2023 06:10:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691413826; cv=none; d=google.com; s=arc-20160816; b=t1pcEeIhh2zhyKpET80mYUFng9sYoEP7Y7ixE+MIaYX9Qqg5+jc9c+vDAhBgvyAFFJ a2N1RsER23YA6G3ahhhJ0Hl8YOc2mLz2INo/DQ8P/krtZtJ4Ub1RKv06dyvYfjtzXN4R xHmjc7JoUieorZ0ZvU1eN95DRsvOTMMJZj1Pft6dvCXCL8RN+a9USIV7eEGB/yCzbjUu T4TAIcd8iVUb6GAiYE54pZiY4e6lrhWnMmdan8ZYx6tg5vGC5OZQ37WxYDszXKEHRJuQ FWIsZx42gsiG24dTm1pFGW+D3yF21nhEvz8ojmL0Hhta3RoOaib3uB5ntDWZmjd5lxmD KGHg== 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=WKLAyDO5PxD/S4jrIzzLyTWrGLqpIx1UXKiuoZUA+Z4=; fh=AuPWtkft2QpSof+GFzbc3pi2uF0J8RaXyhSfvcIkZ3Q=; b=NnQ7MSulKl/53jWPoOay98ZAraTl8egsShP03MpT0ULogOsTBCRjxtfWF/Xseu9ZL1 ZCHiZrRT9XNPOF+qxIq5rKicdi8TuoXpSm38fDFdm5m2/SNSwBbFRoFJf2UEBSK++xkZ Wy6YdWV0psF8EdQh4ALyTRfyd3pD8+9dhLlkuT9T724m9r31lI/CjdWi4nxVxPjWLvV1 zZjZ5LBMR5/JykQzi/zJ9EqRzrIjiJ6IQ+V3ZqDhNczJdq5YQ6S+gTy9yG+eMloUM7JE YhtdkJLdL/XKNX4AtxzaJzh8+EytLyzmGc83LCf+0+4Z952p0NhzHeJLjbTX2g6GI03g yWNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OjH5S5AU; 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 l14-20020a170903244e00b001b9ffdd9488si5794376pls.624.2023.08.07.06.10.11; Mon, 07 Aug 2023 06:10:26 -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=OjH5S5AU; 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 S233374AbjHGMSv (ORCPT + 99 others); Mon, 7 Aug 2023 08:18:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233319AbjHGMSn (ORCPT ); Mon, 7 Aug 2023 08:18:43 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 770DA128; Mon, 7 Aug 2023 05:18:42 -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 377AL9hE017662; Mon, 7 Aug 2023 12:18:30 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=WKLAyDO5PxD/S4jrIzzLyTWrGLqpIx1UXKiuoZUA+Z4=; b=OjH5S5AU4gXWueO/vrCO8rd8Ascj+9SB5AcWl+HMaOKuqeYSlG1/Rxqr0+cZ7uLrMqi0 ia33doHpg6sPKtW20aMS+wqbDOcv+atWfmt5azcVolBruIZK9AhaDNTvfI5sQUxqCn2D 3jeCpElGrSYsHHJfHYiBu5WpP69VoM+1647xvlbqwEngynDMI+mNQQ7AeNaxVC2lM3Vc kWjcHg3xzCrx0pP9IZ6LEVIH8mHJ5LgYWxlKC/YNCb3FIkqpK1GX3JY9Hjuvwb996INq aj/Pa8asoaqrHcbktLW/oAxs+J2agmiwiQh0ypiJqVFRUmmODRcufUpglQIhAj0O4u9j LQ== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3saxbbr9ae-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 12:18:30 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 377CIRFG027971; Mon, 7 Aug 2023 12:18:27 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3s9fgk7kk6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 07 Aug 2023 12:18:27 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 377CIRFb027940; Mon, 7 Aug 2023 12:18:27 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 377CIQ8q027937; Mon, 07 Aug 2023 12:18:27 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 672361BA1; Mon, 7 Aug 2023 17:48:26 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, abel.vesa@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, quic_pkondeti@quicinc.com, Rohit Agarwal Subject: [PATCH v2 2/9] arm64: dts: qcom: sdx75: Add spmi node Date: Mon, 7 Aug 2023 17:48:11 +0530 Message-Id: <1691410698-25180-3-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1691410698-25180-1-git-send-email-quic_rohiagar@quicinc.com> References: <1691410698-25180-1-git-send-email-quic_rohiagar@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: A_Qm1QDdnfmFLKcX516ASihSbL9elHcx X-Proofpoint-GUID: A_Qm1QDdnfmFLKcX516ASihSbL9elHcx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-07_12,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=602 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308070113 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=no 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: INBOX X-GMAIL-THRID: 1773575944151569733 X-GMAIL-MSGID: 1773575944151569733 Add SPMI node to SDX75 dtsi. Signed-off-by: Rohit Agarwal --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index 21d5d55..6e2d07f 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -469,6 +469,29 @@ interrupt-controller; }; + spmi_bus: spmi@c400000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0 0x0c400000 0x0 0x3000>, + <0x0 0x0c500000 0x0 0x400000>, + <0x0 0x0c440000 0x0 0x80000>, + <0x0 0x0c4c0000 0x0 0x10000>, + <0x0 0x0c42d000 0x0 0x4000>; + reg-names = "core", + "chnls", + "obsrvr", + "intr", + "cnfg"; + interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "periph_irq"; + qcom,ee = <0>; + qcom,channel = <0>; + qcom,bus-id = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + }; + tlmm: pinctrl@f000000 { compatible = "qcom,sdx75-tlmm"; reg = <0x0 0x0f000000 0x0 0x400000>;