Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ethernet: ti: am65-cpsw: add support for J722S SoC family

The J722S CPSW3G is mostly identical to the AM64's, but additionally
supports SGMII.

Signed-off-by: Nora Schiffer <nora.schiffer@ew.tq-group.com>
Link: https://patch.msgid.link/6118e81358d47f455e4c1dbddf3ece6f3329e184.1775558273.git.nora.schiffer@ew.tq-group.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Nora Schiffer and committed by
Jakub Kicinski
436e9e48 f757a2da

+8
+8
drivers/net/ethernet/ti/am65-cpsw-nuss.c
··· 3468 3468 .fdqring_mode = K3_RINGACC_RING_MODE_RING, 3469 3469 }; 3470 3470 3471 + static const struct am65_cpsw_pdata j722s_cpswxg_pdata = { 3472 + .quirks = AM64_CPSW_QUIRK_DMA_RX_TDOWN_IRQ, 3473 + .ale_dev_id = "am64-cpswxg", 3474 + .fdqring_mode = K3_RINGACC_RING_MODE_RING, 3475 + .extra_modes = BIT(PHY_INTERFACE_MODE_SGMII), 3476 + }; 3477 + 3471 3478 static const struct am65_cpsw_pdata j7200_cpswxg_pdata = { 3472 3479 .quirks = 0, 3473 3480 .ale_dev_id = "am64-cpswxg", ··· 3502 3495 { .compatible = "ti,am654-cpsw-nuss", .data = &am65x_sr1_0}, 3503 3496 { .compatible = "ti,j721e-cpsw-nuss", .data = &j721e_pdata}, 3504 3497 { .compatible = "ti,am642-cpsw-nuss", .data = &am64x_cpswxg_pdata}, 3498 + { .compatible = "ti,j722s-cpsw-nuss", .data = &j722s_cpswxg_pdata}, 3505 3499 { .compatible = "ti,j7200-cpswxg-nuss", .data = &j7200_cpswxg_pdata}, 3506 3500 { .compatible = "ti,j721e-cpswxg-nuss", .data = &j721e_cpswxg_pdata}, 3507 3501 { .compatible = "ti,j784s4-cpswxg-nuss", .data = &j784s4_cpswxg_pdata},