Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5911540rwp; Mon, 17 Jul 2023 11:23:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEEDiywLdljTPezaMGsdhHWGVjVQ3ko0yGESY9WKwQl9llNuzN228wcfMWv5VqAtYPIbA3E X-Received: by 2002:a17:902:e5c4:b0:1b8:a843:815 with SMTP id u4-20020a170902e5c400b001b8a8430815mr14494063plf.62.1689618213978; Mon, 17 Jul 2023 11:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689618213; cv=none; d=google.com; s=arc-20160816; b=TZiQfkV6i2WSbubyUDL0Uxg0vbOR6oA6ITpN//3Y5bUztZ8ZHI+qZwOOI9WPSKj63O WMaIcSpyU1LmmCZmZZmPXpDChx53XLrCe8FZ8EUaxJyKYuh0sGOcrGFRuPSbWzSUNT6w 7uoxXOvONeiu9gsVgzR1WbwtMiRFJB+EKrKL5THVOdl6Bd1yLJOCXgEhn6L4ar/egpu3 nd8ejkOaqQJmbwqmQj+jWsbA9iS7G40yW614CiShbDYVbrQpBWN96ehtqKgujj/70pwD UFLJYaQCF8Di69yCLy2QxryCAWi+l2wZ7L1RN7BjlDmeYf4uANUdT8Fm8MR4UQ854B54 okzA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=X3pZE+q1JIgjgDLISCm+q+blQGh9jr+TORf6TXUaFaY=; fh=L78lNoXHHqlS211q3DjYUOv5IqvCGKhjG4joZnQ+eic=; b=krcycfS0kebgID1w+19X5Vc36Ul6HIVeYq8YBgqNjgHv3kz/PGAO99N4e6fygSEJZc yCaDw+/gFhNGnguKQGGzLeJHgl8Qq8N2NaRVg2/mr591g6i68TgPl7D1Vw9wh0upAfjs oQcFWK6dTh6lASZPmMa/0xLTUEw6uJRuYWYW8q4zJ0NOlYRuMtv3PXvXJuODtAAi+XWN PAXGVwOgFeFKhJ6fBqfAUjBHftzoUnluLJYEvYDd5RCljN01ejnsEYIYUBIpb5Wj6QlV 1NWJ4DL4PWauQ6xPXuc4YpaflOcI1W5+6fO7ZIa2PLG7TuT69ZmQzmJN1ErMK138v5UG DBeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="F6/uz/Gi"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a1709028a8d00b001b8c6890595si206010plo.310.2023.07.17.11.23.21; Mon, 17 Jul 2023 11:23:33 -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=@collabora.com header.s=mail header.b="F6/uz/Gi"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbjGQRgC (ORCPT + 99 others); Mon, 17 Jul 2023 13:36:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbjGQRf5 (ORCPT ); Mon, 17 Jul 2023 13:35:57 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01B35B5; Mon, 17 Jul 2023 10:35:37 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-189-171.ewe-ip-backbone.de [91.248.189.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id C8B636602329; Mon, 17 Jul 2023 18:35:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689615315; bh=UU4KGgu8RlPQoKudc9GjsMWwW3SITngefu1mV+NgQcg=; h=From:To:Cc:Subject:Date:From; b=F6/uz/GiaXgc9Ic/keIGvkOBL24+/kpGMZuaaIy4CtWXCXPFjURzQbp2hv/eivLO6 nbTFikqKdLkCu2icFLkARl4ge5pX2870nMmA1sE7L19p2rXgER+7+mXYBJm4wi7ZXA i7H3AtPl5ZNG8Q2DE8RTyfw67ZycQvYyLoktX253Y0+ElDwIzM/IUR2kTC1BauV9qi zAtCQ9Wol7suTuT9Vem0SgylvJWSMuhdTnzg/z+6okJSIt0F/GYD1KswIpYLWmAjo/ lRfm/ErsEfbZKliNc2YY0q3BDlGThCjUtTwBjiW8AmuwyRrpQCi2wpf84EFMbai/dR rQYfC5Bt9RwUA== Received: by jupiter.universe (Postfix, from userid 1000) id D1BD1480C72; Mon, 17 Jul 2023 19:35:12 +0200 (CEST) From: Sebastian Reichel To: linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jingoo Han , Gustavo Pimentel , Bjorn Helgaas , Lorenzo Pieralisi , Vinod Koul , Kishon Vijay Abraham I , =?UTF-8?q?Krzysztof=20Wilczy=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, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v2 0/2] RK3588 PCIe3 support Date: Mon, 17 Jul 2023 19:35:10 +0200 Message-Id: <20230717173512.65169-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_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 Hi, This adds PCIe v3 support for RK3588. The series depends on the PCIe v2 series [0], since the the same binding is used. It has been tested on Rockchip EVB1 and Radxa Rock 5B. Note, that the PCIe3 PHY driver is currently missing bifurcation support for RK3588. Thus after this series only PCIe3x4 is usable (in aggregated x4 mode) without adding support for the PHY's "rockchip,pcie30-phymode" DT property, which allows configuring how the lanes are distributed. Aggregated 3x4 mode seems to be the most common configuration. Both EVB1 and Rock 5B use it, so I cannot test anything else anyways. [0] https://lore.kernel.org/all/20230717172651.64324-1-sebastian.reichel@collabora.com/ Changes since v1: * https://lore.kernel.org/all/20230714175331.112923-1-sebastian.reichel@collabora.com/ * Collected Acked-by from Conor Dooley * Dropped deprecated and useless num-ib-windows/num-ob-windows/num-viewport properties from DT (Serge Semin) -- Sebastian Sebastian Reichel (2): dt-bindings: phy: rockchip: add RK3588 PCIe v3 phy arm64: dts: rockchip: rk3588: add PCIe3 support .../bindings/phy/rockchip,pcie3-phy.yaml | 33 ++++- arch/arm64/boot/dts/rockchip/rk3588.dtsi | 120 ++++++++++++++++++ 2 files changed, 148 insertions(+), 5 deletions(-) -- 2.40.1