History log of /openbmc/gpioplus/test/utility/aspeed.cpp (Results 1 – 2 of 2)
Revision Date Author Comments
# 7ba248ad 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: I3a681a9dd632fc31b26bf2df50de0cf4b65f8ec0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 8ff58122 26-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

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 ...