/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A 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 …]
|
H A 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 20 Note that if BD71847 starts at RUN state you probably want to use 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 30 "^LDO[1-6]$": 37 regulator-name: [all …]
|
H A 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 20 Note that if BD71837 starts at RUN state you probably want to use 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 31 "^LDO[1-7]$": 38 regulator-name: [all …]
|
H A 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 …]
|
H A D | maxim,max8973.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> 13 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 30 maxim,dvs-gpio: 33 GPIO which is connected to DVS pin of device. [all …]
|
H A 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 …]
|
H A D | nxp,pca9450-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin Gong <yibin.gong@nxp.com> 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 28 - nxp,pca9450a 29 - nxp,pca9450b 30 - nxp,pca9450c 44 "^LDO[1-5]$": [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | lp872x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 88 /* Default DVS Mode */ 92 /* dump registers in regmap-debugfs */ 160 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte() 162 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte() 172 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte() 178 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits() 183 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec() 202 default: in lp872x_get_timestep_usec() 203 return -EINVAL; in lp872x_get_timestep_usec() [all …]
|
H A 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() 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. 188 * If volatge value is updated to currently selected register - then output 190 * default changing voltage by writing new value to inactive register and [all …]
|
H A 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. 34 * Use register accesses by default. 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() [all …]
|
H A D | wm831x-dcdc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series 63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() 64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode() 82 default: in wm831x_dcdc_get_mode() 84 return -EINVAL; in wm831x_dcdc_get_mode() 106 default: in wm831x_dcdc_set_mode_int() 107 return -EINVAL; in wm831x_dcdc_set_mode_int() 117 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode() 118 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_set_mode() [all …]
|
H A 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. 88 * BUCK1RAMPRATE[1:0] BUCK1 DVS ramp rate setting 96 /* These functions are used when regulators are under HW state machine control. 97 * We assume PMIC is in RUN state because SW running and able to query the 98 * status. Most of the regulators have fixed ON or OFF state at RUN/IDLE so for 100 * they support configuring the ON/OFF state for RUN. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A 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 …]
|
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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-max77620.txt | 6 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt> 11 -------------------------- 12 Following properties are required if default setting of pins are required 14 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>. 15 - pinctrl[0...n]: Properties to contain the phandle for pinctrl states per 16 <pinctrl-bindings.txt>. 19 sub-node have following properties: 22 ------------------ 23 - pins: List of pins. Valid values of pins properties are: 27 ------------------- [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-jaq.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "rk3288-veyron-chromebook.dtsi" 11 #include "../cros-ec-sbs.dtsi" 15 compatible = "google,veyron-jaq-rev5", "google,veyron-jaq-rev4", 16 "google,veyron-jaq-rev3", "google,veyron-jaq-rev2", 17 "google,veyron-jaq-rev1", "google,veyron-jaq", 22 /* Jaq panel PWM must be >= 3%, so start non-zero brightness at 8 */ 23 brightness-levels = <8 255>; 24 num-interpolated-steps = <247>; [all …]
|
H A D | rk3288-tinker.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/rockchip,rk808.h> 12 stdout-path = "serial2:115200n8"; 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <125000000>; 24 clock-output-names = "ext_gmac"; 27 gpio-keys { [all …]
|
H A D | rk3288-veyron-fievel.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron.dtsi" 10 #include "rk3288-veyron-analog-audio.dtsi" 14 compatible = "google,veyron-fievel-rev8", "google,veyron-fievel-rev7", 15 "google,veyron-fievel-rev6", "google,veyron-fievel-rev5", 16 "google,veyron-fievel-rev4", "google,veyron-fievel-rev3", 17 "google,veyron-fievel-rev2", "google,veyron-fievel-rev1", 18 "google,veyron-fievel-rev0", "google,veyron-fievel", 22 compatible = "regulator-fixed"; [all …]
|
H A D | rk3288-veyron-minnie.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-chromebook.dtsi" 10 #include "rk3288-veyron-broadcom-bluetooth.dtsi" 14 compatible = "google,veyron-minnie-rev4", "google,veyron-minnie-rev3", 15 "google,veyron-minnie-rev2", "google,veyron-minnie-rev1", 16 "google,veyron-minnie-rev0", "google,veyron-minnie", 19 volume_buttons: volume-buttons { 20 compatible = "gpio-keys"; 21 pinctrl-names = "default"; [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | max8973-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * max8973-regulator.h -- MAXIM 8973 regulator 5 * Interface for regulator driver for MAXIM 8973 DC-DC step-down 38 * struct max8973_regulator_platform_data - max8973 regulator platform data. 53 * it should be -1. 54 * @dvs_gpio: GPIO for dvs. It should be -1 if this is tied with fixed logic. 55 * @dvs_def_state: Default state of dvs. 1 if it is high else 0.
|
/openbmc/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-css.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include "ipu3-abi.h" 11 #include "ipu3-css-pool.h" 18 /* For DVS etc., format FRAME_FMT_YUV420_16 */ 20 /* For temporal noise reduction DVS etc., format FRAME_FMT_YUV_LINE */ 34 #define IPU3_CSS_RECT_ENVELOPE 2 /* DVS envelope size */ 40 #define IPU3_CSS_DEFAULT_BINARY 3 /* default binary index */ 72 enum imgu_css_buffer_state state; member 124 struct imgu_css_map binary_params_cs[IMGU_ABI_PARAM_CLASS_NUM - 1] 202 return b->state; in imgu_css_buf_state() [all …]
|
/openbmc/linux/include/linux/mfd/wm831x/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 43 * Currently all the configuration is for the fast DVS switching 50 int dvs_control_src; /** Hardware DVS source to use (1 or 2) */ 51 int dvs_init_state; /** DVS state to expect on startup */ 56 * plus 1 to allow for a zero default for preserve.
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A 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 …]
|