Hi,
This series adds support for SAMA7G5 Ethernet interfaces: one 10/100Mbps
and one 1Gbps interfaces.
Along with it I also included a fix to disable clocks for SiFive FU540-C000
on failure path of fu540_c000_clk_init().
Thank you,
Claudiu Beznea
Changed in v3:
- use clk_bulk_disable_unprepare in patch 3/8
- corrected clang compilation warning in patch 3/8
- revert changes in macb_clk_init() in patch 3/8
Changes in v2:
- introduced patch "net: macb: add function to disable all macb clocks" and
update patch "net: macb: unprepare clocks in case of failure" accordingly
- collected tags
Claudiu Beznea (8):
net: macb: add userio bits as platform configuration
net: macb: add capability to not set the clock rate
net: macb: add function to disable all macb clocks
net: macb: unprepare clocks in case of failure
dt-bindings: add documentation for sama7g5 ethernet interface
dt-bindings: add documentation for sama7g5 gigabit ethernet interface
net: macb: add support for sama7g5 gem interface
net: macb: add support for sama7g5 emac interface
Documentation/devicetree/bindings/net/macb.txt | 2 +
drivers/net/ethernet/cadence/macb.h | 11 ++
drivers/net/ethernet/cadence/macb_main.c | 134 ++++++++++++++++++-------
3 files changed, 111 insertions(+), 36 deletions(-)