| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/ |
| D | qcom,spmi-regulator.txt | 3 - compatible: 7 "qcom,pm8841-regulators" 8 "qcom,pm8916-regulators" 9 "qcom,pm8941-regulators" 10 "qcom,pm8994-regulators" 11 "qcom,pmi8994-regulators" 13 - interrupts: 15 Value type: <prop-encoded-array> 18 - interrupt-names: 20 Value type: <string-array> [all …]
|
| D | regulator.txt | 4 - regulator-name: A string used as a descriptive name for regulator outputs 5 - regulator-min-microvolt: smallest voltage consumers may set 6 - regulator-max-microvolt: largest voltage consumers may set 7 - regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops 8 - regulator-min-microamp: smallest current consumers may set 9 - regulator-max-microamp: largest current consumers may set 10 - regulator-input-current-limit-microamp: maximum input current regulator allows 11 - regulator-always-on: boolean, regulator should never be disabled 12 - regulator-boot-on: bootloader/firmware enabled regulator 13 - regulator-allow-bypass: allow the regulator to go into bypass mode [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/include/linux/regulator/ |
| D | machine.h | 2 * machine.h -- SoC Regulator support, machine/board driver API. 12 * Regulator Machine/Board Interface. 18 #include <linux/regulator/consumer.h> 21 struct regulator; 24 * Regulator operation constraint flags. These flags are used to enable 25 * certain regulator operations and can be OR'ed together. 27 * VOLTAGE: Regulator output voltage can be changed by software on this 29 * CURRENT: Regulator output current can be changed by software on this 31 * MODE: Regulator operating mode can be changed by software on this 33 * STATUS: Regulator can be enabled and disabled. [all …]
|
| D | driver.h | 2 * driver.h -- SoC Regulator driver support. 12 * Regulator Driver Interface. 22 #include <linux/regulator/consumer.h> 40 /* The regulator is enabled but not regulating */ 47 * struct regulator_linear_range - specify linear voltage ranges 74 * struct regulator_ops - regulator operations. 76 * @enable: Configure the regulator as enabled. 77 * @disable: Configure the regulator as disabled. 78 * @is_enabled: Return 1 if the regulator is enabled, 0 if not. 81 * @set_voltage: Set the voltage for the regulator within the range specified. [all …]
|
| /kernel/linux/linux-4.19/drivers/regulator/ |
| D | qcom_spmi-regulator.c | 2 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 25 #include <linux/regulator/driver.h> 54 /* Soft start strength of a voltage switch type regulator */ 64 * struct spmi_regulator_init_data - spmi-regulator initialization data 66 * used to enable the regulator, if any 74 * used to force the regulator into high power 82 * @vs_soft_start_strength: This parameter sets the soft start strength for 86 * then the soft start strength will be left at its 211 /* Common regulator control register layout */ 221 /* Common regulator mode register layout */ [all …]
|
| D | of_regulator.c | 2 * OF helpers for regulator framework 16 #include <linux/regulator/machine.h> 17 #include <linux/regulator/driver.h> 18 #include <linux/regulator/of_regulator.h> 23 [PM_SUSPEND_MEM] = "regulator-state-mem", 24 [PM_SUSPEND_MAX] = "regulator-state-disk", 31 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() 38 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints() 40 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints() 41 constraints->min_uV = pval; in of_get_regulation_constraints() [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/hwmon/ |
| D | sht15.c | 2 * sht15.c - support for the SHT15 Temperature and Humidity Sensor 4 * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc. 24 #include <linux/hwmon-sysfs.h> 31 #include <linux/regulator/consumer.h> 49 #define SHT15_TSRST 11 /* (msecs) soft reset time */ 68 * struct sht15_temppair - elements of voltage dependent temp calc 77 /* Table 9 from datasheet - relates temperature calculation to supply voltage */ 79 { 2500000, -39400 }, 80 { 3000000, -39600 }, 81 { 3500000, -39700 }, [all …]
|
| /kernel/linux/linux-4.19/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 != -1) in init_display() 30 gpio_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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/fbtft/ |
| D | fb_upd161704.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2014 Seong-Woo Kim 26 par->fbtftops.reset(par); in init_display() 31 write_reg(par, 0x0003, 0x0001); /* Soft reset */ in init_display() 33 /* oscillator start */ in init_display() 37 /* y-setting */ in init_display() 66 write_reg(par, 0x001C, 0x0C01); /* Regulator voltage setting */ in init_display() 67 write_reg(par, 0x001D, 0x0000); /* Regulator current setting */ in init_display() 98 /*GS = 0: 260-k color (64 gray scale), GS = 1: 8 color (2 gray scale) */ in init_display() 115 switch (par->info->var.rotate) { in set_addr_win() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/mfd/ |
| D | madera-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2018 Cirrus Logic 24 #include <linux/regulator/consumer.h> 25 #include <linux/regulator/machine.h> 26 #include <linux/regulator/of_regulator.h> 45 { .name = "madera-ldo1" }, 57 { .name = "madera-pinctrl", }, 58 { .name = "madera-irq", }, 59 { .name = "madera-micsupp", }, 60 { .name = "madera-gpio", }, [all …]
|