/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | ti,twl4030-madc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/ti,twl4030-madc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MADC subsystem in the TWL4030 power module 10 - Sebastian Reichel <sre@kernel.org> 13 The MADC subsystem in the TWL4030 consists of a 10-bit ADC 14 combined with a 16-input analog multiplexer. 18 const: ti,twl4030-madc 23 ti,system-uses-second-madc-irq: [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
|
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 hwmon-kernel-api 11 pmbus-core 12 submitting-patches 13 sysfs-interface 14 userspace-tools 24 acbel-fsg032 47 aspeed-g6-pwm-tach 48 aspeed-pwm-tacho 52 bel-pfe [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"; 20 compatible = "ti,twl4030-bci"; 22 bci3v1-supply = <&vusb3v1>; 23 io-channels = <&twl_madc 11>; 24 io-channel-names = "vac"; [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"; 23 compatible = "ti,twl4030-bci"; 25 bci3v1-supply = <&vusb3v1>; 29 compatible = "ti,twl4030-wdt"; 32 vaux1: regulator-vaux1 { 33 compatible = "ti,twl4030-vaux1"; [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 57 #define TWL4030_MADC_MADCON (1 << 0) /* MADC power on */ 58 #define TWL4030_MADC_BUSY (1 << 0) /* MADC busy */ 59 /* MADC conversion completion */ 61 /* MADC SWx start conversion */ 119 * struct twl4030_madc_request - madc request packet for channel conversion [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 7 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o 8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o 9 obj-$(CONFIG_AD4130) += ad4130.o 10 obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o 11 obj-$(CONFIG_AD7124) += ad7124.o 12 obj-$(CONFIG_AD7192) += ad7192.o 13 obj-$(CONFIG_AD7266) += ad7266.o 14 obj-$(CONFIG_AD7280) += ad7280a.o 15 obj-$(CONFIG_AD7291) += ad7291.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 44 Say yes here to build support for Analog Devices AD7091R-5 ADC. 47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI" 152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 163 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 174 Say yes here to build support for Analog Devices AD7766, AD7766-1, [all …]
|
H A D | twl6030-gpadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2013 Texas Instruments Inc. 13 * Based on twl4030-madc.c 73 * struct twl6030_chnl_calib - channel calibration 85 * struct twl6030_ideal_code - GPADC calibration parameters 106 * struct twl6030_gpadc_platform_data - platform specific data 125 * struct twl6030_gpadc_data - GPADC data 322 [11] = { /* ch 11, internal, VBUS DC-DC output current */ 386 complete(&gpadc->irq_complete); in twl6030_gpadc_irq_handler() 439 const struct twl6030_ideal_code *ideal = pdata->ideal; in twl6030_channel_calibrated() [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 …]
|
H A D | twl-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM 6 * Copyright (C) 2005-2006 Texas Instruments, Inc. 37 #include <linux/mfd/twl4030-audio.h> 39 #include "twl-core.h" 42 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power 60 /* subchip/slave 0 - USB ID */ 63 /* subchip/slave 1 - AUD ID */ 70 /* subchip/slave 2 - AUX ID */ 80 #define TWL5031_BASEADD_INTERRUPTS 0x00B9 /* Different than TWL4030's [all …]
|
/openbmc/linux/include/linux/power/ |
H A D | twl4030_madc_battery.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Dumb driver for LiIon batteries using TWL4030 madc. 18 short voltage; /* in mV - specify -1 for end of list */
|
/openbmc/linux/drivers/power/supply/ |
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 …]
|
H A D | twl4030_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TWL4030/TPS65950 BCI (Battery Charger Interface) driver 73 #define TWL4030_ICHGEOC BIT(4) /* Battery current end-of-charge */ 92 * If AC (Accessory Charger) voltage exceeds 4.5V (MADC 11) 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 | twl4030_madc_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Dumb driver for LiIon batteries using TWL4030 madc. 57 return (madc_read(bt->channel_ichg) > 0) ? 1 : 0; in twl4030_madc_bat_get_charging_status() 62 return madc_read(bt->channel_vbat); in twl4030_madc_bat_get_voltage() 67 return madc_read(bt->channel_ichg) * 1000; in twl4030_madc_bat_get_current() 72 return madc_read(bt->channel_temp) * 10; in twl4030_madc_bat_get_temp() 83 calibration = bat->pdata->charging; in twl4030_madc_bat_voltscale() 85 calibration = bat->pdata->discharging; in twl4030_madc_bat_voltscale() 93 /* interval found - interpolate within range */ in twl4030_madc_bat_voltscale() 94 res = calibration[i].level - in twl4030_madc_bat_voltscale() [all …]
|
/openbmc/linux/ |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |