Messages in this thread | | | From | Tali Perry <> | Subject | [PATCH v1 0/1] clk: npcm7xx: get fixed clocks from DT | Date | Wed, 5 Dec 2018 21:47:01 +0200 |
| |
Nuvoton NPCM7XX Clock Controller
The npcm7xx clock module includes 4 PLLs and then a tree of muxes and dividers. All muxes and dividers are preset before Linux boots. The presetting can change according to the board. Linux drivers need to know what the frequencies are, but they cannot change it, so this whole driver is intended as read only mechanism for clocks.
Before this change PLLs input clk value was defined inside the driver. With this fix clock will be on the DT.
Signed-off-by: Tali Perry <tali.perry1@gmail.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
Tali Perry (1): clk: npcm: get fixed input clks from DT
drivers/clk/clk-npcm7xx.c | 64 +++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 53 insertions(+), 11 deletions(-)
-- 2.14.1
| |