The bus recovery feature utilizing bit-bang operations, which sends SCL clock pulses to recover the bus and checks if the line is down. Upon recovery, it disables the system test register before resuming the transactions. Signed-off-by: Dhruv Menon <dhruvmenon1104@gmail.com>
18 lines
459 B
Text
18 lines
459 B
Text
# Copyright (C) 2024 BeagleBoard.org Foundation
|
|
# Copyright (C) 2024 Dhruv Menon <dhruvmenon1104@gmail.com>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config I2C_OMAP
|
|
bool "TI OMAP I2C Driver"
|
|
default y
|
|
depends on DT_HAS_TI_OMAP_I2C_ENABLED
|
|
help
|
|
Enable the I2C driver for TI OMAP SoCs.
|
|
|
|
config I2C_OMAP_BUS_RECOVERY
|
|
bool "Bus recovery support"
|
|
depends on I2C_OMAP
|
|
select I2C_BITBANG
|
|
help
|
|
Enable OMAP I2C driver bus recovery support via bitbanging.
|