Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp461529ybh; Wed, 11 Mar 2020 04:36:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsJD8IMOux5+d8pANyr46IasEnhUp5ic9qsRs8Dr+M1T6VSe0hgqJg3VWQFc2jdsDuZaWz3 X-Received: by 2002:a05:6830:18f7:: with SMTP id d23mr1990834otf.369.1583926584988; Wed, 11 Mar 2020 04:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583926584; cv=none; d=google.com; s=arc-20160816; b=GMYzuet+92e+lR+KCXBTYi691N/kLAX91VaUd0uwV+LGMRI+oYQkCFRiWogwmIVLfo RJBHAWjwa8M6x5sOAxlVsJergF9HY9DskpnW33yM33tyQpIPsfi5vqnQULStnDQDndLM lvhlHuq/Cv41MzmoaTtsrCdoE+HnK8CgLkbqLGb5bI49O3JFzrk6qtfxL2PaRZBxHrRM Po09gRgFrFHbi3nrbCzizLQPm33re1M9/bWlHIQtoBOclKeI0uTzA8Pne+tOD9r4J0FG dmw4zXECdD/n0jbFw6KphwjZ65z5HcWsej1Mehr/gexS4VdjMnOaF3f05TdxC6+tACC8 SQPA== 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=MUwhEHVo/riTzodDBSkEu4Ak1a02re6fLtL21+ejVxE=; b=ARCdUXChUNqMPl07etDH7zNNJLneCiE7nASWzvsMV3nBz7IrX+V9i5+CMnNKl4ENtG iGuEv2IkGdCtplbb1Gyo6xvnlRoi6FWoJ3XPqvUk+sDLmO0ycHw8BPpRpQaZGnNvW4cs WE7wECiaYEj8wXhZShoLvyscjsbWlZelr7RXVUAjm8+TRwizHnkZ8hQuLxdnY59JnNLo XNIl/7fT69QdBFsu3ziOcrqPo5Cv98KcDmDmcInRsrMwkbdMhjfboe6B6/ssAwZjfX4r Ae7rilYjFIew8O9sMAD8enfBbGoX9G25Aa+6NKSi98V95jGq2Rdn7qxCy8mdqQcASCVC DGDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YWIhUzw4; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w26si917202otk.156.2020.03.11.04.36.11; Wed, 11 Mar 2020 04:36:24 -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=@ti.com header.s=ti-com-17Q1 header.b=YWIhUzw4; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729026AbgCKLfe (ORCPT + 99 others); Wed, 11 Mar 2020 07:35:34 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:58360 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbgCKLfd (ORCPT ); Wed, 11 Mar 2020 07:35:33 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 02BBZT02056168; Wed, 11 Mar 2020 06:35:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1583926529; bh=MUwhEHVo/riTzodDBSkEu4Ak1a02re6fLtL21+ejVxE=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=YWIhUzw4sKCVY0QCQy86cdUmgiEHKnQ64IJdNSyq9ORDHzv0rGtjdPShg4qfamtqm axO1PVj42MqfBlXB3Sn2c2CSdHO5ooDEPZe2fTvWygbJqCeEdC8KgBS2pEMqVeGBZD wBf3tfEbZixCJa8B1O/XNAVx2YWXMycCyIYJ7utI= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 02BBZTE5002667 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Mar 2020 06:35:29 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 11 Mar 2020 06:35:29 -0500 Received: from localhost.localdomain (10.64.41.19) 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.1847.3 via Frontend Transport; Wed, 11 Mar 2020 06:35:29 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by localhost.localdomain (8.15.2/8.15.2) with ESMTP id 02BBZSRQ114003; Wed, 11 Mar 2020 06:35:28 -0500 Subject: Re: [PATCH v4 2/4] power_supply: Add additional health properties to the header To: Sebastian Reichel , Sandeep Patil CC: , , 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> From: Dan Murphy Message-ID: Date: Wed, 11 Mar 2020 06:29:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200310213050.si7gcr2wbmjgr7jf@earth.universe> Content-Type: text/plain; charset="windows-1252"; 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 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