summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/RtD3.vfi
blob: 0c870f618834de299a0ac31482c027b5dc909309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
// /** @file
//  RtD3 Setup formset.
//
//  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
//
//  This program and the accompanying materials
//  are licensed and made available under the terms and conditions of the BSD License
//  which accompanies this distribution.  The full text of the license may be found at
//  http://opensource.org/licenses/bsd-license.php.
//
//  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
//  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// **/


  form formid = RTD3_FORM_ID,

    title = STRING_TOKEN(STR_RTD3_FORM_TITLE);
    
    oneof varid     = Setup.Rtd3Support,
              prompt      = STRING_TOKEN(STR_RTD3),
              help        = STRING_TOKEN(STR_RTD3_HELP),
              option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
              option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED;
    endoneof;
    
    suppressif ideqval Setup.Rtd3Support == 0x0;
    
      oneof varid   = Setup.ConsolidatedPR,
          prompt      = STRING_TOKEN(STR_CONSOLIDATED_POWER_RESOURCE_PROMPT),
          help        = STRING_TOKEN(STR_CONSOLIDATED_POWER_RESOURCE_PROMPT_HELP),
          option text = STRING_TOKEN(STR_DISABLED),	value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED),	value = 1, flags = RESET_REQUIRED;
        endoneof;
      

       numeric varid     = Setup.VRStaggeringDelay,
          prompt      = STRING_TOKEN(STR_VR_STAGGERING_DELAY),
          help        = STRING_TOKEN(STR_VR_STAGGERING_DELAY_HELP),
          minimum = 0,
          maximum = 100,
          step    = 16 ,
          default = 16,
        endnumeric;

       numeric varid     = Setup.VRRampUpDelay,
          prompt      = STRING_TOKEN(STR_VR_RAMP_DELAY),
          help        = STRING_TOKEN(STR_VR_RAMP_DELAY_HELP),
          minimum = 0,
          maximum = 100,
          step    = 16 ,
          default = 16, 
        endnumeric;

       numeric varid     = Setup.Rtd3P0dl,
          prompt      = STRING_TOKEN(STR_PEP0),
          help        = STRING_TOKEN(STR_PEP0_HELP),
          minimum = 0,
          maximum = 100,

          step    = 16 ,
          default = 100, 
        endnumeric;

       numeric varid     = Setup.Rtd3P3dl,
          prompt      = STRING_TOKEN(STR_PEP3),
          help        = STRING_TOKEN(STR_PEP3_HELP),
          minimum = 0,
          maximum = 10,
          step    = 1 ,
          default = 10, 
        endnumeric;

      //
      // Do not allow changing Azalia/ADSP delay for DVT2 or older rev
      // Delay is hard coded to 500ms (in AcpiPlatform.c) to workaround HW issue
      //
        numeric varid     = Setup.RTD3AudioDelay,
          prompt      = STRING_TOKEN(STR_AUDIO_DELAY),
          help        = STRING_TOKEN(STR_AUDIO_DELAY_HELP),
          minimum = 0,
          maximum = 1000,
          step    = 16 ,
          default = 200,
        endnumeric;

      numeric varid  = Setup.RTD3I2C0ControllerPS0Delay,
          prompt     = STRING_TOKEN(STR_I2C0_CONTROLLER_PS0_DELAY),
          help       = STRING_TOKEN(STR_I2C0_CONTROLLER_PS0_DELAY_HELP),
          minimum    = 0,
          maximum    = 1000,
          step       = 16,
          default    = 0,
      endnumeric;

      numeric varid     = Setup.RTD3SensorHub,
         prompt      = STRING_TOKEN(STR_SENSORHUB),
         help        = STRING_TOKEN(STR_SENSORHUB_HELP),
         minimum = 0,
         maximum = 1000,
         step    = 16 ,
         default = 68,
      endnumeric;

      numeric varid  = Setup.RTD3I2C1ControllerPS0Delay,
          prompt     = STRING_TOKEN(STR_I2C1_CONTROLLER_PS0_DELAY),
          help       = STRING_TOKEN(STR_I2C1_CONTROLLER_PS0_DELAY_HELP),
          minimum    = 0,
          maximum    = 1000,
          step       = 16,
          default    = 0,
      endnumeric;

      numeric varid     = Setup.RTD3TouchPadDelay,
         prompt      = STRING_TOKEN(STR_TOUCHPAD),
         help        = STRING_TOKEN(STR_TOUCHPAD_HELP),
         minimum = 0,
         maximum = 1000,
         step    = 16 ,
         default = 68,
      endnumeric;

      numeric varid  = Setup.RTD3TouchPanelDelay,
         prompt      = STRING_TOKEN(STR_TOUCHPANEL),
         help        = STRING_TOKEN(STR_TOUCHPANEL_HELP),
         minimum = 0,
         maximum = 1000,
         step    = 16 ,
         default = 68,
      endnumeric;
   
      oneof varid     = Setup.PstateCapping,
          prompt      = STRING_TOKEN(STR_RTD3_PSTATE_CAPPING),
          help        = STRING_TOKEN(STR_RTD3_PSTATE_CAPPING_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3UsbPt1,
          prompt      = STRING_TOKEN(STR_RTD3_USB_PORT1),
          help        = STRING_TOKEN(STR_RTD3_USB_PORT_HELP),
          option text = STRING_TOKEN(STR_HIGHSPEED), value = 1, flags = RESET_REQUIRED;
          option text = STRING_TOKEN(STR_SUPERSPEED), value = 2, flags = RESET_REQUIRED;
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3UsbPt2,
          prompt      = STRING_TOKEN(STR_RTD3_USB_PORT2),
          help        = STRING_TOKEN(STR_RTD3_USB_PORT_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_HIGHSPEED), value = 1, flags = RESET_REQUIRED;
          option text = STRING_TOKEN(STR_SUPERSPEED), value = 2, flags = RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3I2C0SensorHub,
          prompt      = STRING_TOKEN(STR_RTD3_I2C0_SENSOR),
          help        = STRING_TOKEN(STR_RTD3_I2C0_SENSOR_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3ZPODD,
          prompt      = STRING_TOKEN(STR_RTD3_ZPODD),
          help        = STRING_TOKEN(STR_RTD3_ZPODD_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3Camera,
          prompt      = STRING_TOKEN(STR_RTD3_CAMERA),
          help        = STRING_TOKEN(STR_RTD3_CAMERA_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3SataPort1,
          prompt      = STRING_TOKEN(STR_RTD3_SATAPORT1),
          help        = STRING_TOKEN(STR_RTD3_SATAPORT_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3SataPort2,
          prompt      = STRING_TOKEN(STR_RTD3_SATAPORT2),
          help        = STRING_TOKEN(STR_RTD3_SATAPORT_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED;
      endoneof;

      oneof varid     = Setup.RTD3SataPort3,
          prompt      = STRING_TOKEN(STR_RTD3_SATAPORT3),
          help        = STRING_TOKEN(STR_RTD3_SATAPORT_HELP),
          option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
          option text = STRING_TOKEN(STR_MINICARD15), value = 1, flags = RESET_REQUIRED;
          option text = STRING_TOKEN(STR_MINICARD33), value = 2, flags = RESET_REQUIRED;
      endoneof;

    endif; // Rtd3Support
    
  endform; //RTD3