Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v6.1/drivers/hwmon/pmbus/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
46 and ADM1294 Hot-Swap Controller and Digital Power Monitors.
52 tristate "Bel PFE Compatible Power Supplies"
55 PFE1100 and PFE3000 Power Supplies.
58 be called bel-pfe.
61 tristate "BluTek BPA-RS600 Power Supplies"
64 BPA-RS600 Power Supplies.
67 be called bpa-rs600.
70 tristate "Delta AHE-50DC fan control module"
73 the integrated fan control module of the Delta AHE-50DC
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwm8804.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8804.c -- WM8804 S/PDIF transceiver driver
5 * Copyright 2010-11 Wolfson Microelectronics plc
26 #include <sound/soc-dapm.h>
37 { 3, 0x21 }, /* R3 - PLL1 */
38 { 4, 0xFD }, /* R4 - PLL2 */
39 { 5, 0x36 }, /* R5 - PLL3 */
40 { 6, 0x07 }, /* R6 - PLL4 */
41 { 7, 0x16 }, /* R7 - PLL5 */
42 { 8, 0x18 }, /* R8 - PLL6 */
[all …]
Dwm8523.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8523.c -- WM8523 ALSA SoC Audio driver
40 struct regulator_bulk_data supplies[WM8523_NUM_SUPPLIES]; member
47 { 2, 0x0000 }, /* R2 - PSCTRL1 */
48 { 3, 0x1812 }, /* R3 - AIF_CTRL1 */
49 { 4, 0x0000 }, /* R4 - AIF_CTRL2 */
50 { 5, 0x0001 }, /* R5 - DAC_CTRL3 */
51 { 6, 0x0190 }, /* R6 - DAC_GAINL */
52 { 7, 0x0190 }, /* R7 - DAC_GAINR */
53 { 8, 0x0000 }, /* R8 - ZERO_DETECT */
[all …]
Dcs35l32.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs35l32.c -- CS35L32 ALSA SoC audio driver
27 #include <sound/soc-dapm.h>
30 #include <dt-bindings/sound/cs35l32.h>
44 struct regulator_bulk_data supplies[CS35L32_NUM_SUPPLIES]; member
51 { 0x06, 0x04 }, /* Power Ctl 1 */
52 { 0x07, 0xE8 }, /* Power Ctl 2 */
154 struct snd_soc_component *component = codec_dai->component; in cs35l32_set_dai_fmt()
167 return -EINVAL; in cs35l32_set_dai_fmt()
175 struct snd_soc_component *component = dai->component; in cs35l32_set_tristate()
[all …]
Dwm8782.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * simple, strap-pin configured 24bit 2ch ADC
50 /* regulator power supply names */
52 "Vdda", /* analog supply, 2.7V - 3.6V */
53 "Vdd", /* digital supply, 2.7V - 5.5V */
57 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
63 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_probe()
69 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_remove()
76 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_suspend()
83 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_resume()
[all …]
Dsta32x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system
35 #include <sound/soc-dapm.h>
55 /* Power-up register defaults */
129 /* regulator power supply names */
133 "Vcc" /* power amp spply, 10V - 36V */
140 struct regulator_bulk_data supplies[ARRAY_SIZE(sta32x_supply_names)]; member
154 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
155 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
156 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
[all …]
Dsta350.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system
35 #include <sound/soc-dapm.h>
55 /* Power-up register defaults */
154 /* regulator power supply names */
156 "vdd-dig", /* digital supply, 3.3V */
157 "vdd-pll", /* pll supply, 3.3V */
158 "vcc" /* power amp supply, 5V - 26V */
164 struct regulator_bulk_data supplies[ARRAY_SIZE(sta350_supply_names)]; member
179 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1);
[all …]
Dcs4270.c6 * Copyright 2007-2009 Freescale Semiconductor, Inc. This file is licensed
15 * - Software mode is supported. Stand-alone mode is not supported.
16 * - Only I2C is supported, not SPI
17 * - Support for master and slave mode
18 * - The machine driver's 'startup' function must call
20 * - Only I2S and left-justified modes are supported
21 * - Power management is supported
41 #define CS4270_PWRCTL 0x02 /* Power Control */
51 #define CS4270_NUMREGS (CS4270_LASTREG - CS4270_FIRSTREG + 1)
101 /* Power-on default values for the registers
[all …]
Dpcm186x.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com
30 "avdd", /* Analog power supply. Connect to 3.3-V supply. */
31 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */
32 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */
38 struct regulator_bulk_data supplies[PCM186x_NUM_SUPPLIES]; member
45 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0);
49 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0,
55 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0,
58 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0,
[all …]
/Linux-v6.1/Documentation/driver-api/
Dregulator.rst1 .. Copyright 2007-2008 Wolfson Microelectronics
20 The intention is to allow systems to dynamically control regulator power
21 output in order to save power and prolong battery life. This applies to
27 ``Documentation/power/regulator``.
30 --------
36 Electronic device that supplies power to other devices. Most regulators
42 Electronic device which consumes power provided by a regulator. These
46 Power Domain
52 Power Management Integrated Circuit (PMIC)
62 drivers use `get <#API-regulator-get>`__ and
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dcpcap-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/cpcap-battery.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Tony Lindgren <tony@atomide.com>
12 - Sebastian Reichel <sre@kernel.org>
17 sub-function.
20 - $ref: power-supply.yaml#
24 const: motorola,cpcap-battery
28 - description: eol interrupt
[all …]
/Linux-v6.1/drivers/mfd/
Dsi476x-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/mfd/si476x-i2c.c -- Core device driver for si476x MFD
21 #include <linux/mfd/si476x-core.h>
27 * si476x_core_config_pinmux() - pin function configuration function
39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux()
41 core->pinmux.dclk, in si476x_core_config_pinmux()
42 core->pinmux.dfs, in si476x_core_config_pinmux()
43 core->pinmux.dout, in si476x_core_config_pinmux()
44 core->pinmux.xout); in si476x_core_config_pinmux()
46 dev_err(&core->client->dev, in si476x_core_config_pinmux()
[all …]
/Linux-v6.1/drivers/opp/
Dof.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
31 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node()
32 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node()
38 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node()
47 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp()
52 if (opp_table->np == np) { in _managed_opp()
55 * so will have same node-pointer, np. in _managed_opp()
58 * OPP table contains a "opp-shared" property. in _managed_opp()
60 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) { in _managed_opp()
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-usb_power_delivery5 Directory for USB Power Delivery devices.
11 File showing the USB Power Delivery Specification Revision used
19 specific revision of the USB Power Delivery Specification. In
23 What: /sys/class/usb_power_delivery/.../source-capabilities
28 set of Power Data Objects (PDO), each representing a type of
29 power supply. The order of the PDO objects is defined in the USB
30 Power Delivery Specification. Each PDO - power supply - will
33 power supply type name (":" as delimiter).
37 What: /sys/class/usb_power_delivery/.../sink-capabilities
42 of Power Data Objects (PDO) just like with source capabilities,
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/opp/
Dopp-v2-base.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Viresh Kumar <viresh.kumar@linaro.org>
13 Devices work at voltage-current-frequency combinations and some implementations
25 pattern: '^opp-table(-[a-z0-9]+)?$'
27 opp-shared:
36 '^opp(-?[0-9]+)*$':
39 One or more OPP nodes describing voltage-current-frequency combinations.
[all …]
/Linux-v6.1/drivers/pci/controller/
Dpci-tegra.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright (c) 2008-2009, NVIDIA Corporation.
11 * Bits taken from arch/arm/mach-dove/pcie.c
256 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit
349 struct regulator_bulk_data *supplies; member
378 writel(value, pcie->afi + offset); in afi_writel()
383 return readl(pcie->afi + offset); in afi_readl()
389 writel(value, pcie->pads + offset); in pads_writel()
394 return readl(pcie->pads + offset); in pads_readl()
429 struct tegra_pcie *pcie = bus->sysdata; in tegra_pcie_map_bus()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
15 Logic devices on mini-cards, as well as allowing connection of
17 platform. Audio system topology, clocking and power can all be
25 [2] include/dt-bindings/pinctrl/lochnagar.h
26 [3] include/dt-bindings/clock/lochnagar.h
28 And these documents for the required sub-node binding details:
35 - if:
[all …]
Dene-kb930.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/ene-kb930.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Dmitry Osipenko <digetx@gmail.com>
19 - enum:
20 - acer,a500-iconia-ec # Acer A500 Iconia tablet device
21 - const: ene,kb930
25 monitored-battery: true
26 power-supplies: true
[all …]
/Linux-v6.1/Documentation/power/regulator/
Ddesign.rst9 ------
11 - Errors in regulator configuration can have very serious consequences
13 - It is not possible to automatically determine the power configuration
14 of the system - software-equivalent variants of the same chip may
15 have different power requirements, and not all components with power
25 ------------------
27 - The overwhelming majority of devices in a system will have no
28 requirement to do any runtime configuration of their power beyond
31 - Many of the power supplies in the system will be shared between many
38 supplies without any additional effort.
Doverview.rst11 The intention is to allow systems to dynamically control regulator power output
12 in order to save power and prolong battery life. This applies to both voltage
26 - Regulator
27 - Electronic device that supplies power to other devices.
31 Input Voltage -> Regulator -> Output Voltage
34 - PMIC
35 - Power Management IC. An IC that contains numerous
39 - Consumer
40 - Electronic device that is supplied power by a regulator.
41 Consumers can be classified into two types:-
[all …]
Dmachine.rst10 Regulator-1 -+-> Regulator-2 --> [Consumer A @ 1.8 - 2.0V]
12 +-> [Consumer B @ 3.3V]
15 order to control their power supplies. This mapping can be achieved in machine
21 const char *supply; /* consumer supply - e.g. "vcc" */
34 This maps Regulator-1 to the 'Vcc' supply for Consumer B and maps Regulator-2
38 for each regulator power domain. This structure also maps the consumers
43 .name = "Regulator-1",
53 for the board for configuration of supplies for other regulators and
58 Regulator-1 supplies power to Regulator-2. This relationship must be registered
59 with the core so that Regulator-1 is also enabled when Consumer A enables its
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/
Dqcom,q6v5.txt6 - compatible:
10 "qcom,q6v5-pil",
11 "qcom,ipq8074-wcss-pil"
12 "qcom,qcs404-wcss-pil"
13 "qcom,msm8916-mss-pil",
14 "qcom,msm8974-mss-pil"
15 "qcom,msm8996-mss-pil"
16 "qcom,msm8998-mss-pil"
17 "qcom,sdm845-mss-pil"
19 - reg:
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dzinitix.c1 // SPDX-License-Identifier: GPL-2.0-only
147 struct regulator_bulk_data supplies[2]; member
160 return ret < 0 ? ret : -EIO; in zinitix_read_data()
164 return ret < 0 ? ret : -EIO; in zinitix_read_data()
176 return ret < 0 ? ret : -EIO; in zinitix_write_u16()
188 return ret < 0 ? ret : -EIO; in zinitix_write_cmd()
195 struct i2c_client *client = bt541->client; in zinitix_init_touch()
201 dev_err(&client->dev, "Failed to write reset command\n"); in zinitix_init_touch()
207 dev_err(&client->dev, in zinitix_init_touch()
214 bt541->prop.max_x); in zinitix_init_touch()
[all …]
/Linux-v6.1/drivers/power/supply/
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()
53 int supplies = 0; in wm8350_get_supplies() local
72 supplies = WM8350_USB_SUPPLY; in wm8350_get_supplies()
77 supplies = WM8350_USB_SUPPLY | WM8350_BATT_SUPPLY; in wm8350_get_supplies()
79 supplies = WM8350_LINE_SUPPLY; in wm8350_get_supplies()
81 supplies = WM8350_BATT_SUPPLY; in wm8350_get_supplies()
83 return supplies; in wm8350_get_supplies()
[all …]
/Linux-v6.1/drivers/hid/i2c-hid/
Di2c-hid-of.c12 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
13 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
14 * Copyright (c) 2007-2008 Oliver Neukum
15 * Copyright (c) 2006-2010 Jiri Kosina
32 #include "i2c-hid.h"
38 struct regulator_bulk_data supplies[2]; member
45 struct device *dev = &ihid_of->client->dev; in i2c_hid_of_power_up()
48 ret = regulator_bulk_enable(ARRAY_SIZE(ihid_of->supplies), in i2c_hid_of_power_up()
49 ihid_of->supplies); in i2c_hid_of_power_up()
51 dev_warn(dev, "Failed to enable supplies: %d\n", ret); in i2c_hid_of_power_up()
[all …]

12345678910>>...14