From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.cjdns.fr (mail.cjdns.fr [5.135.140.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E2C33ACF00; Wed, 13 May 2026 19:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.135.140.105 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778699829; cv=none; b=O/F9CEhmXHLnShzJK0KS/zqblWoF9TrGEKRz/VCKbFAHp81ts1K5hw5ETOvQ+d/QivlUV/eSl0XPZT4IhEZ9QsowLaPhhJyGjIsaIbNB0Hy+uGQ5zXppdruGIPLuA3xdmkevrLMnJhLPwR+D/3ywpMs5be24YKmVOiFwyhioLn0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778699829; c=relaxed/simple; bh=hSjtIQ/fZl4T5bmFyiUQg/HBlMC5ZbSw248owHN+e6U=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=uFb+iOIpwdj6NCCZPekBXysb2Me/heCBCEZO7aq0duqCWp9Rl9pWB4ncW2+r54KnAWTvyq61p4AYF6N32m4Bq5O1q0AwwXl5/m+64wV+rkQu7SFpJRa1pWkXkQhwVygSSEqZ1rD7EVubabknDEcOto8FUPyax+6S2eZO7Qc3tB0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr; spf=none smtp.mailfrom=cjdns.fr; dkim=pass (2048-bit key) header.d=cjdns.fr header.i=@cjdns.fr header.b=j+DVAufe; arc=none smtp.client-ip=5.135.140.105 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=cjdns.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cjdns.fr header.i=@cjdns.fr header.b="j+DVAufe" Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BEA863C5B23; Wed, 13 May 2026 21:17:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjdns.fr; s=dkim; t=1778699824; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=t+hA9k+ktRJ0aukF5hp1hKdiqKCa091x1jCP/SKfXF8=; b=j+DVAufeDZjhm7TVd0m6Vhn8/jd/o6UvgXoKucLvwZtovmZDE9DoKj/+D2jKipDrOLHA6r esKS6GH6jWTWG0fhTafcmUiufkHR7QoMUal241QSxD017W2bkgWbON87SBcYgb0baexLu4 Yi9BiBCaSztuzR6enPJSwpxVik9KyJ/wyOMrQo9LCFlXigeo7WK4eW2vR22KnBCI6BD2x+ yjNsF4auaQ1mcZSwLtZtb7WVaNk9g2nsaCF1UNXciAMpC+IABB1c5LrhNOvxDYtG5K3BR2 fc4sL3xV9IZxunsIppR9rueicaV5C+Y5urGGv8Rj+XxEkxYjsi2qFsBOhB1hbg== From: Caleb James DeLisle To: linux-pci@vger.kernel.org Cc: linux-mips@vger.kernel.org, naseefkm@gmail.com, ryder.lee@mediatek.com, helgaas@kernel.org, lpieralisi@kernel.org, kwilczynski@kernel.org, mani@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, ansuelsmth@gmail.com, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Caleb James DeLisle Subject: [PATCH v6 0/2] Add EcoNet EN7528 (and EN751221) PCIe support. Date: Wed, 13 May 2026 19:16:50 +0000 Message-Id: <20260513191652.3200607-1-cjd@cjdns.fr> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Changes from v5: * s/errno-base.h/errno.h/ * Breakout mtk_pcie_retrain() into a function * Use for_each_pci_bridge() to find root bridge * v5: https://lore.kernel.org/linux-mips/20260413140339.16238-1-cjd@cjdns.fr/ Changes from v4: * Fixed missing Acked-by * Rebased to 66672af7a095d89f082c5327f3b15bc2f93d558e * v4: https://lore.kernel.org/linux-mips/20260404182854.2183651-1-cjd@cjdns.fr/ Changes from v3: * s/initiallized/initialized/ * Use PCIE_T_PVPERL_MS for sleep time * Use PCI_PM_D3COLD_WAIT for startup wait time * Clarify comment "Activate INTx interrupts" * Add MTK_PCIE_RETRAIN quirk for devices which require link re-train * Do not retrain *all* bridges, only root bridge * Better comments and logging in retraining logic * v3: https://lore.kernel.org/linux-mips/20260320094212.696671-1-cjd@cjdns.fr/ Changes from v2: * mediatek-pcie.yaml -> s/power-domain/power-domains/ and drop example * Patch 3 dropped as it has been applied (Thanks!) * v2: https://lore.kernel.org/linux-mips/20260316155157.679533-1-cjd@cjdns.fr/ Changes from v1: * mediatek-pcie.yaml slot0 needs device-type = "pci", fix dt_binding_check Link: https://lore.kernel.org/linux-mips/177334026016.3889069.9474337544951486443.robh@kernel.org * v1: https://lore.kernel.org/linux-mips/20260312165332.569772-1-cjd@cjdns.fr/ This was split from a larger PCIe patchset which crossed multiple subsystems. I'm not labeling this a v3 because it's a new patchset, but I'm keeping the historical record anyway. Changes from econet-pcie v2: * mediatek-pcie.yaml add missing constraints to PCI node properties * econet-pcie v2: https://lore.kernel.org/linux-mips/20260309131818.74467-1-cjd@cjdns.fr Changes from econet-pcie v1: * pcie-mediatek.c Exclude pcie_retrain_link() when building as a module * econet-pcie v1: https://lore.kernel.org/linux-mips/20260303190948.694783-1-cjd@cjdns.fr/ Caleb James DeLisle (2): dt-bindings: PCI: mediatek: Add support for EcoNet EN7528 PCI: mediatek: Add support for EcoNet EN7528 SoC .../bindings/pci/mediatek-pcie.yaml | 26 +++ drivers/pci/controller/Kconfig | 2 +- drivers/pci/controller/pcie-mediatek.c | 150 ++++++++++++++++++ 3 files changed, 177 insertions(+), 1 deletion(-) base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83 -- 2.39.5