Linux Tegra architecture development
 help / color / mirror / Atom feed
* [PATCH V4] phy: tegra: p2u: Broaden architecture dependency
       [not found] <20250417074607.2281010-1-vidyas@nvidia.com>
@ 2025-05-08  5:20 ` Vidya Sagar
  2025-05-08 12:17   ` Niklas Cassel
  2025-05-08 12:51   ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Vidya Sagar @ 2025-05-08  5:20 UTC (permalink / raw)
  To: vkoul, kishon, manivannan.sadhasivam, bhelgaas, cassel
  Cc: linux-phy, linux-tegra, linux-kernel, treding, jonathanh, kthota,
	mmaddireddy, vidyas, sagar.tv

Replace the ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC dependency with a 
more generic ARCH_TEGRA check for the Tegra194 PIPE2UPHY PHY driver.
This allows the PHY driver to be built on all Tegra platforms instead
of being limited to specific SoCs.

Link: https://patchwork.kernel.org/project/linux-pci/patch/20250128044244.2766334-1-vidyas@nvidia.com/
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
---
v4:
* Split the Tegra194 driver and phy driver changes

v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/phy/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/tegra/Kconfig b/drivers/phy/tegra/Kconfig
index f30cfb42b210..342fb736da4b 100644
--- a/drivers/phy/tegra/Kconfig
+++ b/drivers/phy/tegra/Kconfig
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
 	tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
-- 
2.25.1 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V4] phy: tegra: p2u: Broaden architecture dependency
  2025-05-08  5:20 ` [PATCH V4] phy: tegra: p2u: Broaden architecture dependency Vidya Sagar
@ 2025-05-08 12:17   ` Niklas Cassel
  2025-05-08 12:51   ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Niklas Cassel @ 2025-05-08 12:17 UTC (permalink / raw)
  To: Vidya Sagar
  Cc: vkoul, kishon, manivannan.sadhasivam, bhelgaas, linux-phy,
	linux-tegra, linux-kernel, treding, jonathanh, kthota,
	mmaddireddy, sagar.tv

On Thu, May 08, 2025 at 10:50:21AM +0530, Vidya Sagar wrote:
> Replace the ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC dependency with a 
> more generic ARCH_TEGRA check for the Tegra194 PIPE2UPHY PHY driver.
> This allows the PHY driver to be built on all Tegra platforms instead
> of being limited to specific SoCs.
> 
> Link: https://patchwork.kernel.org/project/linux-pci/patch/20250128044244.2766334-1-vidyas@nvidia.com/
> Signed-off-by: Vidya Sagar <vidyas@nvidia.com>

Looks good to me, but there will need coordination between the
PHY and PCI maintainers for this to not cause a kernel test bot
build failure, if the PCI patch is merged before the PHY patch.

Reviewed-by: Niklas Cassel <cassel@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V4] phy: tegra: p2u: Broaden architecture dependency
  2025-05-08  5:20 ` [PATCH V4] phy: tegra: p2u: Broaden architecture dependency Vidya Sagar
  2025-05-08 12:17   ` Niklas Cassel
@ 2025-05-08 12:51   ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2025-05-08 12:51 UTC (permalink / raw)
  To: Vidya Sagar
  Cc: vkoul, kishon, manivannan.sadhasivam, bhelgaas, cassel, linux-phy,
	linux-tegra, linux-kernel, treding, jonathanh, kthota,
	mmaddireddy, sagar.tv

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

On Thu, May 08, 2025 at 10:50:21AM +0530, Vidya Sagar wrote:
> Replace the ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC dependency with a 
> more generic ARCH_TEGRA check for the Tegra194 PIPE2UPHY PHY driver.
> This allows the PHY driver to be built on all Tegra platforms instead
> of being limited to specific SoCs.
> 
> Link: https://patchwork.kernel.org/project/linux-pci/patch/20250128044244.2766334-1-vidyas@nvidia.com/
> Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
> ---
> v4:
> * Split the Tegra194 driver and phy driver changes
> 
> v3:
> * Addressed warning from kernel test robot
> 
> v2:
> * Addressed review comments from Niklas Cassel and Manivannan Sadhasivam
> 
>  drivers/phy/tegra/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-08 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250417074607.2281010-1-vidyas@nvidia.com>
2025-05-08  5:20 ` [PATCH V4] phy: tegra: p2u: Broaden architecture dependency Vidya Sagar
2025-05-08 12:17   ` Niklas Cassel
2025-05-08 12:51   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox