[PATCHv2 1/2] phy: miphy28lp: add COMPILE_TEST

Patrice CHOTARD patrice.chotard at foss.st.com
Sun Mar 8 23:49:02 PDT 2026



On 3/6/26 23:24, Rosen Penev wrote:
> There's nothing special here to prevent compilation on non ARM hosts.
> 
> Matches every other st phy driver.
> 
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
> ---
>  drivers/phy/st/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/phy/st/Kconfig b/drivers/phy/st/Kconfig
> index 304614b6dabf..49206185e563 100644
> --- a/drivers/phy/st/Kconfig
> +++ b/drivers/phy/st/Kconfig
> @@ -4,7 +4,7 @@
>  #
>  config PHY_MIPHY28LP
>  	tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
> -	depends on ARCH_STI
> +	depends on ARCH_STI || COMPILE_TEST
>  	select GENERIC_PHY
>  	help
>  	  Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
> --
> 2.53.0
> 

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice



More information about the linux-phy mailing list