diff options
author | Nikita Shubin <n.shubin@yadro.com> | 2021-11-10 12:42:27 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-11-12 07:47:50 +0300 |
commit | 2c964a2e159880c921a33f51f493a3a257d4bfce (patch) | |
tree | 4ac136ab46da0560e7049eb67950420184d985d7 /lib/utils/i2c/objects.mk | |
parent | 1d462e039782e49d2a96a776e50b7478d87b228d (diff) | |
download | opensbi-2c964a2e159880c921a33f51f493a3a257d4bfce.tar.xz |
lib: utils/i2c: Add generic I2C configuration library
Helper library to keep track of registered I2C adapters,
identified by dts offset, basic send/read functions and
adapter configuration (enable, set dividers, etc...).
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Tested-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
Diffstat (limited to 'lib/utils/i2c/objects.mk')
-rw-r--r-- | lib/utils/i2c/objects.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/utils/i2c/objects.mk b/lib/utils/i2c/objects.mk new file mode 100644 index 0000000..894f618 --- /dev/null +++ b/lib/utils/i2c/objects.mk @@ -0,0 +1,10 @@ +# +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2021 YADRO +# +# Authors: +# Nikita Shubin <n.shubin@yadro.com> +# + +libsbiutils-objs-y += i2c/i2c.o |