[PATCH v2 0/2] clk: aspeed: Expose RMII RCLK gate for MACs 1-2 on AST2500

From: Andrew Jeffery
Date: Wed Oct 09 2019 - 22:08:01 EST


This series is two small changes enable kernel support for controlling the RMII
RCLK gate on AST2500-based systems. Previously the kernel has assumed u-boot
has ungated RCLK for networking to function.

RMII is commonly used for NCSI, which itself is commonly used for BMC-based
designs to reduce cabling requirements for the platform.

* Rename macros and clock names based on Joel's feedback.

v1 can be found here: https://lore.kernel.org/linux-clk/20191008113523.13601-1-andrew@xxxxxxxx/

Please review!


Andrew Jeffery (2):
dt-bindings: clock: Add AST2500 RMII RCLK definitions
clk: aspeed: Add RMII RCLK gates for both AST2500 MACs

drivers/clk/clk-aspeed.c | 27 +++++++++++++++++++++++-
include/dt-bindings/clock/aspeed-clock.h | 2 ++
2 files changed, 28 insertions(+), 1 deletion(-)