Searched +full:twl4030 +full:- +full:bci (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | twl4030-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TWL4030 BCI (Battery Charger Interface) 14 value in explicit configuration in device-tree. Rather if there is a sibling 15 of the BCI node which is compatible with "ti,twl4030-usb", then that is used 19 - Sebastian Reichel <sre@kernel.org> 22 - $ref: power-supply.yaml# 26 const: ti,twl4030-bci [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | twl4030-madc-hwmon.rst | 1 Kernel driver twl4030-madc 6 * Texas Instruments TWL4030 8 Prefix: 'twl4030-madc' 12 J Keerthy <j-keerthy@ti.com> 15 ----------- 17 The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among 18 other things it contains a 10-bit A/D converter MADC. The converter has 16 28 1 BCI: Battery temperature (BTEMP) 35 8 BCI: VBUS voltage(VBUS) 37 10 BCI: Battery charger current (ICHG) [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | twl4030_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TWL4030/TPS65950 BCI (Battery Charger Interface) driver 68 /* BCI interrupts */ 73 #define TWL4030_ICHGEOC BIT(4) /* Battery current end-of-charge */ 147 #define USB_MAX_CURRENT 1700000 /* TWL4030 caps at 1.7A */ 207 * CGAIN == 0: ICHG = (BCIICHG * 1.7) / (2^10 - 1) - 0.85 208 * CGAIN == 1: ICHG = (BCIICHG * 3.4) / (2^10 - 1) - 1.7 210 * CGAIN == 0: val * 1.6618 - 0.85 * 1000 211 * CGAIN == 1: (val * 1.6618 - 0.85 * 1000) * 2 219 return (regval * 16618 - 8500 * 1000) / 5; in regval2ua() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. 158 tristate "DS2782/DS2786 standalone gas-gauge" 162 gas-gauge. 199 tristate "Sharp SL-5500 (collie) battery" 203 SL-5500 (collie) models. 214 called ingenic-battery. 233 Say Y to include support for SBS battery driver for SBS-compliant 255 called sbs-manager. [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | twl4030.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 10 compatible = "ti,twl4030"; 11 interrupt-controller; 12 #interrupt-cells = <1>; 15 compatible = "ti,twl4030-rtc"; 19 charger: bci { 20 compatible = "ti,twl4030-bci"; 22 bci3v1-supply = <&vusb3v1>; 23 io-channels = <&twl_madc 11>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | twl4030.dtsi | 2 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 13 compatible = "ti,twl4030"; 14 interrupt-controller; 15 #interrupt-cells = <1>; 18 compatible = "ti,twl4030-rtc"; 22 charger: bci { 23 compatible = "ti,twl4030-bci"; 25 bci3v1-supply = <&vusb3v1>; 29 compatible = "ti,twl4030-wdt"; 32 vaux1: regulator-vaux1 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | twlxxxx-usb.txt | 4 - compatible : Should be "ti,twl6030-usb" 5 - interrupts : Two interrupt numbers to the cpu should be specified. First 10 - usb-supply : phandle to the regulator device tree node. It should be vusb 13 twl6030-usb { 14 compatible = "ti,twl6030-usb"; 19 &twl6030-usb { 20 usb-supply = <&vusb>; 23 TWL4030 USB PHY AND COMPARATOR 24 - compatible : Should be "ti,twl4030-usb" 25 - interrupts : The interrupt numbers to the cpu should be specified. First [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | twl4030-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * twl4030-irq.c - TWL4030/TPS659x0 irq support 5 * Copyright (C) 2005-2006 Texas Instruments, Inc. 26 #include "twl-core.h" 29 * TWL4030 IRQ handling has two stages in hardware, and thus in software. 32 * SIH modules are more traditional IRQ components, which support per-IRQ 39 * We set up IRQs starting at a platform-specified base, always starting 70 /* SIR ignored -- set interrupt, for testing only */ 108 /* sih_modules_twl4030 is used both in twl4030 and twl5030 */ 117 /* Note: *all* of these IRQs default to no-trigger */ [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | twl4030-madc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * TWL4030 MADC module driver-This driver monitors the real time 8 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 9 * J Keerthy <j-keerthy@ti.com> 11 * Based on twl4030-madc.c 119 * struct twl4030_madc_request - madc request packet for channel conversion 154 * struct twl4030_madc_data - a container for madc info 159 * @use_second_irq: IRQ selection (main or co-processor) 183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() 185 req.channels = BIT(chan->channel); in twl4030_madc_read() [all …]
|