From patchwork Mon Mar 6 15:32:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 64784 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1908856wrd; Mon, 6 Mar 2023 07:37:35 -0800 (PST) X-Google-Smtp-Source: AK7set8Vmg3XgKqppTvO8Xq39yT9DLC3P6EN593aib7hr650lzqjqT0aViqD1vW2MSYpjO2v2aDq X-Received: by 2002:aa7:cf04:0:b0:4ac:bb85:c895 with SMTP id a4-20020aa7cf04000000b004acbb85c895mr10364561edy.1.1678117055047; Mon, 06 Mar 2023 07:37:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678117055; cv=none; d=google.com; s=arc-20160816; b=C+m70A3Hd4s1EGaxY3Xz8keIibANmrXpmemWta2Wo8hcsABnXR7n/IIOvOmURy+4JZ u0WzjoQuQxOSXXmPjQthZnBK0A+zaE2eqp7KKEtwjgSlXRM4j6Ct7cG/xk5/PSf2HYNs 28SsDmmcskvb/7iTC13srsJdE6rnElXtqHsuNKTMDJ6069YyHxWT7NFeu61fcZgLt7PV GysEmeaDiY9v7I+dPkZYQMA9Ro+yoNweUnbSqsykHqvQFLwFRA/U6w6ro7J1jops8+7J pSN2cQHNwJMGEBOLF1OMWWnrqjTFIeOFZ6E3FCjr4Tm4d7VFtAaO27ugWL8Wv4Nuv9d+ Z63A== 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=NnPVqWv6iSzBmDnxQc4VtSAKgeV8Xu0ZVFuxyGJ5/8Q=; b=CpAzpNLUqBlia8+REkqlVkVU6iYaVEBs9XZ7r4HCYt5NOZTL+9vKnGrK8nrbK+tkKZ xcdBLrNf5YhYxMR5fv1ERmLGH8KIlNNoAeZdifWQp9l6/S3K28oqn5cgSMD3nCPLDtu+ CN4vou8USX2xL4TdExfsMLOhidVT3Ctkg+l8GnYgs12vVxyVAkXWM0aJCR4xwbA3Ci8G 3XKf/5BsfdEqVGFmo22huEbXM24vEHP7FqIOv85WTNx3kRGOw8+foh9216NBeAR79+r5 ZQHv7UrR9gUj9br4LWFBaqYChMGYkK2UnKglN297Ps3j6Y+x649w3fmPkN1KXk5ITezT EImw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h9uEWO6M; 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 hs21-20020a1709073e9500b008b17a861392si12963189ejc.25.2023.03.06.07.37.11; Mon, 06 Mar 2023 07:37:35 -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=h9uEWO6M; 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 S231229AbjCFPfW (ORCPT + 99 others); Mon, 6 Mar 2023 10:35:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231256AbjCFPe3 (ORCPT ); Mon, 6 Mar 2023 10:34:29 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 950AF34F68 for ; Mon, 6 Mar 2023 07:34:02 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id y11so10809273plg.1 for ; Mon, 06 Mar 2023 07:34:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678116831; 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=NnPVqWv6iSzBmDnxQc4VtSAKgeV8Xu0ZVFuxyGJ5/8Q=; b=h9uEWO6MOAu8R7oW01Eab9sj4rXAsIZfUU+xWyhcxB366lWeKzn7pv00CfbimSIrtX EeTW/z/YBT96JZGC68KsI+78UQXq+NXbC+9dxjwQYZOey5o251mVzlhzboseG/WerupV j/XdbgssE/pY1Z5Un3yjPGc2nHKiql3Cxkm4M58qHBqPIMEcZ53C3jDk87gomYNqLf8z bgc/I7GVjZAH07Nkk1tOLE2u60mK3kY58mG6IRHK4cpLQdwhZEz83CufpWPjC+Vrt+aX mq8z9eclucGOenuw9arhwubVCliOorgA7cRF5MCn3Ft8BxcB2zd4e95rlQXCrhHQFEmp IHtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678116831; 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=NnPVqWv6iSzBmDnxQc4VtSAKgeV8Xu0ZVFuxyGJ5/8Q=; b=NU/UArLb40A83CzYvP7wbSvezsUc12IcpzAQodNLVsJTyMsZ2uhqyStulAkv9N4uPv Q8H/492F4MQn9mNpJ3QqkYKusxT9Y6H48zf3gDyh19FrqcVMmT/XaNKnsrWzwjb/kFfH EEPKxMzts91L3UKvSC+KJJSgv+kzENouODaK6MEXPHWuoGmPsdjNUbpmLUAHtZJcEGjl faPnuzLR1Di2TDIW/QHx7Fx6Aiux/Z76J34+sKzqlv+g4XPlJGDP81j4N6JG55X+Za2U PP20dibs54vkUgjz0LY4T9K5KjH+n5z5a0cHnxZ6Q+tSWqPQcHEC1BysZ8dCLcMJutQx EZEw== X-Gm-Message-State: AO0yUKWE5/xIusH/+ffwsQWyL792fcpEK+bP1n44CBlnd3whmJIdH0H4 I+4ah00QkkJ6qWkRFjEfQ4rL X-Received: by 2002:a17:902:ec8d:b0:19a:a9dd:ed3f with SMTP id x13-20020a170902ec8d00b0019aa9dded3fmr13880439plg.49.1678116831680; Mon, 06 Mar 2023 07:33:51 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id kl4-20020a170903074400b0019a7c890c61sm6837430plb.252.2023.03.06.07.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 07:33:51 -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 17/19] arm64: dts: qcom: sm8250: Add "mhi" region to the PCIe nodes Date: Mon, 6 Mar 2023 21:02:20 +0530 Message-Id: <20230306153222.157667-18-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230306153222.157667-1-manivannan.sadhasivam@linaro.org> References: <20230306153222.157667-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=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?1759633269412467043?= X-GMAIL-MSGID: =?utf-8?q?1759633269412467043?= 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 2f0e460acccd..1987ec97546a 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1821,11 +1821,12 @@ mmss_noc: interconnect@1740000 { pcie0: pci@1c00000 { compatible = "qcom,pcie-sm8250"; reg = <0 0x01c00000 0 0x3000>, + <0 0x01c03000 0 0x1000>, <0 0x60000000 0 0xf1d>, <0 0x60000f20 0 0xa8>, <0 0x60001000 0 0x1000>, <0 0x60100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "atu", "config"; + reg-names = "parf", "mhi", "dbi", "elbi", "atu", "config"; device_type = "pci"; linux,pci-domain = <0>; bus-range = <0x00 0xff>; @@ -1930,11 +1931,12 @@ pcie0_lane: phy@1c06200 { pcie1: pci@1c08000 { compatible = "qcom,pcie-sm8250"; reg = <0 0x01c08000 0 0x3000>, + <0 0x01c0b000 0 0x1000>, <0 0x40000000 0 0xf1d>, <0 0x40000f20 0 0xa8>, <0 0x40001000 0 0x1000>, <0 0x40100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "atu", "config"; + reg-names = "parf", "mhi", "dbi", "elbi", "atu", "config"; device_type = "pci"; linux,pci-domain = <1>; bus-range = <0x00 0xff>; @@ -2038,11 +2040,12 @@ pcie1_lane: phy@1c0e200 { pcie2: pci@1c10000 { compatible = "qcom,pcie-sm8250"; reg = <0 0x01c10000 0 0x3000>, + <0 0x01c13000 0 0x1000>, <0 0x64000000 0 0xf1d>, <0 0x64000f20 0 0xa8>, <0 0x64001000 0 0x1000>, <0 0x64100000 0 0x100000>; - reg-names = "parf", "dbi", "elbi", "atu", "config"; + reg-names = "parf", "mhi", "dbi", "elbi", "atu", "config"; device_type = "pci"; linux,pci-domain = <2>; bus-range = <0x00 0xff>;