Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7292844rwp; Tue, 18 Jul 2023 13:02:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlEvbqfS4YH9jn/HSmav/7JC6pnqMhI0ALqXOehzN03FYpGpFY0FpxQ+kvvLy7oiQghKJ3dF X-Received: by 2002:a05:6a20:430f:b0:f0:50c4:4c43 with SMTP id h15-20020a056a20430f00b000f050c44c43mr153195pzk.5.1689710540298; Tue, 18 Jul 2023 13:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689710540; cv=none; d=google.com; s=arc-20160816; b=rcvLM7Cj8h9kFggnBi1J7kIxuFxWOdN9IBm8rYYqJEN7yHp3UeXPWpqSHcrYPrario 3GZgf+MHsm0xzMfgjKGFVjtKufHntKgsVEuOZVtKx2CCt+XSj90jQpitY/aHHZZ8s/id ES7yMo/FfL+L/vmm5M3pV39NVYbK/OPAqa9FhFi6XUHw26K7D+Ek2JCXzSirqz+hDZd+ c7ohYYpsukHEcFkdxMfkLzsdmRYwbHS2jCzaWArcerAEo/EzGKY0q58dOffxXWf8dNUw Oc7aqd4grfQAbcsRm5VMBwFiraSVIUmH/DlyZsXNxJ0kocBImOSPQI6mk12mQDbsK82o oXGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=5Dt0XbJphgWhfxscv+v0zuGvIhup8GAxvOTTyVEuEy0=; fh=JBIHNFWiDUa2xg/ADkGrLn3enwpTTGbbImQ7Itbh11Q=; b=U+8+b2weoX9PKA/UEewAkk+3MUKLwvKH4K7W4EtfR+ZAn6k5u+oj1HjJGT0xtFVcEA u/KlRtPwJDPPpPdN09LVk0/DOVdqhi1r6ZYRCCEcc1Kfft8jDrJvYUYDN7dy4kv5p+7a sgrtDtA2hMS7yJqG+tHFFbSVQ+lv1AjAnqO4m3azFuaS2B4i6xbZSvAQa0Xp1Yo6e+RI A5i6dCmoLHgBPemKTB0xzbate89Mt4e0i//jT/QwiQe3CPJ6wgbitBiM/eor+v6pDUoQ LZxSvcbo4UoaPu39gOa3OQYTOZny+c2GgxbJbIpO9avbT2HuSWuMoD0EAlWgblhm5UUC eWdA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a056a00228e00b0067de347ee12si1972113pfe.164.2023.07.18.13.02.08; Tue, 18 Jul 2023 13:02:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjGRTik (ORCPT + 99 others); Tue, 18 Jul 2023 15:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjGRTij (ORCPT ); Tue, 18 Jul 2023 15:38:39 -0400 Received: from smtp.dudau.co.uk (dliviu.plus.com [80.229.23.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E8C87198D; Tue, 18 Jul 2023 12:38:37 -0700 (PDT) Received: from mail.dudau.co.uk (bart.dudau.co.uk [192.168.14.2]) by smtp.dudau.co.uk (Postfix) with SMTP id 1735441A7003; Tue, 18 Jul 2023 20:38:36 +0100 (BST) Received: by mail.dudau.co.uk (sSMTP sendmail emulation); Tue, 18 Jul 2023 20:38:36 +0100 Date: Tue, 18 Jul 2023 20:38:36 +0100 From: Liviu Dudau To: Sebastian Reichel Cc: linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, Jingoo Han , Gustavo Pimentel , Bjorn Helgaas , Lorenzo Pieralisi , Vinod Koul , Kishon Vijay Abraham I , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Serge Semin , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Lin , Simon Xue , John Clark , Qu Wenruo , devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: Re: [PATCH v2 2/2] arm64: dts: rockchip: rk3588: add PCIe3 support Message-ID: References: <20230717173512.65169-1-sebastian.reichel@collabora.com> <20230717173512.65169-3-sebastian.reichel@collabora.com> <20230718160137.sfitnkl6gmyi75jx@mercury.elektranox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230718160137.sfitnkl6gmyi75jx@mercury.elektranox.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Tue, Jul 18, 2023 at 06:01:37PM +0200, Sebastian Reichel wrote: > Hi Liviu, > > On Tue, Jul 18, 2023 at 04:09:53PM +0100, Liviu Dudau wrote: > > On Mon, Jul 17, 2023 at 07:35:12PM +0200, Sebastian Reichel wrote: > > > Add both PCIe3 controllers together with the shared PHY. > > > > > > Signed-off-by: Sebastian Reichel > > > --- > > > arch/arm64/boot/dts/rockchip/rk3588.dtsi | 120 +++++++++++++++++++++++ > > > 1 file changed, 120 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588.dtsi b/arch/arm64/boot/dts/rockchip/rk3588.dtsi > > > index 88d702575db2..8f210f002fac 100644 > > > --- a/arch/arm64/boot/dts/rockchip/rk3588.dtsi > > > +++ b/arch/arm64/boot/dts/rockchip/rk3588.dtsi > > > @@ -7,6 +7,11 @@ > > > #include "rk3588-pinctrl.dtsi" > > > > > > / { > > > + pcie30_phy_grf: syscon@fd5b8000 { > > > + compatible = "rockchip,rk3588-pcie3-phy-grf", "syscon"; > > > + reg = <0x0 0xfd5b8000 0x0 0x10000>; > > > + }; > > > + > > > pipe_phy1_grf: syscon@fd5c0000 { > > > compatible = "rockchip,rk3588-pipe-phy-grf", "syscon"; > > > reg = <0x0 0xfd5c0000 0x0 0x100>; > > > > What tree is based this on? Even after applying your PCIe2 series I don't have the above > > node so the patch doesn't apply to mainline. > > You are missing naneng-combphy support: > > https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v6.6-armsoc/dts64&id=6ebd55b3bba383e0523b0c014f17c97f3ce80708 Thanks! It looks like the PCIe2 commit that adds support to rk3588(s).dtsi files is also missing an #include for the PHY_TYPE_PCIE use, otherwise the DTS fail to compile. Best regards, Liviu > > -- Sebastian -- Everyone who uses computers frequently has had, from time to time, a mad desire to attack the precocious abacus with an axe. -- John D. Clark, Ignition!