aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/bcm/clk-iproc.h
diff options
context:
space:
mode:
authorJon Mason <jonmason@broadcom.com>2015-10-15 15:48:30 -0400
committerStephen Boyd <sboyd@codeaurora.org>2015-10-21 17:03:41 -0700
commit40c8bec3f2591856e21124270be51a0a2b77c82d (patch)
tree87c3369b839ce450d2ae47e55de5ba000bf5442a /drivers/clk/bcm/clk-iproc.h
parentf713c6bf32092a259d6baf2be24f9c3dbf2462c3 (diff)
clk: iproc: Separate status and control variables
Some PLLs have separate registers for Status and Control. The means the pll_base needs to be split into 2 new variables, so that those PLLs can specify device tree registers for those independently. Also, add a new driver flag to identify this presence of the split, and let the driver know that additional registers need to be used. Signed-off-by: Jon Mason <jonmason@broadcom.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/bcm/clk-iproc.h')
-rw-r--r--drivers/clk/bcm/clk-iproc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/bcm/clk-iproc.h b/drivers/clk/bcm/clk-iproc.h
index b71c19737efd..8988de70a98c 100644
--- a/drivers/clk/bcm/clk-iproc.h
+++ b/drivers/clk/bcm/clk-iproc.h
@@ -55,6 +55,12 @@
#define IPROC_CLK_EMBED_PWRCTRL BIT(5)
/*
+ * Some PLLs have separate registers for Status and Control. Identify this to
+ * let the driver know if additional registers need to be used
+ */
+#define IPROC_CLK_PLL_SPLIT_STAT_CTRL BIT(6)
+
+/*
* Parameters for VCO frequency configuration
*
* VCO frequency =

Privacy Policy