75b2f5abed
The fuel gauge tests should *not* have to enable CONFIG_SENSOR in order to get access to the sbs gauge emulator. Allow fuel_gauge sbs_gauge direct access to emul_sbs_gauge.c Signed-off-by: Aaron Massey <aaronmassey@google.com>
14 lines
370 B
Plaintext
14 lines
370 B
Plaintext
# Copyright (c) 2021 Leica Geosystems AG
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SBS_GAUGE
|
|
bool "Smart Battery Fuel Gauge"
|
|
default y
|
|
depends on DT_HAS_SBS_SBS_GAUGE_ENABLED
|
|
select I2C
|
|
help
|
|
Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge.
|
|
|
|
# Maintain access to emul_sbs_gauge.
|
|
source "drivers/fuel_gauge/sbs_gauge/Kconfig.emul_sbs_gauge"
|