[PATCH 0/2] clk: mediatek: Fix mux clock re-parenting
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Jan 25 12:08:17 EST 2021
Hello,
This small patch series fixes re-parenting of the mux clocks on MediaTek
platforms. Patch 1/2 is a drive-by cleanup that removes unneeded code
(as I didn't want to update that code in the next patch), while patch
2/2 fixes the problem. Please see invidual patches for details.
The code has been tested with the CAMTG2 and CAMTG3 clocks on MT8183.
Quite interestingly some parents can be selected without this fix (I can
for instance select a parent that has a lower frequency), but not all of
them. I'm not sure if all mux clocks are affected, but as far as I can
tell the fix shouldn't introduce regressions.
Laurent Pinchart (2):
clk: mediatek: mux: Drop unused clock ops
clk: mediatek: mux: Update parent at enable time
drivers/clk/mediatek/clk-mux.c | 93 ++++++++++++----------------------
drivers/clk/mediatek/clk-mux.h | 14 ++---
2 files changed, 34 insertions(+), 73 deletions(-)
--
Regards,
Laurent Pinchart
More information about the Linux-mediatek
mailing list