From patchwork Tue Mar 5 22:04:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10840149 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 7EB031575 for ; Tue, 5 Mar 2019 22:04:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6015B2CEE2 for ; Tue, 5 Mar 2019 22:04:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5323C2CEE1; Tue, 5 Mar 2019 22:04:52 +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 D6C032CEE1 for ; Tue, 5 Mar 2019 22:04:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726567AbfCEWEv (ORCPT ); Tue, 5 Mar 2019 17:04:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:43196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbfCEWEu (ORCPT ); Tue, 5 Mar 2019 17:04:50 -0500 Received: from earth.universe (unknown [185.216.33.115]) (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 17CFF204EC; Tue, 5 Mar 2019 22:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551823489; bh=iM8SQUojhh1olRXbwXHzZbqKoiHQrnbTGk1r0Mw3fm0=; h=Date:From:To:Cc:Subject:From; b=g6IkVOdXCyi2LfT9m7O8NR/gRGKyrBSaL1VShiweYmz2PTA+k+UNvDZHX20CvETz5 XK+u/p1Hm7+ILDKs8vE57BWisxCdglN2liX1vP1gxQcOqVTFBMU2x6aD0NivMRpjwh 2yhhirS1Sbho301VrUg2PUc7H8o7+4qW63+1HRqI= Received: by earth.universe (Postfix, from userid 1000) id 137C23C0AE0; Tue, 5 Mar 2019 23:04:47 +0100 (CET) Date: Tue, 5 Mar 2019 23:04:47 +0100 From: Sebastian Reichel To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [GIT PULL] power-supply changes for 5.1 Message-ID: <20190305220447.e3rb3yu544kcix7m@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, Nothing too fancy in the power-supply subsystem this time. There are less patches than usual, since I did not have enough time to review them in time. The good news is, that all patches have been in linux-next for more than two weeks and there are no complicated cross-subsystem patchsets this time! -- Sebastian The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v5.1 for you to fetch changes up to 655ab0bc462d1ae2aa344b1ecf35ca1a3ed726dc: power: reset: at91-reset: add support for sam9x60 SoC (2019-02-20 00:41:01 +0100) ---------------------------------------------------------------- power supply and reset changes for the v5.1 series * at91-reset: add sam9x60 support * sc27xx: improve capacity logic * goldfish_battery: enhance driver by adding many new properties * isp1704: drop platform data and migrate to gpiod * misc. small fixes and improvements ---------------------------------------------------------------- Arthur Demchenkov (1): bq27x00: use cached flags Artur Rojek (2): dt-bindings: power: supply: Add voltage-max-design-microvolt property power: supply: core: Add a field to support battery max voltage Baolin Wang (3): dt-bindings: power: sc27xx: Add one IIO channel to read charge voltage power: supply: sc27xx: Add one property to read charge voltage power: supply: sc27xx: Fix the incorrect formula when converting capacity to coulomb counter Kangjie Lu (1): power: twl4030: fix a missing check of return value Krzysztof Kozlowski (1): power: supply: charger-manager: Fix trivial language typos Michał Mirosław (1): power: supply: bq25890: show max charge current/voltage as configured Nicolas Ferre (3): dt-bindings: arm: atmel: add missing samx7 to reset controller dt-bindings: arm: atmel: add new sam9x60 reset controller binding power: reset: at91-reset: add support for sam9x60 SoC Pavel Machek (1): cpcap-charger: generate events for userspace Roman Kiryanov (6): drivers: power: supply: goldfish_battery: Put an SPDX tag drivers: power: supply: goldfish_battery: Fix "line over 80 characters" drivers: power: supply: goldfish_battery: Retire a redundant variable drivers: power: supply: goldfish_battery: Fix alignment drivers: power: supply: goldfish_battery: Use tabs for alignment drivers: power: supply: goldfish_battery: Add support for reading more properties Sebastian Reichel (1): power: supply: isp1704: switch to gpiod API Sven Van Asbroeck (2): power: supply: ds2782: fix possible use-after-free on remove max17042_battery: fix potential use-after-free on device remove Yangtao Li (2): power: supply: axp288_fuel_gauge: Change to use DEFINE_SHOW_ATTRIBUTE macro power: supply: remove some duplicated includes Yuanjiang Yu (1): power: supply: sc27xx: Fix capacity saving function .../devicetree/bindings/arm/atmel-sysregs.txt | 3 +- .../devicetree/bindings/power/supply/battery.txt | 2 + .../devicetree/bindings/power/supply/sc27xx-fg.txt | 8 +- drivers/power/reset/at91-reset.c | 13 +++ drivers/power/supply/axp288_fuel_gauge.c | 14 +--- drivers/power/supply/bq25890_charger.c | 4 +- drivers/power/supply/bq27xxx_battery.c | 20 +---- drivers/power/supply/charger-manager.c | 18 ++-- drivers/power/supply/cpcap-charger.c | 1 + drivers/power/supply/ds2782_battery.c | 8 +- drivers/power/supply/goldfish_battery.c | 88 +++++++++++++------- drivers/power/supply/isp1704_charger.c | 60 +++----------- drivers/power/supply/max17042_battery.c | 10 +++ drivers/power/supply/power_supply_core.c | 5 +- drivers/power/supply/sc27xx_fuel_gauge.c | 95 ++++++++++++++++++++-- drivers/power/supply/twl4030_charger.c | 4 +- include/linux/power/isp1704_charger.h | 30 ------- include/linux/power_supply.h | 1 + 18 files changed, 221 insertions(+), 163 deletions(-) delete mode 100644 include/linux/power/isp1704_charger.h