Home
last modified time | relevance | path

Searched full:charging (Results 1 – 25 of 51) sorted by relevance

123

/Zephyr-Core-3.5.0/dts/bindings/usb/
Dusb-bc12.yaml9 charging-mode:
13 Define the charging port mode supported by the BC1.2 device.
14 Charging modes
15 - BC12_TYPE_NONE: Device does not support charging and only supports
18 charging. The USB data lines are active and the
20 - BC12_TYPE_CDP: Device supports CDP (charging downstream port)
21 charging. The USB data lines are active and the
23 - BC12_TYPE_DCP: Device supports DCP (dedicated charging port)
24 charging. The USB data lines are disabled and the
Ddiodes,pi3usb9201.yaml4 description: Diodes PI3USB9201, Dual-Role USB Charging-Type Detector
/Zephyr-Core-3.5.0/drivers/usb/bc12/
DKconfig.pi3usb92019 This is a Dual-Role USB Charging-Type Detector. It can operate in
10 host or client mode. It supports Battery Charging Specification, rev
11 1.2 (BC1.2) with Standard/Charging/Dedicated downstream port
17 bool "Emulate a Pericom PI3USB9201 USB charging detector"
21 This is an emulator for the Pericom PI3USB9201 USB charging detector.
32 When this option is enabled and the charging mode is configured for
33 CDP (Charging Downstream Port), after successful CDP detection the
34 driver automatically sets the charging mode to SDP (Standard
DKconfig7 Enable USB BC1.2 (battery charging detection) drivers.
/Zephyr-Core-3.5.0/dts/bindings/led/
Dnordic,npm1300-led.yaml8 Each LED can automatically display error or charging status,
19 - charging
28 - charging
37 - charging
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dcharger.h37 /** Represents the charging status of the charger. */
72 * @brief Charging states
75 /** Charging device state is unknown */
77 /** Charging device is charging a battery */
79 /** Charging device is not able to charge a battery */
81 /** Charging device is not charging a battery */
83 /** The battery is full and the charging device will not attempt charging */
123 * @brief Charging device API
Demul_fuel_gauge.h44 * @brief Set charging for fuel gauge associated battery.
46 * Set how much the battery associated with a fuel gauge IC is charging or discharging. Where
47 * voltage is always positive and a positive or negative current denotes charging or discharging,
/Zephyr-Core-3.5.0/doc/hardware/peripherals/
Dbc12.rst6 The Battery Charging specification, currently at revision 1.2, is commonly
10 The BC1.2 specification uses the term Charging Port for the device that supplies
27 Allowed PD (portable device) Current Draw from Charging Port IDEV_CHG 1.5 A
28 Charging Downstream Port Rated Current ICDP 1.5 - 5.0 A
30 Dedicated Charging Port Rated Current IDCP 1.5 - 5.0 A
39 .. _BC1.2 Specification: https://www.usb.org/document-library/battery-charging-v12-spec-and-adopter…
48 either a disconnected, portable-device, or charging port mode.
67 (Standard Downstream Port) charging partner or if BC1.2 detection fails, the
73 Charging port mode is used by the application when the USB port is configured as
74 a downstream facing port, i.e. a USB host port. For charging port mode, the
/Zephyr-Core-3.5.0/include/zephyr/drivers/usb/
Dusb_bc12.h9 * @brief Public APIs for the USB BC1.2 battery charging detect drivers.
71 /** @brief BC1.2 charging partner type. */
77 /** Dedicated Charging Port */
79 /** Charging Downstream Port */
81 /** Proprietary charging port */
83 /** Unknown charging port, BC1.2 detection failed. */
93 * @param type Charging partner type. Valid when bc12_role is BC12_PORTABLE_DEVICE.
94 * @param current_ma Current, in uA, that the charging partner provides. Valid when bc12_role is
96 * @param voltage_mv Voltage, in uV, that the charging partner provides. Valid when bc12_role is
Demul_bc12.h43 * @brief Set the charging partner type connected to the BC1.2 device.
46 * to simulate connection of the specified charging partner type. The emulator
51 * disconnect the charging partner.
/Zephyr-Core-3.5.0/samples/fuel_gauge/max17048/
DREADME.rst27 * Charging state: if charging or discharging
32 The charging state and the time to full/empty are estimated and based on the last consumption avera…
34 to see in real time the charging status change because it will not work. If you really need to know…
/Zephyr-Core-3.5.0/dts/bindings/sensor/
Dnordic,npm1300-charger.yaml81 charging-enable:
84 Enable charging.
94 Trickle charging is enabled below this value.
111 Allow charging when below the vbatlow threshold.
Dmaxim,max17055.yaml29 desired-charging-current:
32 description: Battery Design Charging Current in mA (e.g. 2000)
Dmaxim,max17262.yaml24 desired-charging-current:
27 description: Battery Design Charging Current in mA (e.g. 2000)
/Zephyr-Core-3.5.0/drivers/fuel_gauge/max17048/
Dmax17048.c41 bool charging; member
120 * Percentage of the total battery capacity per hour, positive is charging or
240 * charging (and vice versa) especially if your device consumes little power in max17048_get_prop()
242 data->charging = crate > 0; in max17048_get_prop()
254 if (data->charging) { in max17048_get_prop()
273 data->charging = false; in max17048_get_prop()
/Zephyr-Core-3.5.0/tests/drivers/bc12/boards/
Dnative_posix.overlay16 charging-mode = "BC12_TYPE_CDP";
/Zephyr-Core-3.5.0/boards/arm/google_kukui/
DKconfig.board11 Duet and 10e Chromebook Tablet. The EC handles battery charging,
/Zephyr-Core-3.5.0/drivers/sensor/max17262/
Dmax17262.h55 /* Desired charging current in mA */
85 /* Desired charging current in mA */
/Zephyr-Core-3.5.0/boards/shields/npm1300_ek/
Dnpm1300_ek.overlay64 charging-enable;
79 nordic,led1-mode = "charging";
/Zephyr-Core-3.5.0/tests/drivers/bc12/src/
Dpd_mode.c42 LOG_INF("charging partner: type %d, voltage %d, current %d", state->type, in bc12_test_result_cb()
72 /* Connect a SDP charging partner to the emulator */ in ZTEST_USER_F()
93 /* Remove the charging partner */ in ZTEST_USER_F()
123 /* Remove the charging partner */ in ZTEST_USER_F()
Dcharging_mode.c12 * @brief TestPurpose: Verify BC1.2 devices configured in charging mode.
38 LOG_INF("charging partner: type %d, voltage %d, current %d", state->type, in bc12_test_result_cb()
/Zephyr-Core-3.5.0/samples/sensor/max17262/
Dapp.overlay15 desired-charging-current = <2000>;
/Zephyr-Core-3.5.0/samples/boards/google_twinkie_v2_pda/
DREADME.rst25 if the device is currently charging.
/Zephyr-Core-3.5.0/doc/hardware/emulator/
Dindex.rst104 ``_backend_api`` using the BC1.2 charging detector driver as the model
109 :alt: Device class example, demonstrating BC1.2 charging detectors.
124 In the case of the BC1.2 charging detector the backend API provides functions
/Zephyr-Core-3.5.0/drivers/sensor/npm1300_charger/
Dnpm1300_charger.c333 /* Disable charging */ in npm1300_charger_attr_set()
338 /* Clear any errors and enable charging */ in npm1300_charger_attr_set()
467 /* Enable automatic temperature measurements during charging */ in npm1300_charger_init()
473 /* Enable charging at low battery if configured */ in npm1300_charger_init()
489 /* Enable charging if configured */ in npm1300_charger_init()

123