From patchwork Wed Mar 15 06:42:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 70030 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2171960wrd; Tue, 14 Mar 2023 23:48:42 -0700 (PDT) X-Google-Smtp-Source: AK7set8/EXe2t78oA2zO4kfE68EGbn5uufhqKsK5/4MvJt4RtwRGnuGWGKUs0AaVnLZAbM769VDA X-Received: by 2002:a05:6a20:a021:b0:ad:def6:af3 with SMTP id p33-20020a056a20a02100b000addef60af3mr35554363pzj.57.1678862921824; Tue, 14 Mar 2023 23:48:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678862921; cv=none; d=google.com; s=arc-20160816; b=Q7H5T2B8gpYrx8pHzg24f4/9tQ2vsr2KtOvyY+SeF5am7cHenAY8UWi+1rryfOqXeL 5tWjacQIWYLl8GhbdmhI5X3pLEWxry1XwIfZxfId8lRC6L8m4blHb7a9eaTI36RRoZ0S DGIja0dOhg9nNABZoe9SMZrJLzPTVaWspidEqViP4ybnz+YEdButi3qGwf6mbqac1rcA VWYysjixVua94J+KuUAY8KcpB3pH3uuhLMUieXPigsiaxmjkG+Vzu8Fe6aDMtHNiGfVE MWacNzgysPxizCJHUBPIi7HnUnubIgXNU/9T7YhzlZInK+5cFfttju3JAQkFEK68Ccwa Ffrg== 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=WyiFvDOY9g+0qzdT619RvyNmR2SNpUhn2XZiNoyi1JKjSxDyGGfvi7lkZecpeUklSE J7qq26MqN8SIMMhU1tEDDdEzpv4giWcOBCdXA8NQ9+IiVELdwfejWA1T5d0BDs6ZHS81 AC5pdNEvP1DPKSiYM5yxY8tO94J4tbwZ3Tf4aeHEaickVpLTgn+VcdwbWbaHEceJD7kq GlbXbE0S5hQ1q6STA9wxhShvPMmhJ/+Lw8WE9rje4GS4xErL7qABoZOdJvoxHYBKxHA6 zUT9IKh1ylrTGunijGkcPtHhioQhnZRJaofx4R8z69YKsEtfJqYTyXww0BE2nTUr76dy Tkug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TLr0mBUM; 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 37-20020a631265000000b00502fdd175f3si3238978pgs.148.2023.03.14.23.48.22; Tue, 14 Mar 2023 23:48:41 -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=@linaro.org header.s=google header.b=TLr0mBUM; 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 S231532AbjCOGpp (ORCPT + 99 others); Wed, 15 Mar 2023 02:45:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbjCOGpJ (ORCPT ); Wed, 15 Mar 2023 02:45:09 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5582865C7B for ; Tue, 14 Mar 2023 23:44:40 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id nn12so17748657pjb.5 for ; Tue, 14 Mar 2023 23:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678862652; 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=TLr0mBUM2U4Mm/fZK5JU42H7nrEehkO13ShcIkRweW1jcPAYb7BxRev7sbFleukMV/ M/gxnvyPXCZx2XBJCuKpidlNeuS821hi2QWNa8Cpadn+nKgB6MwVkCYFCL0acp6jNEUS sWt1mLMjBskRkuhSis11UlX7RKSEJssEK+2zJRsPcrJIg/URDOsu5P18/j4yLOeQ2OhA xCIDL69dQovODnMToUO51uPlg2Jd4aj+oLp5B4KWyHJ7kxzDb9h1KoAWVYqgWvdIixOL SC9mUKc0rdUig/dBUupv5G0mPdXattLjy4aHNE6WpxEn1k1zksOF0j2sZPgcgL3i+nkR Rb7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678862652; 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=MXfHipHKqsBRV0lRGedwpj0/4vJlnhkp9TSes54imc1H2/bZeJSAvKTZUkU6JaK9hg 4160VjS/5KrxWXCDP5Lr8VAPU8FuZvwxw7HpVMHEQIZiFvjRPZJdzDmbom1oR4hCM+Sb Tcj5GOseBBU2JTKv1GXFTKxOF1wH+Z26jUq+/nQq7Wp5p0nRToBwvCoGIuIt3Y5OVZZX cvktOLcQ9feZmhMUUpElNj29F9zjjHi43UASKPxQFx7r6jV3EwHeA/YBCCIDilHpHSJe YKFIg3cEUMq2vHQJshQ4mOnRolfu5AQd3wZCUc7OJ5BNgc/c25oBiGIq8BhyDYuLt7Rb jX0g== X-Gm-Message-State: AO0yUKWFsU3Fs5PWikcG3EJ6UrYDiK0006Xv6EU1M+KGudd8NVRcZ5Dd lyD/2bCzWRdRFHxTUFqVhH8P X-Received: by 2002:a17:90b:4acd:b0:22c:4d85:1725 with SMTP id mh13-20020a17090b4acd00b0022c4d851725mr41583536pjb.9.1678862652460; Tue, 14 Mar 2023 23:44:12 -0700 (PDT) Received: from localhost.localdomain ([117.217.182.35]) by smtp.gmail.com with ESMTPSA id u4-20020a17090a6a8400b002367325203fsm550747pjj.50.2023.03.14.23.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 23:44:11 -0700 (PDT) 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 v4 16/18] arm64: dts: qcom: sm8250: Add "mhi" region to the PCIe nodes Date: Wed, 15 Mar 2023 12:12:53 +0530 Message-Id: <20230315064255.15591-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230315064255.15591-1-manivannan.sadhasivam@linaro.org> References: <20230315064255.15591-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?1760415367109326187?= X-GMAIL-MSGID: =?utf-8?q?1760415367109326187?= 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>;