/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6370.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT6370 SubPMIC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 MT6370 is a highly-integrated smart power management IC, which includes a 14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & 21 const: mediatek,mt6370 26 wakeup-source: true [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | mt6370.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include "mt6370.h" 116 .name = "mt6370-irqs", 134 MFD_CELL_OF("mt6370-adc", 135 NULL, NULL, 0, 0, "mediatek,mt6370-adc"), 136 MFD_CELL_OF("mt6370-charger", 137 NULL, NULL, 0, 0, "mediatek,mt6370-charger"), 138 MFD_CELL_OF("mt6370-flashlight", 139 NULL, NULL, 0, 0, "mediatek,mt6370-flashlight"), 140 MFD_CELL_OF("mt6370-indicator", [all …]
|
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 63 Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. 66 the ADC or the thermal sensor. This will try to probe the ADC driver 67 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 70 called sun4i-gpadc. 101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 103 over current monitoring, GPIOs, ADC and a watchdog. [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o 7 obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o 8 obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o 9 obj-$(CONFIG_MFD_88PM805) += 88pm805.o 88pm80x.o 10 obj-$(CONFIG_MFD_ACT8945A) += act8945a.o 11 obj-$(CONFIG_MFD_SM501) += sm501.o 12 obj-$(CONFIG_ARCH_BCM2835) += bcm2835-pm.o 13 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o 14 obj-$(CONFIG_MFD_BD9571MWV) += bd9571mwv.o [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mt6370-tcpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediatTek MT6370 Type-C Port Switch and Power Delivery controller 10 - ChiYuan Huang <cy_huang@richtek.com> 13 MediaTek MT6370 is a multi-functional device. 14 It integrates charger, ADC, flash, RGB indicators, 16 This document only describes MT6370 Type-C Port Switch and 22 - mediatek,mt6370-tcpc [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | mt6370-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <dt-bindings/iio/adc/mediatek,mt6370_adc.h> 60 * This mutex lock is for preventing the different ADC channels 74 mutex_lock(&priv->adc_lock); in mt6370_adc_read_channel() 78 ret = regmap_write(priv->regmap, MT6370_REG_CHG_ADC, reg_val); in mt6370_adc_read_channel() 84 ret = regmap_read_poll_timeout(priv->regmap, in mt6370_adc_read_channel() 90 dev_err(priv->dev, "Failed to read ADC register (%d)\n", ret); in mt6370_adc_read_channel() 94 ret = regmap_raw_read(priv->regmap, MT6370_REG_ADC_DATA_H, in mt6370_adc_read_channel() 103 mutex_unlock(&priv->adc_lock); in mt6370_adc_read_channel() 110 switch (priv->vid) { in mt6370_adc_get_ibus_scale() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for IIO ADC drivers 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 [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # ADC drivers 10 bool "ST-Ericsson AB8500 GPADC driver" 25 tristate "Analog Device AD4130 ADC Driver" 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 34 to digital converters (ADC). 40 tristate "Analog Devices AD7091R5 ADC Driver" 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 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | mediatek,mt6370-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT6370 Battery Charger 10 - ChiaEn Wu <chiaen_wu@richtek.com> 13 This module is part of the MT6370 MFD device. 18 const: mediatek,mt6370-charger 22 Specify what irqs are needed to be handled by MT6370 Charger driver. 25 After the hardware of MT6370 completes the BC1.2 detection, [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | mt6370-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/devm-helpers.h> 184 ret = regmap_field_read(priv->rmap_fields[fd], ®_val); in mt6370_chg_field_get() 210 val = r->max_sel; in mt6370_chg_field_set() 216 return regmap_field_write(priv->rmap_fields[fd], val); in mt6370_chg_field_set() 238 struct mt6370_priv *priv = rcfg->driver_data; in mt6370_chg_otg_of_parse_cb() 240 rcfg->ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(of), in mt6370_chg_otg_of_parse_cb() 243 rdesc->name); in mt6370_chg_otg_of_parse_cb() 244 if (IS_ERR(rcfg->ena_gpiod)) { in mt6370_chg_otg_of_parse_cb() 245 rcfg->ena_gpiod = NULL; in mt6370_chg_otg_of_parse_cb() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG 4 power_supply-y := power_supply_core.o 5 power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o 6 power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o 8 obj-$(CONFIG_POWER_SUPPLY) += power_supply.o 9 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o 10 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o 12 obj-$(CONFIG_APM_POWER) += apm_power.o 13 obj-$(CONFIG_AXP20X_POWER) += axp20x_usb_power.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 43 which uses IIO framework to read adc. 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 [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/linux/ |
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 | 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...] |