summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Control
Commit message (Collapse)AuthorAgeFilesLines
* xyz.openbmc_project.Control.ThermalMode interfaceMatthew Barth2019-02-071-0/+26
| | | | | | | | | | | | | | | | | | With the addition of the Control.ThermalMode interface, a supported list of thermal modes and the current mode being used by the thermal control application is available. A current mode of "Default" is always provided by the chosen thermal control application. Then the thermal control application is configured to populate the list of supported modes for the given platform. This allows flexibility in the thermal control application to provide only the modes that it supports for any given platform and the names chosen for those modes. Requires commits: openbmc/sdbusplus f0dd3b5a3c6c54b4f38844b573e3f157f8064088 (https://gerrit.openbmc-project.xyz/18073) Change-Id: Ieff3ff6e328bfa2e850f52abaad6409b362ae7e7 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* D-Bus interface to configure service properties.AppaRao Puli2018-12-062-0/+72
| | | | | | | | | | | | D-Bus interface exposing properties for service (RMCP+, web, SSH) like state, port to configure the same. Common interface to support both systemctl or iptables implementation. Service manager daemon (new daemon) will expose objects with these interfaces. Change-Id: I96941cf3c762fe069f13c1895fd840d7ab87e95c Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
* Add ChassisCapabilities interfaceYong Li2018-11-291-0/+28
| | | | | | | | | | | This interface is used for get/set chassis capabilities IPMI commands. The current implementation for the commands uses hard-coded values, add this interface to store the capabilities, and save them into settings-manager. Change-Id: I74ba96f4152623781d891efce27fa3594ace7be3 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
* Add fan redundancy interfaceJames Feist2018-11-031-0/+37
| | | | | | | | | | | | | | Add object to describe whether a group of fans is in a redundant state. BMCs typically monitor fan states and allow a certain number of fans to be in an error condition before taking action. This object can be monitored to determine when to take actions such as boosting fans. Tested-by: Ran CI Change-Id: Id91bfdfcb7e49b933a0d6f16c63fd806e009d62f Signed-off-by: James Feist <james.feist@linux.intel.com>
* Add ACPI system/device power states propertiesYong Li2018-10-041-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ACPI system/device power states interface to support IPMI get/set ACPI state commands. It is different from existed dbus interface 'PowerState'. Based on the IPMI spec, this is an independent setting that may not necessarily match the actual power state of the system. system power state enumeration: S0/G0 0x00 S1 0x01 S2 0x02 S3 0x03 S4 0x04 S5/G2 0x05 S4/S5 0x06 G3 0x07 Sleeping 0x08 G1 sleeping 0x09 Override 0x0A Legacy on 0x20 Unknown 0x2A Device power state enumeration: D0 0x00 D1 0x01 D2 0x02 D3 0x03 Unknown 0x2A Change-Id: I39b393b67dc79ebb90054fcbe408e61e6b76fe36 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
* Add PowerSupplyAttributes interfaceAdriana Kobylak2018-09-061-0/+10
| | | | | | | | | | | Create a PowerSupply interface to host characteristics for an individual power supply and add the Derating Factor as a property. The derating factor is intended as a read-only value. Tested: Compiled the changes and verified the generated code. Change-Id: I5f8cdc19239a9a17b0a4ad8383c679b530f1a6b5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Control: Make PowerSupplyRedundancy const (read-only)Adriana Kobylak2018-08-311-0/+2
| | | | | | | | | | | | This property is a policy that dictates how the system would behave if a power supply goes missing, and it's not intended to be modified by the user. Set it to read-only. Tested: Attempting to change the value via REST fails with "org.freedesktop.DBus.Error.PropertyReadOnly". Change-Id: I423a49bbf30eb150e38c8da52b913c3097384897 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add Control.Mode Interface for Manual ControlPatrick Venture2018-05-101-0/+19
| | | | | | | | Each object can be independently managed by the host through this state/settings interface. Change-Id: I5c9a910f559b4144f9f65fa5a1fab8576c757d1b Signed-off-by: Patrick Venture <venture@google.com>
* Add TurboAllowed interfaceJayanth Othayoth2018-03-011-0/+10
| | | | | | | | | | TurboAllowed interface is used to tell host that it is allowed to turn on turbo mode. Turbo mode is a setting to enable processor frequency boosting. Change-Id: I85fe32de9777580d9feaab5ae22e6db6a2e691ff Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add PowerSupplyRedundancy interfaceGunnar Mills2018-02-061-0/+7
| | | | | | | | Added the PowerSupplyRedundancy interface to be used to set the redundancy of the power supplies. Change-Id: I5394975963b79ae74ed7a6caf7a5bf48879f34ba Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add Control.FanPwm interfacePatrick Venture2018-01-301-0/+16
| | | | | | | | | | | | | The following reference indicates that pwm[n], when available are consistently implemented. Therefore, it's a valid approach. https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface I'd like to use this interface with phosphor-hwmon to control our fans in a similar fashion to RPM-driven control via a target. Change-Id: Ic1d9363d616e650ba7d5162f424700d6768cdf1f Signed-off-by: Patrick Venture <venture@google.com>
* Clarify restore policy behaviorAndrew Geissler2017-11-061-5/+6
| | | | | | | | | | | It's the choice of the implementer on whether to apply the policy on just a power loss or on a power loss and a BMC reboot Partially Resolves openbmc/openbmc#2454 Change-Id: Ia52a92a23d8e66f667a2c7d6ca163ae78915232f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* YAML definition for Field Mode interfaceMichael Tritz2017-08-141-0/+11
| | | | | Change-Id: Ie9451b2b67a281e9d5eac47d3d06e4ea6f0e2323 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Add minimum ship levelBrad Bishop2017-08-022-0/+65
| | | | | | | | | | | Add a framework for describing minimum ship level configurations. Minimum ship level configurations could be useful to enable legacy hardware configurations in product development while still preventing manufacturing escapes of those legacy parts. Change-Id: I005a035ac824a3f966caee4582f0e3344cfa0bca Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add TPM policy interfaceMarri Devender Rao2017-07-251-0/+8
| | | | | Change-Id: I244484a4dcac0b01fb859a9d5436c3f0bb04b39d Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Create power cap enable propertyAndrew Geissler2017-06-291-0/+6
| | | | | | | | This property will be used to enable and disable the power cap for the system Change-Id: Ifd7b2be89a33e45b9ed2e3832aa13d81b829bc85 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* D-Bus interfaces for describing State.Dhruvaraj Subhashchandran2017-06-081-0/+8
| | | | | Change-Id: Ic52faba7a24bcf58f3326b1587282ca8398e9a70 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Add d-bus interfaces for SettingsDeepak Kodihalli2017-05-256-0/+115
| | | | | | | Resolves openbmc/openbmc#1486. Change-Id: I377f40516a6a0317bb4b5d811704288048c83cc8 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Host control needs metadata error yamlAndrew Geissler2017-03-281-0/+2
| | | | | | | | | | Currently the phosphor-logging repo requires all error.yaml files have a corresponding metadata.yaml. A future change will remove this requirement but for now just provide the metadata file. Change-Id: I9a3cbfbca39d180f7ed62cff4edd15807ac69e75 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Host interface commandsAndrew Geissler2017-03-282-0/+57
| | | | | | | | At times the OpenBMC needs to interface with the host. These are the supported commands to send to the host. Change-Id: I376716336af7b8f3fdfd1a385d7ed5c4e6ba058b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add Control interface device calloutMatthew Barth2017-03-272-0/+6
| | | | | | | | Callout the device associated to a Control interface when a write failure occurs Change-Id: I8471dd99b63c6adf17b5654f2636917b308333d2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Create Control.FanSpeed interfaceMatthew Barth2017-03-161-0/+18
The Control.FanSpeed interface contains the 'Target' property that is intended for setting the requested target RPM speed of a fan. Change-Id: Id6c1870cdad980886f8a5a551b1da0ad74dc7af9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud