mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 23:41:23 +01: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>
32 lines
433 B
Plaintext
32 lines
433 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "I2C Support"
|
|
|
|
config FDT_I2C
|
|
bool "FDT based I2C drivers"
|
|
depends on FDT
|
|
select I2C
|
|
default n
|
|
|
|
if FDT_I2C
|
|
|
|
config FDT_I2C_SIFIVE
|
|
bool "SiFive I2C FDT driver"
|
|
default n
|
|
|
|
config FDT_I2C_DW
|
|
bool "Synopsys Designware I2C FDT driver"
|
|
select I2C_DW
|
|
default n
|
|
endif
|
|
|
|
config I2C_DW
|
|
bool "Synopsys Designware I2C support"
|
|
default n
|
|
|
|
config I2C
|
|
bool "I2C support"
|
|
default n
|
|
|
|
endmenu
|