/openbmc/phosphor-power/phosphor-power-supply/configurations/witherspoon/ |
H A D | psu_config.json | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | README.md | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|
H A D | meson.build | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|
H A D | psu_manager.hpp | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|
H A D | power_supply.hpp | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|
H A D | power_supply.cpp | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|
H A D | psu_manager.cpp | aed1f75d Mon Nov 25 18:10:52 CST 2019 Brandon Wyman <bjwyman@gmail.com> psu: Updates for power supply presence Update the JSON file to indicate the minimum and maximum number of power supplies this system can have. Update the JSON file to have an array of power supply objects, each with their various own properties. Each power supply will have: 1) An associated D-Bus path for the inventory. This will have the Present property. 2) An associated I2C bus number. 3) An associated I2C bus adddress. Update PowerSupply class to have a present member variable, an isPresent() accessor function, and two functions for updating the presence. One function will be the call back function for either inventory change events or interface added events, which will use associated match member variables. The second function being one that attempts to read the inventory Present property on startup. If reading the Present property on startup fails, the property changed or interface added events should work to get the value when that property is available. Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ib34510a6da66ba1b8f1e927093b3d10b09beb410
|