summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2021-06-03 11:57:11 +0300
committerGeorge Liu <liuxiwei@inspur.com>2021-06-04 06:43:32 +0300
commit78c28a4e34610b7d087471341a131d8a7d05bc1e (patch)
tree2e8253012af20589019cc860dc67c54c15083894 /meta-quanta/meta-gbs
parent8625c491e383fc47eb93b8f98ca0f169b5c155e9 (diff)
downloadopenbmc-78c28a4e34610b7d087471341a131d8a7d05bc1e.tar.xz
fp5280g2: hwmon: Add total_power configuration
The intent behind this commit is to add the configuration of total_power, after power on, read the sensor value of total_power from occ-hwmon and successfully read it through D-Bus. Tested: ~# mapper get-service /xyz/openbmc_project/sensors/power/total_power xyz.openbmc_project.Hwmon-b7759d36485edc452dd4ab56fcddbc713138c18574d600852a5ebf252410dd34.Hwmon1 ~# busctl introspect xyz.openbmc_project.Hwmon-b7759d36485edc452dd4ab56fcddbc713138c18574d600852a5ebf252410dd34.Hwmon1 /xyz/openbmc_project/sensors/power/total_power NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Sensor.Value interface - - - .MaxValue property d inf emits-change writable .MinValue property d -inf emits-change writable .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change writable .Value property d 122 emits-change writable xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Iba09b549b0b0661ece8404d6d0ab307db8335779
Diffstat (limited to 'meta-quanta/meta-gbs')
0 files changed, 0 insertions, 0 deletions