xref: /openbmc/phosphor-power/meson.options (revision f5e2bde7072cbdfef400e7c4b1d15151a392925e)
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(
67*f5e2bde7SAdriana Kobylak    'chassis-power',
68*f5e2bde7SAdriana Kobylak    type: 'boolean',
69*f5e2bde7SAdriana Kobylak    description: 'Enable support for chassis power monitoring',
70*f5e2bde7SAdriana Kobylak)
71*f5e2bde7SAdriana Kobylakoption(
72516e22feSPatrick Williams    'supply-monitor',
73516e22feSPatrick Williams    type: 'boolean',
74516e22feSPatrick Williams    description: 'Enable support for power supply monitoring',
753b3ae8d0SGeorge Liu)
763b3ae8d0SGeorge Liuoption(
77516e22feSPatrick Williams    'supply-monitor-ng',
78516e22feSPatrick Williams    type: 'boolean',
79516e22feSPatrick Williams    description: 'Enable support for power supply monitoring',
803b3ae8d0SGeorge Liu)
813b3ae8d0SGeorge Liuoption(
82516e22feSPatrick Williams    'regulators',
83516e22feSPatrick Williams    type: 'boolean',
84516e22feSPatrick Williams    description: 'Enable support for voltage regulator control',
853b3ae8d0SGeorge Liu)
863b3ae8d0SGeorge Liuoption(
87516e22feSPatrick Williams    'sequencer-monitor',
88516e22feSPatrick Williams    type: 'boolean',
89516e22feSPatrick Williams    description: 'Enable support for power sequencer control',
903b3ae8d0SGeorge Liu)
913b3ae8d0SGeorge Liuoption(
92516e22feSPatrick Williams    'power-control',
93516e22feSPatrick Williams    type: 'boolean',
94516e22feSPatrick Williams    description: 'Enable support for power sequencer control utilizing JSON configuration and supporting multiple systems in a single build image',
953b3ae8d0SGeorge Liu)
963b3ae8d0SGeorge Liuoption(
97516e22feSPatrick Williams    'utils',
98516e22feSPatrick Williams    type: 'boolean',
99516e22feSPatrick Williams    description: 'Enable support for power supply utilities',
1003b3ae8d0SGeorge Liu)
10121254396SAndrew Geissleroption(
10221254396SAndrew Geissler    'pgood-timeout-value',
10321254396SAndrew Geissler    type: 'integer',
10421254396SAndrew Geissler    min: 5,
10521254396SAndrew Geissler    max: 30,
10621254396SAndrew Geissler    value: 10,
10721254396SAndrew Geissler    description: '''The amount of time the power-sequencer will wait for pgood
10821254396SAndrew Geissler                    to turn on or off before timing out''',
10921254396SAndrew Geissler)
110