]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: sunxi-ng: v3s: Fix de clock definition
authorPaul Kocialkowski <paulk@sys-base.io>
Fri, 4 Jul 2025 15:40:07 +0000 (17:40 +0200)
committerChen-Yu Tsai <wens@csie.org>
Mon, 14 Jul 2025 03:51:14 +0000 (11:51 +0800)
commite8ab346f9907a1a3aa2f0e5decf849925c06ae2e
tree08e6af0c9a0c152a276fdca9ee1ea404367ed09d
parentc17b1b6c86059664e91008a23547ef0aadfc2228
clk: sunxi-ng: v3s: Fix de clock definition

The de clock is marked with CLK_SET_RATE_PARENT, which is really not
necessary (as confirmed from experimentation) and significantly
restricts flexibility for other clocks using the same parent.

In addition the source selection (parent) field is marked as using
2 bits, when it the documentation reports that it uses 3.

Fix both issues in the de clock definition.

Fixes: d0f11d14b0bc ("clk: sunxi-ng: add support for V3s CCU")
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
Link: https://patch.msgid.link/20250704154008.3463257-1-paulk@sys-base.io
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c