Revision Date Author Comments
# 48781aef 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: If66f68c96df4baf8dc07abf8729a3cb7657e932d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 73eaceeb 23-Oct-2020 Bob King <Bob_King@wistron.com>

regulators: Add Services to ActionEnvironment

Add Services& services to the ActionEnvironment constructor.
Add Services& getServices() to the ActionEnvironment class.
Add Services& s

regulators: Add Services to ActionEnvironment

Add Services& services to the ActionEnvironment constructor.
Add Services& getServices() to the ActionEnvironment class.
Add Services& services to the ActionEnvironment class.
Update the ActionEnvironment test for the new getServices() method.
Update classes that create an ActionEnvironment.
Update all affected testcases that create an ActionEnvironment.

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

show more ...


# a76898f1 13-Oct-2020 Bob King <Bob_King@wistron.com>

regulators: Enhance config file parser

Enhance JSON config file parser to convert relative inventory paths to
absolute form.

Tested:
Run local CI with -Dlong-tests=enabled t

regulators: Enhance config file parser

Enhance JSON config file parser to convert relative inventory paths to
absolute form.

Tested:
Run local CI with -Dlong-tests=enabled to enable tests for
validate-regulators-config.py.

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

show more ...


# 8a3db36a 05-Feb-2020 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Add toString() method to Action class

Add a toString() method to the Action class and all child classes.

This method returns a string description of the action. The des

regulators: Add toString() method to Action class

Add a toString() method to the Action class and all child classes.

This method returns a string description of the action. The description
will be used in journal entries and error logs when an action fails
(such as due to an I2C error).

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

show more ...


# afb7fc3f 11-Dec-2019 Shawn McCarney <shawnmm@us.ibm.com>

Add I2C interface to Device class

Add an I2C interface to the phosphor-regulators C++ Device class.

Use the I2CInterface class from the tools/i2c directory of this
repository.

Add I2C interface to Device class

Add an I2C interface to the phosphor-regulators C++ Device class.

Use the I2CInterface class from the tools/i2c directory of this
repository.

Also add the other required properties of the JSON "device" object to
the C++ Device class.

The JSON "device" object is in the phosphor-regulators config file. For
more information, see phosphor-regulators/docs/config_file/device.md.

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

show more ...


# 1e5f993d 31-Oct-2019 Shawn McCarney <shawnmm@us.ibm.com>

Create regulators SetDeviceAction class

Create the SetDeviceAction class that implements the set_device action
in the JSON config file.

Signed-off-by: Shawn McCarney <shawnmm@us

Create regulators SetDeviceAction class

Create the SetDeviceAction class that implements the set_device action
in the JSON config file.

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

show more ...