Add the new driver for INA237 variant which is quite similar to the already supported INA230. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
31 lines
560 B
Plaintext
31 lines
560 B
Plaintext
# Copyright 2021 The Chromium OS Authors
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config INA23X
|
|
bool "INA23X Current and Power Monitor"
|
|
depends on I2C
|
|
help
|
|
Enable driver for INA23X Current and Power Monitor.
|
|
|
|
if INA23X
|
|
|
|
config INA230
|
|
bool "INA230"
|
|
help
|
|
Enable driver for INA230/INA231.
|
|
|
|
config INA237
|
|
bool "INA237"
|
|
help
|
|
Enable driver for INA237.
|
|
|
|
config INA230_TRIGGER
|
|
bool "INA230 trigger mode"
|
|
depends on INA230
|
|
help
|
|
Set to enable trigger mode using gpio interrupt, where
|
|
interrupts are configured to line ALERT PIN.
|
|
|
|
endif # INA23X
|