summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-03-27 06:39:47 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-27 06:39:47 +0300
commit5fffa6fe40f07e831dc387170405b7f3486d14d0 (patch)
treeb1af7cfcb1aba4d286f5f76490da7b45495eeb34
parentf8844dfeeae88db074146e3f8a865b5565f61b40 (diff)
parentaf0331e1ac51f48d0cc6bb09547b8c8ae467a019 (diff)
downloadlinux-5fffa6fe40f07e831dc387170405b7f3486d14d0.tar.xz
Merge branch 'net-stmmac-remove-unused-and-unimplemented-axi-properties'
Russell King says: ==================== net: stmmac: remove unused and unimplemented AXI properties commit afea03656add ("stmmac: rework DMA bus setting and introduce new platform AXI structure") added support for parsing all the stmmac AXI attributes, and added code to set most of the appropriate register bits with three exceptions: snps,kbbe snps,mb snps,rb These were parsed by the driver, but the result of parsing was never used by any of the cores. Moreover, no DTS in the kernel makes use of these properties. Thus, it doesn't make sense for the driver to parse these, so let's remove them. Also remove them from the DT binding document. ==================== Link: https://patch.msgid.link/acJh4z3pRKkeaFbR@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/net/snps,dwmac.yaml18
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/dwmac-motorcomm.c1
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c3
-rw-r--r--include/linux/stmmac.h3
4 files changed, 0 insertions, 25 deletions
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index c25903c74484..2449311c6d28 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -204,11 +204,8 @@ properties:
* snps,xit_frm, unlock on WoL
* snps,wr_osr_lmt, max write outstanding req. limit
* snps,rd_osr_lmt, max read outstanding req. limit
- * snps,kbbe, do not cross 1KiB boundary.
* snps,blen, this is a vector of supported burst length.
* snps,fb, fixed-burst
- * snps,mb, mixed-burst
- * snps,rb, rebuild INCRx Burst
snps,mtl-rx-config:
$ref: /schemas/types.yaml#/definitions/phandle
@@ -588,11 +585,6 @@ properties:
description:
max read outstanding req. limit
- snps,kbbe:
- $ref: /schemas/types.yaml#/definitions/flag
- description:
- do not cross 1KiB boundary.
-
snps,blen:
$ref: /schemas/types.yaml#/definitions/uint32-array
description:
@@ -605,16 +597,6 @@ properties:
description:
fixed-burst
- snps,mb:
- $ref: /schemas/types.yaml#/definitions/flag
- description:
- mixed-burst
-
- snps,rb:
- $ref: /schemas/types.yaml#/definitions/flag
- description:
- rebuild INCRx Burst
-
required:
- compatible
- reg
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-motorcomm.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-motorcomm.c
index d245546b90db..02c786ce5dd4 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-motorcomm.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-motorcomm.c
@@ -231,7 +231,6 @@ motorcomm_default_plat_data(struct pci_dev *pdev)
plat->axi->axi_wr_osr_lmt = 1;
plat->axi->axi_rd_osr_lmt = 1;
- plat->axi->axi_mb = true;
plat->axi->axi_blen_regval = DMA_AXI_BLEN4 | DMA_AXI_BLEN8 |
DMA_AXI_BLEN16 | DMA_AXI_BLEN32;
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 545b8a3425eb..5cae2aa72906 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -109,10 +109,7 @@ static struct stmmac_axi *stmmac_axi_setup(struct platform_device *pdev)
axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en");
axi->axi_xit_frm = of_property_read_bool(np, "snps,xit_frm");
- axi->axi_kbbe = of_property_read_bool(np, "snps,kbbe");
axi->axi_fb = of_property_read_bool(np, "snps,fb");
- axi->axi_mb = of_property_read_bool(np, "snps,mb");
- axi->axi_rb = of_property_read_bool(np, "snps,rb");
if (of_property_read_u32(np, "snps,wr_osr_lmt", &axi->axi_wr_osr_lmt))
axi->axi_wr_osr_lmt = 1;
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 5b2bece81448..eaaee329ef9d 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -133,10 +133,7 @@ struct stmmac_axi {
u32 axi_blen_regval;
bool axi_lpi_en;
bool axi_xit_frm;
- bool axi_kbbe;
bool axi_fb;
- bool axi_mb;
- bool axi_rb;
};
struct stmmac_rxq_cfg {