Home
last modified time | relevance | path

Searched +full:sbs +full:- +full:compliant (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/dts/bindings/fuel-gauge/
Dsbs,default-sbs-gauge.yaml4 # SPDX-License-Identifier: Apache-2.0
7 compatible: "sbs,default-sbs-gauge"
9 include: ["sbs,sbs-gauge-new-api.yaml", "battery-cutoff.yaml"]
14 This compatible is intended to be used with the abstract SBS Gauge compatible because it is
15 actuated by the SBS driver for SBS compliant fuel gauge ICs.
18 battery-cutoff-reg-addr:
19 # For SBS compliant fuel gauges this is usually "ManufactuerAccess"
21 battery-cutoff-payload:
Dsbs,sbs-gauge-new-api.yaml1 description: SBS 1.1 compliant fuel gauge (http://www.sbs-forum.org/specs)
3 compatible: "sbs,sbs-gauge-new-api"
5 include: [i2c-device.yaml, fuel-gauge.yaml]
Dbattery-cutoff.yaml4 # SPDX-License-Identifier: Apache-2.0
9 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or
13 their associated battery from the system. See the default fuel gauge SBS Gauge compatible as an
17 battery-cutoff-support:
22 battery-cutoff-reg-addr:
26 battery-cutoff-payload:
/Zephyr-latest/dts/bindings/sensor/
Dsbs,sbs-gauge.yaml1 description: SBS 1.1 compliant fuel gauge (http://www.sbs-forum.org/specs)
3 compatible: "sbs,sbs-gauge"
5 include: [sensor-device.yaml, i2c-device.yaml]
/Zephyr-latest/dts/bindings/charger/
Dsbs,sbs-charger.yaml4 # SPDX-License-Identifier: Apache-2.0
7 description: SBS 1.1 compliant charger (http://www.sbs-forum.org/specs)
9 compatible: "sbs,sbs-charger"
11 include: [i2c-device.yaml]
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
DKconfig.emul_sbs_gauge2 # SPDX-License-Identifier: Apache-2.0
8 bool "Emulate an SBS 1.1 compliant smart battery fuel gauge"
Demul_sbs_gauge.c5 * SPDX-License-Identifier: Apache-2.0
7 * Emulator for SBS 1.1 compliant smart battery fuel gauge.
33 /** Run-time data used by the emulator */
48 /* Non-register values associated with the state of the battery */
51 /* Battery terminal current - Pos is charging, Neg is discharging */
67 struct sbs_gauge_emul_data *data = target->data; in emul_sbs_gauge_maybe_do_battery_cutoff()
68 const struct sbs_gauge_emul_cfg *cfg = target->cfg; in emul_sbs_gauge_maybe_do_battery_cutoff()
71 if (cfg->cutoff_support && reg == cfg->cutoff_reg_addr) { in emul_sbs_gauge_maybe_do_battery_cutoff()
72 __ASSERT_NO_MSG(ARRAY_SIZE(cfg->cutoff_payload) > 0); in emul_sbs_gauge_maybe_do_battery_cutoff()
79 uint16_t target_payload_elem_val = cfg->cutoff_payload[data->cutoff_writes]; in emul_sbs_gauge_maybe_do_battery_cutoff()
[all …]
/Zephyr-latest/drivers/charger/
DKconfig.sbs_charger2 # SPDX-License-Identifier: Apache-2.0
10 Enable I2C-based/SMBus-based driver for a Smart Battery Charger.
13 bool "Emulate an SBS 1.1 compliant smart battery charger"
Demul_sbs_charger.c4 * SPDX-License-Identifier: Apache-2.0
6 * Emulator for SBS 1.1 compliant smart battery charger.
28 /** Run-time data used by the emulator */
35 struct sbs_charger_emul_data *data = target->data; in emul_sbs_charger_reg_write()
40 data->reg_charger_mode = val; in emul_sbs_charger_reg_write()
44 return -EIO; in emul_sbs_charger_reg_write()
62 return -EIO; in emul_sbs_charger_reg_read()
78 data = target->data; in sbs_charger_emul_transfer_i2c()
80 i2c_dump_msgs_rw(target->dev, msgs, num_msgs, addr, false); in sbs_charger_emul_transfer_i2c()
83 if (msgs->flags & I2C_MSG_READ) { in sbs_charger_emul_transfer_i2c()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
194 * Added support for null pointer dereferencing detection in Cortex-M.
[all …]