John Wang | daebf4d | 2019-08-28 16:30:24 +0800 | [diff] [blame] | 1 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 2 | "entries": [ |
| 3 | { |
| 4 | "attribute_name": "VDD_AVSBUS_RAIL", |
| 5 | "lower_bound": 0, |
| 6 | "upper_bound": 15, |
| 7 | "scalar_increment": 1, |
| 8 | "default_value": 0, |
| 9 | // This BIOS attribute has a D-Bus property as backend. |
| 10 | "dbus": { |
| 11 | "object_path": "/xyz/openbmc_project/avsbus", |
| 12 | "interface": "xyz.openbmc.AvsBus.Manager", |
| 13 | "property_type": "uint8_t", |
| 14 | "property_name": "Rail" |
| 15 | } |
| 16 | }, |
| 17 | { |
| 18 | // This is an example of BIOS Integer Read only attribute |
| 19 | "attribute_name": "SBE_IMAGE_MINIMUM_VALID_ECS", |
| 20 | "lower_bound": 1, |
| 21 | "upper_bound": 15, |
| 22 | "scalar_increment": 1, |
| 23 | "default_value": 2 |
| 24 | }, |
| 25 | { |
Manojkiran Eda | 2576aec | 2024-06-17 12:05:17 +0530 | [diff] [blame] | 26 | // This attribute has invalid default value or scalar_increment, when |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 27 | // scalar_increment=2 and lower_bound=1, default_value must be 1, 3, 5... |
| 28 | "attribute_name": "INTEGER_INVALID_CASE", |
| 29 | "lower_bound": 1, |
| 30 | "upper_bound": 15, |
| 31 | "scalar_increment": 2, |
| 32 | "default_value": 4 |
| 33 | } |
| 34 | ] |
John Wang | daebf4d | 2019-08-28 16:30:24 +0800 | [diff] [blame] | 35 | } |