bd9c71ab0a
* Upstream added an equivalent fuel gauge driver, so namespace our Kconfig symbol and DTS compatible for the MAX17048 driver.
22 lines
527 B
Plaintext
22 lines
527 B
Plaintext
# Copyright (c) 2022 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
menuconfig ZMK_MAX17048
|
|
bool "MAX17048/9 I2C-based Fuel Gauge"
|
|
default y
|
|
depends on DT_HAS_ZMK_MAXIM_MAX17048_ENABLED && I2C
|
|
select ZMK_BATTERY
|
|
help
|
|
Enable driver for MAX17048/9 I2C-based Fuel Gauge. Supports measuring
|
|
battery voltage and state-of-charge.
|
|
|
|
if ZMK_MAX17048
|
|
|
|
config SENSOR_MAX17048_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 75
|
|
help
|
|
Device driver initialization priority.
|
|
|
|
endif #MAX17048
|