diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/video/geode/lxfb.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/video/geode/lxfb.h')
-rw-r--r-- | drivers/video/geode/lxfb.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/video/geode/lxfb.h b/drivers/video/geode/lxfb.h index 6a51448fd3f7..e4c4d89b7860 100644 --- a/drivers/video/geode/lxfb.h +++ b/drivers/video/geode/lxfb.h | |||
@@ -1,3 +1,13 @@ | |||
1 | /* Geode LX framebuffer driver | ||
2 | * | ||
3 | * Copyright (C) 2006-2007, Advanced Micro Devices,Inc. | ||
4 | * Copyright (c) 2008 Andres Salomon <dilinger@debian.org> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the | ||
8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
9 | * option) any later version. | ||
10 | */ | ||
1 | #ifndef _LXFB_H_ | 11 | #ifndef _LXFB_H_ |
2 | #define _LXFB_H_ | 12 | #define _LXFB_H_ |
3 | 13 | ||
@@ -355,6 +365,8 @@ enum fp_registers { | |||
355 | FP_CRC, /* 0x458 */ | 365 | FP_CRC, /* 0x458 */ |
356 | }; | 366 | }; |
357 | 367 | ||
368 | #define FP_PT2_HSP (1 << 22) | ||
369 | #define FP_PT2_VSP (1 << 23) | ||
358 | #define FP_PT2_SCRC (1 << 27) /* shfclk free */ | 370 | #define FP_PT2_SCRC (1 << 27) /* shfclk free */ |
359 | 371 | ||
360 | #define FP_PM_P (1 << 24) /* panel power ctl */ | 372 | #define FP_PM_P (1 << 24) /* panel power ctl */ |
@@ -409,7 +421,7 @@ static inline void write_fp(struct lxfb_par *par, int reg, uint32_t val) | |||
409 | } | 421 | } |
410 | 422 | ||
411 | 423 | ||
412 | /* MSRs are defined in asm/geode.h; their bitfields are here */ | 424 | /* MSRs are defined in linux/cs5535.h; their bitfields are here */ |
413 | 425 | ||
414 | #define MSR_GLCP_DOTPLL_LOCK (1 << 25) /* r/o */ | 426 | #define MSR_GLCP_DOTPLL_LOCK (1 << 25) /* r/o */ |
415 | #define MSR_GLCP_DOTPLL_HALFPIX (1 << 24) | 427 | #define MSR_GLCP_DOTPLL_HALFPIX (1 << 24) |