/openbmc/linux/drivers/regulator/ |
H A D | palmas-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Regulator part of Palmas PMIC Chips 5 * Copyright 2011-2013 Texas Instruments Inc. 20 #include <linux/mfd/palmas.h> 42 .sname = "smps1-in", 50 .sname = "smps1-in", 58 .sname = "smps3-in", 65 .sname = "smps4-in", 73 .sname = "smps4-in", 81 .sname = "smps6-in", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | palmas-pmic.txt | 1 * palmas regulator IP block devicetree bindings 5 is not a need to add the OTP spins to the palmas driver. The 11 - compatible : Should be from the list 12 ti,twl6035-pmic 13 ti,twl6036-pmic 14 ti,twl6037-pmic 15 ti,tps65913-pmic 16 ti,tps65914-pmic 17 ti,tps65917-pmic 18 ti,tps659038-pmic [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | palmas.txt | 1 * palmas device tree bindings 3 The TI palmas family current members :- 4 twl6035 (palmas) 5 twl6037 (palmas) 6 tps65913 (palmas) 7 tps65914 (palmas) 12 - compatible : Should be from the list 22 ti,palmas 23 - interrupt-controller : palmas has its own internal IRQs 24 - #interrupt-cells : should be set to 2 for IRQ number and flags [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | ti,palmas-gpadc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Palmas general purpose ADC IP block 10 - Tony Lindgren <tony@atomide.com> 13 This ADC is often used to provide channels via the io-channels 27 11 DC-DC current probe (how does this work?) 35 const: ti,palmas-gpadc 41 "#io-channel-cells": [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-palmas.txt | 1 Palmas Pincontrol bindings 3 The pins of Palmas device can be set on different option and provides 7 - compatible: It must be one of following: 8 - "ti,palmas-pinctrl" for Palma series of the pincontrol. 9 - "ti,tps65913-pinctrl" for Palma series device TPS65913. 10 - "ti,tps80036-pinctrl" for Palma series device TPS80036. 12 Please refer to pinctrl-bindings.txt in this directory for details of the 16 Palmas's pin configuration nodes act as a container for an arbitrary number of 19 those pin(s), and various pin configuration parameters, such as pull-up, 32 - ti,palmas-enable-dvfs1: Enable DVFS1. Configure pins for DVFS1 mode. [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra114-tn7.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 15 linux,initrd-start = <0x82000000>; 16 linux,initrd-end = <0x82800000>; 24 trusted-foundations { 25 compatible = "tlm,trusted-foundations"; 26 tlm,version-major = <2>; 27 tlm,version-minor = <8>; 40 avdd-dsi-csi-supply = <&vdd_1v2_ap>; [all …]
|
H A D | tegra114-asus-tf701t.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 13 chassis-type = "convertible"; 20 rtc0 = &palmas; 29 trusted-foundations { 30 compatible = "tlm,trusted-foundations"; 31 tlm,version-major = <2>; 32 tlm,version-minor = <8>; [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/drivers/gpio/ |
H A D | gpio-palmas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI Palma series PMIC's GPIO driver. 13 #include <linux/mfd/palmas.h> 19 struct palmas *palmas; member 29 struct palmas *palmas = pg->palmas; in palmas_gpio_get() local 38 ret = palmas_read(palmas, PALMAS_GPIO_BASE, reg, &val); in palmas_gpio_get() 40 dev_err(gc->parent, "Reg 0x%02x read failed, %d\n", reg, ret); in palmas_gpio_get() 49 ret = palmas_read(palmas, PALMAS_GPIO_BASE, reg, &val); in palmas_gpio_get() 51 dev_err(gc->parent, "Reg 0x%02x read failed, %d\n", reg, ret); in palmas_gpio_get() 61 struct palmas *palmas = pg->palmas; in palmas_gpio_set() local [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 25 tristate "X-Power AXP288 EXTCON support" 30 and USB MUX switching by X-Power AXP288 PMIC. 62 tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver" 69 on the Intel Cherrytrail Whiskey Cove PMIC. 72 tristate "Intel Merrifield Basin Cove PMIC extcon driver" 76 on the Intel Merrifield Basin Cove PMIC. 94 enable a system with an integrated USB OTG dual-role transceiver to 95 function as an USB OTG dual-role device. [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 | palmas.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Keerthy <j-keerthy@ti.com> 12 #include <power/pmic.h> 14 #include <power/palmas.h> 28 return -EIO; in palmas_write() 38 return -EIO; in palmas_read() 55 temp = strstr(name, "pmic"); in palmas_bind() 63 debug("%s: %s pmic subnode not found!\n", __func__, dev->name); in palmas_bind() 64 return -ENXIO; in palmas_bind() 70 debug("%s: %s reg subnode not found!\n", __func__, dev->name); in palmas_bind() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0+ 6 obj-$(CONFIG_DM_PMIC) += pmic-uclass.o 7 obj-$(CONFIG_DM_PMIC_FAN53555) += fan53555.o 8 obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o 9 obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o 10 obj-$(CONFIG_DM_PMIC_MC34708) += mc34708.o 11 obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o 12 obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o 13 obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o 14 obj-$(CONFIG_PMIC_ACT8846) += act8846.o [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 66 will be called pinctrl-apple-gpio. 69 bool "Axis ARTPEC-6 pin controller driver" 74 This is the driver for the Axis ARTPEC-6 pin controller. This driver 77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt 80 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC" 86 functionality. This driver supports the pinmux, push-pull and 117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" 128 Say Y to enable pinctrl and GPIO support for the AXP209 PMIC. 150 called pinctrl-cy8c95x0. [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am57xx-idk-common.dtsi | 2 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ 9 #include "am57xx-industrial-grade.dtsi" 18 stdout-path = &uart3; 21 vmain: fixedregulator-vmain { 22 compatible = "regulator-fixed"; 23 regulator-name = "VMAIN"; 24 regulator-min-microvolt = <5000000>; 25 regulator-max-microvolt = <5000000>; 26 regulator-always-on; 27 regulator-boot-on; [all …]
|
H A D | dra72-evm-tps65917.dtsi | 2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ 11 * http://www.ti.com/lit/ds/symlink/tps65917-q1.pdf 17 interrupt-controller; 18 #interrupt-cells = <2>; 20 ti,system-power-controller; 23 compatible = "ti,tps65917-pmic"; 25 smps1-in-supply = <&vsys_3v3>; 26 smps2-in-supply = <&vsys_3v3>; 27 smps3-in-supply = <&vsys_3v3>; 28 smps4-in-supply = <&vsys_3v3>; [all …]
|
H A D | am57xx-beagle-x15-common.dtsi | 2 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ 8 /dts-v1/; 11 #include "am57xx-commercial-grade.dtsi" 12 #include "dra74x-mmc-iodelay.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 17 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; 27 stdout-path = &uart3; 35 vdd_3v3: fixedregulator-vdd_3v3 { 36 compatible = "regulator-fixed"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap5-board-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 stdout-path = &uart3; 18 vmain: fixedregulator-vmain { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmain"; 21 regulator-min-microvolt = <5000000>; 22 regulator-max-microvolt = <5000000>; [all …]
|
H A D | am57xx-idk-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 6 #include "am57xx-industrial-grade.dtsi" 16 stdout-path = &uart3; 19 vmain: fixedregulator-vmain { 20 compatible = "regulator-fixed"; 21 regulator-name = "VMAIN"; 22 regulator-min-microvolt = <5000000>; 23 regulator-max-microvolt = <5000000>; 24 regulator-always-on; [all …]
|
H A D | dra72-evm-tps65917.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 8 * https://www.ti.com/lit/ds/symlink/tps65917-q1.pdf 14 interrupt-controller; 15 #interrupt-cells = <2>; 17 ti,system-power-controller; 20 compatible = "ti,tps65917-pmic"; 22 smps1-in-supply = <&vsys_3v3>; 23 smps2-in-supply = <&vsys_3v3>; 24 smps3-in-supply = <&vsys_3v3>; [all …]
|
H A D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
/openbmc/u-boot/arch/arm/mach-omap2/omap5/ |
H A D | hw_data.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <palmas.h> 32 {200, 2, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 12 MHz */ 33 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 13 MHz */ 34 {1000, 20, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 16.8 MHz */ 35 {375, 8, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 19.2 MHz */ 36 {400, 12, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 26 MHz */ 37 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 27 MHz */ 38 {375, 17, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1} /* 38.4 MHz */ 43 {250, 2, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 12 MHz */ [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | palmas.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TI Palmas 5 * Copyright 2011-2013 Texas Instruments Inc. 18 #include <linux/extcon-provider.h> 28 #define TPS65917_RESERVED -1 35 * Palmas PMIC feature types 37 * PALMAS_PMIC_FEATURE_SMPS10_BOOST - used when the PMIC provides SMPS10_BOOST 40 * PALMAS_PMIC_HAS(b, f) - macro to check if a bandgap device is capable of a 41 * specific feature (above) or not. Return non-zero, if yes. 45 ((b)->features & PALMAS_PMIC_FEATURE_ ## f) [all …]
|
/openbmc/u-boot/board/compulab/cl-som-am57x/ |
H A D | cl-som-am57x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <palmas.h> 23 "Board: CL-SOM-AM57x\n" 28 /* Disable PMIC Powerhold feature, DEV_CTRL.DEV_ON = 1 */ in board_init() 31 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; in board_init() 46 printf("cl-som-am57x: failed to initialize mmc0\n"); in board_mmc_init() 48 ret1 = omap_mmc_init(1, 0, 0, -1, -1); in board_mmc_init() 50 printf("cl-som-am57x: failed to initialize mmc1\n"); in board_mmc_init()
|
/openbmc/u-boot/board/compulab/cm_t54/ |
H A D | cm_t54.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Board functions for Compulab CM-T54 board 5 * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/ 15 #include <palmas.h> 23 #include <asm/ehci-omap.h> 37 "Board: CM-T54\n" 46 gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE + 0x100); in board_init() 53 * Description: select voltage and turn on/off Palmas PMIC regulator. 85 u32 bootmode = gd->arch.omap_boot_mode; in mmc_get_env_part() 111 ret1 = omap_mmc_init(1, 0, 0, -1, -1); in board_mmc_init() [all …]
|