linux_dsm_epyc7002/drivers/clk/ingenic
Paul Cercueil 13ad1948d9 clk: ingenic/jz4725b: Fix "pll half" divider not read/written properly
The code was setting the bit 21 of the CPCCR register to use a divider
of 2 for the "pll half" clock, and clearing the bit to use a divider
of 1.

This is the opposite of how this register field works: a cleared bit
means that the /2 divider is used, and a set bit means that the divider
is 1.

Restore the correct behaviour using the newly introduced .div_table
field.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-06-07 11:49:01 -07:00
..
cgu.c clk: ingenic: Add support for divider tables 2019-06-07 11:48:58 -07:00
cgu.h clk: ingenic: Add support for divider tables 2019-06-07 11:48:58 -07:00
jz4725b-cgu.c clk: ingenic/jz4725b: Fix "pll half" divider not read/written properly 2019-06-07 11:49:01 -07:00
jz4740-cgu.c clk: ingenic/jz4740: Fix incorrect dividers for main clocks 2019-06-07 11:48:59 -07:00
jz4770-cgu.c clk: ingenic/jz4770: Fix incorrect dividers for main clocks 2019-06-07 11:49:00 -07:00
jz4780-cgu.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
Kconfig clk: Add Ingenic jz4725b CGU driver 2018-10-16 15:19:48 -07:00
Makefile clk: Add Ingenic jz4725b CGU driver 2018-10-16 15:19:48 -07:00