/Linux-v6.6/drivers/hwmon/pmbus/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 tristate "ACBEL FSG032 Power Supply" 34 FSG032 Power Supply. 37 be called acbel-fsg032. 55 and ADM1294 Hot-Swap Controller and Digital Power Monitors. 61 tristate "Bel PFE Compatible Power Supplies" 64 PFE1100 and PFE3000 Power Supplies. 67 be called bel-pfe. 70 tristate "BluTek BPA-RS600 Power Supplies" 73 BPA-RS600 Power Supplies. [all …]
|
/Linux-v6.6/drivers/gpu/drm/panel/ |
D | panel-startek-kd070fhfid015.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * - Vinay Simha BN <simhavcs@gmail.com> 9 * - Sumit Semwal <sumit.semwal@linaro.org> 10 * - Guillaume La Roque <glaroque@baylibre.com> 34 POWER = 1 enumerator 42 struct gpio_desc *enable_gpio; /* Power IC supply enable */ 45 struct regulator_bulk_data supplies[2]; member 55 struct mipi_dsi_device *dsi = stk->dsi; in stk_panel_init() 56 struct device *dev = &stk->dsi->dev; in stk_panel_init() 95 ret = mipi_dsi_dcs_set_column_address(dsi, 0, stk->mode->hdisplay - 1); in stk_panel_init() [all …]
|
D | panel-sony-td4353-jdi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Generated with linux-mdss-dsi-panel-driver-generator with a 9 * - "JDI ID3" for Akari (XZ2) 10 * - "JDI ID4" for Apollo (XZ2 Compact) 28 * Leaving room for expansion - SONY very often uses 36 struct regulator_bulk_data supplies[3]; member 50 struct mipi_dsi_device *dsi = ctx->dsi; in sony_td4353_jdi_on() 51 struct device *dev = &dsi->dev; in sony_td4353_jdi_on() 54 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sony_td4353_jdi_on() 56 ret = mipi_dsi_dcs_set_column_address(dsi, 0x0000, 1080 - 1); in sony_td4353_jdi_on() [all …]
|
D | panel-samsung-s6e63j0x03.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MIPI-DSI based S6E63J0X03 AMOLED lcd 1.63 inch panel driver. 5 * Copyright (c) 2014-2017 Samsung Electronics Co., Ltd 40 struct regulator_bulk_data supplies[2]; member 122 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e63j0x03_dcs_write_seq() 151 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e63j0x03_power_on() 157 gpiod_set_value(ctx->reset_gpio, 1); in s6e63j0x03_power_on() 159 gpiod_set_value(ctx->reset_gpio, 0); in s6e63j0x03_power_on() 167 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e63j0x03_power_off() 177 index = NUM_GAMMA_STEPS - 1; in s6e63j0x03_get_brightness_index() [all …]
|
/Linux-v6.6/sound/soc/codecs/ |
D | wm8804.c | 1 // 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 …]
|
D | wm8523.c | 1 // 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 …]
|
D | cs35l32.c | 1 // 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 …]
|
D | wm8782.c | 1 // 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 …]
|
D | sta32x.c | 1 // 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 …]
|
D | sta350.c | 1 // 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 …]
|
D | cs4270.c | 6 * 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 …]
|
D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 29 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 30 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 31 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 37 struct regulator_bulk_data supplies[PCM186x_NUM_SUPPLIES]; member 44 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 57 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0, [all …]
|
/Linux-v6.6/Documentation/driver-api/ |
D | regulator.rst | 1 .. 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.6/Documentation/devicetree/bindings/power/supply/ |
D | cpcap-battery.yaml | 1 # 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.6/drivers/mfd/ |
D | si476x-i2c.c | 1 // 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.6/Documentation/devicetree/bindings/opp/ |
D | opp-v2-base.yaml | 1 # 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.6/Documentation/ABI/testing/ |
D | sysfs-class-usb_power_delivery | 5 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.6/drivers/pci/controller/ |
D | pci-tegra.c | 1 // 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.6/Documentation/devicetree/bindings/mfd/ |
D | cirrus,lochnagar.yaml | 1 # 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-v6.6/Documentation/power/regulator/ |
D | design.rst | 9 ------ 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.
|
D | overview.rst | 11 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 …]
|
D | machine.rst | 10 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.6/drivers/input/touchscreen/ |
D | zinitix.c | 1 // 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.6/drivers/power/supply/ |
D | wm8350_power.c | 1 // 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.6/Documentation/devicetree/bindings/iio/adc/ |
D | renesas,rcar-gyroadc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/renesas,rcar-gyroadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car GyroADC 10 - Marek Vasut <marek.vasut+renesas@gmail.com> 15 are sampled by the GyroADC block in a round-robin fashion and the result 23 - enum: 24 - renesas,r8a7791-gyroadc 25 - renesas,r8a7792-gyroadc [all …]
|