075ad3f4 | 04-Mar-2025 |
Patrick Williams <patrick@stwcx.xyz> |
ProductId: remove property
At both the top-level and in Item.Board.Motherboard schemas was a required property: "ProductId". This property has never been documented in phosphor-dbus-interfaces and
ProductId: remove property
At both the top-level and in Item.Board.Motherboard schemas was a required property: "ProductId". This property has never been documented in phosphor-dbus-interfaces and is only used in exactly 1 OEM IPMI provider (and no where else)[1, 2]. Strip this unused property out.
Test Plan: entity-manager schema validators pass. Search in code base for usages.
[1]: https://github.com/openbmc/intel-ipmi-oem/blob/0fcc73f1cf8c486bb8079e68813c239c4cc41bbc/src/oemcommands.cpp#L2929 [2]: https://github.com/search?q=org%3Aopenbmc+%2F%28%3F-i%29ProductId%2F+-repo%3Aopenbmc%2Flinux+-repo%3Aopenbmc%2Fqemu&type=code
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I81f02c54aaee78e5d1c3b3e020437ebd3d7b4e3f
show more ...
|
34f4d15c | 19-Feb-2025 |
Jagpal Singh Gill <paligill@gmail.com> |
Fix required property name typo for firmwareInfo
The required property list was missed while updating the property name from CompatibleName to CompatibleHardware. Update the required list to reflect
Fix required property name typo for firmwareInfo
The required property list was missed while updating the property name from CompatibleName to CompatibleHardware. Update the required list to reflect name as CompatibleHardware.
Change-Id: Ief5958dea5bf83786ac44bda9023b84ce2877edb Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
2639e569 | 12-Feb-2025 |
Yikai Tsai <yikai.tsai.wiwynn@gmail.com> |
schemas: mctp: Specify descriptions of MCTP I3C targets
8fd7afac1555 ("schemas: Specify descriptions of MCTP I2C targets") introduced `MCTPI2CTarget` schema. According to this commit, add `MCTPI3CTa
schemas: mctp: Specify descriptions of MCTP I3C targets
8fd7afac1555 ("schemas: Specify descriptions of MCTP I2C targets") introduced `MCTPI2CTarget` schema. According to this commit, add `MCTPI3CTarget` schema to support I3C targets.
Change-Id: I9fd2bcae9f39b9334107fb4b75c3ab5e837e0fec Signed-off-by: Yikai Tsai <yikai.tsai.wiwynn@gmail.com>
show more ...
|
e6fc3b7b | 20-Nov-2024 |
Jagpal Singh Gill <paligill@gmail.com> |
define schema for firmware info
Define the json schema for firmware which can expose various attributes such as VendorIANA and device with which this firmware is compatible so it can be used for ima
define schema for firmware info
Define the json schema for firmware which can expose various attributes such as VendorIANA and device with which this firmware is compatible so it can be used for image validation. This schema definition will be used in other device/firmware definitions. This change is in response to firmware design update https://gerrit.openbmc.org/c/openbmc/docs/+/74653.
Change-Id: Id5fd9344fa96b010190f41f9029d2bcb63a1fe89 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
3671cd2b | 08-Nov-2024 |
Jagpal Singh Gill <paligill@gmail.com> |
leak detector: json schema definition
Define the json schema for leak detector and use it in expose elements in global.json schema. The leak detector schema defines various properties such as type,
leak detector: json schema definition
Define the json schema for leak detector and use it in expose elements in global.json schema. The leak detector schema defines various properties such as type, subtype, gpio pin name, gpio polarity, etc as per design https://gerrit.openbmc.org/c/openbmc/docs/+/73152.
Related PR: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/75999
Change-Id: I82f674a982d57774f3616cf0064256f8feadf158 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
58a10f77 | 10-Jan-2025 |
Potin Lai <potin.lai@quantatw.com> |
configurations: catalina_pdb: Use current reading for cable tsense
The Catalina system previously used shunt voltage (`in0`) to calculate the NCT thermistor value for the cable temperature sensor. H
configurations: catalina_pdb: Use current reading for cable tsense
The Catalina system previously used shunt voltage (`in0`) to calculate the NCT thermistor value for the cable temperature sensor. However, the hwmon driver represents voltage in millivolts (mV), while the shunt voltage for the cable tsense is typically less than 1 mV.
Switch to using the current (`curr1`) reading to compute the NCT thermistor value, providing more accurate and reliable temperature measurements for the cable tsense sensors.
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I8a7db00a7dcb209a3b739bf6d53b219c06671f0c
show more ...
|
3f1d7b3f | 08-Jan-2025 |
Yikai Tsai <yikai.tsai.wiwynn@gmail.com> |
configurations: yosemite4: Revise MEDUSA voltage sensor
Revise MEDUSA voltage sensors: INA238, ISL28022, RTQ6056. 1. Change RTQ6056 to read shunt voltage. 2. Revise voltage scale and threshold. 3. A
configurations: yosemite4: Revise MEDUSA voltage sensor
Revise MEDUSA voltage sensors: INA238, ISL28022, RTQ6056. 1. Change RTQ6056 to read shunt voltage. 2. Revise voltage scale and threshold. 3. Add "in1_Min" and "in_voltage0_Min" in schemas/legacy.json.
Tested: Check sensor reading of INA238, ISL28022, RTQ6056. They all work fine.
Change-Id: I61ec1d6f98a1e5051486e2871b24e70f899e59ab Signed-off-by: Yikai Tsai <yikai.tsai.wiwynn@gmail.com>
show more ...
|
cc403b48 | 13-Dec-2024 |
Thang Tran <thuutran@amperecomputing.com> |
correct the name of Inventory.Item.Bmc interface
As defined in the PDIs [1], the correct name of this interface is Inventory.Item.Bmc (not BMC). This commit corrects all configuration that are using
correct the name of Inventory.Item.Bmc interface
As defined in the PDIs [1], the correct name of this interface is Inventory.Item.Bmc (not BMC). This commit corrects all configuration that are using incorrect interface name.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Bmc.interface.yaml
Change-Id: Icc9b4b33725999a72cd925fd0f0e5995aacadcdc Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
show more ...
|
7fe7b885 | 06-Jan-2025 |
Potin Lai <potin.lai@quantatw.com> |
configurations: catalina: add scale and offset for P12V & P48V sensors
Add scale and offset for calibration on below sensors - PDB_P12V_NIC0_CURR_A - PDB_P12V_NIC0_PWR_W - PDB_P12V_NIC1_CURR_A - PDB
configurations: catalina: add scale and offset for P12V & P48V sensors
Add scale and offset for calibration on below sensors - PDB_P12V_NIC0_CURR_A - PDB_P12V_NIC0_PWR_W - PDB_P12V_NIC1_CURR_A - PDB_P12V_NIC1_PWR_W - PDB_P12V_SCM_CURR_A - PDB_P12V_SCM_PWR_W - PDB_P48V_HSC1_CURR_A - PDB_P48V_HSC1_PWR_W - PDB_P48V_HSC2_CURR_A - PDB_P48V_HSC2_PWR_W
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I7d60ae27d043fb760b38bc198e39b217ad45f48e
show more ...
|
18a81fb8 | 05-Dec-2024 |
Sean He <sean.he.wiwynn@gmail.com> |
schemas: modify the property name of chassis types
Modify the property name so that it matches the one defined in phosphor-dbus-interfaces.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/b
schemas: modify the property name of chassis types
Modify the property name so that it matches the one defined in phosphor-dbus-interfaces.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Chassis.interface.yaml
Change-Id: I1dcef0b11bd3cb6bc0fab141da5e85722647289a Signed-off-by: Sean He <sean.he.wiwynn@gmail.com>
show more ...
|
19ecfb3b | 02-Nov-2024 |
Jagpal Singh Gill <paligill@gmail.com> |
cable: add cable type and cable decorator
Add cable type to the global schema types and cable decorator with Length and Type properties.
Change-Id: I5368c16b91c94980be1b10cbfaf7969933e0507e Signed-
cable: add cable type and cable decorator
Add cable type to the global schema types and cable decorator with Length and Type properties.
Change-Id: I5368c16b91c94980be1b10cbfaf7969933e0507e Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
e501cb71 | 19-Feb-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
schemas: Specify descriptions of MCTP I2C targets
6fa0602db825 ("Add mctp eids configuration for Yosemite 4") introduced an `EndpointId` property for assigning static MCTP endpoint IDs to an exposed
schemas: Specify descriptions of MCTP I2C targets
6fa0602db825 ("Add mctp eids configuration for Yosemite 4") introduced an `EndpointId` property for assigning static MCTP endpoint IDs to an exposed device. This might work in very specific contexts, but often more information is needed to configure a device for MCTP communication.
Introduce the `MCTPI2CTarget` schema. Specifying `MCTPI2CTarget` sets requirements such that a reactor can derive the physical address encoding required to set up the endpoint.
For now we assume that all I2C controllers enabled for MCTP take the role of bus owner.
Change-Id: I9d3f328262e99d405fc6e6dbdadff2306c254fa3 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
8a8f01e5 | 11-Nov-2024 |
Sean He <sean.he.wiwynn@gmail.com> |
schemas: Add interfaces for Item.Accelerator and Item.Dimm
This commit add the interfaces as described in [1] and [2].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/o
schemas: Add interfaces for Item.Accelerator and Item.Dimm
This commit add the interfaces as described in [1] and [2].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml
[2] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
Tested: Interfaces are added with the corresponding properties under the related path.
Change-Id: Id4db6ebd599e94ec23f9c5db96fa3e9143619299 Signed-off-by: Sean He <sean.he.wiwynn@gmail.com>
show more ...
|
25235d64 | 07-Dec-2023 |
Chris Cain <cjcain@us.ibm.com> |
configuration: system1: Add GPIO monitoring type
Some GPIOs do not support event_read method to monitor for value changes. Added a new MonitorType field to specify if the GPIO needs to be manually p
configuration: system1: Add GPIO monitoring type
Some GPIOs do not support event_read method to monitor for value changes. Added a new MonitorType field to specify if the GPIO needs to be manually polled.
Tested: - Verified no change when MonitorType not specified - Verified functionality when Polling enum was specified
Change-Id: Ie5e8a2afe43d05192828292b629baade6b0c9c82 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
show more ...
|
d509c449 | 25-Nov-2024 |
Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com> |
configurations: yosemite4: add power reading of Medusa 12V delta modules
Add power reading of Medusa 12V delta modules for sensor monitoring.
Tested: Checked all the power reading of 12V delta modu
configurations: yosemite4: add power reading of Medusa 12V delta modules
Add power reading of Medusa 12V delta modules for sensor monitoring.
Tested: Checked all the power reading of 12V delta modules are normal.
Change-Id: Idebc0c37ac5a66b7dfb01a00c3d24dc426f4a62c Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
show more ...
|
e153a9d3 | 25-Oct-2024 |
Sean He <sean.he.wiwynn@gmail.com> |
schemas: chassis types for Inventory.Item.Chassis
This commit add the chassis types and corresponding interface as described in [1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/mas
schemas: chassis types for Inventory.Item.Chassis
This commit add the chassis types and corresponding interface as described in [1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Chassis.interface.yaml
Tested: Interfaces are added with the corresponding properties RackMount and Blade under the related path.
Change-Id: Id0cb2b2450b290d0d2af994d07cec301b441ab2d Signed-off-by: Sean He <sean.he.wiwynn@gmail.com>
show more ...
|
48e44b75 | 20-Aug-2024 |
Ingrid Chen <ingrid.chen.wiwynn@gmail.com> |
configurations: yosemite4: Support for CPU Configurations
- Configurations type support CPU - Displays CPU serial number
Change-Id: I3fe7da27b1729bd11c267849e2154629b65638b6 Signed-off-by: Ingrid C
configurations: yosemite4: Support for CPU Configurations
- Configurations type support CPU - Displays CPU serial number
Change-Id: I3fe7da27b1729bd11c267849e2154629b65638b6 Signed-off-by: Ingrid Chen <ingrid.chen.wiwynn@gmail.com>
show more ...
|
bdad3d53 | 21-Aug-2024 |
Oliver Brewka <mox669.dev@gmail.com> |
configurations: yv4 sentinel dome: add interface
Add ManagedHost interface to yv4 sentinel dome, which will be used by bmcweb for system discovery and other dbus operations.
Change-Id: I633722ccfa7
configurations: yv4 sentinel dome: add interface
Add ManagedHost interface to yv4 sentinel dome, which will be used by bmcweb for system discovery and other dbus operations.
Change-Id: I633722ccfa7d957d976ef7dc37fdda12df35d59e Signed-off-by: Oliver Brewka <mox669.dev@gmail.com>
show more ...
|
c1521d1b | 09-Oct-2024 |
Chau Ly <chaul@amperecomputing.com> |
schemas: legacy: Extend PSUSensor properties
PSUSensor now supports a new sensor type named smpro_hwmon and the sensor can report more sensors inside its sysfs. This commit extends the properties s
schemas: legacy: Extend PSUSensor properties
PSUSensor now supports a new sensor type named smpro_hwmon and the sensor can report more sensors inside its sysfs. This commit extends the properties so the sensor can be configured in Entity-Manager with full support for the component sensors.
Tested: on Mt.Jade platform with config "Type": "smpro_hwmon" and necessary _Min, _Max, _Name, _Scale configs => The CI build passes and the sensor can be created successfully on D-Bus.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: Ica45569eb349169efa3032267b4bfd4368e7aadd
show more ...
|
7d73f435 | 25-Sep-2024 |
Yang Chen <yang.chen@quantatw.com> |
configurations: minerva_cmm: add calibration for HSC sensor
Add the calibration formula for the HSC sensor according to the power team's measurement result.
Change-Id: I79ec9c74dc4d25204748b3883ef3
configurations: minerva_cmm: add calibration for HSC sensor
Add the calibration formula for the HSC sensor according to the power team's measurement result.
Change-Id: I79ec9c74dc4d25204748b3883ef377d1606db201 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
show more ...
|
ae36f5ef | 19-Sep-2024 |
George Liu <liuxiwei@ieisystem.com> |
schemas: virtual sensor: Add average and sum for calculation sensor
Average and Sum are implemented in phosphor-virtual-sensors [1]. This commit supports Average and Sum types in schemas.
[1]: http
schemas: virtual sensor: Add average and sum for calculation sensor
Average and Sum are implemented in phosphor-virtual-sensors [1]. This commit supports Average and Sum types in schemas.
[1]: https://gerrit.openbmc.org/c/openbmc/phosphor-virtual-sensor/+/74716
Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I726b7a853b5b42bea9c5ea266d5c5a7be6addd83
show more ...
|
146673ba | 08-Aug-2024 |
Potin Lai <potin.lai@quantatw.com> |
configurations: catalina_pdb: add max/min value for vdrop sensor
We noticed that the vdrop sensor values were not updating correctly and we discovered this was due to incorrect MaxValue and MinVal
configurations: catalina_pdb: add max/min value for vdrop sensor
We noticed that the vdrop sensor values were not updating correctly and we discovered this was due to incorrect MaxValue and MinValue settings. The value of the vdrop sensor is usually between 1 and -1 volts. Add in0_Max and in0_Mix definitions for the vdrop sensor.
Tested results: ``` root@bmc:~# busctl introspect xyz.openbmc_project.PSUSensor /xyz/openbmc_project/sensors/voltage/PDB_POSITIVE_VDROP_VOLT_V xyz.openbmc_project.Sensor.Value NAME TYPE SIGNATURE RESULT/VALUE FLAGS .MaxValue property d 1 emits-change .MinValue property d -1 emits-change .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change .Value property d 0.104 emits-change writable root@bmc:~# busctl introspect xyz.openbmc_project.PSUSensor /xyz/openbmc_project/sensors/voltage/PDB_RETURN_VDROP_VOLT_V xyz.openbmc_project.Sensor.Value NAME TYPE SIGNATURE RESULT/VALUE FLAGS .MaxValue property d 1 emits-change .MinValue property d -1 emits-change .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change .Value property d 0.107 emits-change writable ```
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I37125808a772d0e12fcf93a56a161b573c09135a
show more ...
|
a037dd65 | 11-Sep-2024 |
Ingrid Chen <ingrid.chen.wiwynn@gmail.com> |
schemas: Add Inventory.Item.Storage interface
This commit adds the Item.Storage interface as described in [1].
Support the BSM with the `xyz.openbmc_project.Inventory.Item.Storage` interface to lab
schemas: Add Inventory.Item.Storage interface
This commit adds the Item.Storage interface as described in [1].
Support the BSM with the `xyz.openbmc_project.Inventory.Item.Storage` interface to label the hardware type.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Storage.interface.yaml
Change-Id: I0655987262cd13aff32b376f8aa8baeff498afa4 Signed-off-by: Ingrid Chen <ingrid.chen.wiwynn@gmail.com>
show more ...
|
7d6080db | 04-Sep-2024 |
Patrick Williams <patrick@stwcx.xyz> |
json: adjust definitions alias
JSON Schema suggests[1] using "$defs" rather than "definitions" as the location for reusable definitions in a schema. While, this isn't strictly required, there is so
json: adjust definitions alias
JSON Schema suggests[1] using "$defs" rather than "definitions" as the location for reusable definitions in a schema. While, this isn't strictly required, there is some implication that using it lends to better schema validation error reporting[2].
Adjust all the schema files to use "$defs" rather than "definitions".
[1]: https://json-schema.org/understanding-json-schema/structuring#defs [2]: https://github.com/orgs/json-schema-org/discussions/151
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4b23890950bd2ebb7a7de99fd911fb3c9e0a4dbd
show more ...
|
c74b06a7 | 02-Sep-2024 |
Ingrid Chen <ingrid.chen.wiwynn@gmail.com> |
schemas: Add Inventory.Item.BMC interface
This commit adds the Item.BMC interface as described in [1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/I
schemas: Add Inventory.Item.BMC interface
This commit adds the Item.BMC interface as described in [1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Bmc.interface.yaml
Change-Id: I905fb12434df5280e71d7472666ad646c6b74911 Signed-off-by: Ingrid Chen <ingrid.chen.wiwynn@gmail.com>
show more ...
|