[PATCH v6 0/5] fix the clks on/off mismatch issue and switch pwm-mtk-disp to atomic APIs

From: Jitao Shi
Date: Sat Jul 24 2021 - 04:19:05 EST


Changes since v5:
- fix overflow.
- Seperate the reg shadow as a single patch.

Changes since v4:
- Squash the commit "move the commit to clock enabled" to "adjust the clocks to avoid them mismatch".
- Drop the useless comment about MT2701.
- Reenable the clks "mm" and "main" in .enable().
- Fix typo.
- Seperate get_state() operation as single patch.

Changes since v3:
- Seperate the clock sequence as single patch.
- Fixup the reg commit when clocks sequence changed.
- Merge the apply and get_state as single patch.

Changes since v2:
- Change commit messages to remove the clock operations for atomic APIs.
- Rebase to v5.13 rc1.

Changes since v1:
- Seperate clock operation as single patch.
- Seperate apply() as single patch.
- Seperate get_state() operation as single patch.

Jitao Shi (5):
pwm: mtk-disp: adjust the clocks to avoid them mismatch
pwm: mtk_disp: fix force reg to working reg.
pwm: mtk_disp: implement atomic API .apply()
pwm: mtk_disp: fix overflow in period and duty calcalation
pwm: mtk_disp: implement atomic API .get_state()

drivers/pwm/pwm-mtk-disp.c | 172 ++++++++++++++++++++-----------------
1 file changed, 92 insertions(+), 80 deletions(-)

--
2.25.1