History log of /openbmc/phosphor-power/phosphor-regulators/src/presence_detection.hpp (Results 1 – 3 of 3)
Revision Date Author Comments
# 0c9a33d6 13-Sep-2021 Adriana Kobylak <anoo@us.ibm.com>

clang updates

The openbmc CI was recently updated to clang-12 which requires some
formatting updates to the code:
https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be048242690

clang updates

The openbmc CI was recently updated to clang-12 which requires some
formatting updates to the code:
https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08

Make those updates and refresh the clang-format file with the one from
docs:
https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format

Change-Id: Ieb3626526373a053ec84431e7560003f229f338d
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# 462e5926 19-Nov-2020 Bob King <Bob_King@wistron.com>

regulators: Complete PresenceDetection class

Complete implementation of the PresenceDetection class. Implement the
execute() method that executes one or more actions to determine if a
device is pre

regulators: Complete PresenceDetection class

Complete implementation of the PresenceDetection class. Implement the
execute() method that executes one or more actions to determine if a
device is present.

Cache the results so that subsequent calls to execute() will return the
cached value. Executing the actions may be expensive, requiring one or
more D-Bus calls.

Provide a clearCache() method to be called on each boot to clear the
cached value.

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: Ie0e3dfde10f2df8ca8b56ec14ce723f356e97dfc

show more ...


# bfe2c25a 10-Mar-2020 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Create PresenceDetection class

Create C++ class that implements the 'presence_detection' element from
the JSON config file. See presence_detection.md for more information.

The execute(

regulators: Create PresenceDetection class

Create C++ class that implements the 'presence_detection' element from
the JSON config file. See presence_detection.md for more information.

The execute() method of this class will be implemented in a future
commit.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Id6e1d66afe9179c92455d3f7b8f15bb54745f3eb

show more ...