Re: [PATCH net-next 10/12] net: stmmac: tc956x: add TC956x/QPS615 support

Xilin Wu
2026-05-06T12:59:20Z

On 5/1/2026 11:54 PM, Alex Elder wrote:
> + /* AXI Configuration */
> + axi = &td->axi;
> + axi->axi_lpi_en = 1;
> + axi->axi_wr_osr_lmt = 31;
> + axi->axi_rd_osr_lmt = 31;
> + /* All sizes (2^2..2^8) are supported */
> + axi->axi_blen_regval = DMA_AXI_BLEN_MASK;
> + plat->axi = axi;
> +
> + plat->mac_port_sel_speed = speed;
> + plat->flags = STMMAC_FLAG_MULTI_MSI_EN | STMMAC_FLAG_TSO_EN;

I got WoL working only after adding STMMAC_FLAG_USE_PHY_WOL here. I
guess it's required, since the driver clocks down the MAC/PMA/XPCS in
its suspend hook?

--
Best regards,
Xilin Wu <sophon@radxa.com>