Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1232215ybg; Wed, 29 Jul 2020 08:56:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5XCeLa2fUGr51V+72n18rMDzzKMYGv12b6aQaDM8BVhGPGYZMi2ec7d4/e28grSH/kQlG X-Received: by 2002:a50:a6da:: with SMTP id f26mr21516728edc.4.1596038217361; Wed, 29 Jul 2020 08:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596038217; cv=none; d=google.com; s=arc-20160816; b=t4ZJ7xdrWC7iBG7znHSoznwDEg4iLjC6uAcK6499HiLJdnC00dlQ3Rb9jdI5b/kyc/ bubAydwML7tC1AwHGXNkNaGJz16Kkrav3DclNPXlCOXbMEzH73RMGF6041zRq7Ws3sX3 uEChoyDlFt3y5qvMnXgj5Sy3U1Aw4pBfo9mviYA4DNShydk7Adx3cvODwuN6QzjgVEZp WS3Myqb87a5kkc0z05QhwQN/6xn8gL/6nUq9+PbD/VzPuzS+nOS3PC+5X5XunGABRHew Zh0dXzJFYAIXwqdtpxX1WYpUHlGFwqLuN18JMl1aAFtBcjgpou3do03DnkA/Mq3qX+iR avJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dErOzIho34fxvJcb68vhO2ZIVDb37+iIzl5rCrT1rGU=; b=KUkQAm2BN4GgjoLsYXOxh7WcPzGKxA6UraQmxGEmVSNmvJVmcbv8q6ZctK8/s6+3Ad PDQBQNINL0Nk1lGHymI+Wv3DT1QlYoM5d/Al0aJmalcb2c07am9jO1H3+g+8gOfGTNkH janMyKklrH1ovhlWZK0Cq2gJaG5GJGmh2rhwvBhoh55K2gOrGVDDoh9K/GaHCgh9V0jZ 6rMDr6kVatrx9ZMLOlAxxOQLhY21vfFwvPYYbVJcN1SR/eoA/aTLH7/oZLWTUrz8ryGq 4h9NC45Fo5Bwh6M0P3w9afbZ4cBOsLLjjLuKGllN52tLMVnPE9+wA447g6fHCiwHafTN 44lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dAg2f074; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x23si1237234ejy.571.2020.07.29.08.56.14; Wed, 29 Jul 2020 08:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dAg2f074; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726581AbgG2P4C (ORCPT + 99 others); Wed, 29 Jul 2020 11:56:02 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60826 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbgG2P4C (ORCPT ); Wed, 29 Jul 2020 11:56:02 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06TFu00U004597; Wed, 29 Jul 2020 10:56:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1596038160; bh=dErOzIho34fxvJcb68vhO2ZIVDb37+iIzl5rCrT1rGU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=dAg2f074lHJEzqnf7SuTzPpJnsRcs1+O9lTJgE88Wp/dKdfxLv8sZOQCHD3CRtbp+ sKJOfC5RVJfCgg2XBspNiTRn1N7sMebq8Zgm5LDtpZ6DLe/sDQ8ezgGyIiiFrxkUFI rAGkTJoBx7cp/KsOcO7/XVpB22HIVND6y/aLEzX0= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06TFu03E058504; Wed, 29 Jul 2020 10:56:00 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 29 Jul 2020 10:56:00 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 29 Jul 2020 10:56:00 -0500 Received: from [10.250.35.195] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06TFtxOX006537; Wed, 29 Jul 2020 10:55:59 -0500 Subject: Re: [PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor To: , , CC: , , , References: <20200729120609.22427-1-dmurphy@ti.com> <20200729120609.22427-2-dmurphy@ti.com> From: Dan Murphy Message-ID: Date: Wed, 29 Jul 2020 10:55:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200729120609.22427-2-dmurphy@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello On 7/29/20 7:06 AM, Dan Murphy wrote: > Add the Texas Instruments BQ27z561 battery monitor. The register address > map is laid out the same as compared to other devices within the file. > The battery status register has differing bits to determine if the > battery is full, discharging or dead. > > Signed-off-by: Dan Murphy > --- > drivers/power/supply/bq27xxx_battery.c | 69 +++++++++++++++++++++- > drivers/power/supply/bq27xxx_battery_i2c.c | 2 + > include/linux/power/bq27xxx_battery.h | 1 + > 3 files changed, 71 insertions(+), 1 deletion(-) > > diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c > index acaafed037be..a858e3b2a0ee 100644 > --- a/drivers/power/supply/bq27xxx_battery.c > +++ b/drivers/power/supply/bq27xxx_battery.c > @@ -18,6 +18,7 @@ > * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. > * > * Datasheets: > +<<<<<<< HEAD Need to remove this artifact from a rebase. Not sure how this got here as it does not appear in my source. Dan