Searched +full:- +full:uses +full:- +full:gpio +full:- +full:dvs (Results 1 – 13 of 13) sorted by relevance
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8997.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 motor driver, flash LED driver and Micro-USB Interface Controller. 22 const: maxim,max8997-pmic 24 charger-supply: 30 - description: irq1 interrupt 31 - description: alert interrupt 33 max8997,pmic-buck1-dvs-voltage: [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210-trats.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 19 chassis-type = "handset"; 37 stdout-path = "serial2:115200n8"; 40 vemmc_reg: regulator-0 { 41 compatible = "regulator-fixed"; 42 regulator-name = "VMEM_VDD_2.8V"; 43 regulator-min-microvolt = <2800000>; 44 regulator-max-microvolt = <2800000>; [all …]
|
H A D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 21 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 38 vemmc_reg: regulator-0 { [all …]
|
H A D | exynos4412-itop-scp-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { 37 compatible = "samsung,clock-xxti"; 38 clock-frequency = <0>; [all …]
|
H A D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pi-rev16", [all …]
|
/linux/drivers/regulator/ |
H A D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <linux/gpio/consumer.h> 171 *reg = S5M8767_REG_LDO1CTRL + (reg_id - S5M8767_LDO1); in s5m8767_get_register() 174 *reg = S5M8767_REG_LDO3CTRL + (reg_id - S5M8767_LDO3); in s5m8767_get_register() 180 *reg = S5M8767_REG_BUCK2CTRL + (reg_id - S5M8767_BUCK2) * 9; in s5m8767_get_register() 186 *reg = S5M8767_REG_BUCK6CTRL1 + (reg_id - S5M8767_BUCK6) * 2; in s5m8767_get_register() 189 return -EINVAL; in s5m8767_get_register() 192 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register() 193 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register() 194 mode = s5m8767->opmode[i].mode; in s5m8767_get_register() [all …]
|
H A D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 13 #include <linux/gpio/consumer.h> 20 #include <linux/mfd/max8997-private.h> 51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio() 52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio() 53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio() 55 gpiod_set_value(max8997->buck125_gpiods[0], set1); in max8997_set_gpio() 56 gpiod_set_value(max8997->buck125_gpiods[1], set2); in max8997_set_gpio() 57 gpiod_set_value(max8997->buck125_gpiods[2], set3); in max8997_set_gpio() [all …]
|
H A D | pca9450-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/gpio/consumer.h> 29 const struct pc9450_dvs_config dvs; member 55 .max_register = PCA9450_MAX_REGISTER - 1, 61 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting 168 if (ret == -EINVAL) in buck_set_dvs() 173 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 178 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs() 188 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs() 189 ret = regmap_update_bits(regmap, regulator->desc.enable_reg, in buck_set_dvs() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux/sound/soc/codecs/ |
H A D | cs35l56-shared.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/gpio/consumer.h> 14 #include <sound/cs-amp-lib.h> 20 * Firmware can change these to non-defaults to satisfy SDCA. 41 /* These are not reset by a soft-reset, so patch to defaults. */ 49 return regmap_register_patch(cs35l56_base->regmap, cs35l56_patch, in cs35l56_set_patch() 55 /* no defaults for OTP_MEM - first read populates cache */ 233 regmap_write(cs35l56_base->regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, command); in cs35l56_mbox_send() 234 ret = regmap_read_poll_timeout(cs35l56_base->regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, in cs35l56_mbox_send() 238 dev_warn(cs35l56_base->dev, "MBOX command %#x failed: %d\n", command, ret); in cs35l56_mbox_send() [all …]
|
/linux/include/linux/mfd/ |
H A D | palmas.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright 2011-2013 Texas Instruments Inc. 18 #include <linux/extcon-provider.h> 28 #define TPS65917_RESERVED -1 37 * PALMAS_PMIC_FEATURE_SMPS10_BOOST - used when the PMIC provides SMPS10_BOOST 40 * PALMAS_PMIC_HAS(b, f) - macro to check if a bandgap device is capable of a 41 * specific feature (above) or not. Return non-zero, if yes. 45 ((b)->features & PALMAS_PMIC_FEATURE_ ## f) 84 /* GPIO MUXing */ 159 /* roof_floor controls whether the regulator uses the i2c style [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | sh_css.c | 1 // SPDX-License-Identifier: GPL-2.0 77 /* Name of the sp program: should not be built-in */ 105 * struct sh_css_stream_seed - a stream seed, to save and restore the 132 * sustain power-down: MMU base, IRQ type, env for routines, binary loaded FW 141 struct ia_css_env driver_env; /* driver-supplied env copy */ 185 * - true, if all "ia_css_pipe" instances in the target "ia_css_stream" 187 * - false, otherwise. 350 if (pipe->shading_table) in sh_css_pipe_free_shading_table() 351 ia_css_shading_table_free(pipe->shading_table); in sh_css_pipe_free_shading_table() 352 pipe->shading_table = NULL; in sh_css_pipe_free_shading_table() [all …]
|