clk: airoha: Add support for Airoha AN7581 SoC clock
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 14 Mar 2025 18:59:22 +0000 (19:59 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 1 Apr 2025 14:44:51 +0000 (08:44 -0600)
commitd0b81afb5ec9d2d8a3f11bfc827f2f24c32d47ec
tree60db1ec9b3663d96413e604b7c8e8d85626a2fc1
parent793e327e2ca947a293c0eb5beb5eef27744385f0
clk: airoha: Add support for Airoha AN7581 SoC clock

Add support for Airoha AN7581 SoC clock driver. This mainly needed for
eMMC support to correctly get the current clock applied.

Based on the Linux clk-en7523.c but majorly reworked for U-Boot that
doesn't require CCF subsystem.

Major modification, support for set_rate, realtime get_rate and split
for reset part to a different driver.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/clk/Makefile
drivers/clk/airoha/Makefile [new file with mode: 0644]
drivers/clk/airoha/clk-airoha.c [new file with mode: 0644]