History log of /openbmc/gpioplus/src/ (Results 1 – 25 of 30)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b80c584e16-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: Ie3bd23911d86a3097f21b036a94f1dda3e38b511
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

9121442316-Jun-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://githu

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

Change-Id: I1328f3ee46fdfd4b0285a235fe0dda51e36066e8
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...

0ceda04312-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

add cstdint include

The aspeed.hpp uses `uint*_t` types without the cstdint include, which
fails on some compilers on some architectures. Add it.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz

add cstdint include

The aspeed.hpp uses `uint*_t` types without the cstdint include, which
fails on some compilers on some architectures. Add it.

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

show more ...

7ba248ad10-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: I3a681a9dd632fc31b26bf2df50de0cf4b65f8ec0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

3f49f01e16-Apr-2021 William A. Kennington III <wak@google.com>

meson: Update minimum version to 0.57.0

Required for c++20 suppport.

Change-Id: Ida3bdf9615505f7fcc360f5dd246fda5066d6ba5
Signed-off-by: William A. Kennington III <wak@google.com>

d67babcd30-May-2019 William A. Kennington III <wak@google.com>

autotools: Remove

Meson is now used to build this package in all necessary places.

Change-Id: Icd01dd86ee22414c221fe2461c76be56d69eaf9c
Signed-off-by: William A. Kennington III <wak@google.com>


48e6288d03-Apr-2019 William A. Kennington III <wak@google.com>

meson: Use declare_dependency for libraries

Now example binaries and tests don't have to be aware of the nuances for
configuring the build to use the library. This makes the project library
look lik

meson: Use declare_dependency for libraries

Now example binaries and tests don't have to be aware of the nuances for
configuring the build to use the library. This makes the project library
look like any other system dependency.

Change-Id: Ib042c253adedb6f949c8a8897ed9a34e61d2a888
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

9dd00de701-Apr-2019 William A. Kennington III <wak@google.com>

meson: Fix pc file generation

The previous commit adding meson support forgot to add the gpioplus
library to the pkgconfig file, so anything depending on gpioplus
wouldn't get the linker flag that i

meson: Fix pc file generation

The previous commit adding meson support forgot to add the gpioplus
library to the pkgconfig file, so anything depending on gpioplus
wouldn't get the linker flag that is required to link against it.

Change-Id: Id0ed6dabede79bd137ae5f56806e7202f8a238c9
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

1565897727-Mar-2019 William A. Kennington III <wak@google.com>

meson: Add build system

Change-Id: Ia57836a0f7b5287ddb490ba6de01192ce0ef6382
Signed-off-by: William A. Kennington III <wak@google.com>

b208502819-Dec-2018 William A. Kennington III <wak@google.com>

test/handle: Don't need a virtual destructor

We aren't ever going to extend the mock implementation and even if we
did, only the base class needs to declare this.

Change-Id: Ie524d44ffc7ca787809ca8

test/handle: Don't need a virtual destructor

We aren't ever going to extend the mock implementation and even if we
did, only the base class needs to declare this.

Change-Id: Ie524d44ffc7ca787809ca849fb526540e7cc2fa3
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

07fb342119-Dec-2018 William A. Kennington III <wak@google.com>

makefile: Fix rule ordering

Change-Id: I7f6cf155e5840693b519d366e39905595d838b9a
Signed-off-by: William A. Kennington III <wak@google.com>

084683a419-Dec-2018 William A. Kennington III <wak@google.com>

event: Add mock for clients

Makes it easier for client libraries to test their gpio logic.

Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d
Signed-off-by: William A. Kennington III <wak@google.

event: Add mock for clients

Makes it easier for client libraries to test their gpio logic.

Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

526fc7d819-Dec-2018 Patrick Venture <venture@google.com>

test: add HandleInterface and mock

Add a handle mock for use by other daemon's unit-tests. This saves a
separate daemon from using the SysMock.

Change-Id: I11802ca2f1b00e3e0de8966856c75599e560996e

test: add HandleInterface and mock

Add a handle mock for use by other daemon's unit-tests. This saves a
separate daemon from using the SysMock.

Change-Id: I11802ca2f1b00e3e0de8966856c75599e560996e
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

8ff5812226-Oct-2018 William A. Kennington III <wak@google.com>

utility/aspeed: Add gpio name to offset method

Useful for converting from the GPIO name listed in the chip or board
schematics to the offset which would be presented by the kernel. Made
constexpr so

utility/aspeed: Add gpio name to offset method

Useful for converting from the GPIO name listed in the chip or board
schematics to the offset which would be presented by the kernel. Made
constexpr so that the conversions can be done at compile time.

Ex:
gpioplus::utility::aspeed::nameToOffset("B3") -> 11

Tested:
Built and run through the unit test suite.

Change-Id: I9ec859bf8fb6c60f15e149779d1bd3eb94fc1bd6
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

4d40f76420-Sep-2018 William A. Kennington III <wak@google.com>

{event,handle}: Clarify object lifetime requirements

It was unclear from the current docuemntation that Handles and Events do
not depend on the Chip or their input flags remaining alive during
the l

{event,handle}: Clarify object lifetime requirements

It was unclear from the current docuemntation that Handles and Events do
not depend on the Chip or their input flags remaining alive during
the lifetime of the object. This makes that more clear.

Change-Id: I9831d7ffd095045a0a381b9863ce684bab22baae
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

43171e3d12-Sep-2018 William A. Kennington III <wak@google.com>

pkg-config: Remove non-generated field

These fields are only replaced for packages using AX_PKG_CHECK_MODULES

0fe8824412-Sep-2018 William A. Kennington III <wak@google.com>

pkg-config: Add Missing description field

68cce0fa27-Aug-2018 William A. Kennington III <wak@google.com>

event: timestamp should use chrono types

8ebe525c27-Aug-2018 William A. Kennington III <wak@google.com>

handle: Document

abfa1ca527-Aug-2018 William A. Kennington III <wak@google.com>

event: Document

e3c0b25427-Aug-2018 William A. Kennington III <wak@google.com>

chip: Document

1d97c45a27-Aug-2018 William A. Kennington III <wak@google.com>

internal/fd: Document

2c28dbfa27-Aug-2018 William A. Kennington III <wak@google.com>

internal/sys: Document

12cd254322-Aug-2018 William A. Kennington III <wak@google.com>

Replace all public `const char *` with `std::string_view`

16e7f11217-Aug-2018 William A. Kennington III <wak@google.com>

handle: Use the default constructor

12