gxfb: clean up register definitions
[firefly-linux-kernel-4.4.55.git] / drivers / video / geode / video_gx.h
1 /*
2  * Geode GX video device
3  *
4  * Copyright (C) 2006 Arcom Control Systems Ltd.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  */
11 #ifndef __VIDEO_GX_H__
12 #define __VIDEO_GX_H__
13
14 extern struct geode_vid_ops gx_vid_ops;
15
16 /* GX Flatpanel control MSR */
17 #define GX_VP_PAD_SELECT_MASK          0x3FFFFFFF
18 #define GX_VP_PAD_SELECT_TFT           0x1FFFFFFF
19
20 /* Geode GX clock control MSRs */
21
22 #  define MSR_GLCP_SYS_RSTPLL_DOTPREDIV2        (0x0000000000000002ull)
23 #  define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2       (0x0000000000000004ull)
24 #  define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3       (0x0000000000000008ull)
25
26 #  define MSR_GLCP_DOTPLL_DOTRESET              (0x0000000000000001ull)
27 #  define MSR_GLCP_DOTPLL_BYPASS                (0x0000000000008000ull)
28 #  define MSR_GLCP_DOTPLL_LOCK                  (0x0000000002000000ull)
29
30 #endif /* !__VIDEO_GX_H__ */