clk: at91: sckc: add support to specify registers bit offsets
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 21 May 2019 10:11:26 +0000 (10:11 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 26 Jun 2019 18:32:53 +0000 (11:32 -0700)
commitabaceffc88ebf510ffb95380985cb3da16d7aa9d
tree66dc18ba0657ac85bf652cb3f483871f517dcbe2
parent5cf6d876a7d05fdd893c74b4c274bbe78fbe9698
clk: at91: sckc: add support to specify registers bit offsets

Different IPs uses different bit offsets in registers for the same
functionality, thus adapt the driver to support this.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/sckc.c