07ee466591
Remove all enabling of CONFIG_EMUL_.* in favor of automatically enabling peripheral emulators based on the compatible string presence in the device tree and the one true CONFIG_EMUL. Zephyr has long since moved to a model of enabling drivers based on the presence of their associated IC's compatible string in the final devicetree overlay. There is no reason that emulators can't align in just the same way, and probably ought to to remove superfluous enabling of configs. Signed-off-by: Aaron Massey <aaronmassey@google.com>
23 lines
554 B
Plaintext
23 lines
554 B
Plaintext
# MAX17048 Li-Ion battery fuel gauge
|
|
|
|
# Copyright (c) 2023, Alvaro Garcia <maxpowel@gmail.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
config MAX17048
|
|
bool "MAX17048 Li-Po fuel gauge"
|
|
default y
|
|
depends on DT_HAS_MAXIM_MAX17048_ENABLED
|
|
select I2C
|
|
help
|
|
Enable driver for the MAX17048 fuel gauge device.
|
|
|
|
config EMUL_MAX17048
|
|
bool "Emulate an MAX17048 fuel gague"
|
|
default y
|
|
depends on EMUL
|
|
depends on MAX17048
|
|
help
|
|
It provides readings which follow a simple sequence, thus allowing
|
|
test code to check that things are working as expected.
|