All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH] net: dwc_eth_qos: update the compatible supported for STM32
@ 2020-05-14 13:00 Patrick Delaunay
  2020-05-14 13:37 ` [Uboot-stm32] " Patrice CHOTARD
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Delaunay @ 2020-05-14 13:00 UTC (permalink / raw)
  To: u-boot

Update the compatible associated with the STM32 MPU glue
in the DWC ethernet driver.

The supported compatible is the specific "st,stm32mp1-dwmac"
as indicated in Linux binding
Documentation/devicetree/bindings/net/stm32-dwmac.txt
and not the "snps,dwmac-4.20a" only used to the select IP
version.

This glue is implemented in Linux kernel in:
drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c

For information in stm32mp151.dtsi, the 2 compatibles are
supported:

ethernet0: ethernet at 5800a000 {
	compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
	...
};

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---
RESEND with fix patman on Series-cc

 drivers/net/dwc_eth_qos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index f67c5f4570..5e7ad6c658 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -2166,7 +2166,7 @@ static const struct udevice_id eqos_ids[] = {
 		.data = (ulong)&eqos_tegra186_config
 	},
 	{
-		.compatible = "snps,dwmac-4.20a",
+		.compatible = "st,stm32mp1-dwmac",
 		.data = (ulong)&eqos_stm32_config
 	},
 	{
-- 
2.17.1

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

* [Uboot-stm32] [RESEND PATCH] net: dwc_eth_qos: update the compatible supported for STM32
  2020-05-14 13:00 [RESEND PATCH] net: dwc_eth_qos: update the compatible supported for STM32 Patrick Delaunay
@ 2020-05-14 13:37 ` Patrice CHOTARD
  0 siblings, 0 replies; 2+ messages in thread
From: Patrice CHOTARD @ 2020-05-14 13:37 UTC (permalink / raw)
  To: u-boot

Hi Patrick

On 5/14/20 3:00 PM, Patrick Delaunay wrote:
> Update the compatible associated with the STM32 MPU glue
> in the DWC ethernet driver.
>
> The supported compatible is the specific "st,stm32mp1-dwmac"
> as indicated in Linux binding
> Documentation/devicetree/bindings/net/stm32-dwmac.txt
> and not the "snps,dwmac-4.20a" only used to the select IP
> version.
>
> This glue is implemented in Linux kernel in:
> drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
>
> For information in stm32mp151.dtsi, the 2 compatibles are
> supported:
>
> ethernet0: ethernet at 5800a000 {
> 	compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
> 	...
> };
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
> RESEND with fix patman on Series-cc
>
>  drivers/net/dwc_eth_qos.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
> index f67c5f4570..5e7ad6c658 100644
> --- a/drivers/net/dwc_eth_qos.c
> +++ b/drivers/net/dwc_eth_qos.c
> @@ -2166,7 +2166,7 @@ static const struct udevice_id eqos_ids[] = {
>  		.data = (ulong)&eqos_tegra186_config
>  	},
>  	{
> -		.compatible = "snps,dwmac-4.20a",
> +		.compatible = "st,stm32mp1-dwmac",
>  		.data = (ulong)&eqos_stm32_config
>  	},
>  	{

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

Patrice

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

end of thread, other threads:[~2020-05-14 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 13:00 [RESEND PATCH] net: dwc_eth_qos: update the compatible supported for STM32 Patrick Delaunay
2020-05-14 13:37 ` [Uboot-stm32] " Patrice CHOTARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.