clk: ti: am3-dpll: use custom API for memory access
authorDario Binacchi <dariobin@libero.it>
Sat, 1 May 2021 15:05:25 +0000 (17:05 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 10:57:57 +0000 (16:27 +0530)
commit5a6caf916cb302a6b83edce8c60d830d9261956d
tree8b5d77bae84ba6fa06f7bdf0550f3fb492c1d43f
parentb178e1f77b57f44743f6fbc34517a48fd0551d6f
clk: ti: am3-dpll: use custom API for memory access

Using the custom TI functions required not only replacing common memory
access functions but also rewriting the routines used to set bypass and
lock states. As for readl() and writel(), they also required the address
of the register to be accessed, a parameter that is hidden by the TI clk
module.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/clk/ti/clk-am3-dpll.c