diff options
| author | Minda Chen <[email protected]> | 2023-03-09 14:19:58 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-03-09 21:00:57 +0530 |
| commit | e9d08bd99cc702fcec1c5b59b593781da668e2bc (patch) | |
| tree | 8b1b2cf40e976b79274f85860d8aced45836726e /lib/utils/i2c/objects.mk | |
| parent | 4b28afc98bbe406e3ad6f4a97d0fe96a882e83a1 (diff) | |
lib: utils/i2c: Add minimal StarFive jh7110 I2C driver
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 <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/i2c/objects.mk')
| -rw-r--r-- | lib/utils/i2c/objects.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/utils/i2c/objects.mk b/lib/utils/i2c/objects.mk index a0fbbb5d..5f7a79ff 100644 --- a/lib/utils/i2c/objects.mk +++ b/lib/utils/i2c/objects.mk @@ -14,3 +14,8 @@ 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 |
