History log of /openbmc/phosphor-gpio-monitor/multi-presence/ (Results 1 – 7 of 7)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1c88803f18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have b

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.

See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.

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

show more ...

cf33c59318-Dec-2024 Jayanth Othayoth <ojayanth@gmail.com>

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

Change-Id: Iade4e4f1f25092f880fe06d61703db505b6e03d1
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...

38cd74c807-Nov-2024 Yang Chen <yang.chen@quantatw.com>

Continue on missing GPIOs in the monitor/presence

In some cases, if a GPIO is not found, the function returns -1 to exit
the process. To improve this, change the return value from -1 to
continue so

Continue on missing GPIOs in the monitor/presence

In some cases, if a GPIO is not found, the function returns -1 to exit
the process. To improve this, change the return value from -1 to
continue so each object can be handled separately. This ensures
the JSON file fully parses even if some GPIOs are missing.

Change-Id: I83763d56963e3d2ec9981a95a1a0da17d0882910
Signed-off-by: Yang Chen <yang.chen@quantatw.com>

show more ...

8377d59c16-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: Ia9dd4aed00238b28839b86dfe4ca93155a521766
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

9f8459a522-Apr-2024 Konstantin Aladyshev <aladyshev22@gmail.com>

meson: Provide missing boost dependency and its wrap file

Currently local meson build fails with the error:
"""
fatal error: boost/asio/io_context.hpp: No such file or directory
"""
This is happenin

meson: Provide missing boost dependency and its wrap file

Currently local meson build fails with the error:
"""
fatal error: boost/asio/io_context.hpp: No such file or directory
"""
This is happening because boost is not listed as a dependency for the
targets that use it.
Add boost dependency for all the necessary targets and provide a wrap
file for boost for the local meson build.

Tested:
"meson setup build && cd build && meson compile" finishes successfully.

Change-Id: I3f418091d8a2da9377684e16ce3e2f88db4c6eb8
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>

show more ...

d3898c5e20-Oct-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-17 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-17 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: I4c5b9d2879d3f682f7ed9922a58712ef958f0547
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

46a9a5b910-Aug-2023 Patrick Rudolph <patrick.rudolph@9elements.com>

Add phosphor-multi-gpio-presence

The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.

The driver loading feature hasn't been ported to

Add phosphor-multi-gpio-presence

The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.

The driver loading feature hasn't been ported to the new service.

Change-Id: I412345f804208e48eec40ec020b3a0d8f668a34b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>

show more ...


/openbmc/phosphor-gpio-monitor/.clang-format
/openbmc/phosphor-gpio-monitor/.gitignore
/openbmc/phosphor-gpio-monitor/99-gpio-keys.rules
/openbmc/phosphor-gpio-monitor/LICENSE
/openbmc/phosphor-gpio-monitor/OWNERS
/openbmc/phosphor-gpio-monitor/README.md
/openbmc/phosphor-gpio-monitor/evdev.cpp
/openbmc/phosphor-gpio-monitor/evdev.hpp
/openbmc/phosphor-gpio-monitor/file.hpp
/openbmc/phosphor-gpio-monitor/gpioMon.cpp
/openbmc/phosphor-gpio-monitor/gpioMon.hpp
/openbmc/phosphor-gpio-monitor/gpioMonMain.cpp
/openbmc/phosphor-gpio-monitor/mainapp.cpp
/openbmc/phosphor-gpio-monitor/meson.build
/openbmc/phosphor-gpio-monitor/meson.options
/openbmc/phosphor-gpio-monitor/monitor.cpp
/openbmc/phosphor-gpio-monitor/monitor.hpp
gpio_presence.cpp
gpio_presence.hpp
main.cpp
meson.build
/openbmc/phosphor-gpio-monitor/phosphor-gpio-monitor@.service
/openbmc/phosphor-gpio-monitor/phosphor-gpio-presence@.service
/openbmc/phosphor-gpio-monitor/phosphor-multi-gpio-monitor.json
/openbmc/phosphor-gpio-monitor/phosphor-multi-gpio-monitor.service
/openbmc/phosphor-gpio-monitor/phosphor-multi-gpio-presence.json
/openbmc/phosphor-gpio-monitor/phosphor-multi-gpio-presence.service
/openbmc/phosphor-gpio-monitor/presence/gpio_presence.cpp
/openbmc/phosphor-gpio-monitor/presence/gpio_presence.hpp
/openbmc/phosphor-gpio-monitor/presence/main.cpp
/openbmc/phosphor-gpio-monitor/presence/meson.build
/openbmc/phosphor-gpio-monitor/subprojects/CLI11.wrap
/openbmc/phosphor-gpio-monitor/subprojects/libgpiod.wrap
/openbmc/phosphor-gpio-monitor/subprojects/nlohmann-json.wrap
/openbmc/phosphor-gpio-monitor/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-gpio-monitor/subprojects/phosphor-logging.wrap
/openbmc/phosphor-gpio-monitor/subprojects/sdbusplus.wrap
/openbmc/phosphor-gpio-monitor/test/meson.build
/openbmc/phosphor-gpio-monitor/test/utest.cpp