From patchwork Wed Oct 24 18:11:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10654851 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E147717DE for ; Wed, 24 Oct 2018 18:11:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF48B2B145 for ; Wed, 24 Oct 2018 18:11:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C004F2B152; Wed, 24 Oct 2018 18:11:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27DB32B145 for ; Wed, 24 Oct 2018 18:11:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726851AbeJYCk2 (ORCPT ); Wed, 24 Oct 2018 22:40:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:59574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726433AbeJYCk2 (ORCPT ); Wed, 24 Oct 2018 22:40:28 -0400 Received: from earth.universe (host-92-3-126-56.as43234.net [92.3.126.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 62EB1206B5; Wed, 24 Oct 2018 18:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540404683; bh=QVEQqUT+5/FXqP3+NhUWq8mk5SfVF2K28hqiX5bkcIA=; h=Date:From:To:Cc:Subject:From; b=spVBuqINhvWIKOPlNGM04NKmQY9IcCYukOKktPyZmfuRsl4lH4iBdksA5mPNPIGAj JDK48Q/TugFn5y82NbBPNjdCcSVRNrhXVgNdbZdq48porkv8/VxfcVpr+vNX+8RmPg F2IRYlLyMNWj1LEPpvtTn4//znAZtqYNxOONJu/M= Received: by earth.universe (Postfix, from userid 1000) id 5F7BB3C0987; Wed, 24 Oct 2018 20:11:21 +0200 (CEST) Date: Wed, 24 Oct 2018 20:11:21 +0200 From: Sebastian Reichel To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [GIT PULL] power-supply changes for 4.20 Message-ID: <20181024181121.3pw6o3qqcx6zd7ob@earth.universe> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20180716 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, All patches have been in linux-next for like 4 weeks except for ones, that have only been in there for a couple of days. Those are simple fixes not touching any real code, so it should be fine. Please find the details are in the tag. There shouldn't be any problems merging this. -- Sebastian The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v4.20 for you to fetch changes up to cfb347979e71d3ce6be59a988b3357f541c9eacf: power: max8925: mark expected switch fall-through (2018-10-21 21:33:35 +0200) ---------------------------------------------------------------- power supply and reset changes for the v4.20 series * Add Spreadtrum SC2731 charger driver * bq25890-charger: Add BQ25896 support * bq27xxx-battery: Add support for BQ27411 * qcom-pon: Add pms405 pon support * cros-charger: add support for dedicated port * misc. fixes ---------------------------------------------------------------- Andreas Kemnade (2): power: supply: twl4030_charger: fix charging current out-of-bounds power: supply: twl4030_charger: disable eoc interrupt on linear charge Angus Ainslie (Purism) (4): power: supply: bq25890_charger: Add debugging output of failed initialization power: supply: bq25890_charger: Remove unused table entries power: supply: bq25890_charger: Add the BQ25896 part power: supply: bq25890_charger: Read back the current battery voltage Baolin Wang (2): dt-bindings: power: Add Spreadtrum SC2731 charger documentation power: supply: Add Spreadtrum SC2731 charger support Claudiu Beznea (6): power: reset: at91-poweroff: switch to slow clock before shutdown power: reset: at91-poweroff: use only one poweroff function power: reset: at91-poweroff: make mpddrc_base part of struct shdwc power: reset: at91-poweroff: make sclk part of struct shdwc power: reset: at91-poweroff: rename at91_shdwc_base member of struct shdwc power: reset: at91-poweroff: do not procede if at91_shdwc is allocated Colin Ian King (2): power: supply: cros_usbpd: remove unused pointer 'dev' power: supply: fix spelling mistake "Gauage" -> "Gauge" Dan Carpenter (1): power: supply: ab8500_fg: silence uninitialized variable warnings David Lechner (1): power: supply: sysfs: ratelimit property read error message Ding Xiang (1): power: supply: ab8500_fg: fix obsolete function Fabien Parent (2): mfd: cros: add charger port count command definition power: supply: cros: add support for dedicated port Gustavo A. R. Silva (1): power: max8925: mark expected switch fall-through Krzysztof Kozlowski (1): power: supply: maxim: Add SPDX license identifiers Kuninori Morimoto (1): power: reset: convert to SPDX identifiers Liu Xiang (1): power: supply: bq27xxx: Add support for BQ27411 Sebastian Reichel (2): Merge tag 'psy-at91-poweroff-immutable-for-v4.20-signed' into psy-next Merge tag 'psy-mfd-cros-immutable-for-v4.20-signed' into psy-next Tomasz Figa (1): power: supply: max8998-charger: Fix platform data retrieval Vinod Koul (1): power: reset: qcom-pon: Add pms405 pon support kbuild test robot (1): power: supply: bq25890_charger: fix semicolon.cocci warnings .../devicetree/bindings/power/reset/qcom,pon.txt | 5 +- .../devicetree/bindings/power/supply/bq25890.txt | 3 + .../devicetree/bindings/power/supply/bq27xxx.txt | 1 + .../bindings/power/supply/sc2731_charger.txt | 40 ++ arch/arm/mach-at91/pm_suspend.S | 8 + drivers/power/reset/at91-sama5d2_shdwc.c | 119 +++-- drivers/power/reset/qcom-pon.c | 1 + drivers/power/reset/rmobile-reset.c | 5 +- drivers/power/supply/Kconfig | 7 + drivers/power/supply/Makefile | 1 + drivers/power/supply/ab8500_fg.c | 52 ++- drivers/power/supply/bq25890_charger.c | 62 ++- drivers/power/supply/bq27xxx_battery.c | 9 + drivers/power/supply/bq27xxx_battery_i2c.c | 2 + drivers/power/supply/cros_usbpd-charger.c | 117 ++++- drivers/power/supply/ds2780_battery.c | 2 +- drivers/power/supply/ds2781_battery.c | 2 +- drivers/power/supply/ds2782_battery.c | 2 +- drivers/power/supply/max14577_charger.c | 22 +- drivers/power/supply/max17040_battery.c | 18 +- drivers/power/supply/max17042_battery.c | 32 +- drivers/power/supply/max77693_charger.c | 22 +- drivers/power/supply/max8925_power.c | 1 + drivers/power/supply/max8997_charger.c | 26 +- drivers/power/supply/max8998_charger.c | 28 +- drivers/power/supply/power_supply_sysfs.c | 3 +- drivers/power/supply/sc2731_charger.c | 504 +++++++++++++++++++++ drivers/power/supply/twl4030_charger.c | 30 +- include/linux/mfd/cros_ec_commands.h | 10 + include/linux/power/bq27xxx_battery.h | 1 + 30 files changed, 922 insertions(+), 213 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/supply/sc2731_charger.txt create mode 100644 drivers/power/supply/sc2731_charger.c