net: ethernet: ti: am65-cpsw/cpts: Add suspend/resume helpers
authorRoger Quadros <rogerq@kernel.org>
Fri, 4 Nov 2022 13:23:06 +0000 (15:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2022 12:20:03 +0000 (12:20 +0000)
commitcef122d4cf5b6463d16e71ed04330f32a526a6ab
treeb08af93fe6d96f9004d810360d357be5bbac2b83
parent4e0243e7128c9b25ea2739136076a95d6adaba5e
net: ethernet: ti: am65-cpsw/cpts: Add suspend/resume helpers

CPTS looses context on suspend (e.g. on AM62).
Provide suspend/resume hooks in CPTS driver. These will be
invoked by CPSW driver if CPTS was instantiated by CPSW.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/am65-cpts.c
drivers/net/ethernet/ti/am65-cpts.h