xref: /openbmc/phosphor-power/meson.options (revision 212543969f6e4a5908f7f2e017f59adcce7ae723)
13b3ae8d0SGeorge Liuoption(
2516e22feSPatrick Williams    'input-history-busname-root',
3516e22feSPatrick Williams    type: 'string',
43b3ae8d0SGeorge Liu    value: 'org.open_power.powersupply',
53b3ae8d0SGeorge Liu    description: 'The D-Bus busname root for the PS input history.',
63b3ae8d0SGeorge Liu)
73b3ae8d0SGeorge Liuoption(
8516e22feSPatrick Williams    'input-history-sensor-root',
9516e22feSPatrick Williams    type: 'string',
103b3ae8d0SGeorge Liu    value: '/org/open_power/sensors/aggregation/per_30s',
113b3ae8d0SGeorge Liu    description: 'The D-Bus power sensors namespace root.',
123b3ae8d0SGeorge Liu)
133b3ae8d0SGeorge Liuoption(
14516e22feSPatrick Williams    'input-history-sync-gpio',
15516e22feSPatrick Williams    type: 'string',
163b3ae8d0SGeorge Liu    value: 'power-ffs-sync-history',
173b3ae8d0SGeorge Liu    description: 'The GPIO line name for syncing input history data.',
183b3ae8d0SGeorge Liu)
19516e22feSPatrick Williamsoption('tests', type: 'feature', description: 'Build tests.')
203b3ae8d0SGeorge Liuoption(
21516e22feSPatrick Williams    'long-tests',
22516e22feSPatrick Williams    type: 'feature',
23516e22feSPatrick Williams    value: 'disabled',
243b3ae8d0SGeorge Liu    description: 'Build long-running tests that are excluded from CI.',
253b3ae8d0SGeorge Liu)
263b3ae8d0SGeorge Liu
273b3ae8d0SGeorge Liu# Supported power sequencers are: ucd90160, mihawk-cpld
283b3ae8d0SGeorge Liuoption(
29516e22feSPatrick Williams    'power_sequencer',
30516e22feSPatrick Williams    type: 'string',
31516e22feSPatrick Williams    value: 'ucd90160',
323b3ae8d0SGeorge Liu    description: 'The power sequencer',
333b3ae8d0SGeorge Liu)
343b3ae8d0SGeorge Liu
353b3ae8d0SGeorge Liuoption(
36516e22feSPatrick Williams    'device-access',
37516e22feSPatrick Williams    type: 'boolean',
38516e22feSPatrick Williams    value: true,
393b3ae8d0SGeorge Liu    description: 'Enable UCD90160 hardware access.',
403b3ae8d0SGeorge Liu)
413b3ae8d0SGeorge Liu
423b3ae8d0SGeorge Liuoption(
43516e22feSPatrick Williams    'ibm-vpd',
44516e22feSPatrick Williams    type: 'boolean',
45516e22feSPatrick Williams    value: false,
463b3ae8d0SGeorge Liu    description: 'Setup for IBM VPD collection for inventory.',
473b3ae8d0SGeorge Liu)
483b3ae8d0SGeorge Liu
493b3ae8d0SGeorge Liuoption(
50516e22feSPatrick Williams    'ucd90160-yaml',
51516e22feSPatrick Williams    type: 'string',
52516e22feSPatrick Williams    value: 'example/ucd90160.yaml',
533b3ae8d0SGeorge Liu    description: 'The sequencer definition file to use.',
543b3ae8d0SGeorge Liu)
553b3ae8d0SGeorge Liuoption(
56516e22feSPatrick Williams    'oe-sdk',
57516e22feSPatrick Williams    type: 'feature',
58516e22feSPatrick Williams    value: 'disabled',
59516e22feSPatrick Williams    description: 'Enable OE SDK',
603b3ae8d0SGeorge Liu)
613b3ae8d0SGeorge Liuoption(
62516e22feSPatrick Williams    'cold-redundancy',
63516e22feSPatrick Williams    type: 'boolean',
64516e22feSPatrick Williams    description: 'Enable support for cold redundancy',
653b3ae8d0SGeorge Liu)
663b3ae8d0SGeorge Liuoption(
67516e22feSPatrick Williams    'supply-monitor',
68516e22feSPatrick Williams    type: 'boolean',
69516e22feSPatrick Williams    description: 'Enable support for power supply monitoring',
703b3ae8d0SGeorge Liu)
713b3ae8d0SGeorge Liuoption(
72516e22feSPatrick Williams    'supply-monitor-ng',
73516e22feSPatrick Williams    type: 'boolean',
74516e22feSPatrick Williams    description: 'Enable support for power supply monitoring',
753b3ae8d0SGeorge Liu)
763b3ae8d0SGeorge Liuoption(
77516e22feSPatrick Williams    'regulators',
78516e22feSPatrick Williams    type: 'boolean',
79516e22feSPatrick Williams    description: 'Enable support for voltage regulator control',
803b3ae8d0SGeorge Liu)
813b3ae8d0SGeorge Liuoption(
82516e22feSPatrick Williams    'sequencer-monitor',
83516e22feSPatrick Williams    type: 'boolean',
84516e22feSPatrick Williams    description: 'Enable support for power sequencer control',
853b3ae8d0SGeorge Liu)
863b3ae8d0SGeorge Liuoption(
87516e22feSPatrick Williams    'power-control',
88516e22feSPatrick Williams    type: 'boolean',
89516e22feSPatrick Williams    description: 'Enable support for power sequencer control utilizing JSON configuration and supporting multiple systems in a single build image',
903b3ae8d0SGeorge Liu)
913b3ae8d0SGeorge Liuoption(
92516e22feSPatrick Williams    'utils',
93516e22feSPatrick Williams    type: 'boolean',
94516e22feSPatrick Williams    description: 'Enable support for power supply utilities',
953b3ae8d0SGeorge Liu)
96*21254396SAndrew Geissleroption(
97*21254396SAndrew Geissler    'pgood-timeout-value',
98*21254396SAndrew Geissler    type: 'integer',
99*21254396SAndrew Geissler    min: 5,
100*21254396SAndrew Geissler    max: 30,
101*21254396SAndrew Geissler    value: 10,
102*21254396SAndrew Geissler    description: '''The amount of time the power-sequencer will wait for pgood
103*21254396SAndrew Geissler                    to turn on or off before timing out''',
104*21254396SAndrew Geissler)
105