xref: /openbmc/phosphor-buttons/meson.options (revision 301edb95a5875d134a5d87fb36801e601f399769)
130a52067SGeorge Liuoption(
230a52067SGeorge Liu    'id-led-group',
330a52067SGeorge Liu    type: 'string',
430a52067SGeorge Liu    value: 'enclosure_identify',
5*301edb95SPatrick Williams    description: 'The identify LED group name',
630a52067SGeorge Liu)
730a52067SGeorge Liu
830a52067SGeorge Liuoption(
930a52067SGeorge Liu    'long-press-time-ms',
1030a52067SGeorge Liu    type: 'integer',
1130a52067SGeorge Liu    value: 3000,
12*301edb95SPatrick Williams    description: 'Time to long press the button',
1330a52067SGeorge Liu)
1430a52067SGeorge Liu
1530a52067SGeorge Liuoption(
1630a52067SGeorge Liu    'lookup-gpio-base',
1730a52067SGeorge Liu    type: 'feature',
1830a52067SGeorge Liu    value: 'enabled',
19*301edb95SPatrick Williams    description: 'Look up the GPIO base value in /sys/class/gpio. Otherwise use a base of 0.',
2030a52067SGeorge Liu)
2130a52067SGeorge Liu
2230a52067SGeorge Liuoption(
2330a52067SGeorge Liu    'power-button-profile',
2430a52067SGeorge Liu    type: 'combo',
2530a52067SGeorge Liu    choices: ['default', 'host_then_chassis_poweroff'],
2630a52067SGeorge Liu    value: 'default',
27*301edb95SPatrick Williams    description: 'Used to select a custom power button behavior profile.',
2830a52067SGeorge Liu)
2930a52067SGeorge Liu
3030a52067SGeorge Liuoption(
3130a52067SGeorge Liu    'reset-button-do-warm-reboot',
3230a52067SGeorge Liu    type: 'feature',
3330a52067SGeorge Liu    value: 'disabled',
34*301edb95SPatrick Williams    description: 'Enable warm reboot on the reset button',
3530a52067SGeorge Liu)
3631ce375eSRush Chen
3731ce375eSRush Chenoption(
3831ce375eSRush Chen    'host-instances',
3931ce375eSRush Chen    type: 'string',
4031ce375eSRush Chen    value: '0',
41*301edb95SPatrick Williams    description: 'Host Instances that can be defined by project, for example: 1 2 3 4',
4231ce375eSRush Chen)
43