clk: at91: clk-master: add 5th divisor for mck master
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 19 Nov 2020 15:43:10 +0000 (17:43 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 19 Dec 2020 19:50:55 +0000 (11:50 -0800)
commite26b3006ff07020e509fb9e0e560e462ff4077c9
tree875616c3663fbf363ba6456066b72fd09983efe5
parent83d002877365afac2cb65ef4ad36b445652ebda3
clk: at91: clk-master: add 5th divisor for mck master

clk-master can have 5 divisors with a field width of 3 bits
on some products.

Change the mask and number of divisors accordingly.

Reported-by: Mihai Sain <mihai.sain@microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1605800597-16720-5-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/clk-master.c
drivers/clk/at91/pmc.h