2023-09-25 18:04:03 -07:00
|
|
|
# Copyright (c) 2022 The ZMK Contributors
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2023-10-15 23:11:21 -07:00
|
|
|
menuconfig ZMK_MAX17048
|
2023-09-25 18:04:03 -07:00
|
|
|
bool "MAX17048/9 I2C-based Fuel Gauge"
|
2023-10-15 23:11:21 -07:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ZMK_MAXIM_MAX17048_ENABLED && I2C
|
2023-09-25 18:04:03 -07:00
|
|
|
select ZMK_BATTERY
|
|
|
|
help
|
|
|
|
Enable driver for MAX17048/9 I2C-based Fuel Gauge. Supports measuring
|
|
|
|
battery voltage and state-of-charge.
|
|
|
|
|
2023-10-15 23:11:21 -07:00
|
|
|
if ZMK_MAX17048
|
2023-09-25 18:04:03 -07:00
|
|
|
|
|
|
|
config SENSOR_MAX17048_INIT_PRIORITY
|
|
|
|
int "Init priority"
|
|
|
|
default 75
|
|
|
|
help
|
|
|
|
Device driver initialization priority.
|
|
|
|
|
|
|
|
endif #MAX17048
|