/openbmc/u-boot/doc/driver-model/ |
H A D | pmic-framework.txt | 2 # (C) Copyright 2014-2015 Samsung Electronics 5 # SPDX-License-Identifier: GPL-2.0+ 8 PMIC framework based on Driver Model 13 3. Pmic uclass 18 This is an introduction to driver-model multi uclass PMIC IC's support. 20 - UCLASS_PMIC - basic uclass type for PMIC I/O, which provides common 22 - UCLASS_REGULATOR - additional uclass type for specific PMIC features, 27 - drivers/power/pmic/pmic-uclass.c 28 - include/power/pmic.h 30 - drivers/power/regulator/regulator-uclass.c [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max8998.txt | 1 * Maxim MAX8998, National/TI LP3974 multi-function device 3 The Maxim MAX8998 is a multi-function device which includes voltage/current 5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block 8 PMIC sub-block 9 -------------- 11 The PMIC sub-block contains a number of voltage and current regulators, 17 - compatible: Should be one of the following: 18 - "maxim,max8998" for Maxim MAX8998 19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974. 20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66. [all …]
|
H A D | hi6421.txt | 1 * HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd. 4 - compatible : One of the following chip-specific strings: 5 "hisilicon,hi6421-pmic"; 6 "hisilicon,hi6421v530-pmic"; 7 - reg : register range space of hi6421; 9 Supported Hi6421 sub-devices include: 12 ------ --------- ------------ ----------- 20 compatible = "hisilicon,hi6421-pmic"; 26 regulator-name = "VOUT0"; 27 regulator-min-microvolt = <2850000>; [all …]
|
H A D | ti,tps6594.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Julien Panis <jpanis@baylibre.com> 15 PFSM (Pre-configurable Finite State Machine) managing the state of the device. 16 TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives. 21 - ti,lp8764-q1 22 - ti,tps6593-q1 23 - ti,tps6594-q1 29 ti,primary-pmic: [all …]
|
H A D | qcom-pm8xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PM8xxx PMIC multi-function devices 10 - Satya Priya <quic_c_skakit@quicinc.com> 19 - enum: 20 - qcom,pm8058 21 - qcom,pm8821 22 - qcom,pm8921 [all …]
|
H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 24 - Stephen Boyd <sboyd@kernel.org> 29 - pattern: '^pmic@.*$' 30 - pattern: '^pm(a|s)?[0-9]*@.*$' [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | rtc-mt6397.txt | 1 Device-Tree bindings for MediaTek PMIC based RTC 3 MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works 4 as a type of multi-function device (MFD). The RTC can be configured and set up 5 with PMIC wrapper bus which is a common resource shared with the other 6 functions found on the same PMIC. 8 For MediaTek PMIC MFD bindings, see: 11 For MediaTek PMIC wrapper bus bindings, see: 15 - compatible: Should be one of follows 16 "mediatek,mt6323-rtc": for MT6323 PMIC 17 "mediatek,mt6358-rtc": for MT6358 PMIC [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Type-C Port Controller Manager" 9 The Type-C Port Controller Manager provides a USB PD and USB Type-C 10 state machine for use with Type-C Port Controllers. 15 tristate "Type-C Port Controller Interface driver" 19 Type-C Port Controller driver for TCPCI-compliant controller. 24 tristate "Richtek RT1711H Type-C chip driver" 26 Richtek RT1711H Type-C chip driver that works with 27 Type-C Port Controller Manager to provide USB PD and USB 28 Type-C functionalities. [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.power-framework | 5 # SPDX-License-Identifier: GPL-2.0+ 9 ------------ 11 This document describes the second version of the u-boot's PMIC (Power 16 ---------- 18 Boards supported by u-boot are getting increasingly complex. Developers and 20 devices are now available on the board - namely power managers (PMIC), fuel 21 gauges (FG), micro USB interface controllers (MUIC), batteries, multi-function 25 ----------------------------------- 27 One package can integrate PMIC and MUIC with different addresses on the I2C bus. 28 The same device - e.g. MAX8997 uses two different I2C busses and addresses. [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 tristate "Active-semi ACT8945A" 50 Support for the ACT8945A PMIC from Active-semi. This device 51 features three step-down DC/DC converters and four low-dropout 67 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 70 called sun4i-gpadc. 79 Support for the AS3711 PMIC from AMS 101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 106 bool "Analog Devices ADP5520/01 MFD PMIC Core Support" 132 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
H A D | act8945a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MFD driver for Active-semi ACT8945a PMIC 18 .name = "act8945a-regulator", 21 .name = "act8945a-charger", 22 .of_compatible = "active-semi,act8945a-charger", 39 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe() 45 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe() 49 dev_err(&i2c->dev, "Failed to add sub devices\n"); in act8945a_i2c_probe() 63 { .compatible = "active-semi,act8945a", }, 89 MODULE_DESCRIPTION("ACT8945A PMIC multi-function driver");
|
H A D | tps65217.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TPS65217 chip family multi-function driver 7 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 40 mutex_lock(&tps->irq_lock); in tps65217_irq_lock() 49 tps->irq_mask, TPS65217_PROTECT_NONE); in tps65217_irq_sync_unlock() 51 dev_err(tps->dev, "Failed to sync IRQ masks\n"); in tps65217_irq_sync_unlock() 53 mutex_unlock(&tps->irq_lock); in tps65217_irq_sync_unlock() 59 u8 mask = BIT(data->hwirq) << TPS65217_INT_SHIFT; in tps65217_irq_enable() 61 tps->irq_mask &= ~mask; in tps65217_irq_enable() 67 u8 mask = BIT(data->hwirq) << TPS65217_INT_SHIFT; in tps65217_irq_disable() [all …]
|
H A D | max77686.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77686.c - mfd core driver for the Maxim 77686/802 20 #include <linux/mfd/max77686-private.h> 25 { .name = "max77686-pmic", }, 26 { .name = "max77686-rtc", }, 27 { .name = "max77686-clk", }, 31 { .name = "max77802-pmic", }, 32 { .name = "max77802-clk", }, 33 { .name = "max77802-rtc", }, 110 .name = "max77802-pmic", [all …]
|
/openbmc/u-boot/tools/dtoc/ |
H A D | dtoc_test_simple.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #address-cells = <1>; 12 #size-cells = <1>; 13 spl-test { 14 u-boot,dm-pre-reloc; 15 compatible = "sandbox,spl-test"; 23 stringarray = "multi-word", "message"; 27 spl-test2 { 28 u-boot,dm-pre-reloc; [all …]
|
/openbmc/u-boot/include/power/ |
H A D | pmic.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2014-2015 Samsung Electronics 6 * Copyright (C) 2011-2012 Samsung Electronics 45 struct pmic; 47 int (*fg_battery_check) (struct pmic *p, struct pmic *bat); 48 int (*fg_battery_update) (struct pmic *p, struct pmic *bat); 52 int (*chrg_type) (struct pmic *p); 53 int (*chrg_bat_present) (struct pmic *p); 54 int (*chrg_state) (struct pmic *p, int state, int current); 59 int (*battery_init) (struct pmic *bat, struct pmic *p1, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | renesas,raa215300.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: Renesas RAA215300 Power Management Integrated Circuit (PMIC) 10 - Biju Das <biju.das.jz@bp.renesas.com> 13 The RAA215300 is a high-performance, low-cost 9-channel PMIC designed for 14 32-bit and 64-bit MCU and MPU applications. It supports DDR3, DDR3L, DDR4, 16 built-in Real-Time Clock (RTC), 32kHz crystal oscillator, and coin cell 18 ideal for System-On-Module (SOM) applications. A spread spectrum feature 19 provides an ease-of-use solution for noise-sensitive audio or RF applications. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | mediatek,pmic-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek PMIC Keys 10 - Chen Zhong <chen.zhong@mediatek.com> 13 - $ref: input.yaml# 19 by the PMIC that is defined as a Multi-Function Device (MFD). 21 For MediaTek MT6323/MT6397 PMIC bindings see 27 - mediatek,mt6323-keys [all …]
|
/openbmc/linux/drivers/leds/rgb/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 tristate "LEDs group multi-color support" 11 different colors are physically grouped in a single multi-color LED 12 and driven by a controller that doesn't have multi-color support. 15 will be called leds-group-multicolor. 18 tristate "PWM driven multi-color LED Support" 25 will be called leds-pwm-multicolor. 39 If compiled as a module, the module will be named leds-qcom-lpg. 42 tristate "LED Support for MediaTek MT6370 PMIC" 47 In MT6370, there are four channel current-sink LED drivers that [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,pmic-mpp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-mpp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC Multi-Purpose Pin (MPP) block 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 PMIC's from Qualcomm. 19 - items: 20 - enum: 21 - qcom,pm8019-mpp [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | Kconfig | 2 bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC)" 4 ---help--- 5 This config enables the driver-model PMIC support. 6 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices. 7 For the multi-function PMIC devices, this can be used as parent I/O 10 - 'drivers/power/pmic/pmic-uclass.c' 11 - 'include/power/pmic.h' 17 ---help--- 21 U-Boot proper. 27 ---help--- [all …]
|
H A D | pmic_tps62362.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2014 Texas Instruments Incorporated - http://www.ti.com 10 #include <power/pmic.h> 18 * tps62362_voltage_update() - Function to change a voltage level, as this 19 * is a multi-step process. 33 return -ENODEV; in tps62362_voltage_update() 42 struct pmic *p = pmic_alloc(); in power_tps62362_init() 46 return -ENOMEM; in power_tps62362_init() 49 p->name = name; in power_tps62362_init() 50 p->interface = PMIC_I2C; in power_tps62362_init() [all …]
|
H A D | pmic_tps65218.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2011-2013 10 #include <power/pmic.h> 29 * tps65218_reg_write() - Generic function that can write a TPS65218 PMIC 97 return -ENODEV; in tps65218_reg_read() 116 return -ENODEV; in tps65218_reg_write() 160 * tps65218_voltage_update() - Function to change a voltage level, as this 161 * is a multi-step process. 187 * tps65218_toggle_fseal() - Perform the sequence that toggles the FSEAL bit. 189 * @return: 0 on success, -EBADE if the sequence was broken [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' 16 for this purpose if PMIC I/O driver is implemented or dm_scan_fdt_dev() 22 ---help--- 24 code space can be saved by accessing the PMIC registers directly. 31 ---help--- [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ |
H A D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-ma [all...] |