Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1992566imm; Thu, 14 Jun 2018 07:09:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKgT2FjZyyHaGOcUlSOo78eRkMzhw10qc4BgULdmTnlhzfVU/OY/vcJgQ0YlShjWXetrDp9 X-Received: by 2002:a63:842:: with SMTP id 63-v6mr2544066pgi.406.1528985348162; Thu, 14 Jun 2018 07:09:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528985348; cv=none; d=google.com; s=arc-20160816; b=m5zW53ET/ApfdH0vDgjxhg5nzVa1T/H/IUEfeqYfwvtrRMUoJbjQ4mwUhZNpp9DvXb ATjRpgWJoZshErT4sc/i6EpIXTV5gk3FDp5FSof+IQ+jE47lWtLHNocPAw2HCv/gOafp E11oTfxRtRsC9Olxto3cfxtLlmqzkcvFY/SaSkwwfi6Mr/o1aCEHzlgEuHTzVEewMNHV 7jr9cCcQtIER/y3NMyT0HXzMqka/I/cEy9yAfW3sZLGnJjYg507CVpwy4giuxk6Gx6/U hPf3+yRuaVLg4vsD7tOQAgFm9nQG7kAjn+wHDi9LcVqnqdsZa+xmOP2n8aUh40AIxRu9 x1KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=rYmnSteIlyFhBRO2GapxR6Ol6tYl0elNjYQE7XrEhzo=; b=MwK/O1Sa4UwZgQLTmUSv0pXX6ffKZhZGlnaoTBnFJJnS3mTtnFbbk0114jaUvu1Rto XPhlbrGjoH8V1Y69O7M6m6adnjQpm7lzqNaQACAZPLsBFBC7pFAxmoqkyTXlTtN3mNrd KNT4rKMhhhJQ3DZPzwDKGqllg/imsNtC6U55u4spD2EwuWfGdANv7lOjdAwd1348o+95 Xc8LwsiFQMzB8YLEXh0aLko27gE4IuKTTPiee1x3YxCsp83Sa3wmmBWaJGcnWB1vfQY+ wTx173rpiNzFbcKn+UASaAw3p2GFwBmiEqSXiDcfbFQu/f65LaJal3AO4KXHqJGOaKZq aF9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jt+YbNNh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z62-v6si5280922pfk.197.2018.06.14.07.08.53; Thu, 14 Jun 2018 07:09:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jt+YbNNh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964915AbeFNOGx (ORCPT + 99 others); Thu, 14 Jun 2018 10:06:53 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:40228 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964880AbeFNOGn (ORCPT ); Thu, 14 Jun 2018 10:06:43 -0400 Received: by mail-io0-f193.google.com with SMTP id g22-v6so7256523iob.7 for ; Thu, 14 Jun 2018 07:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rYmnSteIlyFhBRO2GapxR6Ol6tYl0elNjYQE7XrEhzo=; b=jt+YbNNhbbTATsXCWrZ/EdneR68Rn+c/HWO1dfpnCTlUM6gcNy9ak0lPD7HLQSD++9 7Ns5gt/zaJYHQxScvi8pdMhNHrUFLxQyJqY1nEEBfYXg9on/4p4iWaOl5Av60w9VtGLU +8931c23i4DhMsH8GmQndGC29Cfx9q+UHRbV8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rYmnSteIlyFhBRO2GapxR6Ol6tYl0elNjYQE7XrEhzo=; b=qO0aoYBhMrLjPjf33qXmnIXhoywEk2IS5qIxLtWhOIApyPvNsNIShF+puG5gfM1wuc hBfyyWXXQvbG+wFVKh7fhz8k9DL/zHeS06d+R8YVXgfIuZ1Pw87/GniiMtcEMT/TyU/b HP2IjpyHzCfLIKOqcqwvEZSibxAAcg5A9wwDjkGSNdcDRz92wtpPDAdR3B8JhpUIqoIf P58AvV2mU9coBjYkpqL1HjI/CssPxcvrNFKdkgmrrqiTUloABUxkQAS6w6AhjMTf1DJW AsZA4jayyGhEQyzeIdydOggyxUTQ8/5PbFO2RxWuXpbaxvIuRxLxqGf3UB4EumHwGF3F 9YdQ== X-Gm-Message-State: APt69E3l50/uAzAcL55/uhOfbJeMD+CSiLh7y9lMFu0u1wfNc6QIFMsE kKzeiXkzlmrMqPaHJHChapN0SX8d4GFZ7lXmt7wJoQ== X-Received: by 2002:a6b:4a15:: with SMTP id w21-v6mr2263137iob.277.1528985202533; Thu, 14 Jun 2018 07:06:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:78c9:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 07:06:40 -0700 (PDT) In-Reply-To: <20180613160643.12638-2-ctatlor97@gmail.com> References: <20180407135934.26122-1-ctatlor97@gmail.com> <20180613160643.12638-1-ctatlor97@gmail.com> <20180613160643.12638-2-ctatlor97@gmail.com> From: Linus Walleij Date: Thu, 14 Jun 2018 16:06:40 +0200 Message-ID: Subject: Re: [PATCH v6 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System To: Craig Tatlor Cc: linux-arm-msm@vger.kernel.org, Sebastian Reichel , Rob Herring , Mark Rutland , Mauro Carvalho Chehab , "David S. Miller" , Andrew Morton , Greg Kroah-Hartman , Randy Dunlap , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 13, 2018 at 6:06 PM, Craig Tatlor wrote: > This patch adds a driver for the BMS (Battery Monitoring System) > block of the PM8941 PMIC, it uses a lookup table defined in the > device tree to generate a capacity from the BMS supplied OCV, it > then amends the coulomb counter to that to increase the accuracy > of the estimated capacity. > > Signed-off-by: Craig Tatlor > --- > > * Changes from v5: > Uses select for REGMAP_SPMI. Looks very nice to me! Reviewed-by: Linus Walleij Yours, Linus Walleij