| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | rohm,bd71828-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71828-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 14 see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml. 16 The regulator controller is represented as a sub-node of the PMIC node 25 "^LDO[1-7]$": 32 regulator-name: 33 pattern: "^ldo[1-7]$" [all …]
|
| D | rohm,bd71847-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 23 voltage monitoring for LDO5/LDO6 can cause PMIC to reset. 30 "^LDO[1-6]$": 37 regulator-name: [all …]
|
| D | rohm,bd71837-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 23 if they are disabled at startup the voltage monitoring for LDO5/LDO6 will 31 "^LDO[1-7]$": 38 regulator-name: [all …]
|
| D | samsung,s5m8767.txt | 4 This is a part of device tree bindings for S5M family multi-function devices. 5 More information can be found in bindings/mfd/sec-core.txt file. 10 a sub-node named "regulators" with more sub-nodes for each regulator using the 12 - Documentation/devicetree/bindings/regulator/regulator.txt 16 - s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used 17 for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines. 19 [1] If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional 20 property is specified, then all the eight voltage values for the 21 's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified. 24 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | rohm-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/mfd/rohm-generic.h> 21 if (ret != -EINVAL) in set_dvs_level() 30 for (i = 0; i < desc->n_voltages; i++) { in set_dvs_level() 35 i <<= ffs(desc->vsel_mask) - 1; in set_dvs_level() 46 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument 53 unsigned int reg, mask, omask, oreg = desc->enable_reg; in rohm_regulator_set_dvs_levels() 59 if (dvs->level_map & bit) { in rohm_regulator_set_dvs_levels() 62 prop = "rohm,dvs-run-voltage"; in rohm_regulator_set_dvs_levels() 63 reg = dvs->run_reg; in rohm_regulator_set_dvs_levels() [all …]
|
| D | bd71828-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // bd71828-regulator.c ROHM BD71828GW-DS1 regulator driver 11 #include <linux/mfd/rohm-bd71828.h> 27 const struct rohm_dvs_config dvs; member 34 * DVS Buck voltages can be changed by register values or via GPIO. 112 dev_err(&rdev->dev, in bd71828_set_ramp_delay() 121 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg + 2, in bd71828_set_ramp_delay() 123 val << (ffs(BD71828_MASK_RAMP_DELAY) - 1)); in bd71828_set_ramp_delay() 134 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels() 144 struct regmap *regmap = cfg->regmap; in ldo6_parse_dt() [all …]
|
| D | bd718x7-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd71837-regulator.c ROHM BD71837MWV/BD71847MWV regulator driver 9 #include <linux/mfd/rohm-bd718x7.h> 50 * controlled by software - or by PMIC internal HW state machine. Whether 51 * regulator should be under SW or HW control can be defined from device-tree. 83 * BUCK1RAMPRATE[1:0] BUCK1 DVS ramp rate setting 95 dev_dbg(&rdev->dev, "Buck[%d] Set Ramp = %d\n", id + 1, in bd718xx_buck1234_set_ramp_delay() 112 dev_err(&rdev->dev, in bd718xx_buck1234_set_ramp_delay() 114 rdev->desc->name, ramp_delay); in bd718xx_buck1234_set_ramp_delay() 117 return regmap_update_bits(rdev->regmap, BD718XX_REG_BUCK1_CTRL + id, in bd718xx_buck1234_set_ramp_delay() [all …]
|
| D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 119 /* {OFF, ON, LOWPOWER, SUSPEND} */ 170 *reg = S5M8767_REG_LDO1CTRL + (reg_id - S5M8767_LDO1); in s5m8767_get_register() 173 *reg = S5M8767_REG_LDO3CTRL + (reg_id - S5M8767_LDO3); in s5m8767_get_register() 179 *reg = S5M8767_REG_BUCK2CTRL + (reg_id - S5M8767_BUCK2) * 9; in s5m8767_get_register() 185 *reg = S5M8767_REG_BUCK6CTRL1 + (reg_id - S5M8767_BUCK6) * 2; in s5m8767_get_register() 188 return -EINVAL; in s5m8767_get_register() 191 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register() 192 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register() 193 mode = s5m8767->opmode[i].mode; in s5m8767_get_register() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Voltage and Current Regulator Support" 6 Generic Voltage and Current Regulator support. 8 This framework is designed to provide a generic interface to voltage 10 provide voltage and current control to client or consumer drivers and 16 to both voltage regulators (where voltage output is controllable) and 34 tristate "Fixed voltage regulator support" 36 This driver provides support for fixed voltage regulators, 38 managed regulators and simple non-configurable regulators. 43 This driver provides a virtual consumer for the voltage and [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | rohm-generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * struct rohm_dvs_config - dynamic voltage scaling register descriptions 33 * @level_map: bitmap representing supported run-levels for this 41 * @suspend_reg: register address for regulator config at 'suspend' state 42 * @suspend_mask: value mask for regulator voltages at 'suspend' state 43 * @suspend_on_mask: enable mask for regulator at 'suspend' state 48 * Description of ROHM PMICs voltage configuration registers for different 69 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, 75 static inline int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument
|
| D | max8998.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8998.h - Voltage regulator driver for the Maxim 8998 5 * Copyright (C) 2009-2010 Samsung Electrnoics 46 * max8998_regulator_data - regulator data 49 * @reg_node: DT node of regulator (unused on non-DT platforms) 58 * struct max8998_board - packages regulator init data 64 * registers set by buck?_voltage?. The voltage of BUCK1/2 cannot 66 * @buck1_voltage: BUCK1 DVS mode 1 voltage registers 67 * @buck2_voltage: BUCK2 DVS mode 2 voltage registers 68 * @buck1_set1: BUCK1 gpio pin 1 to set output voltage [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | rohm,bd71837-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 13 BD71837MWV is programmable Power Management ICs for powering single-core, 14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 35 "#clock-cells": 48 # crucial regulators must have the regulator-always-on and regulator-boot-on [all …]
|
| D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-pico-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 12 #include <dt-bindings/interrupt-controller/irq.h> 15 model = "TechNexion PICO-PI-8M"; 16 compatible = "technexion,pico-pi-imx8m", "fsl,imx8mq"; 19 stdout-path = &uart1; 22 pmic_osc: clock-pmic { 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <32768>; [all …]
|
| D | imx8mq-phanbell.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright 2017-2019 NXP 6 /dts-v1/; 9 #include <dt-bindings/interrupt-controller/irq.h> 13 compatible = "google,imx8mq-phanbell", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pmic_osc: clock-pmic { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <32768>; [all …]
|
| D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "dt-bindings/pwm/pwm.h" 11 #include "dt-bindings/usb/pd.h" 16 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 18 backlight_dsi: backlight-dsi { 19 compatible = "pwm-backlight"; [all …]
|
| D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "dt-bindings/pwm/pwm.h" 11 #include "dt-bindings/usb/pd.h" 18 backlight_dsi: backlight-dsi { 19 compatible = "led-backlight"; 23 pmic_osc: clock-pmic { [all …]
|
| D | imx8mm-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 compatible = "mmc-pwrseq-simple"; 9 pinctrl-names = "default"; 10 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 11 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 13 clock-names = "ext_clock"; 14 post-power-on-delay-ms = <80>; 24 cpu-supply = <&buck2_reg>; 28 operating-points-v2 = <&ddrc_opp_table>; 30 ddrc_opp_table: opp-table { [all …]
|
| D | imx8mn-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright 2019-2020 Variscite Ltd. 11 model = "Variscite VAR-SOM-MX8MN module"; 12 compatible = "variscite,var-som-mx8mn", "fsl,imx8mn"; 15 stdout-path = &uart4; 23 reg_eth_phy: regulator-eth-phy { 24 compatible = "regulator-fixed"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_reg_eth_phy>; 27 regulator-name = "eth_phy_pwr"; [all …]
|
| D | imx8mm-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 model = "Variscite VAR-SOM-MX8MM module"; 11 compatible = "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 stdout-path = &uart4; 22 reg_eth_phy: regulator-eth-phy { 23 compatible = "regulator-fixed"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_reg_eth_phy>; 26 regulator-name = "eth_phy_pwr"; 27 regulator-min-microvolt = <3300000>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | mach-osiris-dvs.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Simtec Osiris Dynamic Voltage Scaling support. 17 #include <linux/soc/samsung/s3c-cpu-freq.h> 18 #include "gpio-samsung.h" 30 vregs1 = TPS_LDO1_OFF; /* turn off in low-power mode */ in osiris_dvs_tps_setdvs() 43 /* at the moment, we assume ARMCLK = HCLK => DVS */ in is_dvs() 44 return f->armclk == f->hclk; in is_dvs() 55 bool old_dvs = is_dvs(&freqs->old); in osiris_dvs_notify() 56 bool new_dvs = is_dvs(&freqs->new); in osiris_dvs_notify() 63 freqs->old.armclk, freqs->old.hclk, in osiris_dvs_notify() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
| D | rk3288-veyron-mickey.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron.dtsi" 10 #include "rk3288-veyron-broadcom-bluetooth.dtsi" 14 compatible = "google,veyron-mickey-rev8", "google,veyron-mickey-rev7", 15 "google,veyron-mickey-rev6", "google,veyron-mickey-rev5", 16 "google,veyron-mickey-rev4", "google,veyron-mickey-rev3", 17 "google,veyron-mickey-rev2", "google,veyron-mickey-rev1", 18 "google,veyron-mickey-rev0", "google,veyron-mickey", 21 vcc_5v: vcc-5v { [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | brcmstb-avs-cpufreq.c | 3 * supports DVS or DVFS 19 * its name from the technique called "Adaptive Voltage Scaling". 20 * Adaptive voltage scaling was the original purpose of this firmware. 22 * adaptive voltage scaling. However, on some newer Broadcom SoCs, the 28 * technique called "Adaptive Voltage Scaling". 30 * The Broadcom STB AVS CPUfreq driver provides voltage and frequency 32 * DVFS. The AVS firmware is running on its own co-processor. The 34 * (SMP) systems which share clock and voltage across all CPUs. 36 * Actual voltage and frequency scaling is done solely by the AVS 37 * firmware. This driver does not change frequency or voltage itself. [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 24 stdout-path = "serial0:115200n8"; [all …]
|