clk: iproc: Add PLL base write function
authorJon Mason <jonmason@broadcom.com>
Thu, 15 Oct 2015 19:48:28 +0000 (15:48 -0400)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 22 Oct 2015 00:02:14 +0000 (17:02 -0700)
commit7968d24107f5a50a11792f8a7f011877e7470dfa
tree06e00e12d1b5cf4a76c12b38a6295944594f043b
parent5f024b0685f753325f1b8cacbe37ffe5921b13d1
clk: iproc: Add PLL base write function

All writes to the PLL base address must be flushed if the
IPROC_CLK_NEEDS_READ_BACK flag is set.  If we add a function to make the
necessary write and reads, we can make sure that any future code which
makes PLL base writes will do the correct thing.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-iproc-pll.c