Home
last modified time | relevance | path

Searched +full:enable +full:- +full:charge +full:- +full:control (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dsummit,smb347-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
26 monitored-battery:
[all …]
H A Dti,bq24735.txt1 TI BQ24735 Charge Controller
5 - compatible : "ti,bq24735"
8 - interrupts : Specify the interrupt to be used to trigger when the AC
10 - ti,ac-detect-gpios : This GPIO is optionally used to read the AC adapter
15 - ti,charge-current : Used to control and set the charging current. This value
19 - ti,charge-voltage : Used to control and set the charging voltage. This value
23 - ti,input-current : Used to control and set the charger input current. This
27 - ti,external-control : Indicates that the charger is configured externally
28 and that the host should not attempt to enable/disable charging or set the
29 charge voltage/current.
[all …]
H A Dqcom_smbb.txt1 Qualcomm Switch-Mode Battery Charger and Boost
4 - compatible:
8 - "qcom,pm8941-charger"
10 - reg:
12 Value type: <prop-encoded-array>
15 - interrupts:
17 Value type: <prop-encoded-array>
21 - charge done
22 - charge fast mode
23 - charge trickle mode
[all …]
/OK3568_Linux_fs/kernel/include/linux/mfd/
H A Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
93 /* RT5033 control register */
103 /* RT5033 BUCK control register */
106 /* RT5033 LDO control register */
109 /* RT5033 charger property - model, manufacturer */
115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register),
138 /* RT5033 charger termination enable mask */
149 /* RT5033 charger termination enable */
152 /* RT5033 charger CFO enable */
155 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */
[all …]
H A Dabx500.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2007-2009 ST-Ericsson AB
45 * struct abx500_res_to_temp - defines one point in a temp to res curve. To
57 * struct abx500_v_to_cap - Table for translating voltage to capacity
70 * struct abx500_fg_parameters - Fuel gauge algorithm parameters, in seconds
92 * @pcut_enable: Enable power cut feature in ab8505
122 * struct abx500_charger_maximization - struct used by the board config.
123 * @use_maxi: Enable maximization for this battery type
136 * struct abx500_battery_type - different batteries supported
145 * full charging cycle in the case where maintenan-
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 Say Y here to enable power supply class support. This allows
15 Say Y here to enable debugging messages for power supply class
36 Say Y here to enable generic power driver for PDAs and phones with
44 Say Y here to enable support APM status emulation using
51 Say Y here to enable support for the generic battery driver
58 Say Y here to enable support for the battery charger in the Maxim
65 Say Y here to enable support for the backup battery charger
72 Say Y here to enable support for the power management unit
79 Say Y here to enable support for the power management unit
[all …]
H A Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
132 * struct smb347_charger - smb347 charger instance
144 * @pre_charge_current: current (in uA) to use in pre-charging phase
148 * pre-charge to fast charge mode
152 * @chip_temp_threshold: die temperature where device starts limiting charge
153 * current [%100 - %130] (in degree C)
[all …]
H A Dltc2941-battery-gauge.c1 // SPDX-License-Identifier: GPL-2.0-only
76 int charge; /* Last charge register content */ member
84 return ((Q * (info->Qlsb / 10))) / 100; in convert_bin_to_uAh()
92 Q = (uAh * 100) / (info->Qlsb/10); in convert_uAh_to_bin()
103 msgs[0].addr = client->addr; in ltc294x_read_regs()
107 msgs[1].addr = client->addr; in ltc294x_read_regs()
112 ret = i2c_transfer(client->adapter, &msgs[0], 2); in ltc294x_read_regs()
114 dev_err(&client->dev, "ltc2941 read_reg failed!\n"); in ltc294x_read_regs()
118 dev_dbg(&client->dev, "%s (%#x, %d) -> %#x\n", in ltc294x_read_regs()
132 dev_err(&client->dev, "ltc2941 write_reg failed!\n"); in ltc294x_write_regs()
[all …]
H A D88pm860x_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
34 /* bit definitions of Charger Control 1 Register */
43 /* bit definitions of Charger Control 2 Register */
48 /* bit definitions of Charger Control 3 Register */
54 /* bit definitions of Charger Control 4 Register */
60 /* bit definitions of Charger Control 6 Register */
65 /* bit definitions of Charger Control 7 Register */
69 /* bit definitions of Measurement Enable 1 Register */
72 /* bit definitions of Measurement Enable 3 Register */
86 /* over-temperature on PM8606 setting */
[all …]
/OK3568_Linux_fs/kernel/include/linux/mfd/abx500/
H A Dab8500-bm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright ST-Ericsson 2012.
15 * System control 2 register offsets.
41 * Charger / control register offfsets
58 * Charger / main control register offsets
67 * Charger / USB control register offsets
130 /* Main charge i/p current */
277 * struct res_to_temp - defines one point in a temp to res curve. To
289 * struct batres_vs_temp - defines one point in a temp vs battery internal
303 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-bq32k.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #define BQ32K_CENT_EN 0x80 /* Century flag enable bit */
31 #define BQ32K_CALIBRATION 0x07 /* CAL_CFG1, calibration and control */
32 #define BQ32K_TCH2 0x08 /* Trickle charge enable */
33 #define BQ32K_CFG2 0x09 /* Trickle charger control */
34 #define BQ32K_TCFE BIT(6) /* Trickle charge FET bypass */
57 .addr = client->addr, in bq32k_read()
62 .addr = client->addr, in bq32k_read()
69 if (i2c_transfer(client->adapter, msgs, 2) == 2) in bq32k_read()
72 return -EIO; in bq32k_read()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Des8396.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ES8396.h -- ES8396 ALSA SoC Audio Codec
28 /* Register 0x05-0x07 for PLL k cofficient*/
32 /* Register 0x08 for ADC,DAC CHARGE PUMP and CLASS D clock switch*/
38 /* Register 0x0B for CHARGE PUMP CLOCK divider*/
42 /* Register 0x0D for DLL control and DAC MCLK SELECTION*/
60 /* Register 0x15 for ADLRCK or GPIO control*/
152 /* Register 0x3A for CLASS D control and SOURCE SELECTION*/
154 /* Register 0x3B for CLASS D Enabled and Volume Control*/
156 /* Register 0x3C for CLASS D CONTROL */
[all …]
H A Dwm8961.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8961.c -- WM8961 ALSA SoC Audio driver
5 * Copyright 2009-10 Wolfson Microelectronics, plc
10 * - ALC
33 { 0, 0x009F }, /* R0 - Left Input volume */
34 { 1, 0x009F }, /* R1 - Right Input volume */
35 { 2, 0x0000 }, /* R2 - LOUT1 volume */
36 { 3, 0x0000 }, /* R3 - ROUT1 volume */
37 { 4, 0x0020 }, /* R4 - Clocking1 */
38 { 5, 0x0008 }, /* R5 - ADC & DAC Control 1 */
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A Dpxa27x-udc.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define UDCCR __REG(0x40600000) /* UDC Control Register */
10 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */
11 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation
13 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol
15 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol
16 Enable */
17 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */
31 #define UDCCR_UDE (1 << 0) /* UDC Enable */
33 #define UDCICR0 __REG(0x40600004) /* UDC Interrupt Control Register0 */
[all …]
H A Dpcm990_baseboard.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * arch/arm/mach-pxa/include/mach/pcm990_baseboard.h
13 * definitions relevant only when the PCM-990
17 /* CPLD's interrupt controller is connected to PCM-027 GPIO 9 */
21 #define PCM990_CTRL_PHYS PXA_CS1_PHYS /* 16-Bit */
31 #define PCM990_CTRL_RESOUT 0x0002 /* RESETOUT Enable REGISTER */
32 #define PCM990_CTRL_RESGPIO 0x0004 /* RESETGPIO Enable REGISTER */
36 #define PCM990_CTRL_CANPWR 0x0004 /* Enable CANPWR ADUM */
40 #define PCM990_CTRL_LEDPWR 0x0001 /* POWER LED enable */
41 #define PCM990_CTRL_LEDBAS 0x0002 /* BASIS LED enable */
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst18 we call it "memory cgroup". When you see git-log and source code, you'll
30 Memory-hungry applications can be isolated and limited to a smaller
34 c. Virtualization solutions can control the amount of memory they want
36 d. A CD/DVD burner could control the amount of memory used by the
42 Current Status: linux-2.6.34-mmotm(development version of 2010/April)
46 - accounting anonymous pages, file caches, swap caches usage and limiting them.
47 - pages are linked to per-memcg LRU exclusively, and there is no global LRU.
48 - optionally, memory+swap usage can be accounted and limited.
49 - hierarchical accounting
50 - soft limit
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra/
H A Dclock.h4 * SPDX-License-Identifier: GPL-2.0+
7 /* Tegra clock control functions */
30 * register. As such, the U-Boot clock driver is currently a bit lazy, and
40 #include <asm/arch/clock-tables.h>
57 * @param cpcon charge pump setup control
58 * @param lfcon loop filter setup control
72 * @return 0 if ok, -1 on error (invalid clock id or no suitable divider)
78 * Read low-level parameters of a PLL.
84 * @param cpcon returns charge pump setup control
85 * @param lfcon returns loop filter setup control
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/bios/
H A Dcommand_table.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
35 struct bp_encoder_control *control);
38 struct bp_encoder_control *control);
41 struct bp_encoder_control *control);
44 struct bp_transmitter_control *control);
51 bool enable);
57 bool enable,
62 bool enable,
67 bool enable);
[all …]
H A Dcommand_table2.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
35 struct bp_encoder_control *control);
38 struct bp_encoder_control *control);
41 struct bp_encoder_control *control);
44 struct bp_transmitter_control *control);
51 bool enable);
57 bool enable,
62 bool enable,
67 bool enable);
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/
H A DKconfig7 source "drivers/power/io-domain/Kconfig"
17 source "drivers/power/charge/Kconfig"
20 bool "Enable driver model for charge display support"
23 This adds a simple uclass for charge display.
35 ---help---
42 ---help---
43 Select this to enable support for the axp152 pmic found on most
50 ---help---
51 Select this to enable support for the axp209 pmic found on most
58 ---help---
[all …]
/OK3568_Linux_fs/kernel/include/linux/power/
H A Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * This framework enables to control and multiple chargers and to
8 * monitor charging even in the context of suspend-to-RAM with
45 * @wq: the workqueue to control charger according to the state of
46 * charger cable. If charger cable is attached, enable charger.
62 /* The charger-manager use Extcon framework */
72 * Set min/max current of regulator to protect over-current issue
86 * Set if the charger-manager cannot control charger,
89 * the array of charger cables to enable/disable charger
126 * @psy_name: the name of power-supply-class for charger manager
[all …]
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-rockchip-naneng-usb2.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include <generic-phy.h>
15 #include <reset-uclass.h>
27 POWER_SUPPLY_TYPE_USB_FLOATING, /* DCP without shorting D+/D- */
41 u32 enable; member
46 * @chg_valid: charge valid signal.
48 * @chg_en: charge detector enable signal.
49 * @chg_rst: charge detector reset signal, active high.
60 * @bypass_otgsuspendm: otg-suspendm bypass control register.
62 * @bvalidfall_det_en: vbus valid fall detection enable register.
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/
H A Dpanel-raydium-rm68200.c1 // SPDX-License-Identifier: GPL-2.0
30 #define MCS_STBCTR 0x12 /* TE1 Output Setting Zig-Zag Connection */
34 #define MCS_EXT_PWR_IC 0x24 /* External PWR IC Control */
35 #define MCS_SETAVDD 0x27 /* PFM Control for AVDD Output */
36 #define MCS_SETAVEE 0x29 /* PFM Control for AVEE Output */
37 #define MCS_BT2CTR 0x2B /* DDVDL Charge Pump Control */
38 #define MCS_BT3CTR 0x2F /* VGH Charge Pump Control */
39 #define MCS_BT4CTR 0x34 /* VGL Charge Pump Control */
40 #define MCS_VCMCTR 0x46 /* VCOM Output Level Control */
41 #define MCS_SETVGN 0x52 /* VG M/S N Control */
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h1 // SPDX-License-Identifier: GPL-2.0+
4 * Intel PXA27x on-chip full speed USB device controller
22 #define UDCCR 0x0000 /* UDC Control Register */
23 #define UDCICR0 0x0004 /* UDC Interrupt Control Register0 */
24 #define UDCICR1 0x0008 /* UDC Interrupt Control Register1 */
28 #define UDCOTGICR 0x0018 /* UDC On-The-Go interrupt control */
29 #define UP2OCR 0x0020 /* USB Port 2 Output Control register */
30 #define UP3OCR 0x0024 /* USB Port 3 Output Control register */
31 #define UDCCSRn(x) (0x0100 + ((x)<<2)) /* UDC Control/Status register */
34 #define UDCCRn(x) (0x0400 + ((x)<<2)) /* UDC Control Register */
[all …]
/OK3568_Linux_fs/kernel/drivers/extcon/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 Say Y here to enable external connector class (extcon) support.
11 host USB ports. Many of 30-pin connectors including PDMI are
22 Say Y here to enable extcon device driver based on ADC values.
28 Say Y here to enable support for external accessory detection
33 tristate "X-Power AXP288 EXTCON support"
37 Say Y here to enable support for USB peripheral detection
38 and USB MUX switching by X-Power AXP288 PMIC.
56 Say Y here to enable GPIO based extcon support. Note that GPIO
63 Say Y here to enable extcon support for USB OTG ports controlled by
[all …]

12345678910>>...20