Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1037931ybh; Tue, 10 Mar 2020 13:17:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsMkJvzVLKxEDkJPTsq3U6A3bi2voJiDXMuoirB8hgk6Z9AGXIXcXGhPiKmeNHIlvgP3xy9 X-Received: by 2002:aca:de07:: with SMTP id v7mr2550146oig.22.1583871434196; Tue, 10 Mar 2020 13:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583871434; cv=none; d=google.com; s=arc-20160816; b=mBTh3DAGRABQ61Tsi5dhp+Sob/zHYQ0167oL0JWQEagPigqlDEQp6fE81zuc7oY1av TIzTOwL0zzbHX+vxa/GtQ9SlElXApQtYmKT97bDfCoAU70vGWjxe1GmnfGSl9TrPbZpy tzNGalQGFnAfn4TfjSg1cLcdNZbgulaUzgcJTduvQvN1+2915SWF/9lnV3vD8+5Nty1i rWoVW+qU2COFK0jOC6EgydqXPgqT8D0tNMFfkT9koEBLp3/pj4lGjZirHBQjF9BWUSvx kMt24VUIpvnAa0y2LsWFz0+yXh/TCz3gtZhxkZenEjtvPt1wnchYC9o3KQg5uBVF5elQ bcTw== 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=7NW06bwfj5FntAVsHPeONgq/hzdzS0WeL4eQPv/ypDo=; b=ZLYeZChq0n+CQ5bFUifyEFZmJtYdMxE3QuS+aKE5TN2LQTDlqyagr2nwfFK9TnJrIe moDWRZfh2nplD7mD2DKjEas33UgwCT5uJrPCOFOumSf1rAsZcNf/lurPwFC8f8zz92iw ucX1/PyvUP9F/Q51Pa3CNgobWZ8ErJRW0MFKmGfmiiin+VJ2ts8DsAZiCZKFRQzB/tba CVFcS8xdOvUYgQf8hySTfr5ZDNbT9DJUFDY3CmovLS5BRfPooxc/4Y7JFA+38BDz5Stn Hup5JjoZsBhzqxCdhPQl8zYytfQz2dwsICnZUjeN9RuPxat0xfkzt4kl01si0LiMHL1V PYog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Hb9FDy9A; 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 m20si1538200otk.238.2020.03.10.13.17.00; Tue, 10 Mar 2020 13:17:14 -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=Hb9FDy9A; 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 S1727506AbgCJUPY (ORCPT + 99 others); Tue, 10 Mar 2020 16:15:24 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:34026 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727272AbgCJUPX (ORCPT ); Tue, 10 Mar 2020 16:15:23 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 02AKFIv9090192; Tue, 10 Mar 2020 15:15:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1583871318; bh=7NW06bwfj5FntAVsHPeONgq/hzdzS0WeL4eQPv/ypDo=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Hb9FDy9AOTpR9RF7XWCZ0sPGYoNB66BI4mLMjVKZdeJn9IkyY50/dTQwZyfifn+QJ qi9mPfl3ipmJIHBBDgrqKkrC9QvridbF7otnRE7qL+gAGxdYfeJkhyG/8fORUt+aPF 4DWemgFNLYbg6/8pyTMDRXGsgNIziDstjs8QugCc= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 02AKFIlk071817 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Mar 2020 15:15:18 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 10 Mar 2020 15:15:18 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE105.ent.ti.com (157.170.170.35) 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; Tue, 10 Mar 2020 15:15:18 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 02AKFHvJ030430; Tue, 10 Mar 2020 15:15:17 -0500 Subject: Re: [PATCH v4 2/4] power_supply: Add additional health properties to the header To: Sandeep Patil , Sebastian Reichel CC: , , References: <20200116175039.1317-1-dmurphy@ti.com> <20200116175039.1317-3-dmurphy@ti.com> <20200117010658.iqs2zpwl6bsomkuo@earth.universe> <20200306235548.GA187098@google.com> From: Dan Murphy Message-ID: <6b947adc-a176-5fa0-1382-8b08ec3f8b09@ti.com> Date: Tue, 10 Mar 2020 15:09:37 -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: <20200306235548.GA187098@google.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 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