From patchwork Thu Mar 9 08:51:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 66713 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp178310wrd; Thu, 9 Mar 2023 00:59:28 -0800 (PST) X-Google-Smtp-Source: AK7set/5qbwivOdeq+m+yJ5M9gXs/eLIkCov5/LzCT1YgUYHslRzC7VlGgzGpFqgIgG/4+NQS9xN X-Received: by 2002:a17:90b:3b90:b0:237:8c42:27bc with SMTP id pc16-20020a17090b3b9000b002378c4227bcmr21729639pjb.13.1678352368132; Thu, 09 Mar 2023 00:59:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678352368; cv=none; d=google.com; s=arc-20160816; b=DO6ZpDHmi0w3FPHtIKmklq0dWJ81xu6u67pueiKOuSpt7CyBZjPoIcHeIlUVBjVB54 fY8OXtwTyFboo23y2Xs9ALEOl8jkaMVy02ChXYimiBEY8avxA7Tm5FTc/VwMBeRyt2lu uQ25jIhPwuVFZAVCB4K0Ty+YKYHp8fSH6wg+zPtIXiLtXOya60CbQUzJlgrQ4YdQUOAX R/PEIHp+iLDJ0BIJI4oDZnuyLFadsfkOmCGdpmDhAjzAqrVySIH3hyO+fQFMoKx0AKCj I88h71olIDa7m6r7hlP5zyOwKpFMoBwqOND9eYPCIleyU70wINJHmQuRqA5coW6ptBOG bPiQ== 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=u4buO9u/YEJ2XslOs7PK/sn8ZofMZxzKI+5s+2aMPGs=; b=T9znjC/U/Ae9kAw0Dgt1QyWvY9nTHM6jlLzxLhrf0otNXNCx+pQmwQCE0EJ8qZ+5bP EVEPNHeAGgoPQ+ZkWk+QRuWwWnkmzchdwRl2VgCMmL8en1KQCN+3UOyf8bdOUt5xdz7O NefJEo2ocUvgIJcL03pa/hZFcTN3lbluFs6KGQlH83mr67Y57U55m10V4cv3Hk3O1zvg I9ychx7T12gjZp3+F/mmy4TMkKpz4175hsbxAwfAHV2Gmv3ow+bRcfxxhf1xBpdfgIf2 +EhHwsvRrsSupNxXEmdiIFcWJSydflE+swHB3eFmE4LO1/aiOGJVHAza4ItMAL6bIW1w s0rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Rrn/R99V"; 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 lj5-20020a17090b344500b002366fbaaa5fsi1607631pjb.121.2023.03.09.00.59.13; Thu, 09 Mar 2023 00:59:28 -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="Rrn/R99V"; 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 S231196AbjCIIxG (ORCPT + 99 others); Thu, 9 Mar 2023 03:53:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbjCIIwk (ORCPT ); Thu, 9 Mar 2023 03:52:40 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57BE3DCA45 for ; Thu, 9 Mar 2023 00:52:22 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id u5so1251972plq.7 for ; Thu, 09 Mar 2023 00:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678351934; 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=u4buO9u/YEJ2XslOs7PK/sn8ZofMZxzKI+5s+2aMPGs=; b=Rrn/R99V8jCiHue6c0i2TBTzDE2tjgHHI/RAQxkDVXYcCXzNLkQAZiw2M2g1AbRoqp 4hgCz2JhbbVY7+YweDVSEhBwfHueWmQlKBWOAG+UPNINkKH1yC5T+wfFbSSkhPB9hfZv jUb/sbdfSqjgYuCLln/SZZUH8UXQjSdGFregmhoBNEe74XwRrADAMWgVyLxwWoJSIV3w 19NdjkRDzPl4V2oejK8u4cVlTdGXCUbrl5WE8LoiIM+q/9HoHwLbZKwkr13pCLyV6Gv2 B03NoOqIgDey4hPQreZGT5B4FsgLtd4MOZqDALPPVlTRyQP4258jYTxOkXlvuOP2AHah kIHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678351934; 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=u4buO9u/YEJ2XslOs7PK/sn8ZofMZxzKI+5s+2aMPGs=; b=6qiqf6mGCJm2voxeL7h6OTafKQt6AYl4b84ADldKZ1oUK/GG6USrF+rE5GC48zM3iH 0VByqBW/3C0jL+Z5V14yvQiZpVlQtktu1z0vQ+VKblpQ3sbHmV2aybZZBep0TxIxyqrk 4VudpSvatSUHX2PqLCWJ30gPDkVT1tW3fDEYMM5Y0aJ5EMK04iKpDqs35VdzECWh3seP eZplbCd9xpKyvLa2RnkYAIEAdQTOcvjt1Br02h8f5v777LRtjGcWsEJhDI623LDKdBdD QDcxsVjyK2yMp0ik4eUkD/tsSvL3OKDQ0vUwhp1mIOamFysmAe+A/3j5SOkUHCDqrZ/G 2u1g== X-Gm-Message-State: AO0yUKX+7uZXCqTZAVfGs9yjFwsSHYABsxdY76Uy3UQ8uoaee0GBqyu5 ODIfwTHezoiVM34ZmXjGMdqM X-Received: by 2002:a05:6a20:8f09:b0:cb:cfb1:5009 with SMTP id b9-20020a056a208f0900b000cbcfb15009mr26838793pzk.34.1678351934715; Thu, 09 Mar 2023 00:52:14 -0800 (PST) Received: from localhost.localdomain ([220.158.158.11]) by smtp.gmail.com with ESMTPSA id u4-20020aa78484000000b005809d382016sm10638604pfn.74.2023.03.09.00.52.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 00:52:14 -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 v2 15/17] arm64: dts: qcom: sm8250: Add "mhi" region to the PCIe nodes Date: Thu, 9 Mar 2023 14:21:00 +0530 Message-Id: <20230309085102.120977-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230309085102.120977-1-manivannan.sadhasivam@linaro.org> References: <20230309085102.120977-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 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?1759880012369241088?= X-GMAIL-MSGID: =?utf-8?q?1759880012369241088?= 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/sm8250.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 2f0e460acccd..81383e20d3d9 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1824,8 +1824,9 @@ pcie0: pci@1c00000 { <0 0x60000000 0 0xf1d>, <0 0x60000f20 0 0xa8>, <0 0x60001000 0 0x1000>, - <0 0x60100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "atu", "config"; + <0 0x60100000 0 0x100000>, + <0 0x01c03000 0 0x1000>; + reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; device_type = "pci"; linux,pci-domain = <0>; bus-range = <0x00 0xff>; @@ -1933,8 +1934,9 @@ pcie1: pci@1c08000 { <0 0x40000000 0 0xf1d>, <0 0x40000f20 0 0xa8>, <0 0x40001000 0 0x1000>, - <0 0x40100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "atu", "config"; + <0 0x40100000 0 0x100000>, + <0 0x01c0b000 0 0x1000>; + reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; device_type = "pci"; linux,pci-domain = <1>; bus-range = <0x00 0xff>; @@ -2041,8 +2043,9 @@ pcie2: pci@1c10000 { <0 0x64000000 0 0xf1d>, <0 0x64000f20 0 0xa8>, <0 0x64001000 0 0x1000>, - <0 0x64100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "atu", "config"; + <0 0x64100000 0 0x100000>, + <0 0x01c13000 0 0x1000>; + reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; device_type = "pci"; linux,pci-domain = <2>; bus-range = <0x00 0xff>;