Searched +full:twl4030 +full:- +full:bci (Results 1 – 6 of 6) sorted by relevance
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ti,twl.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Kemnade <andreas@kemnade.info> 19 - if: 23 const: ti,twl4030 26 "^regulator-": 30 - ti,twl4030-vaux1 31 - ti,twl4030-vaux2 32 - ti,twl4030-vaux3 [all …]
|
/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 …]
|