From patchwork Mon Apr 13 17:36:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravanan Sekar X-Patchwork-Id: 212327 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21B72C3815B for ; Mon, 13 Apr 2020 17:37:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2E0F20737 for ; Mon, 13 Apr 2020 17:37:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hy7G4xjW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732879AbgDMRhN (ORCPT ); Mon, 13 Apr 2020 13:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732872AbgDMRhK (ORCPT ); Mon, 13 Apr 2020 13:37:10 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D736C0A3BDC; Mon, 13 Apr 2020 10:37:10 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id a81so10757784wmf.5; Mon, 13 Apr 2020 10:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BO8j8+pI9zWfHd4m+N2P9+Cu+wuRfUjALFzaXkqSsKs=; b=hy7G4xjWFAoDNa+zi76sYpqg+BRy8Hj/px8I40l/1J+piWfc2mYCUuSmEtTe0Phnfr uwVQI5TxZOHiI9MX6dsyKc3eovt+0epWWJDZQQwT2c6+bFp6LM7QTdrb/wsGdk7o92JT XW3miIyfOvKTAzK3SrP43x0IeyGc9slgLqTzPbU5pTeSGQPsT01LH1dDzKhrNGqLP9rS x7F5NUMwNimVdYO8oS6EpJf7JtrHkzW5KGENNYMVC0d/wbD7SvZaZz+4La06dx0I8f0M d+TjDurBWsUpM153SKIW4c1PpHlzZwu/F206tHoP99Q5U42QqWN0fnZOzBmp/3TDvW5S /foA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BO8j8+pI9zWfHd4m+N2P9+Cu+wuRfUjALFzaXkqSsKs=; b=Dfrdz734yXSvbzQqiYAr0aIDd9lkVAJwOHK9PuA0fqgTn5rwS5fMLSByrV4Dk6JRGM XbAIAyNyfD58VUvdgoQdMxE75TaRab4+piBnHZL9acoB9l1YRtUGxhhmn6+ZY2/rP7p1 bhIPm0VSiUdynE1EVfOXd16SV7+K59dw3Uil63sXyC5E/OOqolCb3kWl1GhL4Wf7LSMW FovmyT18LOlHKs0D600cPrPCpkYYAqyY4HApKW0QbYBN0oDjpHIlb/sAOrciG+LXwT+w 4WvqflkkF0QVq7jEs9LYd9LMToXFWxiGahqA/vMf0GBTEqyBZNxINzIC4YCjtsoimx6D XORQ== X-Gm-Message-State: AGi0PubKumar35lD7/+bGj9rRAHAFbN58g1PQX/0q6Oi9Px1d+ZbVak8 niU16oXa8Slw3zDDv3UuKro= X-Google-Smtp-Source: APiQypLzFR6DUlUhHaTp+fT1GiuoTnAy3w2Zj8lPGAimmu1p198uZDn4ws5SKX61XvWHzwaKO1GNyQ== X-Received: by 2002:a1c:9a96:: with SMTP id c144mr19678718wme.84.1586799428849; Mon, 13 Apr 2020 10:37:08 -0700 (PDT) Received: from localhost.localdomain (p5B3F6AD5.dip0.t-ipconnect.de. [91.63.106.213]) by smtp.gmail.com with ESMTPSA id a205sm11141465wmh.29.2020.04.13.10.37.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 10:37:08 -0700 (PDT) From: Saravanan Sekar To: lee.jones@linaro.org, andy.shevchenko@gmail.com, robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sre@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, Saravanan Sekar Subject: [PATCH v8 3/6] iio: adc: mp2629: Add support for mp2629 ADC driver Date: Mon, 13 Apr 2020 19:36:53 +0200 Message-Id: <20200413173656.28522-4-sravanhome@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200413173656.28522-1-sravanhome@gmail.com> References: <20200413173656.28522-1-sravanhome@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add support for 8-bit resolution ADC readings for input power supply and battery charging measurement. Provides voltage, current readings to mp2629 power supply driver. Signed-off-by: Saravanan Sekar --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile | 1 + drivers/iio/adc/mp2629_adc.c | 208 +++++++++++++++++++++++++++++++++++ include/linux/mfd/mp2629.h | 9 ++ 4 files changed, 228 insertions(+) create mode 100644 drivers/iio/adc/mp2629_adc.c diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 82e33082958c..ef0c0cd31855 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -680,6 +680,16 @@ config MESON_SARADC To compile this driver as a module, choose M here: the module will be called meson_saradc. +config MP2629_ADC + tristate "Monolithic MP2629 ADC driver" + depends on MFD_MP2629 + help + Say yes to have support for battery charger IC MP2629 ADC device + accessed over I2C. + + This driver provides ADC conversion of system, input power supply + and battery voltage & current information. + config NAU7802 tristate "Nuvoton NAU7802 ADC driver" depends on I2C diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile index 919228900df9..f14416c245a6 100644 --- a/drivers/iio/adc/Makefile +++ b/drivers/iio/adc/Makefile @@ -64,6 +64,7 @@ obj-$(CONFIG_MCP3911) += mcp3911.o obj-$(CONFIG_MEDIATEK_MT6577_AUXADC) += mt6577_auxadc.o obj-$(CONFIG_MEN_Z188_ADC) += men_z188_adc.o obj-$(CONFIG_MESON_SARADC) += meson_saradc.o +obj-$(CONFIG_MP2629_ADC) += mp2629_adc.o obj-$(CONFIG_MXS_LRADC_ADC) += mxs-lradc-adc.o obj-$(CONFIG_NAU7802) += nau7802.o obj-$(CONFIG_NPCM_ADC) += npcm_adc.o diff --git a/drivers/iio/adc/mp2629_adc.c b/drivers/iio/adc/mp2629_adc.c new file mode 100644 index 000000000000..faf389f32729 --- /dev/null +++ b/drivers/iio/adc/mp2629_adc.c @@ -0,0 +1,208 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * MP2629 Driver for ADC + * + * Copyright 2020 Monolithic Power Systems, Inc + * + * Author: Saravanan Sekar + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#define MP2629_REG_ADC_CTRL 0x03 +#define MP2629_REG_BATT_VOLT 0x0e +#define MP2629_REG_SYSTEM_VOLT 0x0f +#define MP2629_REG_INPUT_VOLT 0x11 +#define MP2629_REG_BATT_CURRENT 0x12 +#define MP2629_REG_INPUT_CURRENT 0x13 + +#define MP2629_ADC_START BIT(7) +#define MP2629_ADC_CONTINUOUS BIT(6) + +#define MP2629_MAP(_mp, _mpc) IIO_MAP(#_mp, "mp2629_charger", "mp2629-"_mpc) + +#define MP2629_ADC_CHAN(_ch, _type) { \ + .type = _type, \ + .indexed = 1, \ + .datasheet_name = #_ch, \ + .channel = MP2629_ ## _ch, \ + .address = MP2629_REG_ ## _ch, \ + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \ + .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), \ +} + +struct mp2629_adc { + struct regmap *regmap; + struct device *dev; +}; + +static struct iio_chan_spec mp2629_channels[] = { + MP2629_ADC_CHAN(BATT_VOLT, IIO_VOLTAGE), + MP2629_ADC_CHAN(SYSTEM_VOLT, IIO_VOLTAGE), + MP2629_ADC_CHAN(INPUT_VOLT, IIO_VOLTAGE), + MP2629_ADC_CHAN(BATT_CURRENT, IIO_CURRENT), + MP2629_ADC_CHAN(INPUT_CURRENT, IIO_CURRENT) +}; + +static struct iio_map mp2629_adc_maps[] = { + MP2629_MAP(BATT_VOLT, "batt-volt"), + MP2629_MAP(SYSTEM_VOLT, "system-volt"), + MP2629_MAP(INPUT_VOLT, "input-volt"), + MP2629_MAP(BATT_CURRENT, "batt-current"), + MP2629_MAP(INPUT_CURRENT, "input-current") +}; + +static int mp2629_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, + int *val, int *val2, long mask) +{ + struct mp2629_adc *info = iio_priv(indio_dev); + unsigned int rval; + int ret; + + switch (mask) { + case IIO_CHAN_INFO_RAW: + ret = regmap_read(info->regmap, chan->address, &rval); + if (ret) + return ret; + + if (chan->address == MP2629_INPUT_VOLT) + rval &= GENMASK(6, 0); + *val = rval; + return IIO_VAL_INT; + + case IIO_CHAN_INFO_SCALE: + switch (chan->channel) { + case MP2629_BATT_VOLT: + case MP2629_SYSTEM_VOLT: + *val = 20; + return IIO_VAL_INT; + + case MP2629_INPUT_VOLT: + *val = 60; + return IIO_VAL_INT; + + case MP2629_BATT_CURRENT: + *val = 175; + *val2 = 10; + return IIO_VAL_FRACTIONAL; + + case MP2629_INPUT_CURRENT: + *val = 133; + *val2 = 10; + return IIO_VAL_FRACTIONAL; + + default: + return -EINVAL; + } + + default: + return -EINVAL; + } +} + +static const struct iio_info mp2629_adc_info = { + .read_raw = &mp2629_read_raw, +}; + +static int mp2629_adc_probe(struct platform_device *pdev) +{ + struct device *dev = &pdev->dev; + struct mp2629_info *ddata = dev_get_drvdata(dev->parent); + struct mp2629_adc *info; + struct iio_dev *indio_dev; + int ret; + + indio_dev = devm_iio_device_alloc(dev, sizeof(*info)); + if (!indio_dev) + return -ENOMEM; + + info = iio_priv(indio_dev); + info->regmap = ddata->regmap; + info->dev = dev; + platform_set_drvdata(pdev, indio_dev); + + ret = regmap_update_bits(ddata->regmap, MP2629_REG_ADC_CTRL, + MP2629_ADC_START | MP2629_ADC_CONTINUOUS, + MP2629_ADC_START | MP2629_ADC_CONTINUOUS); + if (ret) { + dev_err(dev, "adc enable fail: %d\n", ret); + return ret; + } + + ret = iio_map_array_register(indio_dev, mp2629_adc_maps); + if (ret) { + dev_err(dev, "IIO maps register fail: %d\n", ret); + goto fail_disable; + } + + indio_dev->name = "mp2629-adc"; + indio_dev->dev.parent = dev; + indio_dev->channels = mp2629_channels; + indio_dev->num_channels = ARRAY_SIZE(mp2629_channels); + indio_dev->modes = INDIO_DIRECT_MODE; + indio_dev->info = &mp2629_adc_info; + + ret = iio_device_register(indio_dev); + if (ret) { + dev_err(dev, "IIO device register fail: %d\n", ret); + goto fail_map_unregister; + } + + return 0; + +fail_map_unregister: + iio_map_array_unregister(indio_dev); + +fail_disable: + regmap_update_bits(ddata->regmap, MP2629_REG_ADC_CTRL, + MP2629_ADC_CONTINUOUS, 0); + regmap_update_bits(ddata->regmap, MP2629_REG_ADC_CTRL, + MP2629_ADC_START, 0); + + return ret; +} + +static int mp2629_adc_remove(struct platform_device *pdev) +{ + struct iio_dev *indio_dev = platform_get_drvdata(pdev); + struct mp2629_adc *info = iio_priv(indio_dev); + + iio_device_unregister(indio_dev); + + iio_map_array_unregister(indio_dev); + + regmap_update_bits(info->regmap, MP2629_REG_ADC_CTRL, + MP2629_ADC_CONTINUOUS, 0); + regmap_update_bits(info->regmap, MP2629_REG_ADC_CTRL, + MP2629_ADC_START, 0); + + return 0; +} + +static const struct of_device_id mp2629_adc_of_match[] = { + { .compatible = "mps,mp2629_adc"}, + {} +}; +MODULE_DEVICE_TABLE(of, mp2629_adc_of_match); + +static struct platform_driver mp2629_adc_driver = { + .driver = { + .name = "mp2629_adc", + .of_match_table = mp2629_adc_of_match, + }, + .probe = mp2629_adc_probe, + .remove = mp2629_adc_remove, +}; +module_platform_driver(mp2629_adc_driver); + +MODULE_AUTHOR("Saravanan Sekar "); +MODULE_DESCRIPTION("MP2629 ADC driver"); +MODULE_LICENSE("GPL"); diff --git a/include/linux/mfd/mp2629.h b/include/linux/mfd/mp2629.h index 06985e41fc6f..83ebfab41691 100644 --- a/include/linux/mfd/mp2629.h +++ b/include/linux/mfd/mp2629.h @@ -16,4 +16,13 @@ struct mp2629_info { struct regmap *regmap; }; +enum mp2629_adc_chan { + MP2629_BATT_VOLT, + MP2629_SYSTEM_VOLT, + MP2629_INPUT_VOLT, + MP2629_BATT_CURRENT, + MP2629_INPUT_CURRENT, + MP2629_ADC_CHAN_END +}; + #endif From patchwork Mon Apr 13 17:36:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravanan Sekar X-Patchwork-Id: 212328 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81FDCC2BBFD for ; Mon, 13 Apr 2020 17:37:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62AA920692 for ; Mon, 13 Apr 2020 17:37:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PgWv9D4E" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732887AbgDMRhQ (ORCPT ); Mon, 13 Apr 2020 13:37:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732876AbgDMRhN (ORCPT ); Mon, 13 Apr 2020 13:37:13 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFA7BC0A3BDC; Mon, 13 Apr 2020 10:37:12 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id x25so10055794wmc.0; Mon, 13 Apr 2020 10:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RJvsfKsMnt/X9Nzxg++jYAolf7LD+g/Z1b76iH73i3U=; b=PgWv9D4ExGDMpPseahRf3wQBBneUgnagl8ib7Au1jBonjNWWeQYRa9rvuBjmY5773T +AWCD4yUY5JogNkwgCK5zoq8ZA948YmtUq/+9pBqy33uNWdFZeUEPHLPQTKpNT2OFb+5 WQDYZfd/LwX6coTmog3RvV/xwe2MOQaF81pGeMJI7xskRyJQwMqB9sYZ6Zd3kEHH88fw FUY3Kt3DrxvJOTO5GJBy5rDfDMvZSaptj+7jJtQtNT19XoJOFsMbXMQBXq43gRnrqyW6 mCabi7S7R1LbvlzW7rm/5qz5URSFlQADee6o55A4q++X9S4zWizP7fkp0jpaXRUFztdm Q/Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RJvsfKsMnt/X9Nzxg++jYAolf7LD+g/Z1b76iH73i3U=; b=UluiBoquM1mWEEdqrqIcLurCFKatJmX/OjYuSvSn/qGft4hCL6dvD+U3fbaYhefkPC RKI5wHqFxw3+rwXXV6FPg2D3bCicZKI7Fke0Q9LVARJL0/iM4D5EyJn5MbQa9rJNFnx5 Mt8SPOrJJdrp8eWndgCrXpayWbda4zIyfZnYLKzEtfXYoSemqbOLgyFsVs+D40Q1LPut f3Pi1xrMTs+bLmItxqRQSYI7u/QozTt+4K+PODBIBNlXcERB3lydb3ex0LBzEE9EMpfW 5WWhB/zmrLT6Vc94JIqUgshzbhY5u0WsDr1T59kXKb5em9QTVwgSIJPmLDt47bfNOSf+ z02w== X-Gm-Message-State: AGi0PuYqwaL9xEc2DZ90uDmVax6moeFtxDMGK3DE4siFoxVvCxcI8vWc yVV1thk/u9P+yA3+cdsObxA= X-Google-Smtp-Source: APiQypILyrh7qXLb2k9CC4tX3cyTdg/9b2XUdW3iGtIm0qwRBy1+ocTtQxm5GzEsfW97jEbvmLIzsg== X-Received: by 2002:a05:600c:14d4:: with SMTP id i20mr8653509wmh.118.1586799431406; Mon, 13 Apr 2020 10:37:11 -0700 (PDT) Received: from localhost.localdomain (p5B3F6AD5.dip0.t-ipconnect.de. [91.63.106.213]) by smtp.gmail.com with ESMTPSA id a205sm11141465wmh.29.2020.04.13.10.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 10:37:10 -0700 (PDT) From: Saravanan Sekar To: lee.jones@linaro.org, andy.shevchenko@gmail.com, robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sre@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, Saravanan Sekar Subject: [PATCH v8 5/6] power: supply: mp2629: Add impedance compenstation config Date: Mon, 13 Apr 2020 19:36:55 +0200 Message-Id: <20200413173656.28522-6-sravanhome@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200413173656.28522-1-sravanhome@gmail.com> References: <20200413173656.28522-1-sravanhome@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Allows the user to compensate the intrinsic resistance of the battery to accelerate the charging cycle. Signed-off-by: Saravanan Sekar --- Documentation/ABI/testing/sysfs-class-power-mp2629 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-class-power-mp2629 diff --git a/Documentation/ABI/testing/sysfs-class-power-mp2629 b/Documentation/ABI/testing/sysfs-class-power-mp2629 new file mode 100644 index 000000000000..7b7c0e7a7c45 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-power-mp2629 @@ -0,0 +1,8 @@ +What: /sys/class/power_supply/mp2629_battery/batt_impedance_compen +Date: April 2020 +KernelVersion: 5.7 +Description: + Represents a battery impedance compenstation to accelerate charging. + + Access: Read, Write + Valid values: Represented in milli-ohms. Valid range is [0, 140]. From patchwork Mon Apr 13 17:36:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravanan Sekar X-Patchwork-Id: 212326 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 913ACC352B6 for ; Mon, 13 Apr 2020 17:37:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6700A2078B for ; Mon, 13 Apr 2020 17:37:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FyRQ4O4t" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732915AbgDMRhe (ORCPT ); Mon, 13 Apr 2020 13:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732882AbgDMRhO (ORCPT ); Mon, 13 Apr 2020 13:37:14 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2497C0A3BE2; Mon, 13 Apr 2020 10:37:13 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id o81so4465427wmo.2; Mon, 13 Apr 2020 10:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6QvXfJZlpggMK4ANi6m9pBKzrWALkcbq78l8N8OifPg=; b=FyRQ4O4tvTTJTitTz9W28h/1N/LB+saR96VqV/dHtuDmuCaOoLZajiaIyEYWqlSNFK /nUN0Gvbw7+sIXhJT9QmCSA1tPmI5xuMEiUTsDUwdD7TJig99iJiIZQgB83msgwLRda5 tDUu2UruS3Pm3yjAmmSOGAc1msp8foDihyQrUwaU4P4ajkZlgFBlD8flj7mgd6y5S6uO SRAw08Shw5dtKBlpGdMeshBj61gNkGGRPiIrm8G23pAHxwtW0JcMRqxszwty0+lmJ4eB KZ1cQRQUqeKtGPvo5Ynm1+Df16dqyhngf4HL7pRHuSTyFBwht1OQtazm73b8e+NRiZU0 Y+Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6QvXfJZlpggMK4ANi6m9pBKzrWALkcbq78l8N8OifPg=; b=kro5dDHDW6vtCzhS20NVOG1fXZinU86PGF8zvfIKN0f4nuyHiSIb607B9plJkYYJEZ RlTBuO4PKNUFcgCZH/v4+hH9Ik17QCOhuw1vOiAANW+kOZ4PYOySpenPJd1Q/mfOWgi1 vuYSn5lfgXVCQRP9OdAFOnlCiDGk1f30dAjscqca+cd53IRePp3YshuJ459lA71WysL7 OYuGJkgmiLZ/+W8bSImQwT4EoHzzze4Z25pRb6Mmuj7cUME2pg795ygl9RFD8gE9NRHM bEsKumXU/ZkgrObkcHVgt+2z6lhotxz9P5U3FylxksNrsSuCtkBGgcoEdO2OvSmeVn1e QHDg== X-Gm-Message-State: AGi0Pub3rV4dvtCn1vxhf3jWrXuatrji4KRPtVRN7Nh6RUdYmonbRbU7 bco09TyrBZQccV3rWuloxuDuRy96Ckw= X-Google-Smtp-Source: APiQypLoFKiIymQKv4j12LxYH1Zb7462vvWxWlSn3xUcZq8EdPqS5Vh6LZWjzgYDMQin8f3MxLZQgg== X-Received: by 2002:a05:600c:2196:: with SMTP id e22mr6836810wme.105.1586799432693; Mon, 13 Apr 2020 10:37:12 -0700 (PDT) Received: from localhost.localdomain (p5B3F6AD5.dip0.t-ipconnect.de. [91.63.106.213]) by smtp.gmail.com with ESMTPSA id a205sm11141465wmh.29.2020.04.13.10.37.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 10:37:11 -0700 (PDT) From: Saravanan Sekar To: lee.jones@linaro.org, andy.shevchenko@gmail.com, robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sre@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, Saravanan Sekar Subject: [PATCH v8 6/6] MAINTAINERS: Add entry for mp2629 Battery Charger driver Date: Mon, 13 Apr 2020 19:36:56 +0200 Message-Id: <20200413173656.28522-7-sravanhome@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200413173656.28522-1-sravanhome@gmail.com> References: <20200413173656.28522-1-sravanhome@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add MAINTAINERS entry for Monolithic Power Systems mp2629 Charger driver. Signed-off-by: Saravanan Sekar --- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 32a95d162f06..0f82d5a7a614 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11358,10 +11358,15 @@ F: drivers/tty/mxser.* MONOLITHIC POWER SYSTEM PMIC DRIVER M: Saravanan Sekar S: Maintained +F: Documentation/devicetree/bindings/mfd/mps,mp2629.yaml F: Documentation/devicetree/bindings/regulator/mps,mp*.yaml +F: drivers/iio/adc/mp2629_adc.c +F: drivers/mfd/mp2629.c +F: drivers/power/supply/mp2629_charger.c F: drivers/regulator/mp5416.c F: drivers/regulator/mpq7920.c F: drivers/regulator/mpq7920.h +F: include/linux/mfd/mp2629.h MR800 AVERMEDIA USB FM RADIO DRIVER M: Alexey Klimov