Home
last modified time | relevance | path

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

12345678910

/linux/include/linux/
H A Dpower_supply.h185 POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */
186 POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */
191 POWER_SUPPLY_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */
198 POWER_SUPPLY_USB_TYPE_DCP, /* Dedicated Charging Port */
199 POWER_SUPPLY_USB_TYPE_CDP, /* Charging Downstream Port */
205 POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */
356 * struct power_supply_maintenance_charge_table - setting for maintenace charging
357 * @charge_current_max_ua: maintenance charging current that is used to keep
358 * the charge of the battery full as current is consumed after full charging.
360 * reach this voltage the maintenance charging current is turned off. It is
[all …]
/linux/include/linux/power/
H A Dcharger-manager.h8 * monitor charging even in the context of suspend-to-RAM with
101 /* The name of regulator for charging */
110 * each cable have different condition for charging.
132 * CM will restart charging.
149 * @temp_min : Minimum battery temperature for charging.
150 * @temp_max : Maximum battery temperature for charging.
151 * @temp_diff : Temperature difference to restart charging.
155 * @charging_max_duration_ms: Maximum possible duration for charging
156 * If whole charging duration exceed 'charging_max_duration_ms',
157 * cm stop charging.
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-power61 used for discharging batteries, positive values for charging
101 used for discharging batteries, positive values for charging
136 This is normally used for the charging scenario where
139 user that the temperature is critically high, and charging has
161 This is normally used for the charging scenario where user-space
164 temperature level is high, and charging current has been
178 charging.
195 charging.
212 battery, during charging.
335 Maximum allowable charging current. Used for charge rate
[all …]
H A Dusb-charger-uevent15 USB_CHARGER_CDP_TYPE Charging Downstream Port
16 USB_CHARGER_DCP_TYPE Dedicated Charging Port
17 USB_CHARGER_ACA_TYPE Accessory Charging Adapter
20 https://www.usb.org/document-library/battery-charging-v12-spec-and-adopters-agreement
/linux/Documentation/devicetree/bindings/power/supply/
H A Dsummit,smb347-charger.yaml30 summit,enable-usb-charging:
32 description: Enable charging through USB.
34 summit,enable-otg-charging:
38 summit,enable-mains-charging:
40 description: Enable charging through mains
43 description: Enable charging control
136 - summit,enable-usb-charging
138 - summit,enable-otg-charging
140 - summit,enable-mains-charging
161 summit,enable-usb-charging;
[all …]
H A Dti,lp8727.yaml32 description: USB/AC charging parameters
47 charging-current:
52 Charging current with the following mapping:
76 /* AC charger: 5% EOC and 500mA charging current */
80 charging-current = /bits/ 8 <4>;
83 /* USB charger: 10% EOC and 400mA charging current */
87 charging-current = /bits/ 8 <2>;
H A Drohm,bd99954.yaml27 # The battery charging profile of BD99954.
29 # Curve (1) represents charging current.
32 # The BD99954 data sheet divides charging to three phases.
38 # target level - until charging current has dropped to termination
86 # The constant voltage used in fast charging phase (4 in above chart)
91 # charging mode is changed from trickle charging to pre-charging
100 # re-charging is automatically started when battry has been discharging
H A Dcharger-manager.yaml45 - 3 # when charging
61 description: voltage drop before restarting charging in uV
87 cm-charging-max:
88 description: limits of charging duration in ms
92 description: critical cold temperature of battery for charging in deci-degree celsius
100 description: critical hot temperature of battery for charging in deci-degree celsius
197 /* Allow charging for 5hr */
198 cm-charging-max = <18000000>;
H A Dqcom,pm8941-charger.yaml54 Battery voltage limit in uV above which fast charging may operate; Defaults to 3.2V
55 Below this value linear or switch-mode auto-trickle-charging will operate.
62 Battery voltage limit in uV below which fast charging may operate; Defaults to 4.2V
89 Battery voltage limit in uV below which auto-recharge functionality will restart charging
98 Input voltage level in uV above which charging may operate. Defaults to 4.3V.
115 voltage or current in the extended temperature range. It only allows charging when
135 or allow input voltage from external VBUS for charging. In the hardware, the supply for
H A Dtwl4030-charger.yaml11 charging is permissible, and when there is a connection or disconnection.
16 to determine when and how use USB power for charging.
34 description: microvolts for charging the backup battery
38 description: microamps for charging the backup battery
H A Dgpio-charger.yaml15 GPIOs for limited control over the charging process.
28 - usb-dcp # USB dedicated charging port
29 - usb-cdp # USB charging downstream port
40 description: GPIO indicating the charging status
H A Dbq25890.yaml36 description: maximum charging voltage (in uV)
40 description: maximum charging current (in uA)
55 when battery is charging and it is below minimum system voltage,
86 description: max. charging voltage adjustment due to expected voltage drop on in-series resistor
H A Dqcom,pm8941-coincell.yaml10 The hardware block controls charging for a coincell or capacitor that is
40 Voltage (in millivolts) to apply for charging. If unspecified, inherit
47 description: defining this property disables charging
/linux/drivers/power/supply/
H A Dab8500_chargalg.c6 * Charging algorithm driver for AB8500
51 * full charging cycle in the case where maintenance charging
171 * @current_iset_ua: the charging current used at this moment
178 * @level: tells in how many steps the charging current has been
197 * struct ab8500_chargalg - ab8500 Charging algorithm device information
206 * @charge_state: current state of the charging algorithm
207 * @ccm charging current maximization parameters
213 * the charging algorithm
215 * @chargalg_wq: work queue for running the charging algorithm
216 * @chargalg_periodic_work: work to run the charging algorithm periodically
[all …]
H A Dsmb347-charger.c149 * @pre_charge_current: current (in uA) to use in pre-charging phase
151 * charging cycle terminates
167 * @suspend_on_hard_temp_limit: suspend charging when hard limit is hit
170 * @charge_current_compensation: current (in uA) for charging compensation
175 * @enable_control: how charging enable/disable is controlled
182 * example OTG charging controlled via OTG transceiver driver and not by
349 * smb347_charging_status - returns status of charging
352 * Function returns charging status. %0 means no charging is in progress,
353 * %1 means pre-charging, %2 fast-charging and %3 taper-charging.
373 dev_dbg(smb->dev, "charging enable/disable in SW disabled\n"); in smb347_charging_set()
[all …]
H A Dbd99954-charger.c14 * The battery charging profile of BD99954.
16 * Curve (1) represents charging current.
19 * The BD99954 data sheet divides charging to three phases.
24 * voltage phase until charging current has dropped to termination
81 u16 vfastchg_reg_set1; /* Fast Charging Regulation Voltage */
85 u16 iterm_set; /* Charging termination current */
220 default: /* Rest of the states are error related, no charging */ in bd9995x_get_prop_charge_type()
349 * target current for fast-charging constant current phase. in bd9995x_power_supply_get_property()
637 /* Enable the charging trigger after SDP charger attached */ in bd9995x_hw_init()
639 /* Enable charging trigger after SDP charger attached */ in bd9995x_hw_init()
[all …]
H A Dsc2731_charger.c62 bool charging; member
86 /* Start charging */ in sc2731_charger_start_charge()
211 if (!info->charging) { in sc2731_charger_usb_set_property()
250 if (info->charging) in sc2731_charger_usb_get_property()
257 if (!info->charging) { in sc2731_charger_usb_get_property()
269 if (!info->charging) { in sc2731_charger_usb_get_property()
331 if (info->limit > 0 && !info->charging) { in sc2731_charger_work()
345 info->charging = true; in sc2731_charger_work()
346 } else if (!info->limit && info->charging) { in sc2731_charger_work()
347 /* Stop charging */ in sc2731_charger_work()
[all …]
H A Drt5033_charger.c71 /* For OTG mode, RT5033 would still report "charging" */ in rt5033_get_charger_state()
221 /* Set fast-charge mode charging current */ in rt5033_init_fast_charge()
284 /* Set pre-charge mode charging current */ in rt5033_init_pre_charge()
318 /* Enable charging termination */ in rt5033_charger_reg_init()
322 dev_err(charger->dev, "Failed to enable charging termination.\n"); in rt5033_charger_reg_init()
328 * the charging performance. in rt5033_charger_reg_init()
377 /* In case someone switched from charging to OTG directly */ in rt5033_charger_set_otg()
394 /* Restore constant voltage for charging */ in rt5033_charger_unset_otg()
404 /* Set operation mode to charging */ in rt5033_charger_unset_otg()
423 /* In case someone switched from OTG to charging directly */ in rt5033_charger_set_charging()
[all …]
H A Dcharger-manager.c53 * Default temperature threshold for charging.
149 * actually charging or not.
214 bool charging = false; in is_charging() local
222 /* If at least one of the charger is charging, return yes */ in is_charging()
268 /* Then, this is charging. */ in is_charging()
269 charging = true; in is_charging()
273 return charging; in is_charging()
368 * the charger is charging or not (because battery is full or no external
386 * Save start time of charging to limit in try_charger_enable()
387 * maximum possible charging time. in try_charger_enable()
[all …]
H A Dab8500_bmdata.c8 /* Default: under this temperature, charging is stopped */
10 /* Default: between this temp and AB8500_TEMP_UNDER charging is reduced */
12 /* Default: between this temp and AB8500_TEMP_OVER charging is reduced */
14 /* Default: over this temp, charging is stopped */
63 /* Maintenance charging phase A, 60 hours */
69 /* Maintenance charging phase B, 200 hours */
178 /* Charging stops when we drop below this current */ in ab8500_bm_of_probe()
H A Dab8500_charger.c421 * other type of charging. in ab8500_power_supply_changed()
454 * USB charging and no psy has been created, but we still in ab8500_charger_set_usb_connected()
719 * This means that charging current from USB source in ab8500_charger_max_usb_curr()
787 dev_err(di->dev, "USB Type - Charging not allowed\n"); in ab8500_charger_max_usb_curr()
799 dev_dbg(di->dev, "USB Type - Charging not allowed\n"); in ab8500_charger_max_usb_curr()
817 dev_err(di->dev, "USB Type invalid - try charging anyway\n"); in ab8500_charger_max_usb_curr()
1103 * to the register. Returns -1 if charging is not allowed
1160 * charging is started. Instead we need to implement
1357 * Power ON/OFF charging LED indication
1365 /* Power ON charging LED indicator, set LED current to 5mA */ in ab8500_charger_led_en()
[all …]
/linux/Documentation/devicetree/bindings/rtc/
H A Drtc-palmas.txt14 battery is chargeable or not. If charging battery then driver can
15 enable the charging.
16 - ti,backup-battery-charge-high-current: Enable high current charging in
17 backup battery. Device supports the < 100uA and > 100uA charging.
/linux/Documentation/power/
H A Dcharger-manager.rst38 consumption and slow down charging process. Or even, such peak power
39 consumption can stop chargers in the middle of charging
41 only affects the charging time, but the lifespan of the battery.
53 restarts charging. This check is also performed while suspended by
167 the battery is {"FULL" or not FULL} or {"FULL", "Charging",
178 This callback returns 0 if the temperature is safe for charging,
203 a) charger-on/off b) external-power-in/out c) battery-in/out (while charging)
/linux/include/linux/platform_data/
H A Dlp8727.h38 * @ichg : charging current
51 * @ac : charging parameters for AC type charger
52 * @usb : charging parameters for USB type charger
/linux/include/linux/mfd/wm831x/
H A Dpdata.h23 int no_constant_voltage; /** Disable constant voltage charging */
29 int enable; /** Enable charging */
30 int fast_enable; /** Enable fast charging */
31 int off_mask; /** Mask OFF while charging */

12345678910