mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
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>
This commit is contained in:
1 parent
1d462e0397
commit
2c964a2e15
3 files changed
+170
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user