Home
last modified time | relevance | path

Searched +full:ac +full:- +full:power (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/linux-6.14.4/Documentation/devicetree/bindings/power/supply/
Dx-powers,axp20x-ac-power-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AXP20x AC power-supply
10 The AXP20X can read the current current and voltage supplied by AC by
12 tell if an AC power supply is present and usable. AXP813/AXP803 are
16 - Chen-Yu Tsai <[email protected]>
17 - Sebastian Reichel <[email protected]>
20 - $ref: power-supply.yaml#
[all …]
Dti,lp8727.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/ti,lp8727.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <[email protected]>
13 - $ref: power-supply.yaml#
25 debounce-ms:
29 '^(ac|usb)$':
32 description: USB/AC charging parameters
34 charger-type:
[all …]
Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/bq24735.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI BQ24735 Li-Ion Battery Charger
11 - Sebastian Reichel <[email protected]>
14 - $ref: power-supply.yaml#
24 description: AC adapter plug event interrupt
27 ti,ac-detect-gpios:
30 This GPIO is optionally used to read the AC adapter status. This is a Host GPIO
[all …]
Dtps65217-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <[email protected]>
13 - $ref: power-supply.yaml#
17 const: ti,tps65217-charger
23 interrupt-names:
25 - const: USB
26 - const: AC
[all …]
Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/power/supply/bq2515x.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq2515x 500-mA Linear charger family
11 - Andrew Davis <[email protected]>
17 push-button controller.
26 - ti,bq25150
27 - ti,bq25155
33 ac-detect-gpios:
[all …]
/linux-6.14.4/drivers/power/supply/
Daxp20x_ac_power.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AXP20X and AXP22X PMICs' ACIN power supply driver
6 * Quentin Schulz <quentin.schulz@free-electrons.com>
30 #define AXP813_VHOLD_UV_TO_BIT(x) ((((x) / 100000) - 40) << 3)
35 #define AXP813_CURR_LIMIT_UA_TO_BIT(x) (((x) / 500000) - 3)
39 #define DRVNAME "axp20x-ac-power-supply"
53 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local
55 power_supply_changed(power->supply); in axp20x_ac_power_irq()
64 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local
69 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &reg); in axp20x_ac_power_get_property()
[all …]
Dsurface_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 * AC driver for 7th-generation Microsoft Surface devices via Surface System
6 * Copyright (C) 2019-2021 Maximilian Luz <[email protected]>
19 /* -- SAM interface. -------------------------------------------------------- */
36 /* Get platform power source for battery (_PSR / DPTF PSRC). */
43 /* -- Device structures. ---------------------------------------------------- */
65 /* -- State management. ----------------------------------------------------- */
67 static int spwr_ac_update_unlocked(struct spwr_ac_device *ac) in spwr_ac_update_unlocked() argument
69 __le32 old = ac->state; in spwr_ac_update_unlocked()
72 lockdep_assert_held(&ac->lock); in spwr_ac_update_unlocked()
[all …]
Dmax8925_power.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2009-2010 Marvell International Ltd.
68 struct power_supply *ac; member
87 struct max8925_chip *chip = info->chip; in __set_charger()
90 if (info->set_charger) in __set_charger()
91 info->set_charger(1); in __set_charger()
93 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 0); in __set_charger()
96 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 1 << 7); in __set_charger()
97 if (info->set_charger) in __set_charger()
98 info->set_charger(0); in __set_charger()
[all …]
Dwm8350_power.c1 // SPDX-License-Identifier: GPL-2.0-only
44 if (!wm8350->power.rev_g_coeff) in wm8350_charge_time_min()
45 return (((min - 30) / 15) & 0xf) << 8; in wm8350_charge_time_min()
47 return (((min - 30) / 30) & 0xf) << 8; in wm8350_charge_time_min()
92 dev_warn(wm8350->dev, in wm8350_charger_config()
94 return -EINVAL; in wm8350_charger_config()
98 if (policy->fast_limit_USB_mA > 500) { in wm8350_charger_config()
99 dev_err(wm8350->dev, "USB fast charge > 500mA\n"); in wm8350_charger_config()
100 return -EINVAL; in wm8350_charger_config()
103 eoc_mA = WM8350_CHG_EOC_mA(policy->eoc_mA); in wm8350_charger_config()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "Power supply class support"
5 Say Y here to enable power supply class support. This allows
6 power supply (batteries, AC, USB) monitoring by userspace
13 bool "Power supply debug"
15 Say Y here to enable debugging messages for power supply class
20 prompt "Expose power supply sensors as hwmon device"
25 power supply device (current, voltage, temperature) to be
28 Say 'Y' here if you want power supplies to
46 tristate "Injoinic IP5xxx power bank IC driver"
[all …]
Dab8500_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
36 #include "ab8500-bm.h"
37 #include "ab8500-chargalg.h"
94 /* Lowest charger voltage is 3.39V -> 0x4E */
112 /* UsbLineStatus register - usb types */
174 * struct ab8500_charger_interrupts - ab8500 interrupts
218 * struct ab8500_charger - ab8500 Charger device information
223 * @ac_conn: This will be true when the AC charger has been plugged
224 * @vddadc_en_ac: Indicate if VDD ADC supply is enabled because AC
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-platform-wilco-ec5 Boot on AC is a policy which makes the device boot from S5
6 when AC power is connected. This is useful for users who
41 low power states:
43 - In S0, the port will always provide power.
44 - In S0ix, if usb_charge is enabled, then power will be
45 supplied to the port when on AC or if battery is > 50%.
46 Else no power is supplied.
47 - In S5, if usb_charge is enabled, then power will be supplied
48 to the port when on AC. Else no power is supplied.
/linux-6.14.4/arch/arm/boot/dts/qcom/
Dqcom-ipq4018-ap120c-ac-bit.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
4 #include "qcom-ipq4018-ap120c-ac.dtsi"
7 model = "ALFA Network AP120C-AC Bit";
10 compatible = "gpio-leds";
12 led-power {
13 label = "ap120c-ac:green:power";
17 default-state = "on";
20 led-wlan {
21 label = "ap120c-ac:green:wlan";
[all …]
/linux-6.14.4/drivers/of/
Dcpu.c1 // SPDX-License-Identifier: GPL-2.0
7 * of_get_cpu_hwid - Get the hardware ID from a CPU device node
17 int ac, len; in of_get_cpu_hwid() local
19 ac = of_n_addr_cells(cpun); in of_get_cpu_hwid()
21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len)) in of_get_cpu_hwid()
24 cell += ac * thread; in of_get_cpu_hwid()
25 return of_read_number(cell, ac); in of_get_cpu_hwid()
29 * arch_match_cpu_phys_id - Match the given logical CPU and physical id
56 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local
59 ac = of_n_addr_cells(cpun); in __of_find_n_match_cpu_property()
[all …]
/linux-6.14.4/drivers/staging/nvec/
Dnvec_power.c1 // SPDX-License-Identifier: GPL-2.0
3 * nvec_power: power supply driver for a NVIDIA compliant embedded controller
64 AC, enumerator
87 struct nvec_power *power = in nvec_power_notifier() local
94 if (res->sub_type == 0) { in nvec_power_notifier()
95 if (power->on != res->plu) { in nvec_power_notifier()
96 power->on = res->plu; in nvec_power_notifier()
109 static void get_bat_mfg_data(struct nvec_power *power) in get_bat_mfg_data() argument
116 nvec_write_async(power->nvec, buf, 2); in get_bat_mfg_data()
123 struct nvec_power *power = in nvec_power_bat_notifier() local
[all …]
/linux-6.14.4/net/mac80211/
Dmesh_ps.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2012-2013, Marco Porsch <[email protected]-chemnitz.de>
4 * Copyright 2012-2013, cozybit Inc.
16 * mps_qos_null_get - create pre-addressed QoS Null frame for mesh powersave
23 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get()
24 struct ieee80211_local *local = sdata->local; in mps_qos_null_get()
30 skb = dev_alloc_skb(local->hw.extra_tx_headroom + size + 2); in mps_qos_null_get()
33 skb_reserve(skb, local->hw.extra_tx_headroom); in mps_qos_null_get()
37 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
38 sdata->vif.addr); in mps_qos_null_get()
[all …]
/linux-6.14.4/include/sound/ac97/
Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
6 * For more details look to AC '97 component specification revision 2.1
10 * AC'97 codec registers
31 #define AC97_INT_PAGING 0x24 /* Audio Interrupt & Paging (AC'97 2.3) */
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
[all …]
/linux-6.14.4/arch/arm64/boot/dts/allwinner/
Daxp803.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * AXP803 Integrated Power Management Chip
10 interrupt-controller;
11 #interrupt-cells = <1>;
13 ac_power_supply: ac-power {
14 compatible = "x-powers,axp803-ac-power-supply",
15 "x-powers,axp813-ac-power-supply";
20 compatible = "x-powers,axp803-adc", "x-powers,axp813-adc";
21 #io-channel-cells = <1>;
25 compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio";
[all …]
/linux-6.14.4/sound/pci/cs5535audio/
Dcs5535audio_pm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Power management for audio on multifunction CS5535 companion device
24 that the codec power-down is issued. instead, in snd_cs5535audio_stop_hardware()
26 time. excluding codec specific build_ops->suspend in snd_cs5535audio_stop_hardware()
34 - analog mixer (vref off) 0x0800 in snd_cs5535audio_stop_hardware()
35 - AC-link powerdown 0x1000 in snd_cs5535audio_stop_hardware()
36 - codec internal clock 0x2000 in snd_cs5535audio_stop_hardware()
39 /* set LNK_SHUTDOWN to shutdown AC link */ in snd_cs5535audio_stop_hardware()
47 struct cs5535audio *cs5535au = card->private_data; in snd_cs5535audio_suspend()
51 snd_ac97_suspend(cs5535au->ac97); in snd_cs5535audio_suspend()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/mfd/
Dx-powers,axp152.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP PMIC
10 - Chen-Yu Tsai <[email protected]>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dcs43130.txt5 - compatible : "cirrus,cs43130", "cirrus,cs4399", "cirrus,cs43131",
8 - reg : the I2C address of the device for I2C
10 - VA-supply, VP-supply, VL-supply, VCP-supply, VD-supply:
11 power supplies for the device, as covered in
17 - reset-gpios : Active low GPIO used to reset the device
19 - cirrus,xtal-ibias:
28 - cirrus,dc-measure:
31 - cirrus,ac-measure:
32 Boolean, define to enable headphone AC impedance measurement.
33 DC impedance must also be enabled for AC impedance measurement.
[all …]
/linux-6.14.4/drivers/input/misc/
Dadxl34x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ADXL345/346 Three-Axis Digital Accelerometers
25 #define OFSX 0x1E /* R/W X-axis offset */
26 #define OFSY 0x1F /* R/W Y-axis offset */
27 #define OFSZ 0x20 /* R/W Z-axis offset */
36 #define THRESH_FF 0x28 /* R/W Free-fall threshold */
37 #define TIME_FF 0x29 /* R/W Free-fall time */
40 #define BW_RATE 0x2C /* R/W Data rate and power mode control */
41 #define POWER_CTL 0x2D /* R/W Power saving features control */
46 #define DATAX0 0x32 /* R X-Axis Data 0 */
[all …]
/linux-6.14.4/include/soc/at91/
Dsama7-ddr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 #define DDR3PHY_ACDLLCR (0x14) /* DDR3PHY AC DLL Control Register */
32 #define DDR3PHY_ACIOCR (0x24) /* DDR3PHY AC I/O Configuration Register */
33 #define DDR3PHY_ACIOCR_CSPDD_CS0 (1 << 18) /* CS#[0] Power Down Driver */
34 #define DDR3PHY_ACIOCR_CKPDD_CK0 (1 << 8) /* CK[0] Power Down Driver */
35 #define DDR3PHY_ACIORC_ACPDD (1 << 3) /* AC Power Down Driver */
38 #define DDR3PHY_DXCCR_DXPDR (1 << 3) /* Data Power Down Receiver */
41 #define DDR3PHY_DSGCR_ODTPDD_ODT0 (1 << 20) /* ODT[0] Power Down Driver */
44 #define DDR3PHY_ZQ0SR0_PDO_OFF (0) /* Pull-down output impedance select offset */
45 #define DDR3PHY_ZQ0SR0_PUO_OFF (5) /* Pull-up output impedance select offset */
[all …]
/linux-6.14.4/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-greatlakes.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include <dt-bindings/i2c/i2c.h>
12 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600";
23 iio-hwmon {
24 compatible = "iio-hwmon";
25 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
/linux-6.14.4/Documentation/hwmon/
Dbel-pfe.rst1 Kernel driver bel-pfe
10 Addresses scanned: -
12 … Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf
18 Addresses scanned: -
20 Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf
26 -----------
28 This driver supports hardware monitoring for below power supply devices
33 1100 Watt AC to DC power-factor-corrected (PFC) power supply.
38 3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply.
46 -----------
[all …]

12345678910>>...20