/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | qcom,spmi-regulator.txt | 3 - compatible: 7 "qcom,pm8004-regulators" 8 "qcom,pm8005-regulators" 9 "qcom,pm8841-regulators" 10 "qcom,pm8916-regulators" 11 "qcom,pm8941-regulators" 12 "qcom,pm8950-regulators" 13 "qcom,pm8994-regulators" 14 "qcom,pmi8994-regulators" 15 "qcom,pm660-regulators" [all …]
|
D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 15 description: A string used as a descriptive name for regulator outputs 18 regulator-min-microvolt: 21 regulator-max-microvolt: [all …]
|
D | mps,mpq7920.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/mps,mpq7920.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Saravanan Sekar <sravanhome@gmail.com> 14 pattern: "pmic@[0-9a-f]{1,2}" 17 - mps,mpq7920 24 $ref: regulator.yaml# 28 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5] 31 mps,switch-freq: [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | qcom-pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 9 compatible = "qcom,pm8941", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
D | sun5i-a13-pocketbook-touch-lux-3.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 /dts-v1/; 7 #include "sun5i-a13.dtsi" 8 #include "sunxi-common-regulators.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/pwm/pwm.h> 16 compatible = "pocketbook,touch-lux-3", "allwinner,sun5i-a13"; 26 compatible = "pwm-backlight"; [all …]
|
D | sun8i-s3-pinecube.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 6 /dts-v1/; 7 #include "sun8i-v3.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "pine64,pinecube", "sochip,s3", "allwinner,sun8i-v3"; 20 stdout-path = "serial0:115200n8"; 24 compatible = "gpio-leds"; 38 compatible = "regulator-fixed"; 39 regulator-name = "vcc5v0"; [all …]
|
D | sun7i-a20-olinuxino-lime2.dts | 2 * Copyright 2014 - Iain Paton <ipaton0@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun7i-a20.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "Olimex A20-OLinuXino-LIME2"; 52 compatible = "olimex,a20-olinuxino-lime2", "allwinner,sun7i-a20"; 59 stdout-path = "serial0:115200n8"; [all …]
|
/Linux-v5.10/include/linux/regulator/ |
D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 9 * Regulator Machine/Board Interface. 15 #include <linux/regulator/consumer.h> 18 struct regulator; 21 * Regulator operation constraint flags. These flags are used to enable 22 * certain regulator operations and can be OR'ed together. 24 * VOLTAGE: Regulator output voltage can be changed by software on this 26 * CURRENT: Regulator output current can be changed by software on this 28 * MODE: Regulator operating mode can be changed by software on this [all …]
|
D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 9 * Regulator Driver Interface. 18 #include <linux/regulator/consumer.h> 37 /* The regulator is enabled but not regulating */ 53 * struct regulator_ops - regulator operations. 55 * @enable: Configure the regulator as enabled. 56 * @disable: Configure the regulator as disabled. 57 * @is_enabled: Return 1 if the regulator is enabled, 0 if not. 60 * @set_voltage: Set the voltage for the regulator within the range specified. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 11 Documentation/devicetree/bindings/regulator/regulator.txt. 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | sht15.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sht15.c - support for the SHT15 Temperature and Humidity Sensor 5 * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc. 21 #include <linux/hwmon-sysfs.h> 28 #include <linux/regulator/consumer.h> 46 #define SHT15_TSRST 11 /* (msecs) soft reset time */ 65 * struct sht15_temppair - elements of voltage dependent temp calc 74 /* Table 9 from datasheet - relates temperature calculation to supply voltage */ 76 { 2500000, -39400 }, 77 { 3000000, -39600 }, [all …]
|
D | adm1177.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ADM1177 Hot Swap Controller and Digital Power Monitor with Soft Start Pin 5 * Copyright 2015-2019 Analog Devices Inc. 14 #include <linux/regulator/consumer.h> 27 * struct adm1177_state - driver instance specific data 29 * @reg regulator info for the the power supply of the device 36 struct regulator *reg; 44 return i2c_master_recv(st->client, data, num); in adm1177_read_raw() 49 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd() 58 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr() [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | qcom_spmi-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 17 #include <linux/regulator/driver.h> 46 /* Soft start strength of a voltage switch type regulator */ 56 * struct spmi_regulator_init_data - spmi-regulator initialization data 58 * used to enable the regulator, if any 66 * used to force the regulator into high power 74 * @vs_soft_start_strength: This parameter sets the soft start strength for 78 * then the soft start strength will be left at its 231 /* Common regulator control register layout */ [all …]
|
D | of_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OF helpers for regulator framework 12 #include <linux/regulator/machine.h> 13 #include <linux/regulator/driver.h> 14 #include <linux/regulator/of_regulator.h> 19 [PM_SUSPEND_STANDBY] = "regulator-state-standby", 20 [PM_SUSPEND_MEM] = "regulator-state-mem", 21 [PM_SUSPEND_MAX] = "regulator-state-disk", 29 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() 37 n_phandles = of_count_phandle_with_args(np, "regulator-coupled-with", in of_get_regulation_constraints() [all …]
|
/Linux-v5.10/drivers/staging/fbtft/ |
D | fb_upd161704.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2014 Seong-Woo Kim 27 par->fbtftops.reset(par); in init_display() 29 if (par->gpio.cs) in init_display() 30 gpiod_set_value(par->gpio.cs, 0); /* Activate chip */ in init_display() 35 write_reg(par, 0x0003, 0x0001); /* Soft reset */ in init_display() 37 /* oscillator start */ in init_display() 41 /* y-setting */ in init_display() 70 write_reg(par, 0x001C, 0x0C01); /* Regulator voltage setting */ in init_display() 71 write_reg(par, 0x001D, 0x0000); /* Regulator current setting */ in init_display() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | axp20x.txt | 4 axp152 (X-Powers) 5 axp202 (X-Powers) 6 axp209 (X-Powers) 7 axp221 (X-Powers) 8 axp223 (X-Powers) 9 axp803 (X-Powers) 10 axp806 (X-Powers) 11 axp809 (X-Powers) 12 axp813 (X-Powers) 20 - compatible: should be one of: [all …]
|
/Linux-v5.10/drivers/net/wireless/ti/wl1251/ |
D | boot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); in wl1251_boot_target_enable_interrupts() 28 /* perform soft reset */ in wl1251_boot_soft_reset() 35 wl1251_debug(DEBUG_BOOT, "soft reset bootdata 0x%x", boot_data); in wl1251_boot_soft_reset() 40 /* 1.2 check pWhalBus->uSelfClearTime if the in wl1251_boot_soft_reset() 42 wl1251_error("soft reset timeout"); in wl1251_boot_soft_reset() 43 return -1; in wl1251_boot_soft_reset() 52 /* disable auto calibration on start*/ in wl1251_boot_soft_reset() 118 * PG 1.2: set the clock request time to be ref_clk_settling_time - in wl1251_boot_init_seq() 122 tmp = init_data - 0x21; in wl1251_boot_init_seq() [all …]
|
/Linux-v5.10/drivers/net/ethernet/micrel/ |
D | ks8851_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/regulator/consumer.h> 31 * ks8851_lock - register access lock 39 ks->lock(ks, flags); in ks8851_lock() 43 * ks8851_unlock - register access unlock 51 ks->unlock(ks, flags); in ks8851_unlock() 55 * ks8851_wrreg16 - write 16bit register value to chip 65 ks->wrreg16(ks, reg, val); in ks8851_wrreg16() 69 * ks8851_rdreg16 - read 16 bit register from device 78 return ks->rdreg16(ks, reg); in ks8851_rdreg16() [all …]
|
/Linux-v5.10/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 17 #include <linux/regulator/consumer.h> 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() [all …]
|
D | madera-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015-2018 Cirrus Logic 21 #include <linux/regulator/consumer.h> 22 #include <linux/regulator/machine.h> 23 #include <linux/regulator/of_regulator.h> 48 .name = "madera-ldo1", 60 { .name = "madera-pinctrl", }, 61 { .name = "madera-irq", }, 62 { .name = "madera-gpio", }, 64 .name = "madera-extcon", [all …]
|
/Linux-v5.10/drivers/ata/ |
D | ahci_sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/regulator/consumer.h> 22 #define DRV_NAME "ahci-sunxi" 118 if (--timeout == 0) { in ahci_sunxi_phy_init() 120 return -EIO; in ahci_sunxi_phy_init() 133 if (--timeout == 0) { in ahci_sunxi_phy_init() 135 return -EIO; in ahci_sunxi_phy_init() 150 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_sunxi_start_engine() 152 /* Setup DMA before DMA start in ahci_sunxi_start_engine() 156 * User's Guide document (TMS320C674x/OMAP-L1x Processor in ahci_sunxi_start_engine() [all …]
|
/Linux-v5.10/Documentation/sound/soc/ |
D | dapm.rst | 11 such, can easily co-exist with the other PM systems. 60 Audio DAPM widgets fall into a number of types:- 88 Regulator 89 External regulator that supplies power to audio components. 127 (Widgets are defined in include/sound/soc-dapm.h) 130 There are convenience macros defined in soc-dapm.h that can be used to quickly 138 --------------------- 144 Stream widgets have the following format:- 167 ------------------- 170 audio paths within the audio subsystem. They have the following form:- [all …]
|
/Linux-v5.10/drivers/media/i2c/m5mols/ |
D | m5mols_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for M-5MOLS 8M Pixel camera sensor with ISP 18 #include <linux/regulator/consumer.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-subdev.h> 35 /* The regulator consumer names for external voltage regulators */ 71 { 0x01, M5MOLS_RESTYPE_MONITOR, 128, 96 }, /* SUB-QCIF */ 100 { 0x19, M5MOLS_RESTYPE_CAPTURE, 1920, 1080 }, /* Full-HD */ 112 * m5mols_swap_byte - an byte array to integer conversion function [all …]
|
/Linux-v5.10/include/linux/clk/ |
D | at91_pmc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Power Management Controller (PMC) - System peripherals registers. 50 #define AT91_PMC_PLL_ACR_UTMIVR (1 << 12) /* UPLL Voltage regulator Control */ 55 #define AT91_PMC_UPLLCOUNT (0xf << 20) /* UTMI PLL Start-up Time */ 57 #define AT91_PMC_BIASCOUNT (0xf << 28) /* UTMI BIAS Start-up Time */ 69 #define AT91_PMC_MOSCRCEN (1 << 3) /* Main On-Chip RC Oscillator Enable [some SAM9] */ 70 #define AT91_PMC_OSCOUNT (0xff << 8) /* Main Oscillator Start-up Time */ 151 #define AT91_PMC_SMD 0x3c /* Soft Modem Clock Register [some SAM9 only] */ 156 #define AT91_PMC_PCKR(n) (0x40 + ((n) * 4)) /* Programmable Clock 0-N Registers */ 177 #define AT91_PMC_MOSCRCS (1 << 17) /* Main On-Chip RC [some SAM9] */ [all …]
|
/Linux-v5.10/drivers/net/can/ |
D | flexcan.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // flexcan.c - FLEXCAN CAN controller driver 5 // Copyright (c) 2005-2006 Varma Electronics Oy 7 // Copyright (c) 2010-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de> 10 // Based on code originally by Andrey Volkov <avolkov@varma-el.com> 17 #include <linux/can/rx-offload.h> 31 #include <linux/regulator/consumer.h> 209 * SOC Version IP-Version Glitch- [TR]WRN_INT IRQ Err Memory err RTR rece- FD Mode 231 /* Disable non-correctable errors interrupt and freeze mode */ 241 /* Support CAN-FD mode */ [all …]
|