1*e4b76830SShawn McCarney# rail 2*e4b76830SShawn McCarney 3*e4b76830SShawn McCarney## Description 4*e4b76830SShawn McCarney 5*e4b76830SShawn McCarneyA voltage rail that is enabled or monitored by the power sequencer device. 6*e4b76830SShawn McCarney 7*e4b76830SShawn McCarneyThe "check_status_vout", "compare_voltage_to_limits", and "gpio" properties 8*e4b76830SShawn McCarneyspecify how to obtain the pgood status of the rail. You can specify more than 9*e4b76830SShawn McCarneyone of these properties if necessary. 10*e4b76830SShawn McCarney 11*e4b76830SShawn McCarney## Properties 12*e4b76830SShawn McCarney 13*e4b76830SShawn McCarney| Name | Required | Type | Description | 14*e4b76830SShawn McCarney| :------------------------ | :-----------------: | :---------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | 15*e4b76830SShawn McCarney| name | yes | string | Unique name for the rail. Can only contain letters (A-Z, a-z), numbers (0-9), period (.), and underscore (\_). | 16*e4b76830SShawn McCarney| presence | no | string | D-Bus inventory path of a system component which must be present in order for the rail to be present. If this property is not specified, the rail is assumed to always be present. | 17*e4b76830SShawn McCarney| page | see [notes](#notes) | number | PMBus PAGE number of the rail. | 18*e4b76830SShawn McCarney| check_status_vout | no | boolean (true or false) | If true, determine the pgood status of the rail by checking the value of the PMBus STATUS_VOUT command. If one of the error bits is set, the rail pgood will be considered false. The default value of this property is false. | 19*e4b76830SShawn McCarney| compare_voltage_to_limits | no | boolean (true or false) | If true, determine the pgood status of the rail by comparing the output voltage (READ_VOUT) to the undervoltage (VOUT_UV_FAULT_LIMIT) and overvoltage (VOUT_OV_FAULT_LIMIT) limits. If the output voltage is beyond those limits, the rail pgood will be considered false. The default value of this property is false. | 20*e4b76830SShawn McCarney| gpio | no | [gpio](gpio.md) | Determine the pgood status of the rail by reading a GPIO. | 21*e4b76830SShawn McCarney 22*e4b76830SShawn McCarney### Notes 23*e4b76830SShawn McCarney 24*e4b76830SShawn McCarney- The "page" property is required if the "check_status_vout" or 25*e4b76830SShawn McCarney "compare_voltage_to_limits" property is specified. 26*e4b76830SShawn McCarney 27*e4b76830SShawn McCarney## Examples 28*e4b76830SShawn McCarney 29*e4b76830SShawn McCarney``` 30*e4b76830SShawn McCarney{ 31*e4b76830SShawn McCarney "name": "VDD_CPU0", 32*e4b76830SShawn McCarney "page": 11, 33*e4b76830SShawn McCarney "check_status_vout": true 34*e4b76830SShawn McCarney} 35*e4b76830SShawn McCarney``` 36*e4b76830SShawn McCarney 37*e4b76830SShawn McCarney``` 38*e4b76830SShawn McCarney{ 39*e4b76830SShawn McCarney "name": "VCS_CPU1", 40*e4b76830SShawn McCarney "presence": "/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1", 41*e4b76830SShawn McCarney "gpio": { "line": 60 } 42*e4b76830SShawn McCarney} 43*e4b76830SShawn McCarney``` 44