linux/drivers/clk/sunxi-ng
Andre Przywara edf1d90251 clk: sunxi-ng: h6: Fix clock divider range on some clocks
[ Upstream commit 04ef679591c76571a9e7d5ca48316cc86fa0ef12 ]

While comparing clocks between the H6 and H616, some of the M factor
ranges were found to be wrong: the manual says they are only covering
two bits [1:0], but our code had "5" in the number-of-bits field.

By writing 0xff into that register in U-Boot and via FEL, it could be
confirmed that bits [4:2] are indeed masked off, so the manual is right.

Change to number of bits in the affected clock's description.

Fixes: 524353ea48 ("clk: sunxi-ng: add support for the Allwinner H6 CCU")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210118000912.28116-1-andre.przywara@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 10:26:29 +01:00
..
Kconfig
Makefile
ccu-sun4i-a10.c
ccu-sun4i-a10.h
ccu-sun5i.c
ccu-sun5i.h
ccu-sun6i-a31.c
ccu-sun6i-a31.h
ccu-sun8i-a23-a33.h
ccu-sun8i-a23.c
ccu-sun8i-a33.c
ccu-sun8i-a83t.c
ccu-sun8i-a83t.h
ccu-sun8i-de2.c
ccu-sun8i-de2.h
ccu-sun8i-h3.c
ccu-sun8i-h3.h
ccu-sun8i-r.c
ccu-sun8i-r.h
ccu-sun8i-r40.c
ccu-sun8i-r40.h
ccu-sun8i-v3s.c
ccu-sun8i-v3s.h
ccu-sun9i-a80-de.c
ccu-sun9i-a80-de.h
ccu-sun9i-a80-usb.c
ccu-sun9i-a80-usb.h
ccu-sun9i-a80.c
ccu-sun9i-a80.h
ccu-sun50i-a64.c
ccu-sun50i-a64.h
ccu-sun50i-h6-r.c
ccu-sun50i-h6-r.h
ccu-sun50i-h6.c clk: sunxi-ng: h6: Fix clock divider range on some clocks 2021-03-04 10:26:29 +01:00
ccu-sun50i-h6.h
ccu-suniv-f1c100s.c
ccu-suniv-f1c100s.h
ccu_common.c
ccu_common.h
ccu_div.c
ccu_div.h
ccu_frac.c
ccu_frac.h
ccu_gate.c
ccu_gate.h
ccu_mmc_timing.c
ccu_mp.c
ccu_mp.h
ccu_mult.c
ccu_mult.h
ccu_mux.c
ccu_mux.h
ccu_nk.c
ccu_nk.h
ccu_nkm.c
ccu_nkm.h
ccu_nkmp.c
ccu_nkmp.h
ccu_nm.c
ccu_nm.h
ccu_phase.c
ccu_phase.h
ccu_reset.c
ccu_reset.h
ccu_sdm.c
ccu_sdm.h