Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.10/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>
43 struct regulator_bulk_data supplies[CS35L32_NUM_SUPPLIES]; member
50 { 0x06, 0x04 }, /* Power Ctl 1 */
51 { 0x07, 0xE8 }, /* Power Ctl 2 */
153 struct snd_soc_component *component = codec_dai->component; in cs35l32_set_dai_fmt()
166 return -EINVAL; in cs35l32_set_dai_fmt()
174 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>
58 /* Power-up register defaults */
132 /* regulator power supply names */
136 "Vcc" /* power amp spply, 10V - 36V */
143 struct regulator_bulk_data supplies[ARRAY_SIZE(sta32x_supply_names)]; member
157 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
158 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
159 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
[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
36 * The codec isn't really big-endian or little-endian, since the I2S
50 #define CS4270_PWRCTL 0x02 /* Power Control */
60 #define CS4270_NUMREGS (CS4270_LASTREG - CS4270_FIRSTREG + 1)
[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>
58 /* Power-up register defaults */
157 /* regulator power supply names */
159 "vdd-dig", /* digital supply, 3.3V */
160 "vdd-pll", /* pll supply, 3.3V */
161 "vcc" /* power amp supply, 5V - 26V */
167 struct regulator_bulk_data supplies[ARRAY_SIZE(sta350_supply_names)]; member
182 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1);
[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-v5.10/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-v5.10/Documentation/devicetree/bindings/power/
Drockchip-io-domain.txt2 -------------------------------------
9 - If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then
18 - any logic for deciding what voltage we should set regulators to
19 - any logic for deciding whether regulators (or internal SoC blocks)
20 should have power or not have power
33 - compatible: should be one of:
34 - "rockchip,px30-io-voltage-domain" for px30
35 - "rockchip,px30-pmu-io-voltage-domain" for px30 pmu-domains
36 - "rockchip,rk3188-io-voltage-domain" for rk3188
37 - "rockchip,rk3228-io-voltage-domain" for rk3228
[all …]
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/power/supply/
Dpower-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: "http://devicetree.org/schemas/power/supply/power-supply.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Power Supply Core Support
10 - Sebastian Reichel <sre@kernel.org>
13 power-supplies:
14 $ref: /schemas/types.yaml#/definitions/phandle-array
17 supply it power, referenced by their phandles.
22 - |
[all …]
Dmaxim,ds2760.txt4 The ds2760 is a w1 slave device and must hence have its sub-node in DT
7 The device exposes a power supply, so the details described in
8 Documentation/devicetree/bindings/power/supply/power_supply.txt apply.
11 - compatible: must be "maxim,ds2760"
14 - power-supplies: Refers to one or more power supplies connected to
16 - maxim,pmod-enabled: This boolean property enables the DS2760 to enter
20 - maxim,cache-time-ms: Time im milliseconds to cache the data for. When
23 - rated-capacity-microamp-hours:
26 non-volatile chip memory is used.
Dcw2015_battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/cw2015_battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tobias Schramm <t.schramm@manjaro.org>
13 The driver can utilize information from a simple-battery linked via a
14 phandle in monitored-battery. If specified the driver uses the
15 charge-full-design-microamp-hours property of the battery.
24 cellwise,battery-profile:
30 $ref: /schemas/types.yaml#definitions/uint8-array
[all …]
Dcpcap-battery.txt4 - compatible: Shall be "motorola,cpcap-battery"
5 - interrupts: Interrupt specifier for each name in interrupt-names
6 - interrupt-names: Should contain the following entries:
8 - io-channels: IIO ADC channel specifier for each name in io-channel-names
9 - io-channel-names: Should contain the following entries:
11 - power-supplies: List of phandles for power-supplying devices, as
18 compatible = "motorola,cpcap-battery";
19 interrupts-extended = <
23 interrupt-names =
26 io-channels = <&cpcap_adc 0 &cpcap_adc 1
[all …]
/Linux-v5.10/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-v5.10/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
270 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit
368 struct regulator_bulk_data *supplies; member
397 writel(value, pcie->afi + offset); in afi_writel()
402 return readl(pcie->afi + offset); in afi_readl()
408 writel(value, pcie->pads + offset); in pads_writel()
413 return readl(pcie->pads + offset); in pads_readl()
448 struct tegra_pcie *pcie = bus->sysdata; in tegra_pcie_map_bus()
[all …]
/Linux-v5.10/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 …]
/Linux-v5.10/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-v5.10/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-v5.10/drivers/gpu/drm/msm/dp/
Ddp_power.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__
9 #include <linux/clk-provider.h>
20 struct regulator_bulk_data supplies[DP_DEV_REGULATOR_MAX]; member
25 static void dp_power_regulator_disable(struct dp_power_private *power) in dp_power_regulator_disable() argument
27 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_disable()
28 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_disable()
29 int num = power->parser->regulator_cfg->num; in dp_power_regulator_disable()
33 for (i = num - 1; i >= 0; i--) in dp_power_regulator_disable()
[all …]
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/display/panel/
Dpanel-dsi-cm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-dsi-cm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tomi Valkeinen <tomi.valkeinen@ti.com>
11 - Sebastian Reichel <sre@kernel.org>
23 - $ref: panel-common.yaml#
29 - enum:
30 - motorola,droid4-panel # Panel from Motorola Droid4 phone
31 - nokia,himalaya # Panel from Nokia N950 phone
[all …]

12345678910>>...13