#
db82c0f8 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ib954bf0f0b02b48eba93a0ddd42730542ceb5264 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
a16bef7d |
| 01-Aug-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
meson: remove boost
boost is not necessary here and has little use in the project.
Change-Id: Ia7ce9664335dce50652d0baa4a2132fde28a6269 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.c
meson: remove boost
boost is not necessary here and has little use in the project.
Change-Id: Ia7ce9664335dce50652d0baa4a2132fde28a6269 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
#
673b981a |
| 01-Aug-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
interfaces: use old dbus encoding
Due to backwards compatibility with old configurations, this is an easy fix to bring back the old object paths.
Tests are provided to capture this behavior.
Chang
interfaces: use old dbus encoding
Due to backwards compatibility with old configurations, this is an easy fix to bring back the old object paths.
Tests are provided to capture this behavior.
Change-Id: Ic89f2eb02bb908cf23b833b08fdca941bef2a07a Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
#
24d124f9 |
| 16-Jul-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
sysfs: Refactor LED property parsing
Added new test for parsing led description from sysfs.
Since there are some edge cases that can happen, to make sure the parsing happens as expected in all case
sysfs: Refactor LED property parsing
Added new test for parsing led description from sysfs.
Since there are some edge cases that can happen, to make sure the parsing happens as expected in all cases.
The edge cases primarily come from the different led properties that can be present or absent in devicetree. I have tested some combinations thereof and would prefer the label to be generated by led sysfs instead of manually providing the 3-component label.
However for that to work phosphor-led-sysfs must be able to extract the labels components in all cases.
This modifies the behavior slightly but it will stay the same for led names that have 1 or 3 components.
Change-Id: I8def089e4c8dc5d3a341cf6f6b1d6356f5aefe48 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
#
b6779846 |
| 07-Oct-2022 |
Jayashree Dhanapal <jayashree-d@hcl.com> |
Create a new Dbus interface for LED
A new Dbus API method is created in the phosphor-led-sysfs repository under xyz.openbmc_project.Led.Sysfs.Internal interface name to add or remove the LED, which
Create a new Dbus interface for LED
A new Dbus API method is created in the phosphor-led-sysfs repository under xyz.openbmc_project.Led.Sysfs.Internal interface name to add or remove the LED, which will be coming from each udev LED event to create the LED dbus path.
xyz.openbmc_project.Led.Sysfs.Internal interface .AddLED method .RemoveLED method
This Dbus API method is added to support the multihost physical LEDs design. https://gerrit.openbmc.org/c/openbmc/docs/+/55230
Also support a executable for LED DBUS API method
Added a new executable for LED DBUS API method to communicate between udev and application.
Executable will call Dbus API method to pass LED name as argument from udev, after the primary service started.
Tested : Tested the dbus method is invoked for each LED udev event in Facebook YosemiteV2 platform.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I3fa6c3caa130b2b71ebc9fe8d69541c029f516ab Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|