From patchwork Fri Mar 10 04:08:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 67206 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp678628wrd; Thu, 9 Mar 2023 20:22:18 -0800 (PST) X-Google-Smtp-Source: AK7set+RZ/4vHFxXpm5kSqpRtFhOjctKMmbnix3aBOpqD5P0r7b3Wx+sOENsB0DaMEVxlBHCfjGS X-Received: by 2002:a17:90b:3b90:b0:234:b35b:f905 with SMTP id pc16-20020a17090b3b9000b00234b35bf905mr26172897pjb.2.1678422138202; Thu, 09 Mar 2023 20:22:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678422138; cv=none; d=google.com; s=arc-20160816; b=G5kXVVMBvrvoD7mlWL4MrvFBQ99YKd/WT6SirAOCK+6QC3FIG6UXxZ/lcrwv56bJMQ KFuo6lfxpATk+/txQb+Oao+wGlceECKZjta4hqJ56hBGMOitKCX8SIZxD+KtBKlU48VE 9ddz8Z+8mMWvUqaW0qM7B7lFsVGaNa+t6wr4iQuMjYedB0D5CyuF0UR54OGJMAtEiHXh nfC6LGn9NNO9WDO3hrOF1O63L/vDGc5lUBVy/Jxl52BtF8PauWa4KZJRje+k9AzxC8Au FFxdnjcEDzfaBC5Zn8mbQh2JjjLKjiw89UbRwEeodBZF1muyj+ayOlVo88Mklg1+znQj xS+g== 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:cc:to:from :dkim-signature; bh=azG6rPTW4OW7MpxRM4BYmIziHm2wpGO0S0WPmax4BIQ=; b=hGwZ/T9jUaGYj3OcUnryStvg8eUBHQI6wkKsX/scwt3AqhpXpqsrDOZ5PatA3Lk238 tJGovjRBW7tH661s0x1/PTS63sx1hQfAXSeCkFRNXH/2rjP2Cim2oMkh1auzHsQ3uDM3 dVU8X9+/ftTuhUqnEYoG3DmXg1O1VgeOn7ZPAUI+q7JXlftKVsIrKK/hK5G2soRZE5se 9XJqOtUh0r4IwNqwV+xNcAzgEsKzDaqNPR2b4ZJD72z27ODC8azOdanuUcHIaupRqYey KWINxigQr2GFOjro5GAtUPrIfMMGQ+0xqyUXbf6m0Ix4y224cpZRYC2Ym7ibWpDSNtMW Lyww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T838p+Gk; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o2-20020a17090a678200b00234b66e3df3si846140pjj.153.2023.03.09.20.22.05; Thu, 09 Mar 2023 20: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=@linaro.org header.s=google header.b=T838p+Gk; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231128AbjCJELy (ORCPT + 99 others); Thu, 9 Mar 2023 23:11:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbjCJEKp (ORCPT ); Thu, 9 Mar 2023 23:10:45 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B25103ED3 for ; Thu, 9 Mar 2023 20:09:41 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id bn17so2344050pgb.10 for ; Thu, 09 Mar 2023 20:09:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678421375; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=azG6rPTW4OW7MpxRM4BYmIziHm2wpGO0S0WPmax4BIQ=; b=T838p+Gk/zYv4/Qevbgh+Dc7eZumK6aAMJLP/Z15+n29Gc5V+aodL4yew5LU25+JUr cvVvBkeOLmKXSMPcLJ3jvvHdE6q11Ml8iUw5zmnRGPPHki3j72e/pTojc9Cp5Dk7p+z8 SAvYgUhlJkJhgBeXwzeLc+jqmed25ZnhigQlb4sI3uEUUFsyXDCkJ5A0rgueFGeF/170 RC7AYR2Nz9f2qnLSIWgp4PYjLkP8fBuFh4S4RVnQlzX0+jHZY4b7GkzqG5cjnnEUXLNB JDtE3O9hRDBX553kJrMBIGZIopzvggE4DhGBYdK67YcPYN2jX5mC3UzzTpFWf8zzvlGK Fk2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678421375; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=azG6rPTW4OW7MpxRM4BYmIziHm2wpGO0S0WPmax4BIQ=; b=Yw+Zt1CUP9HxvsF3xPytQWcLjJIFYi7loH2pyXdeOIG+5f97hkISUT3tuHdbpr+uO6 aN6kunyZ61vzq1m4cj/JsV349G0SlIY3FOmc3OXvCmo7WNJBoqYqdOeDbYsC/z7H5N/o ViwixrjtfNQp/J1ToaL6LT9lYgCgfp3Dv09zOK9/j2IwBcwzIhIqOrDXRq4pa+V6Zfn4 xksQkVDag/wZoMYZCvBmnwO8Ej8TN1ZIQpvgmpXpUBq1jYvdeMYoke3PgX6JL0WGIJu1 R+ns8wUyDQvEpioyM+tofhTMA6D1cBEylLLvCMOy41Ui2sB02yFE5aFl+WOiT3aZ9EBk Kr1Q== X-Gm-Message-State: AO0yUKWwQU7mz0cEhW89aEsTpquC1arO5tROE6U7cV9g9JjCIg3TaES6 jr0zUyp9xJ6Djk3JN8r9HSkT X-Received: by 2002:aa7:96e2:0:b0:5a9:cbc3:ca70 with SMTP id i2-20020aa796e2000000b005a9cbc3ca70mr22595640pfq.24.1678421375186; Thu, 09 Mar 2023 20:09:35 -0800 (PST) Received: from localhost.localdomain ([27.111.75.67]) by smtp.gmail.com with ESMTPSA id y26-20020aa7855a000000b0058d92d6e4ddsm361846pfn.5.2023.03.09.20.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 20:09:34 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, lpieralisi@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, quic_srichara@quicinc.com, Manivannan Sadhasivam Subject: [PATCH v3 15/19] arm64: dts: qcom: sdm845: Add "mhi" region to the PCIe nodes Date: Fri, 10 Mar 2023 09:38:12 +0530 Message-Id: <20230310040816.22094-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230310040816.22094-1-manivannan.sadhasivam@linaro.org> References: <20230310040816.22094-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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?1759953172151334484?= X-GMAIL-MSGID: =?utf-8?q?1759953172151334484?= The "mhi" region contains the debug registers that could be used to monitor the PCIe link transitions. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 479859bd8ab3..46caac9acc95 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2282,8 +2282,9 @@ pcie0: pci@1c00000 { reg = <0 0x01c00000 0 0x2000>, <0 0x60000000 0 0xf1d>, <0 0x60000f20 0 0xa8>, - <0 0x60100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "config"; + <0 0x60100000 0 0x100000>, + <0 0x01c07000 0 0x1000>; + reg-names = "parf", "dbi", "elbi", "config", "mhi"; device_type = "pci"; linux,pci-domain = <0>; bus-range = <0x00 0xff>; @@ -2387,8 +2388,9 @@ pcie1: pci@1c08000 { reg = <0 0x01c08000 0 0x2000>, <0 0x40000000 0 0xf1d>, <0 0x40000f20 0 0xa8>, - <0 0x40100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "config"; + <0 0x40100000 0 0x100000>, + <0 0x01c0c000 0 0x1000>; + reg-names = "parf", "dbi", "elbi", "config", "mhi"; device_type = "pci"; linux,pci-domain = <1>; bus-range = <0x00 0xff>;