Home
last modified time | relevance | path

Searched +full:no +full:- +full:regulator +full:- +full:enable +full:- +full:control (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/u-boot/doc/device-tree-bindings/regulator/
H A Dtps65090.txt4 - compatible: "ti,tps65090"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - regulators: A node that houses a sub-node for each regulator within the
8 device. Each sub-node is identified using the node's name, with valid
9 values listed below. The content of each sub-node is defined by the
10 standard binding for regulators; see regulator.txt.
11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
13 - infet[1-7]-supply: The input supply for FET[1-7] respectively.
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dsun9i-a80-cx-a99.dts2 * sun9i-a80-cx-a99.dts - Device Tree file for the Sunchip CX-A99 board.
6 * This file is dual-licensed: you can use it either under the terms
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
46 * The Sunchip CX-A99 board is found in several similar Android media
49 * Instabox Fantasy A8 (no external antenna)
50 * Jesurun CS-Q8 (ships with larger remote control)
55 * See the Sunchip CX-A99 page on the Linux-sunxi wiki for more information.
58 /dts-v1/;
59 #include "sun9i-a80.dtsi"
61 #include <dt-bindings/gpio/gpio.h>
[all …]
H A Dtegra124-nyan.dtsi1 #include <dt-bindings/input/input.h>
19 vdd-supply = <&vdd_3v3_hdmi>;
20 pll-supply = <&vdd_hdmi_pll>;
21 hdmi-supply = <&vdd_5v0_hdmi>;
23 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
24 nvidia,hpd-gpio =
36 vdd-supply = <&vdd_3v3_panel>;
52 clock-frequency = <100000>;
54 acodec: audio-codec@10 {
57 interrupt-parent = <&gpio>;
[all …]
H A Dexynos5250-spring.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/input/input.h>
48 samsung,bl1-offset = <0x1400>;
49 samsung,bl2-offset = <0x3400>;
50 u-boot-memory = "/memory";
51 u-boot-offset = <0x3e00000 0x100000>;
56 #address-cells = <1>;
[all …]
H A Dexynos5420-peach-pit.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * SAMSUNG/GOOGLE Peach-Pit board device tree source
9 /dts-v1/;
11 #include <dt-bindings/clock/maxim,max77802.h>
12 #include <dt-bindings/regulator/maxim,max77802.h>
17 compatible = "google,pit-rev#", "google,pit",
21 google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
22 hwid = "PIT TEST A-A 7848";
23 lazy-init = <1>;
34 compatible = "pwm-backlight";
[all …]
H A Dtegra124-apalis.dts4 * This file is dual-licensed: you can use it either under the terms
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 /dts-v1/;
44 #include <dt-bindings/input/input.h>
49 compatible = "toradex,apalis-tk1-eval", "toradex,apalis-tk1",
73 stdout-path = "serial0:115200n8";
80 pcie-controller@01003000 {
82 avddio-pex-supply = <&vdd_1v05>;
83 avdd-pex-pll-supply = <&vdd_1v05>;
84 avdd-pll-erefe-supply = <&avdd_1v05>;
[all …]
H A Drk3288-veyron.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/rockchip,rk808.h>
9 #include <dt-bindings/input/input.h>
18 stdout-path = &uart2;
22 u-boot,dm-pre-reloc;
23 u-boot,boot0 = &spi_flash;
28 pinctrl-names = "default";
29 pinctrl-0 = <&fw_wp_ap>;
30 write-protect-gpio = <&gpio7 6 GPIO_ACTIVE_LOW>;
35 compatible = "pwm-backlight";
[all …]
H A Drk3399-gru.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright 2016-2017 Google, Inc
8 #include <dt-bindings/input/input.h>
10 #include "rk3399-op1-opp.dtsi"
14 u-boot,dm-pre-reloc;
15 stdout-path = "serial2:115200n8";
16 u-boot,spl-boot-order = &spi_flash;
20 u-boot,spl-payload-offset = <0x40000>;
29 * - Rails that only connect to the EC (or devices that the EC talks to)
31 * - Rails _are_ included if the rails go to the AP even if the AP
[all …]
H A Ddra7.dtsi2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/pinctrl/dra.h>
16 #address-cells = <2>;
17 #size-cells = <2>;
20 interrupt-parent = <&crossbar_mpu>;
47 compatible = "arm,armv7-timer";
52 interrupt-parent = <&gic>;
55 gic: interrupt-controller@48211000 {
56 compatible = "arm,cortex-a15-gic";
[all …]
/openbmc/u-boot/drivers/power/regulator/
H A Dgpio-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Keerthy <j-keerthy@ti.com>
14 #include <power/regulator.h>
21 struct gpio_desc gpio; /* GPIO for regulator voltage control */
31 const void *blob = gd->fdt_blob; in gpio_regulator_ofdata_to_platdata()
39 return -ENXIO; in gpio_regulator_ofdata_to_platdata()
42 uc_pdata->type = REGULATOR_TYPE_GPIO; in gpio_regulator_ofdata_to_platdata()
45 * Get gpio regulator gpio desc in gpio_regulator_ofdata_to_platdata()
46 * Assuming one GPIO per regulator. in gpio_regulator_ofdata_to_platdata()
48 * per gpio-regulator. As of now no instance with multiple in gpio_regulator_ofdata_to_platdata()
[all …]
H A DKconfig2 bool "Enable Driver Model for REGULATOR drivers (UCLASS_REGULATOR)"
4 ---help---
5 This config enables the driver model regulator support.
6 UCLASS_REGULATOR - designed to provide a common API for basic regulator's
7 functions, like get/set Voltage or Current value, enable state, etc...
10 - 'include/power/pmic.h'
11 - 'include/power/regulator.h'
12 - 'drivers/power/pmic/pmic-uclass.c'
13 - 'drivers/power/pmic/regulator-uclass.c'
15 when binding the regulator devices. The pmic_bind_childs() can be used
[all …]
/openbmc/u-boot/include/power/
H A Dregulator.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2014-2015 Samsung Electronics
11 * U-Boot Voltage/Current Regulator
14 * The regulator API is based on a driver model, with the device tree support.
16 * 'UCLASS_REGULATOR' and the regulator driver API.
18 * The regulator uclass - is based on uclass platform data which is allocated,
19 * automatically for each regulator device on bind and 'dev->uclass_platdata'
21 * The uclass file: 'drivers/power/regulator/regulator-uclass.c'
23 * The regulator device - is based on driver's model 'struct udevice'.
24 * The API can use regulator name in two meanings:
[all …]
/openbmc/docs/designs/
H A Dvoltage-regulator-configuration.md1 # Voltage Regulator Configuration
8 Created: 2019-07-13
13 voltage, over-current limit, and pgood thresholds. The configuration is often
17 new application is needed to configure regulators. It should be data-driven to
18 support a variety of regulator types and to avoid hard-coded logic.
22 ### Regulator Configuration Data ("Config File")
24 Hardware engineers must specify many low-level configuration values for a
25 regulator. Some simple examples include output voltage, over-current limit, and
29 Depending on the regulator type, the hardware engineer may enter the
32 The regulator configuration information is sent to manufacturing and stored in
[all …]
H A Ddevice-tree-gpio-naming.md12 subsystem. The replacement is a "descriptor-based" character device interface.
18 in the kernel device tree files. The problem is there are no naming conventions
25 specific field used to name the GPIOs in the DTS is `gpio-line-names`. This
29 scheme in the face of a universe of potential use-cases.
37 - Ensure common function GPIOs within OpenBMC use the same naming convention
52 Pattern: `*-button`
55 BMC-less machines use a button to trigger system behavior and in a BMC-managed
59 #### power-button
68 - `host*-ready`: Host ready, active high
69 - `host*-ready-n`: Host ready, active low
[all …]
/openbmc/u-boot/cmd/
H A DKconfig4 bool "Support U-Boot commands"
7 Enable U-Boot's command-line functions. This provides a means
8 to enter commands into U-Boot for a wide variety of purposes. It
12 substantially to the size of U-Boot.
27 bool "Enable command line editing"
31 Enable editing and History functions for interactive command line
35 bool "Enable auto complete using TAB"
39 Enable auto completion of commands using TAB.
42 bool "Enable long help messages"
71 U-Boot automatic booting process and bring the device
[all …]
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/
H A Dpuma-rk3399.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <dm/uclass-internal.h>
23 #include <power/regulator.h>
24 #include <u-boot/sha256.h>
36 debug("%s: Cannot enable boot on regulator\n", __func__); in board_init()
46 debug("%s: trying to force a power-on reset\n", __func__); in rk3399_force_power_on_reset()
50 debug("%s: no /config node?\n", __func__); in rk3399_force_power_on_reset()
54 if (gpio_request_by_name_nodev(node, "sysreset-gpio", 0, in rk3399_force_power_on_reset()
56 debug("%s: could not find a /config/sysreset-gpio\n", __func__); in rk3399_force_power_on_reset()
71 * This may cause issues during boot-up for some configurations of in spl_board_init()
[all …]
/openbmc/u-boot/doc/
H A DREADME.nokia_rx511 Board: Nokia RX-51 aka N900
3 This board definition results in a u-boot.bin which can be chainloaded
6 internal eMMC memory via twl4030 regulator which is not enabled by NOLO.
9 onenand as such. This u-boot is intended to be flashed to the N900 like
11 appended to u-boot.bin at 0x40000. NOLO will load the entire image into
12 (random) memory and execute u-boot, which saves hw revision, boot reason
20 NOLO so u-boot must kick watchdog to prevent reboot device (but not very
25 When U-Boot is starting it enable IBE bit in Auxiliary Control Register,
26 which is needed for Thumb-2 ISA support. It is workaround for errata 430973.
40 * 1.3 same order for 2. - 4. fat partition
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dmanager.hpp8 * http://www.apache.org/licenses/LICENSE-2.0
56 * @param bus the D-Bus bus
62 * Implements the D-Bus "configure" method.
72 * Implements the D-Bus "monitor" method.
74 * Sets whether regulator monitoring is enabled.
77 * - regulator sensors will be read and published on D-Bus
78 * - phase fault detection will be performed
80 * Regulator monitoring should be enabled when the system is being powered
84 * Regulator monitoring should be disabled when the system is being powered
88 * Regulator monitoring can also be temporarily disabled and then re-enabled
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_power_init.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/imx-regs.h>
24 * mxs_power_clock2xtal() - Switch CPU core clock source to 24MHz XTAL
39 &clkctrl_regs->hw_clkctrl_clkseq_set); in mxs_power_clock2xtal()
43 * mxs_power_clock2pll() - Switch CPU core clock source to PLL
46 * to PLL. This can only be called once the PLL has re-locked and once
63 setbits_le32(&clkctrl_regs->hw_clkctrl_pll0ctrl0, in mxs_power_clock2pll()
71 setbits_le32(&clkctrl_regs->hw_clkctrl_clkseq, in mxs_power_clock2pll()
76 * mxs_power_set_auto_restart() - Set the auto-restart bit
87 debug("SPL: Setting auto-restart bit\n"); in mxs_power_set_auto_restart()
[all …]
/openbmc/u-boot/drivers/adc/
H A Dstm32-adc-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
6 * Originally based on the Linux kernel v4.18 drivers/iio/adc/stm32-adc-core.c.
11 #include <power/regulator.h>
12 #include "stm32-adc-core.h"
14 /* STM32H7 - common registers for all ADC instances */
17 /* STM32H7_ADC_CCR - bit fields */
27 * struct stm32h7_adc_ck_spec - specification for stm32h7 adc clock
66 if (!clk_valid(&common->bclk)) { in stm32h7_adc_clk_sel()
67 dev_err(dev, "No bclk clock found\n"); in stm32h7_adc_clk_sel()
[all …]
/openbmc/u-boot/common/spl/
H A DKconfig15 prompt "Enable SPL"
24 Enable the SPL framework under common/spl/. This framework
25 supports MMC, NAND and YMODEM and other methods loading of U-Boot
29 bool "Pass hand-off information from SPL to U-Boot proper"
32 It is useful to be able to pass information from SPL to U-Boot
33 proper to preserve state that is known in SPL and is needed in U-Boot.
34 Enable this to locate the handoff information in U-Boot proper, early
35 in boot. It is available in gd->handoff. The state state is set up
44 This option can minilize the SPL size to compatible with AST2600-A0
48 bool "Pass hand-off information from SPL to U-Boot proper"
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/witherspoon/
H A Devents.yaml2 - name: poweron_pgood
4 type: /org/openbmc/control
6 - /power0
7 - name: zone0_control_mode
8 description: Thermal control mode for zone 0
9 service: xyz.openbmc_project.Control.Thermal
10 type: /xyz/openbmc_project/control/thermal
12 - /0
13 - name: air_cooled_zone0_fans
17 - /system/chassis/motherboard/fan0
[all …]
/openbmc/u-boot/board/freescale/ls1021atwr/
H A Dls1021atwr.c1 // SPDX-License-Identifier: GPL-2.0+
77 u8 soft_mux_on; /* CPLD override physical switches Enable */
80 u8 vbank; /* Flash bank selection Control */
81 u8 gpio; /* GPIO for TWR-ELEV */
98 in_8(&cpld_data->cpld_ver) & VERSION_MASK, in cpld_show()
99 in_8(&cpld_data->cpld_ver_sub) & VERSION_MASK, in cpld_show()
100 in_8(&cpld_data->pcba_ver) & VERSION_MASK, in cpld_show()
101 in_8(&cpld_data->vbank) & BANK_MASK); in cpld_show()
105 in_8(&cpld_data->soft_mux_on)); in cpld_show()
107 in_8(&cpld_data->cfg_rcw_src1)); in cpld_show()
[all …]
/openbmc/u-boot/drivers/power/
H A DKconfig7 source "drivers/power/regulator/Kconfig"
19 ---help---
27 ---help---
28 Select this to enable support for the axp152 pmic found on most
36 ---help---
37 Select this to enable support for the axp209 pmic found on most
45 ---help---
46 Select this to enable support for the axp221/axp223 pmic found on most
54 ---help---
55 Say y here to enable support for the axp809 pmic found on A80 boards.
[all …]
/openbmc/u-boot/board/nokia/rx51/
H A Drx51.c1 // SPDX-License-Identifier: GPL-2.0+
6 * (C) Copyright 2011-2012
13 * (C) Copyright 2004-2008
20 * Richard Woodruff <r-woodruff2@ti.com>
33 #include <asm/mach-types.h>
47 "Nokia RX-51",
70 OMAP_TAG_WLAN_CX3110X_CONFIG(0x25, 0xff, 87, 42, -1),
84 OMAP_TAG_VERSION_STR_CONFIG("product", "RX-51"),
85 OMAP_TAG_VERSION_STR_CONFIG("hw-build", "2101"),
87 OMAP_TAG_VERSION_STR_CONFIG("boot-mode", "normal"),
[all …]

12