···11+What: /sys/class/power_supply/mp2629_battery/batt_impedance_compen22+Date: April 202033+KernelVersion: 5.744+Description:55+ Represents a battery impedance compensation to accelerate charging.66+77+ Access: Read, Write88+ Valid values: Represented in milli-ohms. Valid range is [0, 140].
···11+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: MP2629 Battery Charger PMIC from Monolithic Power System.88+99+maintainers:1010+ - Saravanan Sekar <sravanhome@gmail.com>1111+1212+description: |1313+ MP2629 is a PMIC providing battery charging and power supply for smartphones,1414+ wireless camera and portable devices. Chip is controlled over I2C.1515+1616+ The battery charge management device handles battery charger controller and1717+ ADC IIO device for battery, system voltage1818+1919+properties:2020+ compatible:2121+ const: mps,mp26292222+2323+ reg:2424+ maxItems: 12525+2626+ interrupts:2727+ maxItems: 12828+2929+ interrupt-controller: true3030+3131+ "#interrupt-cells":3232+ const: 23333+ description:3434+ The first cell is the IRQ number, the second cell is the trigger type.3535+3636+required:3737+ - compatible3838+ - reg3939+ - interrupts4040+ - interrupt-controller4141+ - "#interrupt-cells"4242+4343+additionalProperties: false4444+4545+examples:4646+ - |4747+ #include <dt-bindings/interrupt-controller/irq.h>4848+ #include <dt-bindings/input/linux-event-codes.h>4949+ i2c {5050+ #address-cells = <1>;5151+ #size-cells = <0>;5252+5353+ pmic@4b {5454+ compatible = "mps,mp2629";5555+ reg = <0x4b>;5656+5757+ interrupt-controller;5858+ interrupt-parent = <&gpio2>;5959+ #interrupt-cells = <2>;6060+ interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;6161+ };6262+ };
+10-4
Documentation/devicetree/bindings/mfd/mt6397.txt
···1818This document describes the binding for MFD device and its sub module.19192020Required properties:2121-compatible: "mediatek,mt6397" or "mediatek,mt6323"2121+compatible:2222+ "mediatek,mt6323" for PMIC MT63232323+ "mediatek,mt6358" for PMIC MT63582424+ "mediatek,mt6397" for PMIC MT639722252326Optional subnodes:24272528- rtc2629 Required properties: Should be one of follows2730 - compatible: "mediatek,mt6323-rtc"3131+ - compatible: "mediatek,mt6358-rtc"2832 - compatible: "mediatek,mt6397-rtc"2933 For details, see ../rtc/rtc-mt6397.txt3034- regulators3135 Required properties:3232- - compatible: "mediatek,mt6397-regulator"3333- see ../regulator/mt6397-regulator.txt3436 - compatible: "mediatek,mt6323-regulator"3537 see ../regulator/mt6323-regulator.txt3838+ - compatible: "mediatek,mt6358-regulator"3939+ see ../regulator/mt6358-regulator.txt4040+ - compatible: "mediatek,mt6397-regulator"4141+ see ../regulator/mt6397-regulator.txt3642- codec3743 Required properties:3838- - compatible: "mediatek,mt6397-codec"4444+ - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound"3945- clk4046 Required properties:4147 - compatible: "mediatek,mt6397-clk"
+53
Documentation/hwmon/gsc-hwmon.rst
···11+.. SPDX-License-Identifier: GPL-2.022+33+Kernel driver gsc-hwmon44+=======================55+66+Supported chips: Gateworks GSC77+Datasheet: http://trac.gateworks.com/wiki/gsc88+Author: Tim Harvey <tharvey@gateworks.com>99+1010+Description:1111+------------1212+1313+This driver supports hardware monitoring for the temperature sensor,1414+various ADC's connected to the GSC, and optional FAN controller available1515+on some boards.1616+1717+1818+Voltage Monitoring1919+------------------2020+2121+The voltage inputs are scaled either internally or by the driver depending2222+on the GSC version and firmware. The values returned by the driver do not need2323+further scaling. The voltage input labels provide the voltage rail name:2424+2525+inX_input Measured voltage (mV).2626+inX_label Name of voltage rail.2727+2828+2929+Temperature Monitoring3030+----------------------3131+3232+Temperatures are measured with 12-bit or 10-bit resolution and are scaled3333+either internally or by the driver depending on the GSC version and firmware.3434+The values returned by the driver reflect millidegree Celcius:3535+3636+tempX_input Measured temperature.3737+tempX_label Name of temperature input.3838+3939+4040+PWM Output Control4141+------------------4242+4343+The GSC features 1 PWM output that operates in automatic mode where the4444+PWM value will be scalled depending on 6 temperature boundaries.4545+The tempeature boundaries are read-write and in millidegree Celcius and the4646+read-only PWM values range from 0 (off) to 255 (full speed).4747+Fan speed will be set to minimum (off) when the temperature sensor reads4848+less than pwm1_auto_point1_temp and maximum when the temperature sensor4949+equals or exceeds pwm1_auto_point6_temp.5050+5151+pwm1_auto_point[1-6]_pwm PWM value.5252+pwm1_auto_point[1-6]_temp Temperature boundary.5353+
···70287028F: tools/perf/bench/futex*70297029F: tools/testing/selftests/futex/7030703070317031+GATEWORKS SYSTEM CONTROLLER (GSC) DRIVER70327032+M: Tim Harvey <tharvey@gateworks.com>70337033+M: Robert Jones <rjones@gateworks.com>70347034+S: Maintained70357035+F: Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml70367036+F: drivers/mfd/gateworks-gsc.c70377037+F: include/linux/mfd/gsc.h70387038+F: Documentation/hwmon/gsc-hwmon.rst70397039+F: drivers/hwmon/gsc-hwmon.c70407040+F: include/linux/platform_data/gsc_hwmon.h70417041+70317042GASKET DRIVER FRAMEWORK70327043M: Rob Springer <rspringer@google.com>70337044M: Todd Poynor <toddpoynor@google.com>···1139311382MONOLITHIC POWER SYSTEM PMIC DRIVER1139411383M: Saravanan Sekar <sravanhome@gmail.com>1139511384S: Maintained1138511385+F: Documentation/devicetree/bindings/mfd/mps,mp2629.yaml1139611386F: Documentation/devicetree/bindings/regulator/mps,mp*.yaml1138711387+F: drivers/iio/adc/mp2629_adc.c1138811388+F: drivers/mfd/mp2629.c1138911389+F: drivers/power/supply/mp2629_charger.c1139711390F: drivers/regulator/mp5416.c1139811391F: drivers/regulator/mpq7920.c1139911392F: drivers/regulator/mpq7920.h1139311393+F: include/linux/mfd/mp2629.h11400113941140111395MOTION EYE VAIO PICTUREBOOK CAMERA DRIVER1140211396S: Orphan
+9
drivers/hwmon/Kconfig
···523523 This driver can also be built as a module. If so, the module524524 will be called f75375s.525525526526+config SENSORS_GSC527527+ tristate "Gateworks System Controller ADC"528528+ depends on MFD_GATEWORKS_GSC529529+ help530530+ Support for the Gateworks System Controller A/D converters.531531+532532+ To compile this driver as a module, choose M here:533533+ the module will be called gsc-hwmon.534534+526535config SENSORS_MC13783_ADC527536 tristate "Freescale MC13783/MC13892 ADC"528537 depends on MFD_MC13XXX
···692692 To compile this driver as a module, choose M here: the693693 module will be called meson_saradc.694694695695+config MP2629_ADC696696+ tristate "Monolithic MP2629 ADC driver"697697+ depends on MFD_MP2629698698+ help699699+ Say yes to have support for battery charger IC MP2629 ADC device700700+ accessed over I2C.701701+702702+ This driver provides ADC conversion of system, input power supply703703+ and battery voltage & current information.704704+695705config NAU7802696706 tristate "Nuvoton NAU7802 ADC driver"697707 depends on I2C
···407407 Select this option to enable support for Samsung Exynos Low Power408408 Audio Subsystem.409409410410+config MFD_GATEWORKS_GSC411411+ tristate "Gateworks System Controller"412412+ depends on (I2C && OF)413413+ select MFD_CORE414414+ select REGMAP_I2C415415+ select REGMAP_IRQ416416+ help417417+ Enable support for the Gateworks System Controller (GSC) found418418+ on Gateworks Single Board Computers supporting system functions419419+ such as push-button monitor, multiple ADC's for voltage and420420+ temperature monitoring, fan controller and watchdog monitor.421421+ This driver provides common support for accessing the device.422422+ Additional drivers must be enabled in order to use the423423+ functionality of the device.424424+410425config MFD_MC13XXX411426 tristate412427 depends on (SPI_MASTER || I2C)···448433 select MFD_MC13XXX449434 help450435 Select this if your MC13xxx is connected via an I2C bus.436436+437437+config MFD_MP2629438438+ tristate "Monolithic Power Systems MP2629 ADC and Battery charger"439439+ depends on I2C440440+ select REGMAP_I2C441441+ help442442+ Select this option to enable support for Monolithic Power Systems443443+ battery charger. This provides ADC, thermal and battery charger power444444+ management functions.451445452446config MFD_MXS_LRADC453447 tristate "Freescale i.MX23/i.MX28 LRADC"
···541541 Say Y to enable support for the battery charger control sysfs and542542 platform data of MAX8998/LP3974 PMICs.543543544544+config CHARGER_MP2629545545+ tristate "Monolithic power system MP2629 Battery charger"546546+ depends on MFD_MP2629547547+ depends on MP2629_ADC548548+ depends on IIO549549+ help550550+ Select this option to enable support for Monolithic power system551551+ Battery charger. This driver provides Battery charger power management552552+ functions on the systems.553553+544554config CHARGER_QCOM_SMBB545555 tristate "Qualcomm Switch-Mode Battery Charger and Boost"546556 depends on MFD_SPMI_PMIC || COMPILE_TEST