Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1723910rwi; Mon, 10 Oct 2022 22:27:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7B+WrgQaApeAg1MqkEj6z6IsafeC3xGruiFaIrQ2Ivj7tMeyPwKUU2R4yhk1hFHRUiBK+3 X-Received: by 2002:a05:6402:380a:b0:451:ae08:7a6c with SMTP id es10-20020a056402380a00b00451ae087a6cmr20278126edb.161.1665466045923; Mon, 10 Oct 2022 22:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665466045; cv=none; d=google.com; s=arc-20160816; b=SFdspdkTuVxqSX5O4QRjnRmOj6HEtVzfswXRanbJtvJLFp6fo4fNZz+g+T8tquyDHz EXqj3izVfC2l5Nk0xV2dO1/BpMCOSvUZ8bdsGmZt0jWKsfXeqpcxU+JrS8KVQRSSTeRk nko56xJqMH83oNCJC9s++cS0qX7Q1IOTOVZrzS4cpyhgS+mRt60tTMkyTVDPaVaE9Fip ztjIDssu1Kc9+P+9yHgNkzF+v5cFlKI4tFVp7wE6xUXNoAoDMwJjZrxUQj80VbvI2nir npk+RgmFkCKutLKnh0Z7nhIgCkZruFf5Kp6/QRngtG5atajit8ckvyURmCZlh/AAZN8P 2FsA== 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=RIvDTD88Q5aqj0y5uenzJkWztoDkBAY3byn/dBOudeE=; b=Mvcs62Jxe5b9Bi2Ut52Pj8+PMfjs6m7fFtEdChLfxND4i/BCTMvGVOqh0tyswiey84 yQcwKEYsays9Oalwnk0C2XL7pgwlt1IF1u5+5MLSxQZox2td7fspdUDV4WssCaCmAjP4 uI3C5CjNT5hAARjKwlWtOJrtTISyZAnZWNfJ1G/Ip2PDVT1HF+JZcvsbGfghPS4J6ppJ yRh6LsFj7kcTsbmwMvs3va9Fy/nrQ7KxFBeqI+4Wp+GQz3rk1UK+kJDRGc4Wv4jqExow GSAhKD0G4zpmqdqA7AqEWqhhGFti34AxlQVABdsRGFE+DHF4kSv0/2Mgn1/QOEKb1h2I L3MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@omnom-net.20210112.gappssmtp.com header.s=20210112 header.b=EVA5wQHp; 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 jg26-20020a170907971a00b0078cb8b09d34si13295681ejc.216.2022.10.10.22.26.58; Mon, 10 Oct 2022 22:27:25 -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=@omnom-net.20210112.gappssmtp.com header.s=20210112 header.b=EVA5wQHp; 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 S229492AbiJKEle (ORCPT + 99 others); Tue, 11 Oct 2022 00:41:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbiJKElb (ORCPT ); Tue, 11 Oct 2022 00:41:31 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C73E140FA for ; Mon, 10 Oct 2022 21:41:30 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id r18so11845133pgr.12 for ; Mon, 10 Oct 2022 21:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omnom-net.20210112.gappssmtp.com; s=20210112; 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=RIvDTD88Q5aqj0y5uenzJkWztoDkBAY3byn/dBOudeE=; b=EVA5wQHpq0CK/mlaafqza8TV+2AW5CwpjLiSkAtQMcrFNtma67C98aFiD6LL7oumiJ 4Z/4sh82hlDE9sHeBUO1GTAN5NfO8eXvfzZAz2yhpjIelZ5qyah8J4SZuY6grAcCgoES 1AX3vKcks4rGIpnMFwkxsJGhIL+Zd+/u9A9l8370pQAGbB3Y1kCXa6qJMxN4rDuyfsG6 rPP367hdQPMa9RTQ4xbwhFQGxpc00kwISKPWO1E2jK0z2Lq+lNu8+DqYGLcfU7aYb23E KDbkB8X6gp6a/z9b6DNoRmTJ6BkfIVnSBs9u1wUEhZTWjrx0u9PFesGBfCUGL34TZ99H W8aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=RIvDTD88Q5aqj0y5uenzJkWztoDkBAY3byn/dBOudeE=; b=rTNL0j+G+rVkhJLj8TnCZGaGsuJo6MJw24qfes+CB4Yxbsd8uVCpPbIqPWTWXtLBvD iUo70Dleif64+GWD3ER7yepywneVn4fQ7mwGqivIdjbMqjovJYl0QdRMZnWE5TalN8Um qG1XUCgqkl2lgSt6D58Y40hx3XfpMMWUJJf5OQVCqg4IKjFjeoxaOKyEA0AEdWcvvOrV lZM68rhD+1GvmPc2sfhcPOzKR4anKvz4YTCD1YGr1ep8YiFYh02jaJin/biT3HYPXejy oyQWqVTva+Rm0pInOX0UeDSWND9Tgt+mWFsTkCrj6tl1D89FxMQOApdMEc668WBKDP/M pykw== X-Gm-Message-State: ACrzQf3fw4g2Kc8Oq473gnLTG2nWB/gs7QpEWXLpHxTUmF1xcV1SIjhd Nrd4aC/ORNPtTyNTzjpFasNTkg== X-Received: by 2002:aa7:9d11:0:b0:563:9272:b659 with SMTP id k17-20020aa79d11000000b005639272b659mr4800544pfp.86.1665463290135; Mon, 10 Oct 2022 21:41:30 -0700 (PDT) Received: from [172.21.10.158] (119-18-16-128.771210.mel.static.aussiebb.net. [119.18.16.128]) by smtp.gmail.com with ESMTPSA id 123-20020a620481000000b00562832fc0ffsm7768342pfe.56.2022.10.10.21.41.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 21:41:29 -0700 (PDT) Message-ID: <5bec43fe-ff81-bc68-7b62-9e605b7e1f42@omnom.net> Date: Tue, 11 Oct 2022 15:41:20 +1100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v5 1/5] dt-bindings: phy: rockchip: add PCIe v3 phy Content-Language: en-US To: Sebastian Reichel , Frank Wunderlich Cc: Rob Herring , linux-rockchip@lists.infradead.org, Frank Wunderlich , Kishon Vijay Abraham I , Vinod Koul , Krzysztof Kozlowski , Heiko Stuebner , Philipp Zabel , Yifeng Zhao , Johan Jonker , Peter Geis , Simon Xue , Liang Chen , Shawn Lin , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski References: <20220825193836.54262-1-linux@fw-web.de> <20220825193836.54262-2-linux@fw-web.de> <20221004150929.GA1506199-robh@kernel.org> <20221004205744.q5eybgbx6syszsqq@mercury.elektranox.org> From: Andrew Powers-Holmes In-Reply-To: <20221004205744.q5eybgbx6syszsqq@mercury.elektranox.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,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 On 5/10/2022 7:57 am, Sebastian Reichel wrote: > Hi, > > On Tue, Oct 04, 2022 at 05:19:11PM +0200, Frank Wunderlich wrote: >> Am 4. Oktober 2022 17:09:29 MESZ schrieb Rob Herring : >>> On Thu, Aug 25, 2022 at 09:38:32PM +0200, Frank Wunderlich wrote: >>>> From: Frank Wunderlich >> >>>> +properties: >>>> + compatible: >>>> + enum: >>>> + - rockchip,rk3568-pcie3-phy >>> >>> The driver also has 'rockchip,rk3588-pcie3-phy'. Please send a fix >>> adding it here or removing from the driver. Are they not compatible with >>> each other? >> >> Right, original driver has rk3588 support,but we can't test it. >> Initialization and lane-mapping (bifurcation) was bit different. >> So we wanted to upstream rk3568 first (but have not removed this >> part from driver). >> >> I see that someone added rk3588 basic support and if he can test >> rk3588 i can send compatible for it. > > Basic rk3588 support is still WIP. At the moment patches for the CRU > are still pending as well as base DT. I hope to land them for v6.2 > (so next merge window). At the same time I don't think PCIe support > is realistic before v6.3. Hi all, I can confirm this patchset successfully brings up the PCIe 3.0 controller/PHY on an RK3588 - I'm using a Pine64 QuartzPro64, which is very similar to the Rockchip RK3588-EVB1 board. Runs fine at x1, x2, x4 lane widths and full 8GT/s lane throughput. The PCIe 2.0 lanes (which use the same PCIe controller driver) need some changes to the rockchip-naneng-combphy driver that I've not quite gotten to a working state, but that's unrelated to this series. I have a (very messy) tree based on v6.0 (on GitHub at [0]) with Sebastian's other RK3588 support patches dropped in, along with this series and a few other tweaks. Works quite well :) So insofar as RK3588 support is concerned, Tested-By: Andrew Powers-Holmes [0] https://github.com/neggles/linux-quartz64/tree/qp64-pcie Cheers, A