drivers: clk: agilex: Support for enable/disable API
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Tue, 9 Sep 2025 02:11:15 +0000 (19:11 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 30 Sep 2025 06:29:55 +0000 (14:29 +0800)
commit022b2159b5d24556b7623906de147260fe46e0f2
tree26d76bb24995582cf0783a4323aa19093aeebbb6
parent38d49808d4cd51e8972bfe7478db03325118d553
drivers: clk: agilex: Support for enable/disable API

Update Agilex clock driver to support enabling or disabling
the peripheral clocks via clock driver model APIs.

The caller will pass the clock ID to this driver and the driver
will then proceed to manipulate the desired bit in the Agilex clock
manager peripheral PLL register based on the given clock ID.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
drivers/clk/altera/clk-agilex.c
drivers/clk/altera/clk-agilex.h