Add ObjectManager path requirement for Voltage Regulator interfaces
Add the requirement/expectation of org.freedesktop.DBus.ObjectManager on
services implementing Control.VoltageRegular{Mode,Control}.
The ObjectManager is expected to be implemented at
/xyz/openbmc_project/vr.
Currently, dbus-sdr specifically calls out the paths it uses to find the
ObjectManager, instead of using "/" which would find any ObjectManager
implemented at any location. "/xyz/openbmc_project/sensors" is listed in
dbus-sdr and in phosphor-dbus-interfaces now. This changes adds
"/xyz/openbmc_project/vr".
Change-Id: I6c74323189b74958301b445d6dc9a993a495e62f
Signed-off-By: Sui Chen <suichen@google.com>
diff --git a/yaml/xyz/openbmc_project/Control/VoltageRegulatorControl.interface.yaml b/yaml/xyz/openbmc_project/Control/VoltageRegulatorControl.interface.yaml
index db9786b..1314837 100644
--- a/yaml/xyz/openbmc_project/Control/VoltageRegulatorControl.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/VoltageRegulatorControl.interface.yaml
@@ -4,6 +4,11 @@
voltage regulator channel, and allows external entities to control Voltage
Regulator devices.
+ Any service implementing Control.VoltageRegulatorControl on one or more
+ objects must implement org.freedesktop.DBus.ObjectManager on
+ /xyz/openbmc_project/vr. DBus objects must fall under this path so that they
+ can be found through the GetManagedObjects DBus method.
+
properties:
- name: Voltage
type: double
diff --git a/yaml/xyz/openbmc_project/Control/VoltageRegulatorMode.interface.yaml b/yaml/xyz/openbmc_project/Control/VoltageRegulatorMode.interface.yaml
index 0c2bcd2..237fae4 100644
--- a/yaml/xyz/openbmc_project/Control/VoltageRegulatorMode.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/VoltageRegulatorMode.interface.yaml
@@ -13,6 +13,11 @@
alongside to a VoltageRegulatorControl interface, and may react to the
results of changes to the Control interface.
+ Any service implementing Control.VoltageRegulatorControlMode on one or more
+ objects must implement org.freedesktop.DBus.ObjectManager on
+ /xyz/openbmc_project/vr. DBus objects must fall under this path so that they
+ can be found through the GetManagedObjects DBus method.
+
properties:
- name: Supported
type: array[string]