mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2024-06-02 02:38:09 +02:00
Add simple-battery binding
This commit is contained in:
parent
5a66a00151
commit
83bec4997b
17
zephyr/dts/bindings/power/simple-battery.yaml
Normal file
17
zephyr/dts/bindings/power/simple-battery.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Copyright (c) 2020, Tobias Schramm <t.schramm@t-sys.eu>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
Description for a battery
|
||||
|
||||
compatible: "simple-battery"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
soc-voltage-mv:
|
||||
type: array
|
||||
required: true
|
||||
description: |
|
||||
Array containing pairs of state-of-charge and associated
|
||||
open circuit battery voltage in millivolts
|
Loading…
Reference in New Issue
Block a user