Re: [PATCH v2] clk: npcm7xx: get fixed clocks from DT

2018-12-06 Thread Stephen Boyd
Quoting Tali Perry (2018-12-06 00:44:31) > diff --git a/drivers/clk/clk-npcm7xx.c b/drivers/clk/clk-npcm7xx.c > index 27a86b7a34db..4bd2e40997d4 100644 > --- a/drivers/clk/clk-npcm7xx.c > +++ b/drivers/clk/clk-npcm7xx.c > @@ -8,13 +8,19 @@ > */ > > #include > +#include > #include > +#inclu

[PATCH v2] clk: npcm7xx: get fixed clocks from DT

2018-12-06 Thread Tali Perry
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