mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-28 17:51:51 +00:00
Starfive JH7110 I2C IP is synopsys designware. Minimum StarFIve I2C driver to read/send bytes over I2C bus. This allows querying information and perform operation of onboard PMIC, as well as power-off and reset. Signed-off-by: Minda Chen <minda.chen@starfivetech.com> Reviewed-by: Anup Patel <anup@brainfault.org>
21 lines
624 B
Makefile
21 lines
624 B
Makefile
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (c) 2021 YADRO
|
|
#
|
|
# Authors:
|
|
# Nikita Shubin <n.shubin@yadro.com>
|
|
#
|
|
|
|
libsbiutils-objs-$(CONFIG_I2C) += i2c/i2c.o
|
|
|
|
libsbiutils-objs-$(CONFIG_FDT_I2C) += i2c/fdt_i2c.o
|
|
libsbiutils-objs-$(CONFIG_FDT_I2C) += i2c/fdt_i2c_adapter_drivers.o
|
|
|
|
carray-fdt_i2c_adapter_drivers-$(CONFIG_FDT_I2C_SIFIVE) += fdt_i2c_adapter_sifive
|
|
libsbiutils-objs-$(CONFIG_FDT_I2C_SIFIVE) += i2c/fdt_i2c_sifive.o
|
|
|
|
carray-fdt_i2c_adapter_drivers-$(CONFIG_FDT_I2C_DW) += fdt_i2c_adapter_dw
|
|
libsbiutils-objs-$(CONFIG_FDT_I2C_DW) += i2c/fdt_i2c_dw.o
|
|
|
|
libsbiutils-objs-$(CONFIG_I2C_DW) += i2c/dw_i2c.o
|