change in v2: 1. add error check for enable colock control flow 2. use "goto err_clk(main/top)" coding style, for preparing clk error case 3. remove comments inline /*===*/ 4. move "PWM_CLK_DIV_MAX" modification to its own patch 5. move pwm source clock selection to its own patch
Zhi Mao (6): pwm: kconfig: modify mediatek information pwm: mediatek: fix pwm source clock selection pwm: mediatek: fix clock control issue pwm: bindings: add MT2712/MT7622 information pwm: mediatek: add PWM_CLK_DIV_MAX pwm: mediatek: add MT2712/MT7622 support .../devicetree/bindings/pwm/pwm-mediatek.txt | 6 +- drivers/pwm/Kconfig | 2 +- drivers/pwm/pwm-mediatek.c | 132 ++++++++++++++------ 3 files changed, 103 insertions(+), 37 deletions(-)