]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: clk: add rtl9607 clock support 22080/head
authorRustam Adilov <adilov@tutamail.com>
Wed, 18 Feb 2026 15:26:42 +0000 (20:26 +0500)
committerRobert Marko <robimarko@gmail.com>
Thu, 19 Mar 2026 16:51:56 +0000 (17:51 +0100)
commit1af29dbb4ff708644d5be19d9396efb7eee3956a
tree1e1ace5943dec22efe94ea825fefc80b5b7566b4
parent10db6fc26e88eb92c864b9e579c3d16c25040a5a
realtek: clk: add rtl9607 clock support

This commit adds support for RTL9607C/RTL8198D clocks to the existing
clk-rtl83xx driver. Setting clock rates is not supported due to
lack of knowledge on this topic at the moment. Clocks for CPU1, SRAM
and SPI can also be calculated but not included in this commit.

Since the registers, calculations are widely different to RTL83XX it
was decide to have different clk_ops for RTL960X.

The code was partly based on naseef's work with some changes to
integrate it into the clk-rtl83xx driver.

Tested-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Rustam Adilov <adilov@tutamail.com>
Link: https://github.com/openwrt/openwrt/pull/22080
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/clk/realtek/Kconfig
target/linux/realtek/files-6.12/drivers/clk/realtek/clk-rtl83xx.c
target/linux/realtek/files-6.12/drivers/clk/realtek/clk-rtl83xx.h