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

From: Jitao Shi
Date: Wed Jun 16 2021 - 04:52:54 EST


Change 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.

Change 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.

Change 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 (3):
pwm: mtk-disp: adjust the clocks to avoid them mismatch
pwm: mtk_disp: implement atomic API .apply()
pwm: mtk_disp: implement atomic API .get_state()

drivers/pwm/pwm-mtk-disp.c | 168 +++++++++++++++++++------------------
1 file changed, 85 insertions(+), 83 deletions(-)

--
2.25.1