net: macb: add polarfire soc reset support
authorConor Dooley <conor.dooley@microchip.com>
Wed, 6 Jul 2022 09:51:26 +0000 (10:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Jul 2022 03:01:50 +0000 (20:01 -0700)
commit8aad66aa59be53e7bc5d0591db1a8147049dba4c
tree38311bbb0a38c940c1fad193babba09eb588b6be
parentb09c6f8ff73157b5359eb5c1473d8d3678b2409e
net: macb: add polarfire soc reset support

To date, the Microchip PolarFire SoC (MPFS) has been using the
cdns,macb compatible, however the generic device does not have reset
support. Add a new compatible & .data for MPFS to hook into the reset
functionality added for zynqmp support (and make the zynqmp init
function generic in the process).

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c