/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 and current regulators within the Linux kernel. It's intended to 16 to both voltage regulators (where voltage output is controllable) and 21 regulators. 36 This driver provides support for fixed voltage regulators, 38 managed regulators and simple non-configurable regulators. 60 tristate "Marvell 88PG86X voltage regulators" 64 This driver supports Marvell 88PG867 and 88PG868 voltage regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 69 tristate "Marvell 88PM800 Power regulators" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,rpmh-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,rpmh-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. RPMh Regulators 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 14 rpmh-regulator devices support PMIC regulator management via the Voltage 22 It is used for clock buffers, low-voltage switches, and LDO/SMPS regulators 29 RPMh regulators must be described in two levels of device nodes. The first [all …]
|
H A D | qcom,spmi-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,spmi-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI Regulators 10 - Robert Marko <robimarko@gmail.com> 15 - qcom,pm6125-regulators 16 - qcom,pm660-regulators 17 - qcom,pm660l-regulators 18 - qcom,pm8004-regulators [all …]
|
H A D | qcom,smd-rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml 21 The regulator node houses sub-nodes for each regulator within the device. 22 Each sub-node is identified using the node's name, with valid values listed 70 For pmi8994, s1, s2, s3, boost-bypass 80 - Andy Gross <agross@kernel.org> [all …]
|
H A D | tps65217.txt | 1 TPS65217 family of regulators 4 - compatible: "ti,tps65217" 5 - reg: I2C slave address 6 - regulators: list of regulators provided by this controller, must be named 7 after their hardware counterparts: dcdc[1-3] and ldo[1-4] 8 - regulators: This is the list of child nodes that specify the regulator 9 initialization data for defined regulators. Not all regulators for the given 11 using the standard binding for regulators found at 15 - ti,pmic-shutdown-controller: Telling the PMIC to shutdown on PWR_EN toggle. 17 The valid names for regulators are: [all …]
|
H A D | tps65023.txt | 1 TPS65023 family of regulators 4 - compatible: Must be one of the following. 8 - reg: I2C slave address 9 - regulators: list of regulators provided by this controller, must be named 10 after their hardware counterparts: VDCDC[1-3] and LDO[1-2] 11 - regulators: This is the list of child nodes that specify the regulator 12 initialization data for defined regulators. The definition for each of 13 these nodes is defined using the standard binding for regulators found at 16 Each regulator is defined using the standard binding for regulators. 24 regulators { [all …]
|
H A D | pfuze100.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: PFUZE100 family of regulators 10 - Robin Gong <yibin.gong@nxp.com> 13 The valid names for regulators are: 14 --PFUZE100 16 --PFUZE200 18 --PFUZE3000 20 --PFUZE3001 [all …]
|
H A D | tps65218.txt | 1 TPS65218 family of regulators 4 - compatible: "ti,tps65218" 5 - reg: I2C slave address 7 - List of regulators provided by this controller, must be named 8 after their hardware counterparts: dcdc[1-6] and ldo1 9 - This is the list of child nodes that specify the regulator 10 initialization data for defined regulators. Not all regulators for the given 12 using the standard binding for regulators found at ./regulator.txt. 14 The valid names for regulators are: 15 tps65217: regulator-dcdc1, regulator-dcdc2, regulator-dcdc3, regulator-dcdc4, [all …]
|
H A D | da9211.txt | 5 - compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" or "dlg,da9223" 7 - reg: I2C slave address, usually 0x68. 8 - interrupts: the interrupt outputs of the controller 9 - regulators: A node that houses a sub-node for each regulator within the 10 device. Each sub-node is identified using the node's name, with valid 11 values listed below. The content of each sub-node is defined by the 12 standard binding for regulators; see regulator.txt. 16 - enable-gpios: platform gpio for control of BUCKA/BUCKB. 17 - Any optional property defined in regulator.txt 18 - regulator-initial-mode and regulator-allowed-modes may be specified using [all …]
|
/openbmc/docs/designs/ |
H A D | voltage-regulator-configuration.md | 8 Created: 2019-07-13 12 [Voltage regulators][1] have many configurable properties such as output 13 voltage, over-current limit, and pgood thresholds. The configuration is often 14 dependent on the system type and rail type. Regulators have a hardware default 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. 24 Hardware engineers must specify many low-level configuration values for a 25 regulator. Some simple examples include output voltage, over-current limit, and 33 non-volatile memory on the regulator. This provides the hardware/power-on 39 - New information found during hardware testing. For example, downstream [all …]
|
/openbmc/phosphor-power/phosphor-regulators/ |
H A D | README.md | 1 # phosphor-regulators 5 The `phosphor-regulators` application configures and monitors voltage 6 regulators. The application is controlled by a JSON configuration file. 8 The application does not control how voltage regulators are enabled or how to 12 ## Configuring Voltage Regulators 14 The configuration of voltage regulators can be modified. Configuration changes 22 regulators are enabled. 24 ## Monitoring Voltage Regulators 28 - Sensor monitoring 29 - Phase fault monitoring [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | Kconfig | 4 ---help--- 6 UCLASS_REGULATOR - designed to provide a common API for basic regulator's 10 - 'include/power/pmic.h' 11 - 'include/power/regulator.h' 12 - 'drivers/power/pmic/pmic-uclass.c' 13 - 'drivers/power/pmic/regulator-uclass.c' 20 bool "Enable regulators for SPL" 22 ---help--- 23 Regulators are seldom needed in SPL. Even if they are accessed, some 25 Enable this option if you need regulators in SPL and can cope with [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
H A D | README.md | 1 # phosphor-regulators Configuration File 5 - [Overview](#overview) 6 - [Data Format](#data-format) 7 - [Example](#example) 8 - [Name](#name) 9 - [Contents](#contents) 10 - [Validation](#validation) 11 - [Installation](#installation) 12 - [Loading and Reloading](#loading-and-reloading) 13 - [Testing](#testing) [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | cypress-sf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #define CYPRESS_SF_DEV_NAME "cypress-sf" 25 struct regulator_bulk_data regulators[2]; member 38 val = i2c_smbus_read_byte_data(touchkey->client, in cypress_sf_irq_handler() 41 dev_err(&touchkey->client->dev, in cypress_sf_irq_handler() 47 bitmap_xor(&changed, &keystates, &touchkey->keystates, in cypress_sf_irq_handler() 48 touchkey->num_keys); in cypress_sf_irq_handler() 50 for_each_set_bit(key, &changed, touchkey->num_keys) { in cypress_sf_irq_handler() 52 dev_dbg(&touchkey->client->dev, in cypress_sf_irq_handler() 54 input_report_key(touchkey->input_dev, in cypress_sf_irq_handler() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/power/ |
H A D | phosphor-power-systemd-links-regulators.bb | 2 LICENSE = "Apache-2.0" 3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 RDEPENDS:${PN} += "phosphor-power-regulators" 11 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.requires/phosphor-regulators-conf… 14 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.wants/phosphor-regulators-monitor… 17 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@${i}.target.wants/phosphor-regulators-monito… 21 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires 22 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/phosphor-regulators-config.… 23 TARGET="../phosphor-regulators-config.service" 24 ln -s $TARGET $LINK [all …]
|
H A D | phosphor-power_git.bb | 3 voltage regulators, and analyzes power devices for faults" 17 ${PN}-cold-redundancy \ 18 ${PN}-monitor \ 19 ${PN}-psu-monitor \ 20 ${PN}-regulators \ 21 ${PN}-sequencer \ 22 ${PN}-control \ 24 POWER_UTIL_PACKAGES = "${PN}-utils" 32 phosphor-logging \ 33 ${PYTHON_PN}-sdbus++-native \ [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-aw2013.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Driver for Awinic AW2013 3-channel LED driver 29 #define AW2013_LCFG_IMAX_MASK (BIT(0) | BIT(1)) // Should be 0-3 39 #define AW2013_LEDT0_T1(x) ((x) << 4) // Should be 0-7 40 #define AW2013_LEDT0_T2(x) (x) // Should be 0-5 43 #define AW2013_LEDT1_T3(x) ((x) << 4) // Should be 0-7 44 #define AW2013_LEDT1_T4(x) (x) // Should be 0-7 47 #define AW2013_LEDT2_T0(x) ((x) << 4) // Should be 0-8 48 #define AW2013_LEDT2_REPEAT(x) (x) // Should be 0-15 65 struct regulator_bulk_data regulators[2]; member [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/interfaces/ |
H A D | manager_interface.hpp | 3 #include <systemd/sd-bus.h> 15 namespace regulators namespace 25 * - Default constructor to avoid nullptrs. 26 * - Copy operations due to internal unique_ptr. 27 * - Move operations due to 'this' being registered as the 30 * - Destructor. 41 * @param[in] bus - Bus to attach to. 42 * @param[in] path - Path to attach at. 48 * Request to configure the regulators according to the 49 * machine's regulators configuration file. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | samsung,s2mps11.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> 17 which include voltage and current regulators, RTC, clock outputs and other 18 sub-blocks. 23 - samsung,s2mps11-pmic 24 - samsung,s2mps13-pmic 25 - samsung,s2mps14-pmic 26 - samsung,s2mps15-pmic [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/regsctl/ |
H A D | main.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 using namespace phosphor::power::regulators::control; 37 CLI::App app{"Regulators control app for OpenBMC phosphor-regulators"}; in main() 43 methods->add_subcommand("config", "Configure regulators"); in main() 44 config->set_help_flag("-h,--help", "Configure regulators method help"); in main() 47 methods->add_subcommand("monitor", "Monitor regulators"); in main() 48 monitor->set_help_flag("-h,--help", "Monitor regulators method help"); in main() 49 monitor->add_flag("-e,--enable", monitorEnable, in main() 51 monitor->add_flag("-d,--disable", monitorDisable, in main() 54 monitor->require_option(1); in main() [all …]
|
/openbmc/linux/include/dt-bindings/regulator/ |
H A D | qcom,rpmh-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator 14 * by LDO and SMPS type regulators. 17 * and BOB type regulators. This mode is supported 19 * regulators. 22 * upon the real-time load current. This mode is 24 * regulators. 28 * regulators. This mode is supported by all types 29 * of regulators.
|
H A D | active-semi,8865-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Device Tree binding constants for the ACT8865 PMIC regulators 11 * ACT8865 regulators as follows: 12 * ACT8865_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it 13 * specifies the usage of fixed-frequency 16 * ACT8865_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it 19 * ACT8865_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify 20 * the usage of proprietary power-saving
|
/openbmc/phosphor-power/ |
H A D | meson.build | 2 'phosphor-power', 11 license: 'Apache-2.0', 20 add_global_arguments('-Wno-defaulted-function-deleted', language: 'cpp') 25 if get_option('oe-sdk').allowed() 27 OECORE_TARGET_SYSROOT = run_command('sh', '-c', 'echo $OECORE_TARGET_SYSROOT').stdout().strip() 33 …ld_so = run_command('sh', '-c', 'find ' + OECORE_TARGET_SYSROOT + '/lib/ld-*.so | sort -r -n | hea… 34 dynamic_linker = ['-Wl,-dynamic-linker,' + ld_so] 66 phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces') 67 phosphor_logging = dependency('phosphor-logging') 91 ['supply-monitor', 'power-supply-monitor@.service'], [all …]
|
/openbmc/linux/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 35 ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl() 36 lis3->regulators); in lis3_reg_ctrl() 38 ret = regulator_bulk_enable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl() 39 lis3->regulators); in lis3_reg_ctrl() 48 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_write() 54 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_read() 62 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_blockread() 74 lis3->read(lis3, WHO_AM_I, ®); in lis3_i2c_init() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | config_file_parser_error_tests.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 using namespace phosphor::power::regulators; 26 std::filesystem::path pathName{"/etc/phosphor-regulators/foo.json"}; in TEST() 30 "ConfigFileParserError: /etc/phosphor-regulators/foo.json: " in TEST() 36 std::filesystem::path pathName{"/usr/share/phosphor-regulators/foo.json"}; in TEST() 43 std::filesystem::path pathName{"/etc/phosphor-regulators/foo.json"}; in TEST() 46 "ConfigFileParserError: /etc/phosphor-regulators/foo.json: " in TEST()
|