Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4380791rwl; Tue, 28 Mar 2023 06:30:55 -0700 (PDT) X-Google-Smtp-Source: AKy350aIwy8O9tP5lz27CNzmTDNtU9J9/DNebEyBqbyZIlE+6UDEyM4Qe1a5eMradGrnA68VDn1Y X-Received: by 2002:a17:906:8486:b0:92b:2389:46bd with SMTP id m6-20020a170906848600b0092b238946bdmr15264032ejx.21.1680010255525; Tue, 28 Mar 2023 06:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680010255; cv=none; d=google.com; s=arc-20160816; b=QfOqJPZWk76GO7M+JzAKPjlFqZIjeFzHWgMxfXBCv6jXKn2zHeL/4gr1Heiy+tS4aY j71UM0Es+hE96p36uaa0NxDyw8az6GzJFOex79C1XmO8rJgINdeWkAwExZxY/R+14+Dd 646chRDl0IXx5jpSmLmwUFIzM8EuToLwan3Yo4exW9Oeq/kOTfqYlX8I1yZahi+moyYY 8DjEzKRQUQmCWAD51ESwAXBy9c7qFOvdBaydqtBAiYftpmj0oJFY9Tcsseefbr4jsp47 Hu6BMWHWd44aB0NF1SPZzzXrFlxsRTHTEstfm+y0mLlRAjw8jokKDdHEjwWaaylTbJI9 lTnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1WbYAhbTJCq9CpwMXXHWoOEY+JTfgn6zXdroTgNd+uI=; b=RpY3MG3PGkng63HiGlb1g1ktglqGlqg5SkuQ9ilG2bqCYbJkIhkA1VGssqHPWpzk8G i2siH+7bAy6iFHSgGbU10fr+8uMD/3p4Kdnt6uyEZ6DpBdeaMOldATWyHLmhPZ4jBWxb iF/7jJBnqR4Vqb0LpAoO4Algl0FxhM+v/32X3fwCvZpv/eoiZg59/bnKRBY3uPPQcZ4J ocD4FpfL2orJpGJ3+zA6yq7/nLgp0P8rNZ3VYddHD0G4bKqkPA+dXrOP2n33EJbYc0Gg v2GpVbpUzc8sKDT6PuqXp+xwsyqkAZ5YUaFUeyKOPKzpiZqlvM1ICJ7rsqt/dEhLbG+d iX7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=riY9k7AC; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw9-20020a170906478900b00935b1b87416si24200222ejc.866.2023.03.28.06.30.30; Tue, 28 Mar 2023 06:30:55 -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=riY9k7AC; 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 S232795AbjC1N3y (ORCPT + 99 others); Tue, 28 Mar 2023 09:29:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233096AbjC1N3q (ORCPT ); Tue, 28 Mar 2023 09:29:46 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67DF9BDEB for ; Tue, 28 Mar 2023 06:29:41 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id j11so15798918lfg.13 for ; Tue, 28 Mar 2023 06:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680010179; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1WbYAhbTJCq9CpwMXXHWoOEY+JTfgn6zXdroTgNd+uI=; b=riY9k7ACEoIZdlsXIAzsYHPCzH86Z6OwmYLjuVX3Hg5rObvWIduAguy+SzEEUwiwK+ bIzhFOtD/cv9k03LyLZBNFc/okm8XvA8Ay1MWaL65ubpIqqSznWnQWr8KhCThgRi/lHU m7vyfIBmwbbnVNVLbwyZEi8UOSGC3U/HGPwVKqxTINS04zNvpsuH2S/dprENXyxWPnzg u8V1+wZrq1AfMQl74mstjxE0EFFtkXTLMEiNLYLYOXOM9VzGmM/GJUjgOahev7L77Kn5 oTb8HA7ddm07TqbySYMkmlVlsLhZWDzvtT1BbGCm9uXm3roPF0t9V6fgaRfWp2WnDh3F dRFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680010179; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1WbYAhbTJCq9CpwMXXHWoOEY+JTfgn6zXdroTgNd+uI=; b=gDrPtsJl89Qw9kRs8dI+/x0wroxn+njBiJtBWmodUOxYeHjL/zK5OIcY74fBlxn/Xn m53567bFCHKCfUYLj/+De65vtQz+qlkJo4R9+sx37jilEl5myOaJT/+uBraKabUonf8U OCGuJuGXdBIRBLXfh6s7f7mYCZxF1NZULRPkuoF7GysStcAk0hfGvfFEEpwBR4ecZWie MPHoPXbOqX4k+4zqLl9WEyKAKhYUyQ0QN7SW3mB5SHxG4Ej0SPFHjI9Xm0D90qTSG9WY HkosCnz5JU5ug1wX2S82516b5bgNw5tsolSamUX/Q4Gj6lQUqaIRqZCuvT3YidbM7nPJ cljA== X-Gm-Message-State: AAQBX9ebvFFtinRXOasyw7CcFaLE50BdhoLIT5iXSg9kNniBZx4IKjRy go7FjyCBPxhSye5yVSvfb6WaeQ== X-Received: by 2002:ac2:549a:0:b0:4de:ca63:b2d9 with SMTP id t26-20020ac2549a000000b004deca63b2d9mr4125954lfk.49.1680010179704; Tue, 28 Mar 2023 06:29:39 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id f24-20020ac25338000000b004e8448de1c0sm5116024lfh.10.2023.03.28.06.29.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 06:29:39 -0700 (PDT) Message-ID: <5beab308-a114-745b-fa28-84ca0495f539@linaro.org> Date: Tue, 28 Mar 2023 15:29:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v4 3/5] ARM: dts: qcom: sdx65: Add support for PCIe EP Content-Language: en-US To: Rohit Agarwal , agross@kernel.org, andersson@kernel.org, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <1679036039-27157-1-git-send-email-quic_rohiagar@quicinc.com> <1679036039-27157-4-git-send-email-quic_rohiagar@quicinc.com> From: Konrad Dybcio In-Reply-To: <1679036039-27157-4-git-send-email-quic_rohiagar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 17.03.2023 07:53, Rohit Agarwal wrote: > Add support for PCIe Endpoint controller on the > Qualcomm SDX65 platform. > > Signed-off-by: Rohit Agarwal > --- > arch/arm/boot/dts/qcom-sdx65.dtsi | 56 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 56 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi > index 084daf8..a7d8ad9 100644 > --- a/arch/arm/boot/dts/qcom-sdx65.dtsi > +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include This should be sorted alphabetically Other than that: Reviewed-by: Konrad Dybcio Konrad > > / { > #address-cells = <1>; > @@ -293,6 +294,56 @@ > status = "disabled"; > }; > > + pcie_ep: pcie-ep@1c00000 { > + compatible = "qcom,sdx65-pcie-ep", "qcom,sdx55-pcie-ep"; > + reg = <0x01c00000 0x3000>, > + <0x40000000 0xf1d>, > + <0x40000f20 0xa8>, > + <0x40001000 0x1000>, > + <0x40200000 0x100000>, > + <0x01c03000 0x3000>; > + reg-names = "parf", > + "dbi", > + "elbi", > + "atu", > + "addr_space", > + "mmio"; > + > + qcom,perst-regs = <&tcsr 0xb258 0xb270>; > + > + clocks = <&gcc GCC_PCIE_AUX_CLK>, > + <&gcc GCC_PCIE_CFG_AHB_CLK>, > + <&gcc GCC_PCIE_MSTR_AXI_CLK>, > + <&gcc GCC_PCIE_SLV_AXI_CLK>, > + <&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>, > + <&gcc GCC_PCIE_SLEEP_CLK>, > + <&gcc GCC_PCIE_0_CLKREF_EN>; > + clock-names = "aux", > + "cfg", > + "bus_master", > + "bus_slave", > + "slave_q2a", > + "sleep", > + "ref"; > + > + interrupts = , > + ; > + interrupt-names = "global", "doorbell"; > + > + resets = <&gcc GCC_PCIE_BCR>; > + reset-names = "core"; > + > + power-domains = <&gcc PCIE_GDSC>; > + > + phys = <&pcie_phy>; > + phy-names = "pcie-phy"; > + > + max-link-speed = <3>; > + num-lanes = <2>; > + > + status = "disabled"; > + }; > + > pcie_phy: phy@1c06000 { > compatible = "qcom,sdx65-qmp-gen4x2-pcie-phy"; > reg = <0x01c06000 0x2000>; > @@ -330,6 +381,11 @@ > #hwlock-cells = <1>; > }; > > + tcsr: syscon@1fcb000 { > + compatible = "qcom,sdx65-tcsr", "syscon"; > + reg = <0x01fc0000 0x1000>; > + }; > + > remoteproc_mpss: remoteproc@4080000 { > compatible = "qcom,sdx55-mpss-pas"; > reg = <0x04080000 0x4040>;