Skip to content

Commit 20d17cf

Browse files
soburiaescolar
authored andcommitted
tests: drivers: build_all: charger: Add config for sbs,sbs-charger
Add configuration to add `sbs,sbs-charger` to build test. Also, adding emulator build test. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent c1e7784 commit 20d17cf

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

tests/drivers/build_all/charger/i2c.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ bq25180@2 {
3939
constant-charge-current-max-microamp = <500000>;
4040
constant-charge-voltage-max-microvolt = <4200000>;
4141
};
42+
43+
sbs-charger@3 {
44+
compatible = "sbs,sbs-charger";
45+
reg = <0x3>;
46+
};

tests/drivers/build_all/charger/testcase.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ tests:
99
build_only: true
1010
platform_allow:
1111
- native_sim
12+
13+
drivers.charger.emul.build:
14+
tags:
15+
- drivers
16+
- charger
17+
build_only: true
18+
platform_allow:
19+
- native_sim
20+
extra_configs:
21+
- CONFIG_EMUL=y

0 commit comments

Comments
 (0)