Re: [PATCH v2] pwm: meson: external clock configuration for s4
From: Jerome Brunet
Date: Fri Jan 14 2022 - 09:58:07 EST
On Fri 14 Jan 2022 at 17:07, <Jiayi.Zhou@xxxxxxxxxxx> wrote:
> From: "Jiayi.zhou" <jiayi.zhou@xxxxxxxxxxx>
>
> For PWM controller in the Meson-S4 SoC,
> PWM needs to obtain an external clock source.
> This patch tries to describe them in the DT compatible data.
>
I'm sorry but I have already commented on v1 that all the mess in here
don't seem necessary. For Reference:
"""
You trying to bypass the input selection mux. There is no reason to do
so.
Your input clocks should be
* OSC
* vid_pll
* fdiv3
* fdiv4
While the pwm driver could welcome a rework around how it deal with DT
and the clocks, this S4 chip does not warrant any change compared to
previous generation (AFAICT)
All the stuff around "extern_clk" should go away IMO.
"""
Unless you can *really* justify why this approach is required, it is
firm Nack.