realtek: clock driver: provide crystal/oscillator clock
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 6 Sep 2022 08:53:54 +0000 (10:53 +0200)
committerSander Vanheule <sander@svanheule.net>
Mon, 26 Dec 2022 19:29:36 +0000 (20:29 +0100)
commit74502f830396e87b1c6dbdcde5b0005ac1d9c779
tree559161df1a7996d5e2b88ad65bd46f1e3ccee2f1
parent8afa1bee95a301572b28fe16b411cf0e7305a805
realtek: clock driver: provide crystal/oscillator clock

Until now the driver depends on an external DT oscillator definition.
For now we can not see any benefit of setting that in the device tree.
Lots of other Linux kernel drivers hardcode these values. Usually the
name xtal (crystal) is used there. Align that and register a fixed
frequency clock (named xtal_clk) in the driver.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[move cosmetic changes to separate patches]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/files-5.10/drivers/clk/realtek/clk-rtl83xx.c