Re: [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality

From: Manivannan Sadhasivam

Date: Wed Mar 04 2026 - 23:55:34 EST


On Fri, Feb 20, 2026 at 03:40:30PM +0530, Aksh Garg wrote:
> Configure Non-Transparent Bridge (NTB) components to build along with
> J721E PCIe controller driver to add support for PCI NTB functionality
> in TI SoCs.
>

Driver Kconfig is not the place to select your usecase specific drivers. Drivers
should only select drivers that they themselves need it, not the end usecase.

So please do it in your distro config or arch defconfig as you see fit.

- Mani

> NTB_NETDEV allows to setup a virtual ethernet interface over the
> NTB Transport layer, enabling connected systems to communicate with
> each other using standard network protocols and transfer data as
> ethernet traffic over the link.
>
> Signed-off-by: Aksh Garg <a-garg7@xxxxxx>
> ---
> drivers/pci/controller/cadence/Kconfig | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
> index 9e651d545973..2da9d4ed3ed0 100644
> --- a/drivers/pci/controller/cadence/Kconfig
> +++ b/drivers/pci/controller/cadence/Kconfig
> @@ -76,6 +76,10 @@ config PCI_J721E_HOST
> depends on ARCH_K3 || COMPILE_TEST
> depends on OF
> select PCI_J721E
> + imply NTB
> + imply NTB_TRANSPORT
> + imply NTB_EPF
> + imply NTB_NETDEV
> help
> Say Y here if you want to support the TI J721E PCIe platform
> controller in host mode. TI J721E PCIe controller uses Cadence PCIe
> @@ -87,6 +91,7 @@ config PCI_J721E_EP
> depends on OF
> depends on PCI_ENDPOINT
> select PCI_J721E
> + imply PCI_EPF_NTB
> help
> Say Y here if you want to support the TI J721E PCIe platform
> controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
> --
> 2.34.1
>

--
மணிவண்ணன் சதாசிவம்