/linux-6.12.1/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 <mazziesaccount@gmail.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,bd71815-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71815-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml. 16 The regulator controller is represented as a sub-node of the PMIC node 33 regulator-name: 37 "^((ldo|buck)[1-5]|ldolpsr|ldodvref)$": 44 regulator-name: [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 <mazziesaccount@gmail.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 <mazziesaccount@gmail.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 | richtek,rtq2134-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtq2134-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ2134 is a multi-phase, programmable power management IC that 14 integrates with four high efficient, synchronous step-down converter cores. 17 https://www.richtek.com/assets/product_file/RTQ2134-QA/DSQ2134-QA-01.pdf 22 - richtek,rtq2134 31 "^buck[1-3]$": [all …]
|
D | microchip,mcp16502.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MCP16502 - High-Performance PMIC 10 - Andrei Simion <andrei.simion@microchip.com> 15 requiring Dynamic Voltage Scaling (DVS) with the use 16 of High-Performance mode (HPM). 22 lpm-gpios: 26 suspend-to-ram, keeping the PMIC into HIBERNATE mode. 31 lvin-supply: [all …]
|
/linux-6.12.1/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() 25 /* If voltage is set to 0 => disable */ in set_dvs_level() 30 /* Some setups don't allow setting own voltage but do allow enabling */ in set_dvs_level() 35 return -EINVAL; in set_dvs_level() 37 for (i = 0; i < desc->n_voltages; i++) { in set_dvs_level() 38 /* NOTE to next hacker - Does not support pickable ranges */ in set_dvs_level() 39 if (desc->linear_range_selectors_bitfield) in set_dvs_level() 40 return -EINVAL; in set_dvs_level() [all …]
|
D | bd71815-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 // bd71815-regulator.c ROHM BD71815 regulator driver 21 #include <linux/mfd/rohm-generic.h> 22 #include <linux/mfd/rohm-bd71815.h> 27 const struct rohm_dvs_config *dvs; member 179 return rohm_regulator_set_dvs_levels(data->dvs, np, desc, cfg->regmap); in set_hw_dvs_levels() 183 * Bucks 1 and 2 have two voltage selection registers where selected 184 * voltage can be set. Which of the registers is used can be either controlled 185 * by a control bit in register - or by HW state. If HW state specific voltages 186 * are given - then we assume HW state based control should be used. [all …]
|
D | bd71828-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // bd71828-regulator.c ROHM BD71828GW-DS1 regulator driver 10 #include <linux/mfd/rohm-bd71828.h> 26 const struct rohm_dvs_config dvs; member 33 * DVS Buck voltages can be changed by register values or via GPIO. 102 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels() 112 struct regmap *regmap = cfg->regmap; in ldo6_parse_dt() 113 static const char * const props[] = { "rohm,dvs-run-voltage", in ldo6_parse_dt() 114 "rohm,dvs-idle-voltage", in ldo6_parse_dt() 115 "rohm,dvs-suspend-voltage", 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 10 #include <linux/mfd/rohm-bd718x7.h> 51 * controlled by software - or by PMIC internal HW state machine. Whether 52 * regulator should be under SW or HW control can be defined from device-tree. 89 * BUCK1RAMPRATE[1:0] BUCK1 DVS ramp rate setting 103 * Note for next hacker - these PMICs have a register where the HW state can be 104 * read. If assuming RUN appears to be false in your use-case - you can 123 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in bd71837_get_buck34_enable_hwctrl() 138 * guarantee minimum of 1ms sleep - it shouldn't matter if we in voltage_change_done() [all …]
|
D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 120 /* {OFF, ON, LOWPOWER, SUSPEND} */ 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd71815-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71815AGW is a single-chip power management ICs for battery-powered 15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb 16 counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs. 30 gpio-controller: true 32 "#gpio-cells": [all …]
|
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 <mazziesaccount@gmail.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-names: 38 "#clock-cells": [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 <mazziesaccount@gmail.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 …]
|
/linux-6.12.1/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/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 17 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 19 backlight_dsi: backlight-dsi { [all …]
|
D | imx8mm-innocomm-wb15.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 reg_modem: regulator-modem { 11 compatible = "regulator-fixed"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&pinctrl_modem_regulator>; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 regulator-name = "epdev_on"; 18 enable-active-high; [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/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|
D | imx8mm-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 model = "Kontron OSM-S i.MX8MM (N802X SOM)"; 12 compatible = "kontron,imx8mm-osm-s", "fsl,imx8mm"; 30 stdout-path = &uart3; 33 reg_vdd_carrier: regulator-vdd-carrier { 34 compatible = "regulator-fixed"; 35 pinctrl-names = "default"; 36 pinctrl-0 = <&pinctrl_reg_vdd_carrier>; [all …]
|
/linux-6.12.1/include/linux/mfd/ |
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 70 * @wakeup: Allow to wake up from suspend [all …]
|
D | rohm-generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 37 * struct rohm_dvs_config - dynamic voltage scaling register descriptions 39 * @level_map: bitmap representing supported run-levels for this 47 * @suspend_reg: register address for regulator config at 'suspend' state 48 * @suspend_mask: value mask for regulator voltages at 'suspend' state 49 * @suspend_on_mask: enable mask for regulator at 'suspend' state 54 * Description of ROHM PMICs voltage configuration registers for different 78 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs,
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
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 | 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/rockchip/ |
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 …]
|