]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48733e91013ca7e3a9201f1b8baa11cb69153dbe
tree38311bbb0a38c940c1fad193babba09eb588b6be
parentd9052160ce19aab678d1136d207439aa1fe6fbdc
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