Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp70422ybb; Tue, 31 Mar 2020 17:25:21 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsJXDlXKRr9AY174zcz/Ws/bDk9mRSqoUZJoyTXbaQyfpDpMxHPs0Y1t76aV4YXwlZVrbs2 X-Received: by 2002:a05:6830:1b68:: with SMTP id d8mr5102495ote.56.1585700720919; Tue, 31 Mar 2020 17:25:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585700720; cv=none; d=google.com; s=arc-20160816; b=A/y6X77gvYkk1T1JqgTyUqagAorvMzaaPOIabH1idthOTDHhydnm5Z1MX+I+mc278T qpNXev8YsMnZdFfvuWxeRIARW4f/DiV4PnvZw58LKRM9zVFSmWX1CX80S5/ICaB0Oo9P +yCQDfdnwB8rgStPy3lkfIys30yE2xdGSfXMAkhdnn0GVJN/NRMl3Py4GhVarlIUMTLP rIMUgWXU6xOg7Dl2roL68zIVyx7sGxVY9HktcqAjm3LZm1kdzPSFRIrndCz1eu1mU+z3 G0298Ji0x3rhz7aTgjGekE3SnXc8Nz76wQirz5zrwElF1jh+Tch8AvDyiBpHiOe+f1aQ KUyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0o2sV67Co/BBx0wQ4CH55gP8jkBwRSr+2tVUKNJ+jjs=; b=Fi9QdSRtRMib+9exE/xb8x4naOAh28yWEcai6K+SLZDwFvs1y4vdXJh0vc7osbrcwi lnCTvC1gLnyhfS/C92H+fgLIoerUUEyocjfnwKUc0CDlhHXnwLbcQUk9Xk8oz8LYdY6e +EHblcQ/lFU/cP/cZZPwif64rIAFMb7AubvuQp8KuoRtP4s4/GFLdN44p853YwXDQhiY T3BuetiKvMvdmOGylUpAJyN28BGEn/GLB2Zmx8NjApDn6YK6Zzq8aCcwOXWaJNdQuIGW TZR4OAxei7J8FknBc0frXdS5Y8DfWtR4Mwa0xRJDJIZwAG2l8O5p7OEPLQLTg8i5QSbB c5ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=WO+ozxII; 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 j12si98669otq.21.2020.03.31.17.25.07; Tue, 31 Mar 2020 17:25:20 -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=WO+ozxII; 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 S1731570AbgDAAWz (ORCPT + 99 others); Tue, 31 Mar 2020 20:22:55 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35410 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729514AbgDAAWz (ORCPT ); Tue, 31 Mar 2020 20:22:55 -0400 Received: by mail-pl1-f195.google.com with SMTP id c12so5996104plz.2 for ; Tue, 31 Mar 2020 17:22: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; bh=0o2sV67Co/BBx0wQ4CH55gP8jkBwRSr+2tVUKNJ+jjs=; b=WO+ozxIIDjv27brvR7QvEowOsM567l0YbO2zH0gREDzz8YZrcRPYUZ1V1ZPiOl3NfE 1EaDjS+UlqeOO7OB5Yd/lEZQKIpjeHMjsQPi/V0FK6RcTFGYN1joylj1uA8zmjk9JoY0 4srtd/tCSlN1MTJV2QRYOYqxk/xfRkSy35AILPNtkOl6ho6qt4Ix3UkaPF8iecDSFbro kq8+lqj7uW9i+RE5rNwRra9PQaClmxoQo9ArJX72Z9usw4uJcX7GsS4vntuwxjs+J+aw iPulgCUfwRmovAjXdFqTWyLVkSl36vOYQp/J488xiS2HANCxmT8RN5ywrd8LxelYB+LQ e8jw== 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; bh=0o2sV67Co/BBx0wQ4CH55gP8jkBwRSr+2tVUKNJ+jjs=; b=cnpv5oAsScAxA4VNb5LwI9LozTC0n+4svOywQsr0v5Xm9ujZ/jx7X0xNpqvnhBu2cL 31CMCrs0uyLf6/tJQ2JD/tDrtWmajZysto2nToW3T9IP9vivHsNejiCmVdZBfhKlByJh TsAad9DhW69wOzyVRd9smDUzT7M0j9GhvSQdD/E9fh4+rxy24/y8D0GCIaXLnhUfsNc3 kC2zrU3uNguMVGQeNV9X0V3JrzPzSCj9MUdjszkzztr02xnT382gt3JvUlvDH5YMOJ3+ 2tw6hyCOStzwES+IGA0SFJgnwTQc11OGAwwmQgMlCikwuJx1RDwFPzLmvDHo3/lnPW4L GPXg== X-Gm-Message-State: AGi0PuYwK749QkCLkqtbloR4zMOvHNpQNsPLF0BhV692pZtpOYJPFUUg c7ODIdsjdhucGku8cmKo0MFW/g== X-Received: by 2002:a17:90a:2103:: with SMTP id a3mr1623468pje.181.1585700573639; Tue, 31 Mar 2020 17:22:53 -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 z8sm205317pju.33.2020.03.31.17.22.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 17:22:52 -0700 (PDT) Date: Tue, 31 Mar 2020 17:22:51 -0700 From: Sandeep Patil To: Dan Murphy Cc: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v4 2/4] power_supply: Add additional health properties to the header Message-ID: <20200401002251.GA177505@google.com> References: <20200116175039.1317-1-dmurphy@ti.com> <20200116175039.1317-3-dmurphy@ti.com> <20200117010658.iqs2zpwl6bsomkuo@earth.universe> <20200306235548.GA187098@google.com> <6b947adc-a176-5fa0-1382-8b08ec3f8b09@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b947adc-a176-5fa0-1382-8b08ec3f8b09@ti.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 03:09:37PM -0500, Dan Murphy wrote: > Hello > > On 3/6/20 5:55 PM, Sandeep Patil wrote: > > Hi Sebastian, > > > > 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. > > We have re-submitted the BQ25150/155 driver that would be the user and we > have 2 more for review that will use the new definitions Dan / Sebastian, I wasn't able to find the subsequent patches that add the 3 health properties, so I'm assuming this patch is still "out-of-tree". I was hoping against that so we (Android) aren't unnecessarily diverging from upstream. However, I have now just cherry-picked this patch[1] for the next Android release. Sebastian, since these appear in JEITA spec, will the same patch with additions to the commit message saying so be enough? Thanks, - ssp 1. https://android-review.googlesource.com/c/kernel/common/+/1275596 > > Dan >