Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3030347ybg; Sun, 20 Oct 2019 05:25:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaqnXfiuqPVApECGbwtAEu+7IeKI5xliYlmV9xU+B0kel66d5oL9x3n8rqZ8d/Sb38OI2u X-Received: by 2002:aa7:df0b:: with SMTP id c11mr19590026edy.101.1571574345416; Sun, 20 Oct 2019 05:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571574345; cv=none; d=google.com; s=arc-20160816; b=hyMXtFdKwO4/+YHFT1IV/Tv6mNy5j/EKdeC8CKwMRoz7jhUuLCCe72c3qyxqsh1X2V KQtEWO19viM9I5n4IuhaJ+w2sRZagsnhwsHcepHiPD3mdRZEKrbdjlykYKosqyeUxkJ+ SPrGct+XJ3pc6pluWvmqvv3ZkTTauhQJFEDgDxbd0eO4oIKErfhbzAaaO1EC3jJ83N3S pT9HpiLnIyV2a7SMOcIHY5ZdLpN0EVGLZQGkosy36odkWaB80tJVBrUDMbQ5Z0fm/JPL O2MGj2sEgJ2JRCqag9Ttx6DSCIdw4+4Iy7/ldEe8IA7bNSryuGt5zmf8dc0RcKEOFAd4 9sfA== 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=aKdnG9CSZBwiekcRLtvTjAYuWd9oBqYN8dO2WMWzAig=; b=D4cr5PA/GxbpoucjCrPWZiLQq9SNTjbSn6qnbkIDcmPvdNMvCkl4cyvBqwn1GuxNuJ OwxLbwGo4ERhdf13mGJU/FmZpBfqIYgjQjQDewUdO+/YNM5n1D3eY7jaYzOMMq/Wc03H 28movksDCjSb/vPCGTqaXon28lawnRr5RMdTT0q7K1eqF1xFDgKNK4Oquej20VqK4G+v Eu8GmvirYDZY+UrNDeZhUCyzjY9ta92Hk3IwrD99G4upJurpBPS4KYnOY+W7PU2xjumj LHWN0998V+EMRzIMam7ZeGR5Ce5Cjq8wDkRV4icmYW4UB5rNoKojquHhe2Sw0WB2G+rM nmuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gRlpsRvx; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m17si7269760ejn.237.2019.10.20.05.25.20; Sun, 20 Oct 2019 05:25:45 -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=@kernel.org header.s=default header.b=gRlpsRvx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbfJTMZQ (ORCPT + 99 others); Sun, 20 Oct 2019 08:25:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:49922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbfJTMZQ (ORCPT ); Sun, 20 Oct 2019 08:25:16 -0400 Received: from earth.universe (tmo-104-243.customers.d1-online.com [80.187.104.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6751821928; Sun, 20 Oct 2019 12:25:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571574315; bh=6f/XFCrE7zOPjeWI0k6rXn67ULxHC+lwjPuFMdAkeFM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gRlpsRvxwRs+OW5xmISJKJ9neZifgrDoxOeRqrWZgC5Gg8zo5vyZwjl6EMtmC7QeI m7hKvijknIEux4LKqoh+vV3687jm1tGBhs9j9VRTT2tdiu3sUC62r36DO/bXj1UTgi L6SKrT06ptA1fWnat4FGE14BpDVmngJs2v1v4l1c= Received: by earth.universe (Postfix, from userid 1000) id C66503C09B1; Sun, 20 Oct 2019 14:25:10 +0200 (CEST) Date: Sun, 20 Oct 2019 14:25:10 +0200 From: Sebastian Reichel To: Dan Murphy Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] power_supply: Add additional health properties to the header Message-ID: <20191020122510.4llflz7s2kogcdbf@earth.universe> References: <20190930143137.21624-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jfdksylty7r6khjs" Content-Disposition: inline In-Reply-To: <20190930143137.21624-1-dmurphy@ti.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jfdksylty7r6khjs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Sep 30, 2019 at 09:31:35AM -0500, Dan Murphy wrote: > Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. You used OVERHEAT instead of HOT in the implementation, which makes sense to me, so please drop HOT here. Also this needs to be documented in the ABI documentation: Documentation/ABI/testing/sysfs-class-power -- Sebastian > Signed-off-by: Dan Murphy > --- > include/linux/power_supply.h | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h > index 28413f737e7d..bd0d3225f245 100644 > --- a/include/linux/power_supply.h > +++ b/include/linux/power_supply.h > @@ -61,6 +61,9 @@ enum { > POWER_SUPPLY_HEALTH_WATCHDOG_TIMER_EXPIRE, > POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE, > POWER_SUPPLY_HEALTH_OVERCURRENT, > + POWER_SUPPLY_HEALTH_WARM, > + POWER_SUPPLY_HEALTH_COOL, > + POWER_SUPPLY_HEALTH_HOT, > }; > =20 > enum { > --=20 > 2.22.0.214.g8dca754b1e >=20 --jfdksylty7r6khjs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl2sUiYACgkQ2O7X88g7 +poKmhAAnJUK0KspPdK3MYnk2vjwcP1McDUuH/Cqh2tLrweww3+e9PDcbcU78/7x noC7LRAvfe64fG0JwRRkiXUjNko2utAayVCJTqmyzuX/OYmDsLXYCDRGLOJxvc4T sy7/fSJAii7bxJF1PspbpWE3MLx2+kfmB/PfYWs5znfBgsnpd10STZ7Qf/lWtHwT 89royHrGRQ3YTeqJaaVJV041N5Mx4AJ97HBRc9J1m8nowH/MOQFIsANONcgw4y25 2bh/apxcBTKXNrhkQ+rBd/xBNzb5nAcrYRCSNopYIe8jCK2I0K9BzTP5+cloNrxD 0q0n/wPl9WPMSkYsVJw9e5pWLwPkxUNmBqlxan287hAvLh6tPJEGTUHFRinUB5TA uJa7oJZ1H41rAT5ssr7Ive7XNpxgEuS96dRHcy6CpNwyDVZQbjBPXSIeCqmR2zZB FCP0MXEKP3w650CKeqEZljfTlQs+WnPHq9U1p5P4z2Brha1GRCuyGnBtxYiDirqg awSdgXoTwZFyg+ieV31xfBqkanfAdOq6glEzFOmdL4hPBKsW+Iz3sX1tqYfk3Slg vXvkC/DsPx5UleehazDvRvP22xo/S3R85TIwutaaanQEwaVmC75bW/uCYwPmjz44 lre9pXhv/Rcub4X2ujFms+xzpIPi+TlOHov1a17lRQUjOzU234w= =1n0y -----END PGP SIGNATURE----- --jfdksylty7r6khjs--