From patchwork Tue Sep 17 21:34:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 11149395 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0575B112B for ; Tue, 17 Sep 2019 21:35:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CFDA221897 for ; Tue, 17 Sep 2019 21:35:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726755AbfIQVfH (ORCPT ); Tue, 17 Sep 2019 17:35:07 -0400 Received: from muru.com ([72.249.23.125]:33518 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbfIQVfH (ORCPT ); Tue, 17 Sep 2019 17:35:07 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id ECD4180F6; Tue, 17 Sep 2019 21:35:37 +0000 (UTC) From: Tony Lindgren To: Sebastian Reichel Cc: linux-pm@vger.kernel.org, linux-omap@vger.kernel.org, Merlijn Wajer , Pavel Machek Subject: [PATCH 0/3] cpcap charger and battery fixes Date: Tue, 17 Sep 2019 14:34:58 -0700 Message-Id: <20190917213501.16907-1-tony@atomide.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi, Here are few fixes for cpcap charger and battery. The first fix lowers the battery charge voltage to 4.2V from 4.35V, and should probably applied to the -rc series. The other two can wait if preferred. Regards, Tony Pavel Machek (1): power: supply: cpcap-charger: Limit voltage to 4.2V for battery Tony Lindgren (2): power: supply: cpcap-battery: Check voltage before orderly_poweroff power: supply: cpcap-charger: Improve battery detection drivers/power/supply/cpcap-battery.c | 9 ++++++--- drivers/power/supply/cpcap-charger.c | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-)