zephyr/drivers/charger/Kconfig.sbs_charger
Ricardo Rivera-Matos aee815f19d charger: Sample sbs charger driver with tests
Adds a sample sbs charger driver and basics tests.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2023-09-07 13:03:13 -04:00

20 lines
534 B
Plaintext

# Copyright 2023 Cirrus Logic, Inc.
# SPDX-License-Identifier: Apache-2.0
config SBS_CHARGER
bool "Smart Battery Charger"
default y
depends on DT_HAS_SBS_SBS_CHARGER_ENABLED
select I2C
help
Enable I2C-based/SMBus-based driver for a Smart Battery Charger.
config EMUL_SBS_CHARGER
bool "Emulate an SBS 1.1 compliant smart battery charger"
default y
depends on EMUL
depends on SBS_CHARGER
help
It provides reading which follow a simple sequence, thus allowing
test code to check that things are working as expected.