Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1146329ybh; Sat, 14 Mar 2020 19:19:28 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsjAdQgiZR2AmOg1AIi/jXWIxEqpuJWKWAmbcdx+znJh7sccWOYrmy7zj3CIs4bXQT7ygR+ X-Received: by 2002:a9d:21f5:: with SMTP id s108mr16178539otb.227.1584238768008; Sat, 14 Mar 2020 19:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584238768; cv=none; d=google.com; s=arc-20160816; b=GGTYH8gUT1NjNhnEgPnmmR50jeVnRxS/xQDW3l9PDhqqekxlU9/9p+/yF+3tNZ6bST Sue80npuPbknfH1ctqHbnm/yrN0TzFWpAyZgJy5hbTUaLbrQxZR2zH21286/GcXLr5sI mOvZ4gfHSKcXWUynBDNGFM/33J4m1MfaLUR6dUmP2yY/osz6XkftJhmAYFKoSpJLs+zb t7y/19uq+e8/yv+lP2oaum0qeNzHFKtU7+8eMPLPYC4PHN5bEe0Hz/WB857wTVD9rMer lsrnIQJTidGnx4HNwTMY6GGYOl3xeysytqUdzFZQCRXclq93eLZZwV8aloxKrdLoK3E/ kRZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d5M5DPd0RI2rczhP4P91gPN3FdPDlZFf0L0WRN91en4=; b=xI3Km3hifxZZSbpNAhwkmYYxeyv9mAOywjS4V3aw+w4XXrjlz8/Qz+qzA0ilM7NG7b vxElKpKWQDKeVtznlmC4qQQko+0m0UvUO+WqsXyBceOdJTco2Zwss72Sj0GbBtwm0Vjx fCOlSd3/sM94ss5LiVEcM5vwmHzKivEJgCrbBn4jvaGULUGOvGYanqomXDdvJKGxgqfY va9ltJQuvCy3iGenSqUqh/gSzFJ33RyeWk6/HsuhEIB0/RNNsCZNsi+c5WPcRCprb57d 1QtBhO06lOO6n1f0IXWEnXsOak4jcw9Cfj9Rw/WMTcg3vLOovFvEgsdPHa8gVkxFYI4V 4vcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b="ftBgpQu/"; 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=REJECT sp=REJECT dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si1742912otf.147.2020.03.14.19.19.16; Sat, 14 Mar 2020 19:19:27 -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=@android.com header.s=20161025 header.b="ftBgpQu/"; 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=REJECT sp=REJECT dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727772AbgCOCS5 (ORCPT + 99 others); Sat, 14 Mar 2020 22:18:57 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36913 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbgCOCS4 (ORCPT ); Sat, 14 Mar 2020 22:18:56 -0400 Received: by mail-pf1-f196.google.com with SMTP id p14so7719387pfn.4 for ; Sat, 14 Mar 2020 19:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=d5M5DPd0RI2rczhP4P91gPN3FdPDlZFf0L0WRN91en4=; b=ftBgpQu/ef2KodsvtSBhktXBWOQD4w9838z0rkLa+o4/07RNwOHKopdPqSn8ckau9l WdZEmfHBs4x2qhwM+8cgBdHQR2Esicxravh9cL1UcN4dDQCZhyytm+THZnb6xjdJR6PQ Jte/OP6iyl2N5LeE/63/taq/zteoeqywc4lVRlzKTCsUgr12Y7mHT/yk4pMBlt5u2rGC Btpa9qUhLSHJCcXsON5aVTv5XGoHLeCZMHo57RCdN39ZOB7fv6sslQFQ8FzJOHcSUlsY e9Y94BBnVLDMSjA7RsS+toQmJEpyPhqa8jhVUPOv6F3bqIfJU5/p0gwhxwQdBzK9eoV7 twiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=d5M5DPd0RI2rczhP4P91gPN3FdPDlZFf0L0WRN91en4=; b=fBnvqUEbg6Xr3AW3fMYfFibR0xOlcKQbNItgzu3f23UwAvjQC8sA8LAp5uLs2hDv2/ GgI3guJ8mT0NgLngkWW4c1FnURn3enFxqqQjZDkMatv39YwK71XvlirEcQyxK4N1nXpT mf7b/Jju+WSDqB2lhT8uRmnD7WtQ4bmN3xVbkzwQrCGW3pdslmGrNatkeChUO4ccPhgi FMlkCfQLcpayYUBzo1so75+vYgbsCa5eJPIHGuYt1ELB4oSsk5COsHC6EXdifQQHQJaf XbUshkxjQHN9PT6w28vUPkqAeC/kGtH6RJeZPmsoeXxAYXdQleruY4lj0ClhelM3iRIr BB0Q== X-Gm-Message-State: ANhLgQ2lw6mrHWPOed2pLMh5rnSeDtGL44aTYkIIx/FBunLAW7yexWrG /iyaLETEZbRvNlvGjKXzH9qVlJL+wLY= X-Received: by 2002:a62:1bd6:: with SMTP id b205mr17822879pfb.242.1584159158923; Fri, 13 Mar 2020 21:12:38 -0700 (PDT) Received: from localhost (c-73-170-36-70.hsd1.ca.comcast.net. [73.170.36.70]) by smtp.gmail.com with ESMTPSA id g18sm14106109pfh.174.2020.03.13.21.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 21:12:38 -0700 (PDT) Date: Fri, 13 Mar 2020 21:12:37 -0700 From: Sandeep Patil To: Ricardo Rivera-Matos Cc: Dan Murphy , Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [EXTERNAL] Re: [PATCH v4 2/4] power_supply: Add additional health properties to the header Message-ID: <20200314041237.GA121329@google.com> References: <20200116175039.1317-1-dmurphy@ti.com> <20200116175039.1317-3-dmurphy@ti.com> <20200117010658.iqs2zpwl6bsomkuo@earth.universe> <20200306235548.GA187098@google.com> <20200310213050.si7gcr2wbmjgr7jf@earth.universe> <66b2ac86-8513-b540-8a2c-c2ebef4124dd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66b2ac86-8513-b540-8a2c-c2ebef4124dd@ti.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 11, 2020 at 11:43:00AM -0500, Ricardo Rivera-Matos wrote: > Sebastian > > On 3/11/20 6:29 AM, Dan Murphy wrote: > > Sebastian > > > > On 3/10/20 4:30 PM, Sebastian Reichel wrote: > > > Hi Sandeep, > > > > > > On Fri, Mar 06, 2020 at 03:55:48PM -0800, Sandeep Patil wrote: > > > > On Fri, Jan 17, 2020 at 02:06:58AM +0100, Sebastian Reichel wrote: > > > > > Hi, > > > > > > > > > > On Thu, Jan 16, 2020 at 11:50:37AM -0600, Dan Murphy wrote: > > > > > > Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. > > > > > > > > > > > > Signed-off-by: Dan Murphy > > > > > > --- > > > > > Looks good. But I will not merge it without a user and have comments > > > > > for the driver. > > > > Android has been looking for these properties for a while now [1]. > > > > It was added[2] when we saw that the manufacturers were > > > > implementing these > > > > properties in the driver. I didn't know the properties were > > > > absent upstream > > > > until yesterday. Somebody pointed out in our ongoing effort to > > > > make sure > > > > all core kernel changes that android depends on are present upstream. > > > > > > > > I think those values are also propagated in application facing APIs in > > > > Android (but I am not sure yet, let me know if that's something > > > > you want > > > > to find out). > > > > > > > > I wanted to chime in and present you a 'user' for this if that helps. > > > With user I meant an upstream kernel driver, which exposes the > > > values. But thanks for the pointer. This should be mentioned in > > > the patch description, also the fact that the status values are > > > directly taken from JEITA spec. > > > > I mentioned the JEITA in the cover letter but I guess you would like the > > description in the commit message as well > > > > Dan > > > > > I have added a note mentioning that the properties are taken from the JEITA > spec in the commit message and listing the bq2515x_charger driver as a user. > I am waiting for feedback on my other patches in the series before sending > you v5 patches. Ricardo, I'll appreciate if you CC me if/when you send the v5 and followup. I want to track this series so we can uncheck yet another out-of-tree dependency that Android has. Thanks for the quick followup. - ssp