Skip to contentSkip to conversation

net: dwc_eth_qos: update the compatible supported for STM32

PATCH RESEND New Patrick Delaunay 2 participants 2 messages May 14, 2020 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 net: dwc_eth_qos: update the compatible supported for STM32

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";
	...
};

---
RESEND with fix patman on Series-cc

 drivers/net/dwc_eth_qos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dwc_eth_qos.c +1 -1
index f67c5f4570..5e7ad6c658 100644
@@ -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
 	},
 	{
Signature · 1 line
2.17.1
#1 lore raw

PATCH RESEND 1/1 net: dwc_eth_qos: update the compatible supported for STM32

Hi Patrick

Quoted 32 lines · Patrick Delaunay

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";
	...
};

---
RESEND with fix patman on Series-cc

 drivers/net/dwc_eth_qos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dwc_eth_qos.c +0 -0
index f67c5f4570..5e7ad6c658 100644

drivers/net/dwc_eth_qos.c static const struct udevice_id eqos_ids[] = { · line 2172

Quoted 8 lines
drivers/net/dwc_eth_qos.c +1 -1
@@ -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
 	},
 	{

Patrice