summaryrefslogtreecommitdiff
path: root/drivers/staging/sm750fb/ddk750_reg.h
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2016-02-10 18:33:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-11 19:52:37 -0800
commit54feb9315366dda58a66180ed9015974964e5cc3 (patch)
tree14ffddec7e2f1c0ff8c59efb436c40d0960b3234 /drivers/staging/sm750fb/ddk750_reg.h
parent0c4d85fc7fd3ec2a335332ec80701cee680281fd (diff)
staging: sm750fb: rename PANEL_PLL_CTRL_* fields to PLL_CTRL_*
Several PLL control registers have the same layout and therefore the field definitions may be shared for those registers. Renaming definitions of PANEL_PLL_CTRL_* fields to more generic PLL_CTRL_* will allow reusing these definitions for other PLL control registers. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_reg.h')
-rw-r--r--drivers/staging/sm750fb/ddk750_reg.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/sm750fb/ddk750_reg.h b/drivers/staging/sm750fb/ddk750_reg.h
index a90b56f55f1e..1ad8d554e249 100644
--- a/drivers/staging/sm750fb/ddk750_reg.h
+++ b/drivers/staging/sm750fb/ddk750_reg.h
@@ -517,23 +517,23 @@
#define PLL_CLK_COUNT_COUNTER 15:0
#define PANEL_PLL_CTRL 0x00005C
-#define PANEL_PLL_CTRL_BYPASS 18:18
-#define PANEL_PLL_CTRL_BYPASS_OFF 0
-#define PANEL_PLL_CTRL_BYPASS_ON 1
-#define PANEL_PLL_CTRL_POWER 17:17
-#define PANEL_PLL_CTRL_POWER_OFF 0
-#define PANEL_PLL_CTRL_POWER_ON 1
-#define PANEL_PLL_CTRL_INPUT 16:16
-#define PANEL_PLL_CTRL_INPUT_OSC 0
-#define PANEL_PLL_CTRL_INPUT_TESTCLK 1
+#define PLL_CTRL_BYPASS 18:18
+#define PLL_CTRL_BYPASS_OFF 0
+#define PLL_CTRL_BYPASS_ON 1
+#define PLL_CTRL_POWER 17:17
+#define PLL_CTRL_POWER_OFF 0
+#define PLL_CTRL_POWER_ON 1
+#define PLL_CTRL_INPUT 16:16
+#define PLL_CTRL_INPUT_OSC 0
+#define PLL_CTRL_INPUT_TESTCLK 1
#ifdef VALIDATION_CHIP
- #define PANEL_PLL_CTRL_OD 15:14
+ #define PLL_CTRL_OD 15:14
#else
- #define PANEL_PLL_CTRL_POD 15:14
- #define PANEL_PLL_CTRL_OD 13:12
+ #define PLL_CTRL_POD 15:14
+ #define PLL_CTRL_OD 13:12
#endif
-#define PANEL_PLL_CTRL_N 11:8
-#define PANEL_PLL_CTRL_M 7:0
+#define PLL_CTRL_N 11:8
+#define PLL_CTRL_M 7:0
#define CRT_PLL_CTRL 0x000060
#define CRT_PLL_CTRL_BYPASS 18:18