| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | microchip,mcp16502.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MCP16502 - High-Performance PMIC 10 - Andrei Simion <andrei.simion@microchip.com> 16 of High-Performance mode (HPM). 22 lpm-gpios: 26 suspend-to-ram, keeping the PMIC into HIBERNATE mode. 31 lvin-supply: [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> 13 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The 16 Documentation/devicetree/bindings/regulator/regulator.txt. 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 21 https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf 23 # The valid names for PCA9450 regulator nodes are: [all …]
|
| H A D | maxim,max77802.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/maxim,max77802.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Javier Martinez Canillas <javier@dowhile0.org> 11 - Krzysztof Kozlowski <krzk@kernel.org> 17 The Maxim MAX77686 provides 10 high-efficiency Buck and 32 Low-DropOut (LDO) 23 Certain regulators support "regulator-initial-mode" and "regulator-mode". 24 The valid modes list is defined in the dt-bindings/regulator/maxim,max77802.h 26 1 - Normal regulator voltage output mode. [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-sama5d27_wlsom1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d27_wlsom1.dtsi - Device Tree file for SAMA5D27 WLSOM1 11 #include "sama5d2-pinfunc.h" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/atmel-flexcom.h> 14 #include <dt-bindings/pinctrl/at91.h> 18 compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 26 clock-frequency = <32768>; 30 clock-frequency = <24000000>; 34 reg_5v: regulator-5v { [all …]
|
| H A D | at91-sama7d65_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board 10 /dts-v1/; 11 #include "sama7d65-pinfunc.h" 13 #include <dt-bindings/mfd/atmel-flexcom.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/pinctrl/at91.h> 20 compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65", 28 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | at91-sama7g54_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g54_curiosity.dts - Device Tree file for SAMA7G54 Curiosity Board 10 /dts-v1/; 11 #include "sama7g5-pinfunc.h" 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/mfd/atmel-flexcom.h> 16 #include <dt-bindings/pinctrl/at91.h> 20 compatible = "microchip,sama7g54-curiosity", "microchip,sama7g5", "microchip,sama7"; 28 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | at91-sama5d2_icp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 11 /dts-v1/; 13 #include "sama5d2-pinfunc.h" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 model = "Microchip SAMA5D2-ICP"; 20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 32 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | at91-sama7g5ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g5ek.dts - Device Tree file for SAMA7G5-EK board 11 /dts-v1/; 12 #include "sama7g5-pinfunc.h" 14 #include <dt-bindings/mfd/atmel-flexcom.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/pinctrl/at91.h> 17 #include <dt-bindings/sound/microchip,pdmc.h> 20 model = "Microchip SAMA7G5-EK"; 25 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-regulator | 1 What: /sys/class/regulator/.../state 6 Some regulator directories will contain a field called 7 state. This reports the regulator enable control, for 16 'enabled' means the regulator output is ON and is supplying 19 'disabled' means the regulator output is OFF and is not 20 supplying power to the system (unless some non-Linux 23 'unknown' means software cannot determine the state, or 24 the reported state is invalid. 27 or microamps to determine configured regulator output levels. 30 What: /sys/class/regulator/.../status [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | ad5820.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <linux/regulator/consumer.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-subdev.h> 34 #define CODE_TO_RAMP_US(s) ((s) == 0 ? 0 : (1 << ((s) - 1)) * 50) 42 struct regulator *vana; 54 bool standby; member 59 struct i2c_client *client = v4l2_get_subdevdata(&coil->subdev); in ad5820_write() 64 if (!client->adapter) in ad5820_write() [all …]
|
| /linux/drivers/regulator/ |
| H A D | mcp16502.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Inspired from tps65086-regulator.c 17 #include <linux/regulator/driver.h> 30 * Performance, Active, Low-power, Hibernate. 33 * Each regulator has a register for each power mode. To access a register 34 * for a specific regulator and mode BASE_* and OFFSET_* need to be added. 41 * a low-power state while the PMIC is in Active mode. They are supposed to be 42 * configured at startup and then simply transition to/from a global low-power 43 * state by setting the GPIO lpm pin high/low. 45 * This driver keeps the PMIC in Active mode, Low-power state is set for the [all …]
|
| H A D | da9063-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Regulator driver for DA9063 PMIC series 18 #include <linux/regulator/driver.h> 19 #include <linux/regulator/machine.h> 20 #include <linux/regulator/of_regulator.h> 27 REG_FIELD(_reg, __builtin_ffs((int)_mask) - 1, \ 28 sizeof(unsigned int) * 8 - __builtin_clz((_mask)) - 1) 30 /* DA9063 and DA9063L regulator IDs */ 53 /* DA9063-only LDOs */ 62 /* Old regulator platform data */ [all …]
|
| H A D | da9062-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Regulator device driver for DA9061 and DA9062. 4 // Copyright (C) 2015-2017 Dialog Semiconductor 14 #include <linux/regulator/driver.h> 15 #include <linux/regulator/machine.h> 16 #include <linux/regulator/of_regulator.h> 19 #include <dt-bindings/regulator/dlg,da9063-regulator.h> 21 /* Regulator IDs */ 45 /* Regulator capabilities and registers description */ 58 /* Single regulator settings */ [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-gxm-rbox-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016-2017 Andreas Färber 5 * Based on nexbox-a1: 14 /dts-v1/; 16 #include "meson-gxm.dtsi" 17 #include <dt-bindings/sound/meson-aiu.h> 20 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 21 model = "R-Box Pro"; 29 stdout-path = "serial0:115200n8"; 37 spdif_dit: audio-codec-0 { [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mp-debix-som-a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/leds/common.h> 13 compatible = "polyhex,imx8mp-debix-som-a", "fsl,imx8mp"; 15 reg_usdhc2_vmmc: regulator-usdhc2 { 16 compatible = "regulator-fixed"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 19 regulator-name = "VSD_3V3"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; [all …]
|
| H A D | imx8mp-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 10 model = "Kontron OSM-S i.MX8MP"; 11 compatible = "kontron,imx8mp-osm-s", "fsl,imx8mp"; 29 stdout-path = &uart3; 32 reg_usb1_vbus: regulator-usb1-vbus { 33 compatible = "regulator-fixed"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&pinctrl_reg_usb1_vbus>; 37 enable-active-high; [all …]
|
| H A D | imx8mp-debix-model-a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/usb/pd.h> 17 compatible = "polyhex,imx8mp-debix-model-a", "polyhex,imx8mp-debix", "fsl,imx8mp"; 20 stdout-path = &uart2; 23 hdmi-connector { 24 compatible = "hdmi-connector"; 30 remote-endpoint = <&hdmi_tx_out>; [all …]
|
| H A D | imx8mp-skov-reva.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "imx8mp-nominal.dtsi" 6 #include <dt-bindings/leds/common.h> 27 compatible = "pwm-backlight"; 28 pinctrl-0 = <&pinctrl_backlight>; 30 power-supply = <®_24v>; 31 enable-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 32 brightness-levels = <0 255>; 33 num-interpolated-steps = <17>; 34 default-brightness-level = <8>; [all …]
|
| H A D | imx8mp-venice-gw74xx.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 12 #include <dt-bindings/net/ti-dp83867.h> 18 compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp"; 33 stdout-path = &uart2; 42 pinctrl-names = "default"; [all …]
|
| /linux/include/sound/ |
| H A D | soc-dapm.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management 15 #include <sound/soc-topology.h> 19 struct regulator; 25 #define SND_SOC_NOPM -1 31 * 1. Codec domain - VRE 523 struct regulator *regulator; /* attached regulator */ global() member [all...] |
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 18 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 19 chassis-type = "laptop"; 28 stdout-path = "serial2:1500000n8"; [all …]
|
| /linux/sound/soc/ |
| H A D | soc-dapm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management 12 // o Platform power domain - can support external components i.e. amps and 15 // o Jack insertion power event initiation - e.g. hp insertion will enable 31 #include <linux/regulator/consumer.h> 43 #define DAPM_UPDATE_STAT(widget, val) widget->dap 2640 char *state = "not set"; dapm_widget_show_component() local [all...] |
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ibm-bonnell.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,bonnell-bmc", "aspeed,ast2600"; 23 stdout-path = &uart5; 32 reserved-memory { 33 #address-cells = <1>; [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | spm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. 22 #include <linux/regulator/driver.h> 259 if (drv->reg_data->reg_offset[reg]) in spm_register_write() 260 writel_relaxed(val, drv->reg_base + in spm_register_write() 261 drv->reg_data->reg_offset[reg]); in spm_register_write() 270 if (!drv->reg_data->reg_offset[reg]) in spm_register_write_sync() 274 writel_relaxed(val, drv->reg_base + in spm_register_write_sync() 275 drv->reg_data->reg_offset[reg]); in spm_register_write_sync() 276 ret = readl_relaxed(drv->reg_base + in spm_register_write_sync() [all …]
|